Bug 1860914 - [OSP 17] failures during driver.pre_live_migration remove source attachments during rollback
Summary: [OSP 17] failures during driver.pre_live_migration remove source attachments ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.1 (Train)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: 17.0
Assignee: Lee Yarwood
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-27 12:31 UTC by bkopilov
Modified: 2023-03-21 19:34 UTC (History)
10 users (show)

Fixed In Version: openstack-nova-23.0.3-0.20210908140341.e39bbdc.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:10:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
compute1 (993.32 KB, text/plain)
2020-07-27 12:37 UTC, bkopilov
no flags Details
compute0 (931.30 KB, text/plain)
2020-07-27 12:38 UTC, bkopilov
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1889108 0 None None None 2020-08-11 20:27:43 UTC
OpenStack gerrit 743289 0 None MERGED Add regression tests for bug #1889108 2021-02-11 13:33:36 UTC
OpenStack gerrit 743319 0 None MERGED compute: Don't delete the original attachment during pre LM rollback 2021-02-11 13:33:36 UTC
Red Hat Issue Tracker OSP-10076 0 None None None 2021-11-18 14:32:38 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:11:55 UTC

Description bkopilov 2020-07-27 12:31:22 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 bkopilov 2020-07-27 12:33:37 UTC
Hi ,
rhos 16.1 , ceph backend
barbian for encrypted volume

created 4 volumes : clear , cloned volume, encrypted and shared with other instance
Create an instance and attach all volumes .
Try to run live-migration. 
All cinder volumes change state to "active" while they are attached in nova.






overcloud) [stack@undercloud-0 ~]$ nova show 158af5b4-5968-4042-b6d0-a0390102a3d6
+---------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                                                            | Value                                                                                                                                                                                                                                                                                                                            |
+---------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                                                   | MANUAL                                                                                                                                                                                                                                                                                                                           |
| OS-EXT-AZ:availability_zone                                         | nova                                                                                                                                                                                                                                                                                                                             |
| OS-EXT-SRV-ATTR:host                                                | compute-1.redhat.local                                                                                                                                                                                                                                                                                                           |
| OS-EXT-SRV-ATTR:hostname                                            | tempest-testlivemigrationvolumesnoactions-server-254446976                                                                                                                                                                                                                                                                       |
| OS-EXT-SRV-ATTR:hypervisor_hostname                                 | compute-1.redhat.local                                                                                                                                                                                                                                                                                                           |
| OS-EXT-SRV-ATTR:instance_name                                       | instance-000002c9                                                                                                                                                                                                                                                                                                                |
| OS-EXT-SRV-ATTR:kernel_id                                           |                                                                                                                                                                                                                                                                                                                                  |
| OS-EXT-SRV-ATTR:launch_index                                        | 0                                                                                                                                                                                                                                                                                                                                |
| OS-EXT-SRV-ATTR:ramdisk_id                                          |                                                                                                                                                                                                                                                                                                                                  |
| OS-EXT-SRV-ATTR:reservation_id                                      | r-cdq5xcfi                                                                                                                                                                                                                                                                                                                       |
| OS-EXT-SRV-ATTR:root_device_name                                    | /dev/vda                                                                                                                                                                                                                                                                                                                         |
| OS-EXT-SRV-ATTR:user_data                                           | -                                                                                                                                                                                                                                                                                                                                |
| OS-EXT-STS:power_state                                              | 1                                                                                                                                                                                                                                                                                                                                |
| OS-EXT-STS:task_state                                               | -                                                                                                                                                                                                                                                                                                                                |
| OS-EXT-STS:vm_state                                                 | active                                                                                                                                                                                                                                                                                                                           |
| OS-SRV-USG:launched_at                                              | 2020-07-27T11:44:40.000000                                                                                                                                                                                                                                                                                                       |
| OS-SRV-USG:terminated_at                                            | -                                                                                                                                                                                                                                                                                                                                |
| accessIPv4                                                          |                                                                                                                                                                                                                                                                                                                                  |
| accessIPv6                                                          |                                                                                                                                                                                                                                                                                                                                  |
| config_drive                                                        |                                                                                                                                                                                                                                                                                                                                  |
| created                                                             | 2020-07-27T11:44:27Z                                                                                                                                                                                                                                                                                                             |
| description                                                         | tempest-TestLiveMigrationVolumesNoActions-server-254446976                                                                                                                                                                                                                                                                       |
| flavor:disk                                                         | 2                                                                                                                                                                                                                                                                                                                                |
| flavor:ephemeral                                                    | 0                                                                                                                                                                                                                                                                                                                                |
| flavor:extra_specs                                                  | {}                                                                                                                                                                                                                                                                                                                               |
| flavor:original_name                                                | test                                                                                                                                                                                                                                                                                                                             |
| flavor:ram                                                          | 64                                                                                                                                                                                                                                                                                                                               |
| flavor:swap                                                         | 0                                                                                                                                                                                                                                                                                                                                |
| flavor:vcpus                                                        | 1                                                                                                                                                                                                                                                                                                                                |
| hostId                                                              | 065793ee2c7937e9facccfb0dd149109839c534936e2e84746f1aa70                                                                                                                                                                                                                                                                         |
| host_status                                                         | UP                                                                                                                                                                                                                                                                                                                               |
| id                                                                  | 158af5b4-5968-4042-b6d0-a0390102a3d6                                                                                                                                                                                                                                                                                             |
| image                                                               | cirros (0bd5e971-cb2d-46ee-ab9a-1d07a604b849)                                                                                                                                                                                                                                                                                    |
| key_name                                                            | tempest-TestLiveMigrationVolumesNoActions-1705142078                                                                                                                                                                                                                                                                             |
| locked                                                              | False                                                                                                                                                                                                                                                                                                                            |
| locked_reason                                                       | -                                                                                                                                                                                                                                                                                                                                |
| metadata                                                            | {}                                                                                                                                                                                                                                                                                                                               |
| name                                                                | tempest-TestLiveMigrationVolumesNoActions-server-254446976                                                                                                                                                                                                                                                                       |
| os-extended-volumes:volumes_attached                                | [{"id": "b0a20b83-4a6f-4c15-b14f-cedf15d8399f", "delete_on_termination": false}, {"id": "b568e2c3-2a12-4d40-969a-e7450921d375", "delete_on_termination": false}, {"id": "038f0a98-0354-4591-bb89-8fb40a69d176", "delete_on_termination": false}, {"id": "b6067063-a45e-45a3-ae93-fa1b20880fc3", "delete_on_termination": false}] |
| progress                                                            | 0                                                                                                                                                                                                                                                                                                                                |
| security_groups                                                     | tempest-TestLiveMigrationVolumesNoActions-1194406399                                                                                                                                                                                                                                                                             |
| server_groups                                                       | []                                                                                                                                                                                                                                                                                                                               |
| status                                                              | ACTIVE                                                                                                                                                                                                                                                                                                                           |
| tags                                                                | []                                                                                                                                                                                                                                                                                                                               |
| tempest-TestLiveMigrationVolumesNoActions-218383926-network network | 10.100.0.4, 10.0.0.224                                                                                                                                                                                                                                                                                                           |
| tenant_id                                                           | a1a4e7cc85c24820944f830507849af1                                                                                                                                                                                                                                                                                                 |
| trusted_image_certificates                                          | -                                                                                                                                                                                                                                                                                                                                |
| updated                                                             | 2020-07-27T11:49:04Z                                                                                                                                                                                                                                                                                                             |
| user_id                                                             | f1490e968fc34ed4b57a871e85256db9                                                                                                                                                                                                                                                                                                 |
+---------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
(overcloud) [stack@undercloud-0 ~]$

Comment 2 bkopilov 2020-07-27 12:37:33 UTC
Created attachment 1702530 [details]
compute1

Comment 3 bkopilov 2020-07-27 12:38:02 UTC
Created attachment 1702531 [details]
compute0

Comment 10 errata-xmlrpc 2022-09-21 12:10:55 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.0 (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-2022:6543


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