** Changed in: nova/folsom Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1062049
Title: Folsom - Absolute limit parameters totalKeyPairsUsed and totalSecurityGroupsUsed values area not incremented when keypair and security group created Status in OpenStack Compute (Nova): Fix Released Status in OpenStack Compute (nova) folsom series: Fix Released 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 totalSecurityGroupsUsed parameter, i.e. totalSecurityGroupsUsed value is not changed after creating security group. 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----- MIICXQIBAAKBgQC3EbOOW8JiAquBcO7UK4WVc+Utb7I9KY5YbsKLxk2s07HqgzCF RVeEE12cZgWurKv1I4yPln3E9/ZkAuEYT0GaXSIcv0AMw/jpAp69+7HP7Loe2f0U 4q9HK83xNp2UPc4aw6D/f3xv6MXUcLWC2NIzTujAFVbyj3h0cqXD9w67ZQIDAQAB AoGAJwGyjIaoqFGBUZdKjBKp5+pFzqSaCcYs+lK/SSD7s/N3WUySrhLUTuQBci2a 0FkiWp00efPK4IklCrJCW/enNmyYCh/GSJZRyHe8B4fO5yCsPgER4OLLzZqE4sC3 o83/vnux5fYz4Sfw398hHYF2trDWYdqs5KFVZ9htgRp0jBECQQDZ7BqVW1dszIBx +Y6TmTNZebF739tdx3KjRp+cQVkHSbOKDiGqsKDf8eLyDR1A8gs4QaNa14/mSWnD Ci13KzEzAkEA1w6UY9FXnKXw3D2nmYzchyndimiS0xBy0DN6RcPpkKZYyfTOk5Ib 0Na7viUMcsQRXS2Nfis2scyuxKEPRvQRBwJBAKo3R1ReMl1jJvjfisQzJ+69pSoy 4m/Pt/Vc1pMAX//XS4uMGjPvHtmNYEzcfXsbFDRu4J+2PEoOEbQsoPKyJA0CQQCt LdFzHDZIMBzozkFz1koUEjOT7KgnjTxXysxw99XTJRGk+B2OGn+JyhH/icgfdyJg fXlOm6/8t84ZC3XI9mvrAkB/4/KWjrEVp96G5hac01oQTAM20+hKISOM2UGQ0D3H yBV0cvbfVzVcKjKSzzak1GAUHsJwZNCeZCUmBAFoyoZA -----END RSA PRIVATE KEY----- $nova keypair-list +-----------------------+-------------------------------------------------+ | Name | Fingerprint | +-----------------------+-------------------------------------------------+ | test1 | 5e:b3:e9:30:0f:c1:44:c7:4b:6f:a4:0b:04:77:76:17 | +-----------------------+-------------------------------------------------+ 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 totalSecurityGroupsUsed defect: -------------- 1) Get the totalSecurityGroupsUsed value before creating SecurityGroup $nova absolute-limits | grep totalSecurityGroupsUsed | totalSecurityGroupsUsed | 0 | 2) Create a SecurityGroup $nova secgroup-create test_sg1 test_sg1_description +----------+----------------------+ | Name | Description | +----------+----------------------+ | test_sg1 | test_sg1_description | +----------+----------------------+ $nova secgroup-list +--------------+----------------------+ | Name | Description | +--------------+----------------------+ | default | default | | test_sg1 | test_sg1_description | +--------------+----------------------+ 3) Verify totalSecurityGroupsUsed value after creating SecurityGroup $nova absolute-limits | grep totalSecurityGroupsUsed | totalSecurityGroupsUsed | 0 | OBSERVATION: -------------- totalSecurityGroupsUsed value is not incremented after creating a SecurityGroup To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1062049/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp