I'm trying to run astute provisioning using CLI. I use examples/example_cli_provisioning.yaml with fixed MACs (and also there was missing 'mac' entry on node level) and when I run 'astute -f myconfig.yaml -c provistion' after messages about reboot astute outputs:
--------
Starting OS provisioning for nodes: 4
Some error occurred when prepare LogParser: undefined method `[]' for nil:NilClass, trace: /opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser/provision.rb:23:in `get_pattern_for_node'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:193:in `block in patterns_for_nodes'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:192:in `map'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:192:in `patterns_for_nodes'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:176:in `prepare'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:292:in `block in prepare_logs_for_parsing'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:311:in `call'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:311:in `sleep_not_greater_than'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:289:in `prepare_logs_for_parsing'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:90:in `watch_provision_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/bin/astute:105:in `console_provision'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/bin/astute:109:in `<top (required)>'
-e:1:in `load'
-e:1:in `<main>'
Not target nodes will be rejected
Not provisioned: 4, got target OSes:
Nodes list length is not equal to target nodes list length: 1 != 0
Some error occurred when parse logs for nodes progress: undefined method `[]' for nil:NilClass, trace: /opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser/provision.rb:23:in `get_pattern_for_node'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:193:in `block in patterns_for_nodes'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:192:in `map'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:192:in `patterns_for_nodes'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/logparser.rb:146:in `progress_calculate'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:383:in `report_about_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:107:in `block (4 levels) in watch_provision_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:311:in `call'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:311:in `sleep_not_greater_than'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:97:in `block (3 levels) in watch_provision_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:96:in `loop'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:96:in `block (2 levels) in watch_provision_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:95:in `catch'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:95:in `block in watch_provision_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/1.9.1/timeout.rb:68:in `timeout'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/lib/astute/orchestrator.rb:94:in `watch_provision_progress'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/bin/astute:105:in `console_provision'
/opt/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/astute-0.0.2/bin/astute:109:in `<top (required)>'
-e:1:in `load'
-e:1:in `<main>'
--------
The last error repeating many times as timeout expires.
And in VirtualBox for the slave I try to provision I get an installation error - http://imgur.com/2nkQsO3
Is it a problem of example configuration being too old or I am doing something wrong here?
which version of FUEL are you using. Looks like 3.1 which is not supported right now. CLI provisioning changed a lot since 3.2