Bug 2165803 - [DDF] Delete users of disabled telemetry services after upgrade
Summary: [DDF] Delete users of disabled telemetry services after upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: documentation
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 17.1
Assignee: mgeary
QA Contact: Leonid Natapov
mgeary
URL:
Whiteboard:
Depends On: 2158159
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-31 06:02 UTC by Yadnesh Kulkarni
Modified: 2023-09-21 16:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-31 12:47:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-21917 0 None None None 2023-01-31 06:02:47 UTC

Description Yadnesh Kulkarni 2023-01-31 06:02:16 UTC
Description of problem:

Add a post upgrade action in documentation[1] to delete obsolete telemetry users.

While upgrading RHOSP13 to RHOSP16.2, legacy telemetry services(gnocchi, ceilometer, aodh) are removed during upgrade unless it's explicitly enabled.
These services are disabled by default in RHOSP16.2
```
source ~/overcloudrc

# Find which telemetry endpoints exist after upgrade.
openstack endpoint list | grep -i -e aodh -e gnocchi -e panko

# Delete the users of the missing endpoints.
openstack user delete aodh gnocchi panko
```

Performing this task is not mandatory, this is just a cleanup task. Existance those users with deleted endpoints doesn't impact the cloud in anyway.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.2/html-single/framework_for_upgrades_13_to_16.2/index#performing-post-upgrade-actions

Comment 6 Leif Madsen 2023-04-20 12:53:41 UTC
25.2 Deleting users of disabled telemetry services

<blurb about telemetry services being disabled by default, this cleans up left over endpoints>

.Procedure

. Login to your undercloud and source the overcloud authentication file <NOTE: I think there is a template for this in the common/global/ director>
source ~/overcloudrc

. Find which telemetry endpoints exist after upgrade:
openstack endpoint list | grep -i -e aodh -e gnocchi -e panko

. Delete the users of the missing endpoints:
openstack user delete aodh gnocchi panko

Comment 17 Juan Badia Payno 2023-04-25 13:50:23 UTC
This BZ is also related to BZ#2158159

Comment 35 Leif Madsen 2023-08-31 12:47:03 UTC
This has been published and is available in the RHOSP 16.2 framework for upgrades guide.


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