VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_version: "2014.2.2-6.1"
api: "1.0"
build_number: "421"
build_id: "2015-05-15_20-55-26"
nailgun_sha: "eca3532abfcc15dc6c55f682dd3f037235c4e858"
python-fuelclient_sha: "38765563e1a7f14f45201fd47cf507393ff5d673"
astute_sha: "7e3e81f2e3d4557d5d1fd61a424df95c4d265601"
fuel-library_sha: "1645fe45f226cdd6d2829bea9912d0baa3be5033"
fuel-ostf_sha: "9ce1800749081780b8b2a4a7eab6586583ffaf33"
fuelmain_sha: "d249d74f9beb5935c31b8ee674eb1ed696672f6e"
Deploy cluster in HA mode with bonding (active backup)
Scenario:
1. Create cluster
2. Add 3 nodes with controller role
3. Add 2 node with compute role
4. Setup bonding for all interfaces
4. Deploy the cluster
5. Run network verification
6. Run OSTF
Deployment failed with err:
(/Stage[main]/Rabbitmq::Install::Rabbitmqadmin/Staging::File[rabbitmqadmin]/Exec[/var/lib/rabbitmq/rabbitmqadmin]/returns) change from notrun to 0 failed: curl -k --noproxy localhost --retry 30 --retry-delay 6 -f -L -o /var/lib/rabbitmq/rabbitmqadmin http://nova:XT9PMcfX@localhost:15672/cli/rabbitmqadmin returned 7 instead of one of [0]
because the rabbit@node-2 app had never started and never tried to join the elected master (rabbit@node-1), see http://paste.openstack.org/show/lgkWy7A1EcFhCLoH6vdw/
Normally, when both beam.smp and rabbit app have started, there should be two log records:
1) "checking if rabbit app is running"
2) "rabbit app is running. checking if we are the part of healthy cluster"
But the logs shown the second record is missing, hence rabbit app was not
started. And get_monitor() was not able to detect this and reported OK.
The test case which reproduces this issue after some number of iterations:
is described here https://bugs.launchpad.net/fuel/+bug/1458830
http:// jenkins- product. srt.mirantis. net:8080/ view/6. 1_swarm/ job/6.1. system_ test.centos. bonding_ ha/125/ testReport/ (root)/ deploy_ bonding_ ha_active_ backup/ deploy_ bonding_ ha_active_ backup/