ocata > pike upgrade: major upgrade composable step fails because ceph-ansible is waiting for user input

Bug #1745494 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
John Fulton

Bug Description

/var/log/mistral/ceph-install-workflow.log:

2018-01-25 13:55:45,889 p=18529 u=mistral | PLAY [confirm whether user really meant to switch from non-containerized to containerized ceph daemons] ***
2018-01-25 13:55:45,900 p=18529 u=mistral | TASK [exit playbook, if user did not mean to switch from non-containerized to containerized daemons?] ***
2018-01-25 13:55:45,931 p=18529 u=mistral | fatal: [localhost]: FAILED! => {"changed": false, "msg": "\"Exiting switch-from-non-containerized-to-containerized-ceph-daemons.yml playbook,\n cluster did not switch from non-containerized to containerized ceph daemons.\n To switch from non-containerized to containerized ceph daemons, either say 'yes' on the prompt or\n or use `-e ireallymeanit=yes` on the command line when\n invoking the playbook\"\n"}
2018-01-25 13:55:45,931 p=18529 u=mistral | PLAY RECAP *********************************************************************

Revision history for this message
John Fulton (jfulton-org) wrote :

This seems to be a regression introduced by the fix to 1736707.

Even though 'ireallymeanit: yes' is in ceph-base.yaml [0], according to Mistral's last task for ceph-ansible, the Heat to Mistral call has it but the playbook was called without it [1]. How parameters are passed from Mistral to ceph-ansible was changed recently [2] so it seems this type of parameter didn't handle that change.

[0] https://review.openstack.org/#/c/494246/1/docker/services/ceph-ansible/ceph-base.yaml
[1] http://paste.openstack.org/show/653502/
[2] https://review.openstack.org/#/c/528755/1/workbooks/ceph-ansible.yaml

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/538051

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/538051
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=6f189058e514292cb4c86f5bea5791d6794117e0
Submitter: Zuul
Branch: master

commit 6f189058e514292cb4c86f5bea5791d6794117e0
Author: John Fulton <email address hidden>
Date: Thu Jan 25 17:29:00 2018 -0500

    Use extra_vars to pass ireallymeanit

    The ireallymeanit parameter does not work when passed using
    vars in the ansible inventory. This change passes the option
    using extra_vars.

    Change-Id: Iabf9e20e65f7def1bbbc48995cbc956937a69e15
    Related-Bug: #1745494

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-common (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/541656

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-common (stable/pike)

Reviewed: https://review.openstack.org/541656
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=ec3cb8dd19370832ad9ac053e4e2eb3ebc4c3db9
Submitter: Zuul
Branch: stable/pike

commit ec3cb8dd19370832ad9ac053e4e2eb3ebc4c3db9
Author: John Fulton <email address hidden>
Date: Thu Jan 25 17:29:00 2018 -0500

    Use extra_vars to pass ireallymeanit

    The ireallymeanit parameter does not work when passed using
    vars in the ansible inventory. This change passes the option
    using extra_vars.

    Change-Id: Iabf9e20e65f7def1bbbc48995cbc956937a69e15
    Related-Bug: #1745494
    (cherry picked from commit 6f189058e514292cb4c86f5bea5791d6794117e0)

tags: added: in-stable-pike
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
status: Triaged → 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.