Bug 1848068 - Glance multi-store :When volume created from image extra metadata copied
Summary: Glance multi-store :When volume created from image extra metadata copied
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-glance
Version: 16.1 (Train)
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Cyril Roelandt
QA Contact: Mike Abrams
Chuck Copello
URL:
Whiteboard:
Depends On:
Blocks: 1802774
TreeView+ depends on / blocked
 
Reported: 2020-06-17 15:33 UTC by bkopilov
Modified: 2023-09-14 06:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-06 16:18:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description bkopilov 2020-06-17 15:33:40 UTC
Description of problem:
Create an image with multiple stores 
Create a volume from the image, extra metadata copied:
os_glance_failed_import                                   os_glance_importing_to_stores




(central) [stack@site-undercloud-0 ~]$ cinder show 3737f546-8b0a-4ecc-b04c-fd21f3587f33
+--------------------------------+----------------------------------------------------------------+
| Property                       | Value                                                          |
+--------------------------------+----------------------------------------------------------------+
| attached_servers               | []                                                             |
| attachment_ids                 | []                                                             |
| availability_zone              | az-dcn1                                                        |
| bootable                       | true                                                           |
| consistencygroup_id            | None                                                           |
| created_at                     | 2020-06-17T15:17:07.000000                                     |
| description                    | None                                                           |
| encrypted                      | False                                                          |
| id                             | 3737f546-8b0a-4ecc-b04c-fd21f3587f33                           |
| metadata                       |                                                                |
| migration_status               | None                                                           |
| multiattach                    | False                                                          |
| name                           | None                                                           |
| os-vol-host-attr:host          | dcn1-computehci1-2@tripleo_ceph#tripleo_ceph                   |
| os-vol-mig-status-attr:migstat | None                                                           |
| os-vol-mig-status-attr:name_id | None                                                           |
| os-vol-tenant-attr:tenant_id   | cf2014b85615485fa37e2687bd22a49f                               |
| replication_status             | None                                                           |
| size                           | 1                                                              |
| snapshot_id                    | None                                                           |
| source_volid                   | None                                                           |
| status                         | available                                                      |
| updated_at                     | 2020-06-17T15:17:13.000000                                     |
| user_id                        | 8718148d6ace47bc9439aeb0f02f204a                               |
| volume_image_metadata          | checksum : ba3cd24377dde5dfdd58728894004abb                    |
|                                | container_format : bare                                        |
|                                | disk_format : raw                                              |
|                                | image_id : 8d6234d1-45f1-4bcc-8019-b2ab562aaa67                |
|                                | image_name : tempest-TestImageMultipleStores-import-1276697957 |
|                                | min_disk : 0                                                   |
|                                | min_ram : 0                                                    |
|                                | os_glance_failed_import :                                      |
|                                | os_glance_importing_to_stores :                                |
|                                | size : 46137344                                                |
| volume_type                    | tripleo                                                        |
+--------------------------------+----------------------------------------------------------------+


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Cyril Roelandt 2020-06-17 19:55:01 UTC
This seems to be the expected behaviour, if the release notes (https://docs.openstack.org/releasenotes/glance/ussuri.html) are to be believed:

«Users can follow workflow execution with 2 new reserved properties:

- os_glance_importing_to_stores: list of stores that has not yet been processed.

- os_glance_failed_import: Each time an import in a store fails, it is added to this list.»


Do you believe this feature should be removed from Glance?

Comment 2 Cyril Roelandt 2020-08-06 16:18:26 UTC
It's been a month and a half, I'll close this, considering #c1 answered your questions. Feel free to reopen this bug if you think otherwise.

Comment 3 Red Hat Bugzilla 2023-09-14 06:02:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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