New service CephMgr was added in Q. This poses issues for P->Q upgrades if custom roles_data.yaml is used.
2018-04-26 11:05:01,095 p=16411 u=mistral | META: ran handlers
2018-04-26 11:05:01,102 p=16411 u=mistral | TASK [exit playbook, if user did not mean to upgrade cluster] ******************
2018-04-26 11:05:01,102 p=16411 u=mistral | task path: /usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml:31
2018-04-26 11:05:01,102 p=16411 u=mistral | Thursday 26 April 2018 11:05:01 -0400 (0:00:00.800) 0:00:00.933 ********
2018-04-26 11:05:01,123 p=16411 u=mistral | skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
2018-04-26 11:05:01,131 p=16411 u=mistral | TASK [fail if no mgr host is present in the inventory] *************************
2018-04-26 11:05:01,131 p=16411 u=mistral | task path: /usr/share/ceph-ansible/infrastructure-playbooks/rolling_update.yml:40
2018-04-26 11:05:01,131 p=16411 u=mistral | Thursday 26 April 2018 11:05:01 -0400 (0:00:00.028) 0:00:00.962 ********
2018-04-26 11:05:01,166 p=16411 u=mistral | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Please add a mgr host to your inventory."}
2018-04-26 11:05:01,168 p=16411 u=mistral | PLAY RECAP *********************************************************************
2018-04-26 11:05:01,168 p=16411 u=mistral | localhost : ok=1 changed=0 unreachable=0 failed=1
2018-04-26 11:05:01,169 p=16411 u=mistral | Thursday 26 April 2018 11:05:01 -0400 (0:00:00.037) 0:00:00.999 ********
Reviewed: https:/ /review. openstack. org/564701 /git.openstack. org/cgit/ openstack/ tripleo- upgrade/ commit/ ?id=48336cc3cf6 e9e7867a86aaace b209fbba064ae2
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit 48336cc3cf6e9e7 867a86aaaceb209 fbba064ae2
Author: Yurii Prokulevych <email address hidden>
Date: Fri Apr 27 10:22:46 2018 +0200
Add CephMgr service to custom roles_data file.
In commit 3cea68f12cd9542 82a824936922f58 768aef5042 new service,
CephMgr was introduced.
This change add validation for this service to be present in a
custom roles_data file, and adds it if missing.
This prevents error during ceph upgrade, for e.g.:
Please add a mgr host to your inventory.
Closes-Bug: 1767304 0def5bfb22f2ccf 0dcbc5ec0ac
Change-Id: Iab18f8125a07b2