Fix overcloud deploy to allow force keystone init

Bug #1592926 reported by Pradeep Kilambi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Pradeep Kilambi

Bug Description

Currently overcloud deploy will only run post deploy config (keystone init) on create only. This breaks upgrades and reruns as the endpoints for newer services wont be created.

Allow a new force override option so users can manually run --force-postconfig to get missing endpoints back into keystone.

Changed in tripleo:
assignee: nobody → Pradeep Kilambi (pkilambi)
Changed in tripleo:
status: New → In Progress
Changed in tripleo:
importance: Undecided → High
milestone: none → newton-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/330096
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=430565216a5277b09580bdfca4f906c34815f8ff
Submitter: Jenkins
Branch: master

commit 430565216a5277b09580bdfca4f906c34815f8ff
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jun 15 12:25:46 2016 -0400

    Run post deploy config on force

    keystone init currently only runs on create. This causes issues
    and ends up with broken deploys on re-runs or upgrades. This
    change ensures we expose a new force option so user can manually
    run post config deploy and get back missing endpoints. Also modify
    keystone init to check all services instead of just nova before
    triggering keystone endpoint create.

    I understand this is moving to puppet, but so long as this is here
    lets make sure it works for upgrades and reruns.

    Closes-bug: #1592926

    Change-Id: I2337acaf68bd2dc1245de752a434e138f8a0ccd1

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/334486

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/mitaka)

Reviewed: https://review.openstack.org/334486
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=7931486f8792d2af3d9256aaaef62efc2221bf22
Submitter: Jenkins
Branch: stable/mitaka

commit 7931486f8792d2af3d9256aaaef62efc2221bf22
Author: Pradeep Kilambi <email address hidden>
Date: Wed Jun 15 12:25:46 2016 -0400

    Run post deploy config on force

    keystone init currently only runs on create. This causes issues
    and ends up with broken deploys on re-runs or upgrades. This
    change ensures we expose a new force option so user can manually
    run post config deploy and get back missing endpoints. Also modify
    keystone init to check all services instead of just nova before
    triggering keystone endpoint create.

    I understand this is moving to puppet, but so long as this is here
    lets make sure it works for upgrades and reruns.

    Closes-bug: #1592926

    Change-Id: I2337acaf68bd2dc1245de752a434e138f8a0ccd1
    (cherry picked from commit 430565216a5277b09580bdfca4f906c34815f8ff)
    (cherry picked from commit c20e88ace39ea5d19bb5f94e081f0664363ac0d8)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-tripleoclient 5.0.0.0b2

This issue was fixed in the openstack/python-tripleoclient 5.0.0.0b2 development milestone.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-tripleoclient 2.1.0

This issue was fixed in the openstack/python-tripleoclient 2.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

This issue was fixed in the openstack/python-tripleoclient 2.1.0 release.

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.