Unable to update project quotas in dashboard due to Nova bug

Bug #1332457 reported by Timur Sufiev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
High
MOS Nova
Nominated for 4.1.x by Roman Podoliaka
5.0.x
Won't Fix
Low
MOS Nova
5.1.x
Won't Fix
Low
MOS Nova
6.0.x
Fix Released
High
MOS Nova
7.0.x
Fix Released
High
MOS Nova

Bug Description

While trying to update quotas for project I get the error 'Modified project information and members, but unable to modify project quotas.'. After some debugging I found the following stacktrace in /var/log/nova-all.log:

<179>Jun 20 08:25:44 node-2 <EF><BB><BF>nova-nova.api.openstack ERROR: Caught error: 'metadata
_items'
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 119, in __call_
_
    return req.get_response(self.application)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
    application, catch_exc_info=False)
  File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
    app_iter = application(self.environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 545, in __call__
    return self.app(env, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
    response = self.app(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
    return resp(environ, start_response)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 938, in __call__
    content_type, body, accept)
  File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 997, in _process_stack
    action_result = self.dispatch(meth, request, action_args)
  File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1078, in dispatch
    return method(req=request, **action_args)
  File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/quotas.py", line 136, in update
    user_id=user_id)
  File "/usr/lib/python2.7/dist-packages/nova/quota.py", line 1180, in get_settable_quotas
    user_id=user_id)
  File "/usr/lib/python2.7/dist-packages/nova/quota.py", line 741, in get_settable_quotas
    quotas[resource.name].update(minimum=0, maximum=-1)
KeyError: 'metadata_items'
<182>Jun 20 08:25:44 node-2 <EF><BB><BF>nova-nova.api.openstack INFO: http://172.16.0.3:8774/v2/e3912b459d3a41a790f6d086709e1232/os-quota-sets/72ccb42babaf4ea5acc5c3b0f89d306f returned with HTTP 500

So, the bad thing happens here https://github.com/openstack/horizon/blob/2013.2.3/openstack_dashboard/dashboards/admin/projects/workflows.py#L711 and then the known error message is shown in dashboard, and it is caused by the https://github.com/openstack/nova/blob/2013.2.3/nova/quota.py#L741 (where a dictionary operation is called for non-existing key of quotas dictionary). Once I changed string

quotas[resource.name].update(minimum=0, maximum=-1)

to

quotas[resource.name] = dict(minimum=0, maximum=-1)

the error message in dashboard disappeared.

Timur Sufiev (tsufiev-x)
Changed in mos:
assignee: nobody → Roman Podolyaka (roman-podolyaka)
importance: Undecided → High
Revision history for this message
Ilya Shakhat (shakhat) wrote :
Changed in mos:
assignee: Roman Podolyaka (roman-podolyaka) → Mikhail Durnosvistov (mdurnosvistov)
status: New → Triaged
Revision history for this message
Andriy Kurilin (andreykurilin) wrote :

I tried to reproduce this bug, but I failed to do it.
Can you specify version(build) of MOS that you are using?

Changed in mos:
status: Triaged → Incomplete
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

I'm using MOS 5.1, the bug is reproducible.

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

Updated: reproduced on fuel-gerrit-5.1-547-2014-08-01_15-12-05.iso

Changed in mos:
milestone: 4.1.2 → 5.1
Changed in mos:
status: Incomplete → In Progress
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Daily update: we haven't managed to reproduce this yet; will be working with Timur on this tomorrow.

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

After further investigation we found, that this error only happens when NoopQuotaDriver is used (i.e. quotas *are not* enforced on purpose by Nova). So while this is still an error (and the error message is indeed rather misleading), it doesn't affect the way quotas work.

Changed in mos:
importance: High → Medium
importance: Medium → Low
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Horizon user experience is probably not very good here, as it makes users think they *can* modify the quotas, when they actually *can't* do that, given the fact that NoopQuotaDriver is chosen.

Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

The bug has importance lower than high, thus bumping it to 6.0

Changed in mos:
status: In Progress → Won't Fix
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

If there isn't any bug in Nova (still I am concerned with stacktrace in bug description, I've just reproduced it on fuel-community-5.1-11-2014-08-28_05-19-34.iso) - I think the bug should be re-assigned to Horizon. Guys, could you reassure me that this stacktrace is a normal behaviour for Nova?

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

Timur, no, it's not normal :)

But the real problem is that users *should not be able* to modify quotas at all, when NoopQuotasDriver is chosen in nova.conf (as it's just not possible by design). So we can fix this particular stack trace in Nova (and we're going to do that in upstream Juno --> MOS 6.0), but IMHO, this will still be confusing to users, as they would try to change quotas and everything would seem to work fine, but nothing would actually happen to quotas.

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

So I suggest that we affect Horizon and try to improve UX somehow, so that users would know in advance they can't actually change quotas when NoopQuotasDriver is used.

information type: Proprietary → Public
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

What is the best way in novaclient to detect whether quotas are enabled in Nova?

tags: added: release-notes
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

I suggest that we add the following text to the release notes:

If "Nova quotas" hasn't been chosen in cluster deployment settings, it won't be possible to modify user/project quotas. Horizon UI will fail with rather misleading error ''Modified project information and members, but unable to modify project quotas''. This will be improved in the future versions of MOS. At the mean time, in order to be able to use quotas, you should deploy clusters with "Nova quotas" option enabled.

tags: added: docs
Changed in mos:
assignee: Mikhail Durnosvistov (mdurnosvistov) → nobody
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Guys, in order to make a UX fix in the Horizon, I need to know is there a way in novaclient to detect whether quotas are enabled in Nova?

Revision history for this message
Irina Povolotskaya (ipovolotskaya) wrote :

Meg, see the text for release notes above.

Changed in mos:
assignee: nobody → Meg McRoberts (dreidellhasa)
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

I am reassigning bug to Nova team, lets check if they can help.

Changed in mos:
milestone: 5.1 → 5.1.1
milestone: 5.1.1 → 4.1.2
assignee: Meg McRoberts (dreidellhasa) → MOS Nova (mos-nova)
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Is this bug really important enough to add it to release notes and backport the fix to maintenance releases? If not, please mark as Won't Fix for old release series. If it is, please justify and upgrade its priority.

Revision history for this message
Ilya Shakhat (shakhat) wrote :

The fix deserves to be ported into 5.1.1, it is required for Rally test execution at scale

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package nova has been built for project openstack/nova
Package version == 2014.1.3, package release == fuel5.1.1.mira6.git.4fb7b71.903ede4

Changeset: https://review.fuel-infra.org/884
project: openstack/nova
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: Roman Podoliaka
committer: Roman Podoliaka
subject: Fix NoopQuotasDriver.get_settable_quotas()
status: patchset-created

Files placed on repository:
openstack-nova-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-api-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-cells-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-cert-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-common-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-compute-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-conductor-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-console-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-doc-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-network-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-novncproxy-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-objectstore-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
openstack-nova-scheduler-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm
python-nova-2014.1.3-fuel5.1.1.mira6.git.4fb7b71.903ede4.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1.1-stable-884/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package nova has been built for project openstack/nova
Package version == 2014.1.3, package release == fuel5.0.3.mira5.git.2ca68e5.9c73f51

Changeset: https://review.fuel-infra.org/885
project: openstack/nova
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: Roman Podoliaka
committer: Roman Podoliaka
subject: Fix NoopQuotasDriver.get_settable_quotas()
status: patchset-created

Files placed on repository:
openstack-nova-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-api-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-cells-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-cert-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-common-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-compute-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-conductor-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-console-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-doc-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-network-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-novncproxy-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-objectstore-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
openstack-nova-scheduler-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm
python-nova-2014.1.3-fuel5.0.3.mira5.git.2ca68e5.9c73f51.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.0.3-stable-885/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package nova has been built for project openstack/nova
Package version == 2014.1.3, package release == fuel5.0.3~mira4+git.2ca68e5.9c73f51

Changeset: https://review.fuel-infra.org/885
project: openstack/nova
branch: openstack-ci/fuel-5.0.3/2014.1.1
author: Roman Podoliaka
committer: Roman Podoliaka
subject: Fix NoopQuotasDriver.get_settable_quotas()
status: patchset-created

Files placed on repository:
nova-ajax-console-proxy_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-api-ec2_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-api-metadata_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-api-os-compute_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-api-os-volume_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-api_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-baremetal_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-cells_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-cert_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-common_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute-kvm_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute-libvirt_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute-lxc_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute-qemu_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute-vmware_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute-xen_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-compute_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-conductor_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-console_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-consoleauth_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-doc_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-network_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-novncproxy_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-objectstore_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-scheduler_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-spiceproxy_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-volume_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
nova-xvpvncproxy_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb
python-nova_2014.1.3-fuel5.0.3~mira4+git.2ca68e5.9c73f51_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.0.3-stable-885/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package nova has been built for project openstack/nova
Package version == 2014.1.3, package release == fuel5.1.1~mira4+git.4fb7b71.903ede4

Changeset: https://review.fuel-infra.org/884
project: openstack/nova
branch: openstack-ci/fuel-5.1.1/2014.1.1
author: Roman Podoliaka
committer: Roman Podoliaka
subject: Fix NoopQuotasDriver.get_settable_quotas()
status: patchset-created

Files placed on repository:
nova-ajax-console-proxy_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-api-ec2_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-api-metadata_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-api-os-compute_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-api-os-volume_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-api_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-baremetal_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-cells_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-cert_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-common_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute-kvm_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute-libvirt_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute-lxc_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute-qemu_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute-vmware_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute-xen_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-compute_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-conductor_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-console_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-consoleauth_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-doc_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-network_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-novncproxy_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-objectstore_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-scheduler_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-spiceproxy_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-volume_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
nova-xvpvncproxy_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb
python-nova_2014.1.3-fuel5.1.1~mira4+git.4fb7b71.903ede4_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1.1-stable-884/ubuntu

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

Changed Severity and Assignee to indicate serious UX impact in Horizon, should be fixed in 6.0.

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.mira5.git.bf3d800.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.mira5.git.bf3d800.51406da.noarch.rpm
python-django-horizon-2014.2-fuel6.0.mira5.git.bf3d800.51406da.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.mira5.git.bf3d800.51406da.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-982/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0~mira8+git.bf3d800.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0~mira8+git.bf3d800.51406da_all.deb
openstack-dashboard_2014.2-fuel6.0~mira8+git.bf3d800.51406da_all.deb
python-django-horizon_2014.2-fuel6.0~mira8+git.bf3d800.51406da_all.deb
python-django-openstack_2014.2-fuel6.0~mira8+git.bf3d800.51406da_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-982/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.mira5.git.b24d8a4.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.mira5.git.b24d8a4.51406da.noarch.rpm
python-django-horizon-2014.2-fuel6.0.mira5.git.b24d8a4.51406da.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.mira5.git.b24d8a4.51406da.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-982/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0~mira8+git.b24d8a4.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0~mira8+git.b24d8a4.51406da_all.deb
openstack-dashboard_2014.2-fuel6.0~mira8+git.b24d8a4.51406da_all.deb
python-django-horizon_2014.2-fuel6.0~mira8+git.b24d8a4.51406da_all.deb
python-django-openstack_2014.2-fuel6.0~mira8+git.b24d8a4.51406da_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-982/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.mira6.git.6985660.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.mira6.git.6985660.51406da.noarch.rpm
python-django-horizon-2014.2-fuel6.0.mira6.git.6985660.51406da.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.mira6.git.6985660.51406da.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-982/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0~mira9+git.6985660.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0~mira9+git.6985660.51406da_all.deb
openstack-dashboard_2014.2-fuel6.0~mira9+git.6985660.51406da_all.deb
python-django-horizon_2014.2-fuel6.0~mira9+git.6985660.51406da_all.deb
python-django-openstack_2014.2-fuel6.0~mira9+git.6985660.51406da_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-982/ubuntu

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

I consider current fix in Horizon https://review.fuel-infra.org/#/c/982/ good from UX perspective, all that remains to be done is changing puppet scripts to keep https://review.fuel-infra.org/#/c/982/3/openstack_dashboard/settings.py synchronized with the decisions made during Fuel deployment (i.e. enabling/disabling Nova quotas).

Revision history for this message
OSCI Robot (oscirobot) wrote :

RPM package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0.mira6.git.381030b.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-2014.2-fuel6.0.mira6.git.381030b.51406da.noarch.rpm
python-django-horizon-2014.2-fuel6.0.mira6.git.381030b.51406da.noarch.rpm
python-django-horizon-doc-2014.2-fuel6.0.mira6.git.381030b.51406da.noarch.rpm

NOTE: Changeset is not merged, created temporary package repository.
RPM repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-6.0-stable-982/centos

Revision history for this message
OSCI Robot (oscirobot) wrote :

DEB package horizon has been built for project openstack/horizon
Package version == 2014.2, package release == fuel6.0~mira9+git.381030b.51406da

Changeset: https://review.fuel-infra.org/982
project: openstack/horizon
branch: openstack-ci/fuel-6.0/2014.2
author: Vlad Okhrimenko
committer: Vlad Okhrimenko
subject: Unable to update project quotas in dashboard
status: patchset-created

Files placed on repository:
openstack-dashboard-ubuntu-theme_2014.2-fuel6.0~mira9+git.381030b.51406da_all.deb
openstack-dashboard_2014.2-fuel6.0~mira9+git.381030b.51406da_all.deb
python-django-horizon_2014.2-fuel6.0~mira9+git.381030b.51406da_all.deb
python-django-openstack_2014.2-fuel6.0~mira9+git.381030b.51406da_all.deb

NOTE: Changeset is not merged, created temporary package repository.
DEB repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable-982/ubuntu

Revision history for this message
Aleksandr Didenko (adidenko) wrote :

Fuel-library part of the fix has been merged https://review.openstack.org/#/c/137391/
Forwarding ticket back to mos-nova

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

Horizon part of the fix has been merged as well: https://review.fuel-infra.org/#/c/982/

Revision history for this message
Alexander Gubanov (ogubanov) wrote :

I verified it on mos 6.0 (build 48) - fixed.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Vlad Okhrimenko <email address hidden>
Review: https://review.fuel-infra.org/8135

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/8135
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: ea9474cd3252bbf36120576c2b9364a38116ad7f
Author: Timur Sufiev <email address hidden>
Date: Thu Jul 16 10:58:42 2015

Unable to update project quotas in dashboard

Add dictionary in dashboard settings with services. If this
services false - hide field(of appropriate service) for quotas.

Change-Id: I5a1184a92d988a023dbb66088cb45e36595a4e21
Closes-Bug: #1332457

Timur Sufiev (tsufiev-x)
tags: added: horizon
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (openstack-ci/fuel-8.0/liberty)

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/13367

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote :

Fix proposed to branch: openstack-ci/fuel-8.0/liberty
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/13698

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (openstack-ci/fuel-8.0/liberty)

Change abandoned by Timur Sufiev <email address hidden> on branch: openstack-ci/fuel-8.0/liberty
Review: https://review.fuel-infra.org/13367
Reason: Superseded with https://review.fuel-infra.org/#/c/13698/

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/13698
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 0e32593c6138c321b70e10db64730c10c0a541a7
Author: Timur Sufiev <email address hidden>
Date: Tue Nov 24 12:24:52 2015

Pay attention to Nova disabled quotas defined in a config file

Since Nova doesn't currently provide an API call to indicate whether
its quotas are disabled, we could use a parameter named
'enable_quotas' within 'OPENSTACK_HYPERVISOR_FEATURES' setting for
this purpose. This allows to avoid errors while trying to update
quotas which are disabled on service side. Also make disabled_quotas
collection to be a set instead of a list - this removes duplicate
fields that appear due to some possible quota overlaps between Nova
and Neutron.

Also, since we dropped out python2.6 support fancy set literals and
dict comprehensions can be used.

DocImpact

Change-Id: Iaa1290cc387c1f868c6292be0a7b5ac82488b66c
Closes-Bug: #1332457

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/18476

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/18476
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: b063c695bb2fad8f5ed8e7970cf5978136599719
Author: Timur Sufiev <email address hidden>
Date: Thu Mar 24 10:03:50 2016

Pay attention to Nova disabled quotas defined in a config file

Since Nova doesn't currently provide an API call to indicate whether
its quotas are disabled, we could use a parameter named
'enable_quotas' within 'OPENSTACK_HYPERVISOR_FEATURES' setting for
this purpose. This allows to avoid errors while trying to update
quotas which are disabled on service side. Also make disabled_quotas
collection to be a set instead of a list - this removes duplicate
fields that appear due to some possible quota overlaps between Nova
and Neutron.

Also, since we dropped out python2.6 support fancy set literals and
dict comprehensions can be used.

Change-Id: Iaa1290cc387c1f868c6292be0a7b5ac82488b66c
Closes-Bug: #1332457

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (mcp/newton)

Fix proposed to branch: mcp/newton
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/34003

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (11.0/ocata)

Fix proposed to branch: 11.0/ocata
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/34010

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (mcp/ocata)

Fix proposed to branch: mcp/ocata
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/34776

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (11.0/ocata)

Change abandoned by Ihor Kalnytskyi <email address hidden> on branch: 11.0/ocata
Review: https://review.fuel-infra.org/34010
Reason: 11.0/ocata is obsolete. We use mcp/ocata instead.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (mcp/ocata)

Change abandoned by Ivan Kolodyazhny <email address hidden> on branch: mcp/ocata
Review: https://review.fuel-infra.org/34776
Reason: Already merged I10923f147e4c323aba8bbcc130d2016ad6725e86 in upstream

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (mcp/newton)

Change abandoned by Michael Dovgal <email address hidden> on branch: mcp/newton
Review: https://review.fuel-infra.org/34003
Reason: Already merged in upstream I10923f147e4c323aba8bbcc130d2016ad6725e86

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.