[Horizon] Can not update some of Default Quotas

Bug #1417467 reported by Kyrylo Romanenko
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Low
Timur Sufiev
6.1.x
Won't Fix
Low
MOS Horizon
7.0.x
Fix Released
Low
Timur Sufiev

Bug Description

Steps:
1) Login as admin.
2) Navigate to: Admin -> System -> Defaults
3) See list of default quotas:
===
Injected File Content Bytes -1
Metadata Items -1
Server Group Members -1
Server Groups -1
RAM (MB) -1
Key Pairs -1
Length of Injected File Path -1
Instances -1
Injected Files -1
VCPUs -1
Volumes Volume-Type--1030938429 -1
Total Size of Volumes and Snapshots (GB) 1000
Backup Gigabytes 1000
Snapshots Volume-Type--1030938429 -1
Gigabytes Volume-Type--1030938429 -1
Volume Snapshots 10
Volumes 10
Backups 10
===

4) Click Update Defaults button
5) Change any or every field to another numeric values.
6 ) Click Update Defaults button

Expected: to see all changes done.
Actual: only those fields values changed, which were not equal to "-1".

Fields successfully changed:
Total Size of Volumes and Snapshots (GB)
Volume Snapshots
Volumes

Fields remained equal "-1":
Injected File Content Bytes
Metadata Items
RAM (MB)
Key Pairs
Length of Injected File Path
Instances
Injected Files
VCPUs

Environment:
MOS 6.1 build: fuel-6.1-83-2015-01-28_12-40-56.iso
MOS 6.0: Juno on CentOS 6.5 (2014.2-6.0)

Tags: horizon
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Behavior on Devstack:
1) list of default quotas also has some "-1" items.
2) "Update" dialog does not offer to change those fields, they are not listed in dialog.

Devstack on master, commit e256022a1686eb447da1bbd318c44b58f72f3e0e, Merge: b9a7d3b ff72c50

Changed in mos:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → MOS Horizon (mos-horizon)
milestone: none → 6.1
Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

Can't reproduce in MOS 6.1 on Ubuntu. Need more information from Kyrylo Romanenko

Changed in mos:
status: Confirmed → Incomplete
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

Still reproduced on MOS 6.1 on Ubuntu 14.04.1.
{"build_id": "2015-04-06_08-49-30", "ostf_sha": "b978badb43243d3f1b85dde15b8e301a21f12254", "build_number": "282", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-06_08-49-30", "ostf_sha": "b978badb43243d3f1b85dde15b8e301a21f12254", "build_number": "282", "api": "1.0", "nailgun_sha": "a2dc04af9c5838a990adeab81789d4c090943701", "production": "docker", "python-fuelclient_sha": "9ad42671130deb2cc81135fb453ef0793883be2c", "astute_sha": "240bfefe0a0b5af21b79854d0c96d8a3ee0fd885", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "f90d7d40ceff39ee6d7587b183c63bd00ed0743f", "fuellib_sha": "601cc8e1dccbdcf328f83f071270609e824d6c5a"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "a2dc04af9c5838a990adeab81789d4c090943701", "production": "docker", "python-fuelclient_sha": "9ad42671130deb2cc81135fb453ef0793883be2c", "astute_sha": "240bfefe0a0b5af21b79854d0c96d8a3ee0fd885", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "f90d7d40ceff39ee6d7587b183c63bd00ed0743f", "fuellib_sha": "601cc8e1dccbdcf328f83f071270609e824d6c5a"}

Timur Sufiev (tsufiev-x)
Changed in mos:
milestone: 6.1 → 7.0
status: Incomplete → Confirmed
Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

We can repeat bug if we set `Nova Quotas` before deployment

Revision history for this message
Vlad Okhrimenko (vokhrimenko) wrote :

please ignore my previous comment
correct version:
We can repeat bug if we don't set `Nova Quotas` before deployment

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

Kyrylo, could you please clarify whether the fix for bug 1332457 resolves the issue?

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

Sadly, it seems I cannot use the initial bug for tracking the fix in 7.0, because it's already released. So fix committed: https://review.fuel-infra.org/#/c/8135/

Revision history for this message
Oleksiy Butenko (obutenko) wrote :

verified on MOS 7.0
{"build_id": "2015-08-14_17-24-26", "build_number": "176", "release_versions": {"2015.1.0-7.0": {"VERSION": {"build_id": "2015-08-14_17-24-26", "build_number": "176", "api": "1.0", "fuel-library_sha": "db1c04c9de65c8e107475967d86c7a5791ef3853", "nailgun_sha": "eaaf1233c613c6e08bcf99ee09ebb1bdb7dd4e31", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "e01693992d7a0304d926b922b43f3b747c35964c", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "57145b1d8804389304cd04322ba0fb3dc9d30327", "production": "docker", "python-fuelclient_sha": "4c74a60aa60c06c136d9197c7d09fa4f8c8e2863", "astute_sha": "e24ca066bf6160bc1e419aaa5d486cad1aaa937d", "fuel-ostf_sha": "17786b86b78e5b66d2b1c15500186648df10c63d", "release": "7.0", "fuelmain_sha": "d8c726645be087bc67e2eeca134f0f9747cfeacd"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "db1c04c9de65c8e107475967d86c7a5791ef3853", "nailgun_sha": "eaaf1233c613c6e08bcf99ee09ebb1bdb7dd4e31", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "e01693992d7a0304d926b922b43f3b747c35964c", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "57145b1d8804389304cd04322ba0fb3dc9d30327", "production": "docker", "python-fuelclient_sha": "4c74a60aa60c06c136d9197c7d09fa4f8c8e2863", "astute_sha": "e24ca066bf6160bc1e419aaa5d486cad1aaa937d", "fuel-ostf_sha": "17786b86b78e5b66d2b1c15500186648df10c63d", "release": "7.0", "fuelmain_sha": "d8c726645be087bc67e2eeca134f0f9747cfeacd"}

Revision history for this message
sachellia (sachellia) wrote :

Any work around to overcome this issue?

Revision history for this message
sachellia (sachellia) wrote :

Hi

I am unable to modify default quota in Mirantis 6.1. If you could provide a workaround it will be of great help

Thanks

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.