Deploy cluster in ha mode with 1 controller and Neutron GRE
OS: Ubuntu
Scenario:
1. Create cluster
2. Add 1 node with controller role
3. Add 2 nodes with compute role
4. Deploy the cluster
5. Run network verification
6. Run OSTF
Actual:
Deployment is failed with:
node-1 2015-07-28T05:10:43.626142 err: heat-keystone-setup-domain returned 1 instead of one of [0]
node-1 2015-07-28T05:10:43.626368 err: /usr/lib/ruby/vendor_ruby/puppet/util/errors.rb:97:in `fail'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/type/exec.rb:142:in `sync'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `block in apply'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `block in apply_catalog'
node-1 2015-07-28T05:10:43.627431 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block (2 levels) in run'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block in run'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
node-1 2015-07-28T05:10:43.627671 err: /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
node-1 2015-07-28T05:10:43.627671 err: /usr/bin/puppet:4:in `<main>'
node-1 2015-07-28T05:10:43.628355 err: (/Stage[main]/Heat::Keystone::Domain/Exec[heat_domain_create]/returns) change from notrun to 0 failed: heat-keystone-setup-domain returned 1 instead of one of [0]
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_version: "2015.1.0-7.0"
api: "1.0"
build_number: "102"
build_id: "2015-07-28_03-12-37"
nailgun_sha: "fd7392bb8d9d640631d9805bf1fbe3124e98db04"
python-fuelclient_sha: "c2f8b78686de9dceca8bb9c3f655a7fbbd1375a4"
fuel-agent_sha: "2a65f11c10b0aeb5184247635a19740fc3edde21"
astute_sha: "34e0493afa22999c4a07d3198ceb945116ab7932"
fuel-library_sha: "0c29bbc15cf981a4d7d2c6ef7d9c25ba9f828873"
fuel-ostf_sha: "9e32b35e9a774eec41b86cd5a6c63b71a3efa4bd"
fuelmain_sha: "921918a3bd3d278431f35ad917989e46b0c24100"
Regression was introduced by this bugfix https:/ /review. openstack. org/#/c/ 198655/ 8
After apache support for keystone was merged, each restart of apache (e.g. by horizon deployment) makes keystone unavailable on this node for more than 5 minutes.
As a temporary solution we can add waiting for keystone haproxy backend