Bug 2080199 - Upgrade [OSP16.2 -> OSP17.1] service endpoints from keystone catalog are not removed after dropping services
Summary: Upgrade [OSP16.2 -> OSP17.1] service endpoints from keystone catalog are not ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ga
: 17.1
Assignee: Brendan Shephard
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-04-29 08:45 UTC by Juan Badia Payno
Modified: 2023-08-16 01:11 UTC (History)
7 users (show)

Fixed In Version: tripleo-ansible-3.3.1-1.20220820222621.66d7edc.el9ost
Doc Type: Bug Fix
Doc Text:
Before this update, services that were removed from the undercloud were not cleaned up during upgrades from RHOSP 16.2 to 17.0. The removed services remained in the OpenStack endpoint list even though they were not reachable or running. With this update, RHOSP upgrades include Ansible tasks to clean up the endpoints that are no longer required.
Clone Of:
Environment:
Last Closed: 2023-08-16 01:11:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 848271 0 None MERGED Cleanup Keystone services that are not required 2022-07-12 14:56:51 UTC
Red Hat Issue Tracker OSP-14950 0 None None None 2022-04-29 08:45:49 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:11:50 UTC

Description Juan Badia Payno 2022-04-29 08:45:18 UTC
After upgrading the undercloud from osp16.2 to osp17 the services deprecated on osp17 weren't removed from the catalog and the service list

(undercloud) [stack@undercloud-0 ~]$ openstack catalog list 
/usr/lib64/python3.6/site-packages/_yaml/__init__.py:23: DeprecationWarning: The _yaml extension module is now located at yaml._yaml and its location is subject to change.  To use the LibYAML-based parser and emitter, import from `yaml`: `from yaml import CLoader as Loader, CDumper as Dumper`.
  DeprecationWarning
/usr/lib/python3.6/site-packages/barbicanclient/__init__.py:61: UserWarning: The secrets module is moved to barbicanclient/v1 directory, direct import of barbicanclient.secrets will be deprecated. Please import barbicanclient.v1.secrets instead.
  % (name, name, name))
+------------------+---------------------------+-------------------------------------------------------------------------------+
| Name             | Type                      | Endpoints                                                                     |
+------------------+---------------------------+-------------------------------------------------------------------------------+
| ironic-inspector | baremetal-introspection   | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:5050                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13050                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:5050                                          |
|                  |                           |                                                                               |
| zaqar-websocket  | messaging-websocket       | regionOne                                                                     |
|                  |                           |   internal: ws://192.168.24.3:9000                                            |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: wss://192.168.24.2:3000                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: ws://192.168.24.3:9000                                               |
|                  |                           |                                                                               |
| keystone         | identity                  | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:35357                                            |
|                  |                           | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:5000                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13000                                          |
|                  |                           |                                                                               |
| neutron          | network                   | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:9696                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13696                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:9696                                          |
|                  |                           |                                                                               |
| nova             | compute                   | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:8774/v2.1                                     |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13774/v2.1                                     |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:8774/v2.1                                        |
|                  |                           |                                                                               |
| zaqar            | messaging                 | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:8888                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:8888                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13888                                          |
|                  |                           |                                                                               |
| novajoin         | compute-vendordata-plugin | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:9090/v1                                       |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:9090/v1                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13090/v1                                       |
|                  |                           |                                                                               |
| glance           | image                     | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:9292                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:9292                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13292                                          |
|                  |                           |                                                                               |
| mistral          | workflowv2                | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:8989/v2                                       |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:8989/v2                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13989/v2                                       |
|                  |                           |                                                                               |
| heat             | orchestration             | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:8004/v1/f39a94664d1a4714a861ad9a9c8f7696         |
|                  |                           | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:8004/v1/f39a94664d1a4714a861ad9a9c8f7696      |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13004/v1/f39a94664d1a4714a861ad9a9c8f7696      |
|                  |                           |                                                                               |
| swift            | object-store              | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13808/v1/AUTH_f39a94664d1a4714a861ad9a9c8f7696 |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:8080                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:8080/v1/AUTH_f39a94664d1a4714a861ad9a9c8f7696 |
|                  |                           |                                                                               |
| ironic           | baremetal                 | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:6385                                          |
|                  |                           | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:6385                                             |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13385                                          |
|                  |                           |                                                                               |
| placement        | placement                 | regionOne                                                                     |
|                  |                           |   admin: http://192.168.24.3:8778/placement                                   |
|                  |                           | regionOne                                                                     |
|                  |                           |   internal: http://192.168.24.3:8778/placement                                |
|                  |                           | regionOne                                                                     |
|                  |                           |   public: https://192.168.24.2:13778/placement                                |
|                  |                           |                                                                               |
+------------------+---------------------------+-------------------------------------------------------------------------------+


(undercloud) [stack@undercloud-0 ~]$ openstack service list 
/usr/lib64/python3.6/site-packages/_yaml/__init__.py:23: DeprecationWarning: The _yaml extension module is now located at yaml._yaml and its location is subject to change.  To use the LibYAML-based parser and emitter, import from `yaml`: `from yaml import CLoader as Loader, CDumper as Dumper`.
  DeprecationWarning
/usr/lib/python3.6/site-packages/barbicanclient/__init__.py:61: UserWarning: The secrets module is moved to barbicanclient/v1 directory, direct import of barbicanclient.secrets will be deprecated. Please import barbicanclient.v1.secrets instead.
  % (name, name, name))
+----------------------------------+------------------+---------------------------+
| ID                               | Name             | Type                      |
+----------------------------------+------------------+---------------------------+
| 1810b9ef41bf4b89a2325576fd56d9e0 | ironic-inspector | baremetal-introspection   |
| 28325b24fc9140e1b52ca19f45fa63c8 | zaqar-websocket  | messaging-websocket       |
| 2be8a82797f0423cb40b6f2d0e6c67cd | keystone         | identity                  |
| 2cfab1776ebf4581995376082e5f7ff7 | neutron          | network                   |
| 3148af0a481349329687753df6206cee | nova             | compute                   |
| 490f65a979524177a4f728a339dc658e | zaqar            | messaging                 |
| 4a988f2495d34d8fbe9409a0d00d219e | novajoin         | compute-vendordata-plugin |
| 522c3a7682384008a326a33e27c3c4a2 | glance           | image                     |
| 683ec8ce5d7b4f8e933ee61b9af6d72b | mistral          | workflowv2                |
| 8f52e421153246b9beecd0188dcf8ab5 | heat             | orchestration             |
| 9c402c158d254aeb8bc7f99d080f728c | swift            | object-store              |
| c0fa08c281d54839af58938f0870fa13 | ironic           | baremetal                 |
| f40650e8e8e04f83b9f369b3e8b5e819 | placement        | placement                 |
+----------------------------------+------------------+---------------------------+

Comment 1 Brendan Shephard 2022-05-01 09:16:14 UTC
Thanks for raising attention to this. I'll work on it.

Comment 7 Brendan Shephard 2022-06-21 05:38:00 UTC
I proposed a new patch to address this now:
https://review.opendev.org/c/openstack/tripleo-ansible/+/846902

Comment 15 Lukas Svaty 2023-06-16 08:13:29 UTC
Bulk moving target milestone to GA after the release of Beta on 14th June '23.

Comment 23 errata-xmlrpc 2023-08-16 01:11:11 UTC
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577


Note You need to log in before you can comment on or make changes to this bug.