it is not possible to delete Glance image

Bug #1494297 reported by Alexander Petrov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Alexey Galkin

Bug Description

ENV: mos-70 build 288,
Total Nodes: 5, Controller: 3, Compute+Storage(Ceph OSD for all): 2, Neutron with VLAN segmentation

Steps to reproduce:

1. Download any image to your own host.
2. Log into OpenStack Horizon dashboard as admin user.
3. Navigate to Project > Compute > Images
4. Click on ‘Create Image’ button.
5. Set Image name = ‘New_vm_test’, provide Image source = ‘Image File’, select prepared image in file browser, select image format and click on ‘Create Image’ button.
6. Navigate to Project > Compute > Images and verify that image exists in list.
7. Trigger Check in front of image record and click on ‘Delete Images’ button.
8. Verify that image don’t exist in list.

Error: You are not allowed to delete image: new_vm_test

Tags: ceph glance
Revision history for this message
Alexander Petrov (apetrov-n) wrote :
description: updated
description: updated
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

reproduced on my env without ceph.
From 'Admin Menu' and cli this case successfully completed.

Changed in mos:
status: New → Confirmed
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

Horizon log: 2015-09-10 12:53:47,461 23039 INFO horizon.tables.actions Permission denied to deleted image: "new"

Changed in mos:
assignee: nobody → MOS Horizon (mos-horizon)
importance: Undecided → Medium
milestone: 7.0 → 8.0
Timur Sufiev (tsufiev-x)
Changed in mos:
assignee: MOS Horizon (mos-horizon) → Timur Sufiev (tsufiev-x)
Revision history for this message
Mike Fedosin (mfedosin) wrote :

Hi! In this version there was an issue in glance config, that has been already fixed. https://review.openstack.org/#/c/221409/

Please, try to verify it on any newer version to make sure, that this bug doesn't occur.

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Mike, do you know which ISO should have this Glance issue fixed for sure?

Revision history for this message
Mike Fedosin (mfedosin) wrote :

It's expected to be in the next, 289th iso.

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Okay, according to Timur Nurlygayanov's words, the Glance fix is going to be in RC3 (ISO 289), so please recheck this issue on this ISO.

If the Glance issue is still present, the file /etc/glance/glance-api.conf on controller code will contain setting `use_user_token` set to `False`.

Changed in mos:
assignee: Timur Sufiev (tsufiev-x) → MOS QA Team (mos-qa)
status: Confirmed → Incomplete
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Yes, by the way, commenting this setting out and restarting glance-api service solves this issue for me (of course, you'll to create a new image for the changes to take effect on it).

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

MOS QA, please take a look at this issue and leave it as Confirmed or move into Fix Released accordingly.

Changed in mos:
status: Incomplete → Confirmed
Revision history for this message
Alexey Galkin (agalkin) wrote :

well, I'll check it

Changed in mos:
assignee: MOS QA Team (mos-qa) → Alexey Galkin (agalkin)
Revision history for this message
Alexey Galkin (agalkin) wrote :

just noticed the version of the image, you are using an older version of the image, fixed on RC4 (#301)

Changed in mos:
status: Confirmed → Invalid
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.