[Openstack] can't delete imag

ljvsss ljvsss at gmail.com
Mon Jan 9 06:07:38 UTC 2012


hi:

   i use diablo final dahboard,but i can't delete snapshot with "Unable to
delete image, you are not its owner"

  i find this,
  openstack-dashboard/django-openstack/django_openstack/dash/views/images.py
  image.owner id an id of int, the request.user.username is an name of
string,
  so i change it to this it work well,i can  delete snapshot

195 #            if image.owner == request.user.username:
196             if image.owner == tenant_id:

i reprot it at here https://bugs.launchpad.net/nova/+bug/913641
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120109/659f53bf/attachment.html>


More information about the Openstack mailing list