During Newton->Ocata upgrade pattern is ignored in the 'Stop Ceph Mon' task in ceph-mon upgrade

Bug #1661347 reported by Marius Cornea
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Giulio Fidente

Bug Description

pattern in [1] seems to be ignored when the playbook gets ran:

[root@overcloud-controller-2 ~]# ansible-playbook -i localhost, --module-path /usr/share/ansible-modules /var/lib/heat-config/heat-config-ansible/9660bbb0-c408-4a0e-8dee-e87350e9d56d_playbook.yaml --extra-vars @/var/lib/heat-config/heat-config-ansible/9660bbb0-c408-4a0e-8dee-e87350e9d56d_variables.json

PLAY [localhost] ***************************************************************

TASK [setup] *******************************************************************
ok: [localhost]

TASK [Check status] ************************************************************
changed: [localhost]

TASK [Get hostname] ************************************************************
changed: [localhost]

TASK [Stop Ceph Mon] ***********************************************************
 [WARNING]: Ignoring "pattern" as it is not used in "systemd"

ok: [localhost]

TASK [Update ceph packages] ****************************************************
ok: [localhost]

TASK [Start ceph-mon service] **************************************************
changed: [localhost]

TASK [ceph osd crush tunables default] *****************************************
changed: [localhost]

PLAY RECAP *********************************************************************
localhost : ok=7 changed=4 unreachable=0 failed=0

[1] https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/ceph-mon.yaml#L130

Revision history for this message
Marius Cornea (mcornea) wrote :

Ansible version:

[heat-admin@overcloud-cephstorage-0 ~]$ ansible --version
ansible 2.2.1.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

Changed in tripleo:
milestone: none → ocata-rc1
importance: Undecided → Critical
status: New → Triaged
Marius Cornea (mcornea)
tags: added: upgrade
tags: added: ocata-backport-potential
Changed in tripleo:
milestone: ocata-rc1 → ocata-rc2
Changed in tripleo:
milestone: ocata-rc2 → pike-1
Revision history for this message
Steven Hardy (shardy) wrote :

I think this was fixed by:

https://review.openstack.org/#/q/I0a0e60d277240130c6bd76a74ccc13354b87a30a

Please re-open if you disagree, thanks!

Changed in tripleo:
status: Triaged → Fix Committed
assignee: nobody → Giulio Fidente (gfidente)
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.