whoami-rajat 530376bc5d Add cinder-manage command to update service_uuid
In some deployments, after an upgrade, we remove the old service
records and create new ones. This leaves the volumes with the
service_uuid pointing to the old (deleted) service and causes an
issue while purging out the deleted service records.
This patch adds a cinder-manage command to update the
service_uuid field of volumes with the following command:

``cinder-manage volume update_service``

The service_uuid of volumes associated with old service_uuid
also gets updated when cinder creates a new service.

Change-Id: I0b13c6351733b8163bcf6e73c939c375493dcba5
(cherry picked from commit edeac132a19dc05a4108c630ebdfd02de9fd92ef)
2024-09-17 14:37:54 +00:00
..
2019-08-23 15:08:33 +09:00
2023-03-23 12:23:47 +00:00
2022-02-20 19:06:00 +00:00