[puppet4] keystone endpoint creation failed

Bug #1656327 reported by Nikita Karpin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Nikita Karpin

Bug Description

When deploying environment using Puppet 4 keystone/keystone.pp task has errors:

Failed to apply catalog: Execution of '/usr/bin/openstack service list --quiet --format csv --long' returned 1: The service catalog is empty. (tried 42, for a total of 170 seconds)

Then as a result deployment fails on glance-keystone task.

It looks like puppet tries to create keystone endpoint after it created openrc and it will not work as it is pointed here - https://bugs.launchpad.net/puppet-keystone/+bug/1559292

Nikita Karpin (mkarpin)
Changed in fuel:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Nikita Karpin (mkarpin)
milestone: none → 11.0
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/420043

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/420043
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=363a783be2a0a48dfeb7199362d3d1af16a78352
Submitter: Jenkins
Branch: master

commit 363a783be2a0a48dfeb7199362d3d1af16a78352
Author: Mykyta Karpin <email address hidden>
Date: Fri Jan 13 17:38:31 2017 +0200

    Ensure keystone endpoint is created before openrc

    In puppet 4 keystone endpoint creation order is different
    from puppet 3, keystone endpoint always should be created
    before openrc is created because of [1].

    This patch makes use of code [2] by adding openrc tag to
    credentials file. This will ensure keystone endpoint is created
    before openrc.

    [1] https://bugs.launchpad.net/puppet-keystone/+bug/1559292
    [2] https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=ec8e0452b6846cb5b571307189b46f2488b35ae8

    Change-Id: I074db94b295a1e71309dbf949fc5f6c82dfbef9f
    Closes-Bug: #1656327

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/430980

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/mitaka)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-library 11.0.0.0rc1

This issue was fixed in the openstack/fuel-library 11.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/mitaka)

Change abandoned by Oleksiy Molchanov (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/430981

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/newton)

Reviewed: https://review.openstack.org/430980
Committed: https://git.openstack.org/cgit/openstack/fuel-library/commit/?id=2c42f3a63908559b47f23766d7d408b746376326
Submitter: Jenkins
Branch: stable/newton

commit 2c42f3a63908559b47f23766d7d408b746376326
Author: Mykyta Karpin <email address hidden>
Date: Fri Jan 13 17:38:31 2017 +0200

    Ensure keystone endpoint is created before openrc

    In puppet 4 keystone endpoint creation order is different
    from puppet 3, keystone endpoint always should be created
    before openrc is created because of [1].

    This patch makes use of code [2] by adding openrc tag to
    credentials file. This will ensure keystone endpoint is created
    before openrc.

    [1] https://bugs.launchpad.net/puppet-keystone/+bug/1559292
    [2] https://git.openstack.org/cgit/openstack/puppet-keystone/commit/?id=ec8e0452b6846cb5b571307189b46f2488b35ae8

    Change-Id: I074db94b295a1e71309dbf949fc5f6c82dfbef9f
    Closes-Bug: #1656327
    (cherry picked from commit 363a783be2a0a48dfeb7199362d3d1af16a78352)

tags: added: in-stable-newton
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.