← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1551306] [NEW] Horizon could show invalid number of used instances

 

Public bug reported:

Steps to reproduce:
1) Set up Nova devstack to user NoopQuotaDriver by setting 
quota_driver=nova.quota.NoopQuotaDriver in the default section of /etc/nova/nova.conf. And restart nova-api, nova-conductor and nova-compute.
2) Launch an instance
3) Go to project/overview and see that pie-charts show that 0 instances are running.

Here Horizon takes values of "totalInstancesUsed", "maxTotalInstances" for pie charts (adding it into context['charts'] and rendering in horizon/templates/horizon/common/_limit_summary.html)
https://github.com/openstack/horizon/blob/master/openstack_dashboard/usage/views.py#L67

** Affects: horizon
     Importance: Medium
     Assignee: Paul Karikh (pkarikh)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Paul Karikh (pkarikh)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1551306

Title:
  Horizon could show invalid number of used instances

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to reproduce:
  1) Set up Nova devstack to user NoopQuotaDriver by setting 
  quota_driver=nova.quota.NoopQuotaDriver in the default section of /etc/nova/nova.conf. And restart nova-api, nova-conductor and nova-compute.
  2) Launch an instance
  3) Go to project/overview and see that pie-charts show that 0 instances are running.

  Here Horizon takes values of "totalInstancesUsed", "maxTotalInstances" for pie charts (adding it into context['charts'] and rendering in horizon/templates/horizon/common/_limit_summary.html)
  https://github.com/openstack/horizon/blob/master/openstack_dashboard/usage/views.py#L67

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1551306/+subscriptions


Follow ups