undercloud minion fails on memcached_node_ips hieradata lookup

Bug #1855010 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Emilien Macchi

Bug Description

undercloud minion needs access to the memcached_node_ips hieradata from the undercloud in order to properly configure caching for the services being deployed. Since memcached is not being install on the minion, we need to define the undercloud's memcache information during export. This was previously being hidden by the Heat generated hieradata where it the memcached_node_ips would always be defined so it never failed. Since we switched to the ansible generated version in Train, it now fails with:

Error: Function lookup() did not find a value for the name 'memcached_node_ips'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.opendev.org/697196

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.opendev.org/697203

Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/697196
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=4c7e09fe5e73fe8c863fdef334a48346e6fd4a00
Submitter: Zuul
Branch: master

commit 4c7e09fe5e73fe8c863fdef334a48346e6fd4a00
Author: Alex Schultz <email address hidden>
Date: Tue Dec 3 15:49:34 2019 -0700

    Include memcached_node_ips in the output for the undercloud

    Because the memcached_node_ips is required by puppet and we don't
    configure it with a hostnetmap configuration, we need to specify the
    undercloud as the memcached_node_ips configuration in the outputs that
    we export for the undercloud minion.

    Change-Id: I152b3e60d53ebd482430f9b52baf68a3370a9c4c
    Closes-Bug: #1855010

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/697203
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=778351abe687fbaaae59450631a8e461c238e7fe
Submitter: Zuul
Branch: master

commit 778351abe687fbaaae59450631a8e461c238e7fe
Author: Alex Schultz <email address hidden>
Date: Tue Dec 3 17:01:57 2019 -0700

    Use configured passwords

    The tripleo deploy command automatically loads passwords from
    tripleo-<stackname>-passwords.yaml. We have a configuration items in the
    minion configuration to point at the undercloud config. We need to copy
    the configure file into the correct name to ensure it gets loaded
    correctly.

    Change-Id: I0bbda8857473566a9ad18f20af9da8a34dd6ed0f
    Closes-Bug: #1855010

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/697401

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

Fix proposed to branch: stable/train
Review: https://review.opendev.org/697402

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

Reviewed: https://review.opendev.org/697401
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=467967ab9d1f42bc636d66fbc2f8b1864c5155fa
Submitter: Zuul
Branch: stable/train

commit 467967ab9d1f42bc636d66fbc2f8b1864c5155fa
Author: Alex Schultz <email address hidden>
Date: Tue Dec 3 15:49:34 2019 -0700

    Include memcached_node_ips in the output for the undercloud

    Because the memcached_node_ips is required by puppet and we don't
    configure it with a hostnetmap configuration, we need to specify the
    undercloud as the memcached_node_ips configuration in the outputs that
    we export for the undercloud minion.

    Change-Id: I152b3e60d53ebd482430f9b52baf68a3370a9c4c
    Closes-Bug: #1855010
    (cherry picked from commit 4c7e09fe5e73fe8c863fdef334a48346e6fd4a00)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.opendev.org/697402
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=d24b159f9b9a601cee3819e0f2a65c96214dfd6f
Submitter: Zuul
Branch: stable/train

commit d24b159f9b9a601cee3819e0f2a65c96214dfd6f
Author: Alex Schultz <email address hidden>
Date: Tue Dec 3 17:01:57 2019 -0700

    Use configured passwords

    The tripleo deploy command automatically loads passwords from
    tripleo-<stackname>-passwords.yaml. We have a configuration items in the
    minion configuration to point at the undercloud config. We need to copy
    the configure file into the correct name to ensure it gets loaded
    correctly.

    Change-Id: I0bbda8857473566a9ad18f20af9da8a34dd6ed0f
    Closes-Bug: #1855010
    (cherry picked from commit 778351abe687fbaaae59450631a8e461c238e7fe)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 12.3.1

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 13.1.0

This issue was fixed in the openstack/python-tripleoclient 13.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.