This affects me too, but I'm having no joy with the one-liner fix.
I am using Diablo on Ubuntu 11.10 and edited /usr/lib/python2.7/dist-packages/nova/api/ec2/cloud.py
Restarted services but still get the following when I issue the following
euca-modify-image-attribute ami-00000002 -l
The problem I have is that my images are being uploaded as private and I need to be able to change them to public so all projects can use them.
2011-12-11 13:51:44,855 ERROR nova.api [e609cca1-370c-46b5-a86c-d914e8409ad3 openstack example] ApiError raised: user or group not specified
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/nova/api/ec2/__init__.py", line 348, in __call__
(nova.api): TRACE: result = api_request.invoke(context)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/nova/api/ec2/apirequest.py", line 78, in invoke
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/lib/python2.7/dist-packages/nova/api/ec2/cloud.py", line 1640, in modify_image_attribute
(nova.api): TRACE: raise exception.ApiError(_('user or group not specified'))
(nova.api): TRACE: ApiError: user or group not specified
(nova.api): TRACE:
2011-12-11 13:51:44,856 ERROR nova.api [e609cca1-370c-46b5-a86c-d914e8409ad3 openstack example] ApiError: user or group not specified
2011-12-11 13:51:44,857 INFO nova.api [e609cca1-370c-46b5-a86c-d914e8409ad3 openstack example] 0.23183s 172.16.0.253 POST /services/Cloud/ CloudController:ModifyImageAttribute 400 [Boto/2.0 (linux2)] application/x-www-form-urlencoded text/xml
This affects me too, but I'm having no joy with the one-liner fix.
I am using Diablo on Ubuntu 11.10 and edited /usr/lib/ python2. 7/dist- packages/ nova/api/ ec2/cloud. py
Restarted services but still get the following when I issue the following
euca-modify- image-attribute ami-00000002 -l
The problem I have is that my images are being uploaded as private and I need to be able to change them to public so all projects can use them.
2011-12-11 13:51:44,855 ERROR nova.api [e609cca1- 370c-46b5- a86c-d914e8409a d3 openstack example] ApiError raised: user or group not specified python2. 7/dist- packages/ nova/api/ ec2/__init_ _.py", line 348, in __call__ invoke( context) python2. 7/dist- packages/ nova/api/ ec2/apirequest. py", line 78, in invoke python2. 7/dist- packages/ nova/api/ ec2/cloud. py", line 1640, in modify_ image_attribute ApiError( _('user or group not specified')) 370c-46b5- a86c-d914e8409a d3 openstack example] ApiError: user or group not specified 370c-46b5- a86c-d914e8409a d3 openstack example] 0.23183s 172.16.0.253 POST /services/Cloud/ CloudController :ModifyImageAtt ribute 400 [Boto/2.0 (linux2)] application/ x-www-form- urlencoded text/xml
(nova.api): TRACE: Traceback (most recent call last):
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: result = api_request.
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: result = method(context, **args)
(nova.api): TRACE: File "/usr/lib/
(nova.api): TRACE: raise exception.
(nova.api): TRACE: ApiError: user or group not specified
(nova.api): TRACE:
2011-12-11 13:51:44,856 ERROR nova.api [e609cca1-
2011-12-11 13:51:44,857 INFO nova.api [e609cca1-