Folsom - Absolute limit parameters totalKeyPairsUsed and totalSecurityGroupsUsed values area not incremented when keypair and security group created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Mark McLoughlin | ||
Folsom |
Fix Released
|
Low
|
Mark McLoughlin |
Bug Description
Description:
--------------
Absolute parameter totalKeyPairsUsed should increase its value when we create new keypair and also decrease when we delete keypair from existing keypair list. Observed totalKeyPairsUsed value is not changed when keypair is created.
Also observed the same for totalSecurityGr
Environment:
--------------
Folsom
Step to Reproduce for totalKeyPairsUsed defect:
--------------
1) Get the totalKeyPairsUsed value before creating keypair
$nova absolute-limits |grep totalKeyPairsUsed
| totalKeyPairsUsed | 0 |
2) Create a keypair
$nova keypair-add test1
-----BEGIN RSA PRIVATE KEY-----
MIICXQIBAAKBgQC
RVeEE12cZgWurKv
4q9HK83xNp2UPc4
AoGAJwGyjIaoqFG
0FkiWp00efPK4Ik
o83/vnux5fYz4Sf
+Y6TmTNZebF739t
Ci13KzEzAkEA1w6
0Na7viUMcsQRXS2
4m/Pt/Vc1pMAX/
LdFzHDZIMBzozkF
fXlOm6/
yBV0cvbfVzVcKjK
-----END RSA PRIVATE KEY-----
$nova keypair-list
+------
| Name | Fingerprint |
+------
| test1 | 5e:b3:e9:
+------
3) Verify totalKeyPairsUsed value after creating keypair
$nova absolute-limits |grep totalKeyPairsUsed
| totalKeyPairsUsed | 0 |
OBSERVATION:
--------------
totalKeyPairsUsed value is not incremented after creating a keypair
Step to Reproduce for totalSecurityGr
--------------
1) Get the totalSecurityGr
$nova absolute-limits | grep totalSecurityGr
| totalSecurityGr
2) Create a SecurityGroup
$nova secgroup-create test_sg1 test_sg1_
+------
| Name | Description |
+------
| test_sg1 | test_sg1_
+------
$nova secgroup-list
+------
| Name | Description |
+------
| default | default |
| test_sg1 | test_sg1_
+------
3) Verify totalSecurityGr
$nova absolute-limits | grep totalSecurityGr
| totalSecurityGr
OBSERVATION:
--------------
totalSecurityGr
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2012.2.3 |
status: | Fix Released → Fix Committed |
Changed in nova: | |
milestone: | 2012.2.3 → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2013.1 |
This defect also observed for below absolute limit parameters: bytesUsed
totalVolumesUsed
totalVolumeGiga
OBSERVATION: bytesUsed value is not incremented after creating new volume with GB
totalVolumesUsed value is not incremented after creating new volume
totalVolumeGiga