Deployment without heat breaks keystone due to hiera dependencies

Bug #1642961 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Juan Antonio Osorio Robles
Newton
Fix Committed
Undecided
Juan Antonio Osorio Robles

Bug Description

    Error: Could not find data item heat::keystone::domain::domain_password in any Hiera data file and no default supplied at /etc/puppet/modules/tripleo/manifests/profile/base/keystone.pp:68 on node overcloud-serviceapi-0.localdomain
    Error: Could not find data item heat::keystone::domain::domain_password in any Hiera data file and no default supplied at /etc/puppet/modules/tripleo/manifests/profile/base/keystone.pp:68 on node overcloud-serviceapi-0.localdomain

This happens if you try to deploy without heat

Revision history for this message
Steven Hardy (shardy) wrote :

Fixed in master for ocata-1:

https://review.openstack.org/#/c/398128

https://review.openstack.org/#/c/398127/

Needs backporting to newton

Changed in tripleo:
status: New → Fix Released
milestone: none → ocata-1
assignee: nobody → Juan Antonio Osorio Robles (juan-osorio-robles)
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

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

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

Related fix proposed to branch: stable/newton
Review: https://review.openstack.org/400065

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

Reviewed: https://review.openstack.org/399599
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=571f047d1ea22f11052fa1f06eb7e9e97328dbba
Submitter: Jenkins
Branch: stable/newton

commit 571f047d1ea22f11052fa1f06eb7e9e97328dbba
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Nov 16 08:32:26 2016 +0200

    Use keystone profile parameter to pass heat password

    Instead of relying on an explicit hiera call to get the stack domain
    password, this uses the keystone parameter to introduce that value
    instead.

    Partial-Bug: #1642961
    Change-Id: I0e5124d57fdc519262fdec2dbeaaac85afaeebdf
    (cherry picked from commit 42f835e68bff6934977694b47c31986d1d854b58)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (stable/newton)

Reviewed: https://review.openstack.org/400065
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=387ba2be1b4160c62250d39ebc8f4c681fe5e493
Submitter: Jenkins
Branch: stable/newton

commit 387ba2be1b4160c62250d39ebc8f4c681fe5e493
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Nov 2 12:06:05 2016 +0200

    Ensure heat-domain hiera is in nodes that contain keystone

    The commit that this depends on only works if heat is deployed in the
    same node as keystone. Once we deploy them in different nodes, keystone
    won't be able to retrieve the appropriate hieradata. This fixes that by
    setting the appropriate hieradata to be deployed on the keystone service
    by the heat profiles.

    Related-Bug: #1642961
    Change-Id: I1f08db68a14486526879d1a5a1ff78cb17686924
    Depends-On: I7d42d04ef0c53dc1e62d684d8edacfed9fd28fbe
    (cherry picked from commit ed95fda7eda85e3d6e23b6e23be763ad2ddf282c)

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

Reviewed: https://review.openstack.org/399595
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=6813e846ce48420ccb5abaf94a0ec52fd1c429cc
Submitter: Jenkins
Branch: stable/newton

commit 6813e846ce48420ccb5abaf94a0ec52fd1c429cc
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Wed Nov 16 08:34:08 2016 +0200

    Remove explicit hiera calls for heat in keystone profile

    These are now passed via the heat profiles in t-h-t (via
    heat-base.yaml and heat-engine.yaml) and use the actual names of
    keystone parameters instead.

    Conflicts:
     manifests/profile/base/keystone.pp

    Closes-Bug: #1642961
    Depends-On: I0e5124d57fdc519262fdec2dbeaaac85afaeebdf
    Depends-On: I1f08db68a14486526879d1a5a1ff78cb17686924
    Change-Id: Id0f5dd03b6757df989339c93b58a5b7eac3402a2
    (cherry picked from commit 3d31d62535290bf9fa17e9409aaf0d478c56fa6a)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 5.5.0

This issue was fixed in the openstack/puppet-tripleo 5.5.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.