← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334237] [NEW] neutron quota don't match what the horizon shows

 

Public bug reported:

Horizon sees different quota than either nova or neutron quota show.

The system is RDO Icehouse on RHEL6, set to use neutron, installed with
packstack.


My user run out of the default 10 security groups. I raised the limit with this:

neutron quota-update --security-group 30 --tenant-id our-tenant

and quota-show shows it now being 30

Horizon says it's still at ten.

I also updated this:

nova quota-update --security-groups 32

Still Horizon shows different.

Now I updated the quota for the tenant from Horizon as admin, and quota
is set to 35 now for security groups. Horizon shows it ok. Neither of
the neutron or nova show the security group still the same as Horizon.
Somehow the horizon uses different place to store&check the value.

# nova quota-show --tenant our-tenant | grep grou
| security_groups             | 32    |
| security_group_rules        | 20    |

# neutron quota-show --tenant-id our-tenant | grep group                                              
| security_group      | 30    |
| security_group_rule | 100   |


this is from horizon local conf:

OPENSTACK_NEUTRON_NETWORK = {
    'enable_lb': False,
    'enable_firewall': False,
    'enable_quotas': True,
    'enable_security_group': True,
    'enable_vpn': False,
    'profile_support': None,
}


And this from nova, all in default values:

# grep -i quota /etc/nova/nova.conf 
# Options defined in nova.quota
#quota_instances=10
#quota_cores=20
#quota_ram=51200
#quota_floating_ips=10
#quota_fixed_ips=-1
#quota_metadata_items=128
#quota_injected_files=5
#quota_injected_file_content_bytes=10240
#quota_injected_file_path_bytes=255
#quota_security_groups=10
#quota_security_group_rules=20
#quota_key_pairs=100
# Default driver to use for quota checks (string value)
#quota_driver=nova.quota.DbQuotaDriver
# Enables or disables quota checking for tenant networks
#enable_network_quota=false


and this from neutron:
# grep -i quota /etc/neutron/neutron.conf 
[quotas]
# Default driver to use for quota checks
# quota_driver = neutron.db.quota_db.DbQuotaDriver
# Resource name(s) that are supported in quota features
# quota_items = network,subnet,port
# default_quota = -1
# quota_network = 10
# quota_subnet = 10
# quota_port = 50
# quota_security_group = 10
# quota_security_group_rule = 100
# quota_vip = 10
# quota_pool = 10
# and that is the reason why quota is possible.
# quota_member = -1
# and that is the reason why quota is possible.
# quota_health_monitors = -1
# quota_router = 10
# quota_floatingip = 50


# rpm -qa 'openstack*'
openstack-ceilometer-collector-2014.1-2.el6.noarch
openstack-cinder-2014.1-2.el6.noarch
openstack-ceilometer-common-2014.1-2.el6.noarch
openstack-heat-api-2014.1-1.0.el6.noarch
openstack-packstack-2014.1.1-0.12.dev1068.el6.noarch
openstack-ceilometer-central-2014.1-2.el6.noarch
openstack-ceilometer-alarm-2014.1-2.el6.noarch
openstack-utils-2014.1-1.el6.noarch
openstack-nova-common-2014.1-2.el6.noarch
openstack-nova-console-2014.1-2.el6.noarch
openstack-nova-scheduler-2014.1-2.el6.noarch
openstack-neutron-2014.1-18.el6.noarch
openstack-dashboard-2014.1-1.el6.noarch
openstack-heat-api-cloudwatch-2014.1-1.0.el6.noarch
openstack-keystone-2014.1-5.el6.noarch
openstack-packstack-puppet-2014.1.1-0.12.dev1068.el6.noarch
openstack-puppet-modules-2014.1-11.1.el6.noarch
openstack-ceilometer-api-2014.1-2.el6.noarch
openstack-nova-api-2014.1-2.el6.noarch
openstack-nova-conductor-2014.1-2.el6.noarch
openstack-nova-cert-2014.1-2.el6.noarch
openstack-neutron-openvswitch-2014.1-18.el6.noarch
openstack-heat-common-2014.1-1.0.el6.noarch
openstack-heat-api-cfn-2014.1-1.0.el6.noarch
openstack-heat-engine-2014.1-1.0.el6.noarch
openstack-ceilometer-notification-2014.1-2.el6.noarch
openstack-glance-2014.1-2.el6.noarch
openstack-nova-novncproxy-2014.1-2.el6.noarch
openstack-selinux-0.1.3-2.el6ost.noarch

** 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 Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1334237

Title:
  neutron quota don't match what the horizon shows

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Horizon sees different quota than either nova or neutron quota show.

  The system is RDO Icehouse on RHEL6, set to use neutron, installed
  with packstack.

  
  My user run out of the default 10 security groups. I raised the limit with this:

  neutron quota-update --security-group 30 --tenant-id our-tenant

  and quota-show shows it now being 30

  Horizon says it's still at ten.

  I also updated this:

  nova quota-update --security-groups 32

  Still Horizon shows different.

  Now I updated the quota for the tenant from Horizon as admin, and
  quota is set to 35 now for security groups. Horizon shows it ok.
  Neither of the neutron or nova show the security group still the same
  as Horizon. Somehow the horizon uses different place to store&check
  the value.

  # nova quota-show --tenant our-tenant | grep grou
  | security_groups             | 32    |
  | security_group_rules        | 20    |

  # neutron quota-show --tenant-id our-tenant | grep group                                              
  | security_group      | 30    |
  | security_group_rule | 100   |

  
  this is from horizon local conf:

  OPENSTACK_NEUTRON_NETWORK = {
      'enable_lb': False,
      'enable_firewall': False,
      'enable_quotas': True,
      'enable_security_group': True,
      'enable_vpn': False,
      'profile_support': None,
  }

  
  And this from nova, all in default values:

  # grep -i quota /etc/nova/nova.conf 
  # Options defined in nova.quota
  #quota_instances=10
  #quota_cores=20
  #quota_ram=51200
  #quota_floating_ips=10
  #quota_fixed_ips=-1
  #quota_metadata_items=128
  #quota_injected_files=5
  #quota_injected_file_content_bytes=10240
  #quota_injected_file_path_bytes=255
  #quota_security_groups=10
  #quota_security_group_rules=20
  #quota_key_pairs=100
  # Default driver to use for quota checks (string value)
  #quota_driver=nova.quota.DbQuotaDriver
  # Enables or disables quota checking for tenant networks
  #enable_network_quota=false

  
  and this from neutron:
  # grep -i quota /etc/neutron/neutron.conf 
  [quotas]
  # Default driver to use for quota checks
  # quota_driver = neutron.db.quota_db.DbQuotaDriver
  # Resource name(s) that are supported in quota features
  # quota_items = network,subnet,port
  # default_quota = -1
  # quota_network = 10
  # quota_subnet = 10
  # quota_port = 50
  # quota_security_group = 10
  # quota_security_group_rule = 100
  # quota_vip = 10
  # quota_pool = 10
  # and that is the reason why quota is possible.
  # quota_member = -1
  # and that is the reason why quota is possible.
  # quota_health_monitors = -1
  # quota_router = 10
  # quota_floatingip = 50

  
  # rpm -qa 'openstack*'
  openstack-ceilometer-collector-2014.1-2.el6.noarch
  openstack-cinder-2014.1-2.el6.noarch
  openstack-ceilometer-common-2014.1-2.el6.noarch
  openstack-heat-api-2014.1-1.0.el6.noarch
  openstack-packstack-2014.1.1-0.12.dev1068.el6.noarch
  openstack-ceilometer-central-2014.1-2.el6.noarch
  openstack-ceilometer-alarm-2014.1-2.el6.noarch
  openstack-utils-2014.1-1.el6.noarch
  openstack-nova-common-2014.1-2.el6.noarch
  openstack-nova-console-2014.1-2.el6.noarch
  openstack-nova-scheduler-2014.1-2.el6.noarch
  openstack-neutron-2014.1-18.el6.noarch
  openstack-dashboard-2014.1-1.el6.noarch
  openstack-heat-api-cloudwatch-2014.1-1.0.el6.noarch
  openstack-keystone-2014.1-5.el6.noarch
  openstack-packstack-puppet-2014.1.1-0.12.dev1068.el6.noarch
  openstack-puppet-modules-2014.1-11.1.el6.noarch
  openstack-ceilometer-api-2014.1-2.el6.noarch
  openstack-nova-api-2014.1-2.el6.noarch
  openstack-nova-conductor-2014.1-2.el6.noarch
  openstack-nova-cert-2014.1-2.el6.noarch
  openstack-neutron-openvswitch-2014.1-18.el6.noarch
  openstack-heat-common-2014.1-1.0.el6.noarch
  openstack-heat-api-cfn-2014.1-1.0.el6.noarch
  openstack-heat-engine-2014.1-1.0.el6.noarch
  openstack-ceilometer-notification-2014.1-2.el6.noarch
  openstack-glance-2014.1-2.el6.noarch
  openstack-nova-novncproxy-2014.1-2.el6.noarch
  openstack-selinux-0.1.3-2.el6ost.noarch

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


Follow ups

References