Bug 1829696
| Summary: | Panko user and panko endpoint are missing on OSP 16/OSP16.1 deployments (undercloud and overcloud) | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Leonid Natapov <lnatapov> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED ERRATA | QA Contact: | Leonid Natapov <lnatapov> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.0 (Train) | CC: | csibbitt, mburns, mrunge, pkilambi, rmccabe, sclewis, ssmolyak, tvignaud |
| Target Milestone: | rc | Keywords: | Regression, Triaged |
| Target Release: | 16.1 (Train on RHEL 8.2) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-11.3.2-0.20200616081526.396affd.el8ost | Doc Type: | No Doc Update |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-29 07:52:21 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Leonid Natapov
2020-04-30 06:36:08 UTC
I have compared panko rpms between OSP16 puddles that panko user and endpoint were exist and later puddles that it don't exist and RPMs appeared to be the same. The only thing I can see when diffing the prepared build trees between these puddles for puppet-tripleo openstack-tripleo-heat-templates and openstack-tripleo-common is in ceilometer-write-qdr.yaml, CeilometerEnablePanko: false was added to parameter_defaults, but I wouldn't think that would cause what you're seeing. Beyond that, though, I don't see any changes in the patches included or the tarballs of the source trees that has much that's different that's related to panko. There is a slight difference in puppet-tripleo in manifests/profile/base/keystone.pp: >>>>>> if $::hostname == downcase($bootstrap_node) { <snip> $manage_endpoint = true <snip> } else { <snip> $manage_endpoint = false <snip> } ====== if $::hostname == downcase($bootstrap_node) and $keystone_resources_managed { <snip> $manage_endpoint = true <snip> } else { <snip> $manage_endpoint = false <snip> } <<<<<< With later block: if $step == 3 and $manage_endpoint { include ::keystone::endpoint <snip> if hiera('panko_api_enabled', false) { include ::panko::keystone::auth } <snip> The $keystone_resources_managed is documented as: # [*keystone_resources_managed*] # (Optional) Enable the management of Keystone resources with Puppet. # Can be disabled if Ansible manages these resources instead of Puppet. # The resources are: endpoints, roles, services, projects, users and their # assignment. # Defaults to hiera('keystone_resources_managed', true) # From [1] we can see that keystone resources are not managed by puppet any more, so we can blame person transferring resource management from puppet to ansible for forgetting about panko :). I think I figured out how to add this information to tripleo-ansible, will submit patch shortly. [1] https://github.com/openstack/tripleo-heat-templates/blob/stable/train/deployment/keystone/keystone-container-puppet.yaml#L382 Patch works: Overcloud configuration completed. Waiting for messages on queue 'tripleo' with no timeout. Overcloud Endpoint: https://10.0.0.101:13000 Overcloud Horizon Dashboard URL: https://10.0.0.101:443/dashboard Overcloud rc file: /home/stack/overcloudrc Overcloud Deployed sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=5, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 48472)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=6, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 45178), raddr=('192.168.24.2', 13004)> sys:1: ResourceWarning: unclosed <ssl.SSLSocket fd=8, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6, laddr=('192.168.24.2', 37690), raddr=('192.168.24.2', 13989)> (undercloud) [stack@undercloud-0 ~]$ source overcloudrc (overcloud) [stack@undercloud-0 ~]$ openstack endpoint list | grep panko | 5c25d2211b1f4f208b1dfc510cb4e393 | regionOne | panko | event | True | admin | http://172.17.1.117:8977 | | 736380d8aaae4668856a82369d85e943 | regionOne | panko | event | True | public | https://10.0.0.101:13977 | | cee51a1e3f3d47299e020233d1e37d80 | regionOne | panko | event | True | internal | http://172.17.1.117:8977 | (overcloud) [stack@undercloud-0 ~]$ openstack user list | grep panko | 505fa34f416145ab88ff61a732a2b3db | panko | Submitting DS backport verified by automation tests. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3148 |