The simulatir tool can be used either to virtually
run the deployment to find out the task run order
or to plot the entire graph or its subset.
> Run deployment from the YAML dumped by Astute
astute-simulator -y /path/to/yaml/file.yaml
> Run deployments with task failure emulation
astute-simulator -y /path/to/yaml/file.yaml -f ntp-client/2,heat-db/1 -P
> Using node and task name filters
astute-simulator -y /path/to/yaml/file.yaml -g openstack -G '^2$' -p
Related-bug: #1569839
Change-Id: I6f583347e2f039a470410900c38d7a1d70151b56
For production installation deployer should change
Astute log level from debug to info to hide sensitive
data: logins, passwords, tokens, ssh keys and so on.
DocImpact
Change-Id: I6c447e649b5b9eb589bdaa35d5f80e1fbfaa02dc
Closes-Bug: #1588452
Related-Bug: #1410207
Differents:
- separate independent chanel for outgoing report;
- solid way to redeclare already existed queues;
- auto recovery mode in case of network problem by default;
- more solid, modern and simple library for AMQP.
Also:
- implement asynchronous logger for event callbacks.
Short words from both gems authors:
amqp gem brings in a fair share of EventMachine complexity which
cannot be fully eliminated. Event loop blocking, writes that
happen at the end of loop tick, uncaught exceptions in event
loop silently killing it: it's not worth the pain unless
you've already deeply invested in EventMachine and
understand how it works.
Closes-Bug: #1498847
Closes-Bug: #1487397
Closes-Bug: #1461562
Related-Bug: #1485895
Related-Bug: #1483182
Change-Id: I52d005498ccb978ada158bfa64b1c7de1a24e9b0
Astute was the only fuel service using short ERR and CRIT log levels,
it led to unconvinient log viewing using the WebUI.
Change-Id: I3dd8e7d80030f6a16d910ee28950102b31765af5
Closes-bug: #1286110
* include actions from fast_provision to provision;
* remove command: fast_provision;
* add command: provision_and_deploy;
* add example of union config file for full provision and provision and deploy.
* remove .DS_Store from local ignore;
* remove TODO;
* add 1 test and doubles test speed;
* small refactoring of /bin/astute;
* remove require of rubygems.