glance tags or properties missing when status changed to active

asked 2020-01-02 20:37:15 -0500

polingsky gravatar image

When I use volume upload to image API, the image status is in saving, not active. and I use glance tag update API to modify the glance tag . It has no error. in the process, I show the image, can see the tag I updated.

But when the image status is changed to active, I found the image tag I updated is missing.

I check the glance db, table "image_tags", when the image status is not active, the column 'deleted' value is 0 but when the status changed to active, the deleted column value is change to 1.

Can I reserve the tags information until it changed to active status?

My glance version is pike.

Thanks.

edit retag flag offensive close merge delete

Comments

I have the same issue! For me, it can only be reproduced with a "small" image (e.g. 1GB), it really seems like a bug. BTW, is there any method to keep tags and properties while uploading volume-to-image?

corey gravatar imagecorey ( 2020-01-03 01:32:13 -0500 )edit