yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14783
[Bug 1299517] Re: quota-class-update
I'm adding a Horizon task so we can track this and put support back in
should it be added back to Nova. For reference, Horizon had to remove
the panel to update default quotas during the Icehouse RC period (see
bug 1292589).
Link to the current ML discussion on the topic:
http://lists.openstack.org/pipermail/openstack-dev/2014-May/036002.html
** Also affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1299517
Title:
quota-class-update
Status in OpenStack Dashboard (Horizon):
New
Status in OpenStack Compute (Nova):
Triaged
Bug description:
Cant update default quota:
root@blade1-1-live:~# nova --debug quota-class-update --ram -1 default
REQ: curl -i 'http://XXX.XXX.XXX.XXX:8774/v2/1eaf475499f8479d94d5ed7a4af68703/os-quota-class-sets/default' -X PUT -H "X-Auth-Project-Id: admin" -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: 62837311542a42a495442d911cc8b12a" -d '{"quota_class_set": {"ram": -1}}'
New session created for: (http://XXX.XXX.XXX.XXX:8774)
INFO (connectionpool:258) Starting new HTTP connection (1): XXX.XXX.XXX.XXX
DEBUG (connectionpool:375) Setting read timeout to 600.0
DEBUG (connectionpool:415) "PUT /v2/1eaf475499f8479d94d5ed7a4af68703/os-quota-class-sets/default HTTP/1.1" 404 52
RESP: [404] CaseInsensitiveDict({'date': 'Sat, 29 Mar 2014 17:17:32 GMT', 'content-length': '52', 'content-type': 'text/plain; charset=UTF-8'})
RESP BODY: 404 Not Found
The resource could not be found.
DEBUG (shell:777) Not found (HTTP 404)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 774, in main
OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 710, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 3378, in do_quota_class_update
_quota_update(cs.quota_classes, args.class_name, args)
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 3164, in _quota_update
manager.update(identifier, **updates)
File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/quota_classes.py", line 44, in update
'quota_class_set')
File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 165, in _update
_resp, body = self.api.client.put(url, body=body)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 289, in put
return self._cs_request(url, 'PUT', **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 260, in _cs_request
**kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 242, in _time_request
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 236, in request
raise exceptions.from_response(resp, body, url, method)
NotFound: Not found (HTTP 404)
ERROR: Not found (HTTP 404)
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1299517/+subscriptions
References