← Back to team overview

openstack team mailing list archive

can't delete imag

 

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