Public bug reported:
Steps to reproduce:
1) Deploy mos 9.1
2) Create customization in some python file on controller node, for example:
/usr/lib/python2.7/dist-packages/neutron/version.py
3) On master node install git and use:
git clone https://github.com/aepifanov/mos_mu.git
cd mos_mu
git checkout 9.2
./install_ansible.sh
4) ansible-playbook playbooks/mos9_prepare_fuel.yml -e
'{"mos9_centos_repo":"http://mirror.fuel-infra.org/mos-
repos/centos/mos9.0-centos7/snapshots/proposed-2016-10-22-202322/x86_64",
"mos9_GPG_KEY":"http://mirror.fuel-infra.org/mos-
repos/centos/mos9.0-centos7/snapshots/proposed-2016-10-22-202322/RPM-
GPG-KEY-mos9.0"}'
5) ansible-playbook playbooks/mos9_prepare_env.yml -e '{"env_id":1,
"snapshot_repo":"9.0-2016-10-22-202322"}'
6) fuel2 env redeploy --noop <env_id>
7) ansible-playbook playbooks/gather_customizations.yml -e
'{"env_id":1}'
8) ansible-playbook playbooks/verify_patches.yml -e '{"env_id":1,
"unify_only_patches":true}'
9) ansible-playbook playbooks/update_fuel.yml -e
'{"rebuild_bootstrap":false}'
10) fuel2 update install --env 1 --repos mos9.2 --restart-rabbit
--restart-mysql
11) ansible-playbook playbooks/mos9_apply_patches.yml -e '{"env_id":1}'
Expected result: 'apply patches' should be in success status
Actual result: health check fails with error on customized node:
TASK [OpenStack services status checking]
**************************************
skipping: [node-3.test.domain.local]
skipping: [node-1.test.domain.local]
fatal: [node-2.test.domain.local]: FAILED! => {"changed": true, "failed": true,
"rc": 4, "stderr": "Shared connection to 10.109.0.3 closed.\r\n", "stdout":
"/root/.ansible/tmp/ansible-tmp-1480002712.07-76796827271970/health_check_os.sh:
line 47: type: ceph: not found\r\n### cinder:\r\n| cinder-scheduler |
node-2.test.domain.local | nova | enabled | down |
2016-11-24T15:50:52.000000 | - |\r\n\r\n", "stdout_lines":
["/root/.ansible/tmp/ansible-tmp-1480002712.07-76796827271970/health_check_os.sh:
line 47: type: ceph: not found", "### cinder:", "| cinder-scheduler |
node-2.test.domain.local | nova | enabled | down |
2016-11-24T15:50:52.000000 | - |", ""]}
...ignoring
TASK [Fail if health check failed] *********************************************
fatal: [node-2.test.domain.local]: FAILED! => {"changed": false, "failed":
true, "msg": "[ERROR] Health Check failed. Please fix the issues (descibed
above). For ignoring this step you can use \"health_check\" flag."}
skipping: [node-3.test.domain.local]
skipping: [node-1.test.domain.local]
** Affects: fuel
Importance: Medium
Assignee: Andrey Epifanov (aepifanov)
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645300
Title:
[Update][9.2] Health check failed after apply patches
To manage notifications about this bug go to:
https://bugs.launchpad.net/fuel/+bug/1645300/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs