** Changed in: keystone Status: Incomplete => Invalid -- 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/1420104
Title: quota set failed Status in Keystone: Invalid Status in OpenStack Compute (nova): Invalid Status in python-openstackclient: In Progress Bug description: 1: source file: export NOVA_VERSION=1.1 export no_proxy=$no_proxy, [overcloud_ip] export OS_PASSWORD=redhat export OS_TENANT_ID=86c0d2458dbb4adc990bab70ef3546f5 export OS_PROJECT_ID=86c0d2458dbb4adc990bab70ef3546f5 export OS_AUTH_URL=https://[overcloud_ip]:5000/v3 export OS_USER_DOMAIN_ID=9a03881b62ca449f87f8d5a1ceaad845 export OS_USERNAME=testuser_dx_px export COMPUTE_API_VERSION=1.1 export OS_NO_CACHE=True export OS_IDENTITY_API_VERSION=3 export OS_CACERT=/usr/local/share/ca-certificates/ephemeralca-cacert.crt PS2=$PS1 export PS1=($OS_USERNAME)$PS1 export OS_PS1=$PS2 2: testuser_dx_px was created via v3 keystone API as below: (admin)cetest@cer106n*:~/lily$ openstack domain create test_domain +---------+----------------------------------+ | Field | Value | +---------+----------------------------------+ | enabled | True | | id | 9a03881b62ca449f87f8d5a1ceaad845 | | name | test_domain | +---------+----------------------------------+ (admin)cetest@cer106n*:~/lily$ openstack project create --domain test_domain --description "test project" --enable te stproject_dx +-------------+----------------------------------+ | Field | Value | +-------------+----------------------------------+ | description | test project | | domain_id | 9a03881b62ca449f87f8d5a1ceaad845 | | enabled | True | | id | 86c0d2458dbb4adc990bab70ef3546f5 | | name | testproject_dx | +-------------+----------------------------------+ (admin)cetest@cer106n*:~/lily$ openstack user create --password redhat --email testuser_dx...@hp.com --project testproject_dx --domai n test_domain --description "user in test_domain and testproject_dx." --enable testuser_dx_px +--------------------+-----------------------------------------+ | Field | Value | +--------------------+-----------------------------------------+ | default_project_id | 86c0d2458dbb4adc990bab70ef3546f5 | | description | user in test_domain and testproject_dx. | | domain_id | 9a03881b62ca449f87f8d5a1ceaad845 | | email | testuser_dx...@hp.com | | enabled | True | | id | ddf3e092104b4f47bbf25dc39342159c | | name | testuser_dx_px | +--------------------+-----------------------------------------+ 3: project quota set failed[openstackclient cmd] (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack --version openstack 0.4.1 (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota show testproject_dx +----------------------+----------------+ | Field | Value | +----------------------+----------------+ | backup_gigabytes | 1000 | | backups | 10 | | cores | -1 | | fixed-ips | -1 | | floating-ips | 10 | | gigabytes | 1000 | | injected-file-size | 10240 | | injected-files | 5 | | injected-path-size | 255 | | instances | 40 | | key-pairs | 100 | | project | testproject_dx | | properties | 50 | | ram | 16000 | | secgroup-rules | 20 | | secgroups | 10 | | server_group_members | 10 | | server_groups | 10 | | snapshots | 10 | | volumes | 10 | +----------------------+----------------+ (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota set --ram 15360 testproject_dx ERROR: openstack Bad Request (HTTP 400) (Request-ID: req-29f562c4-8cf0-4e2f-97f0-d4a11bf16ebf) (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota show testproject_dx +----------------------+----------------+ | Field | Value | +----------------------+----------------+ | backup_gigabytes | 1000 | | backups | 10 | | cores | -1 | | fixed-ips | -1 | | floating-ips | 10 | | gigabytes | 1000 | | injected-file-size | 10240 | | injected-files | 5 | | injected-path-size | 255 | | instances | 40 | | key-pairs | 100 | | project | testproject_dx | | properties | 50 | | ram | 15360 | | secgroup-rules | 20 | | secgroups | 10 | | server_group_members | 10 | | server_groups | 10 | | snapshots | 10 | | volumes | 10 | +----------------------+----------------+ (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota set --floating-ips 20 testproject_dx ERROR: openstack Bad Request (HTTP 400) (Request-ID: req-97f2955f-f39a-4356-a2e0-13c840b82665) (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota show testproject_dx +----------------------+----------------+ | Field | Value | +----------------------+----------------+ | backup_gigabytes | 1000 | | backups | 10 | | cores | -1 | | fixed-ips | -1 | | floating-ips | 10 | | gigabytes | 1000 | | injected-file-size | 10240 | | injected-files | 5 | | injected-path-size | 255 | | instances | 40 | | key-pairs | 100 | | project | testproject_dx | | properties | 50 | | ram | 15360 | | secgroup-rules | 20 | | secgroups | 10 | | server_group_members | 10 | | server_groups | 10 | | snapshots | 10 | | volumes | 10 | +----------------------+----------------+ (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota set --volumes 20 testproject_dx ERROR: openstack Bad Request (HTTP 400) (Request-ID: req-d516f932-e5d3-46f7-b8f9-ec296f49f7e2) (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota show testproject_dx +----------------------+----------------+ | Field | Value | +----------------------+----------------+ | backup_gigabytes | 1000 | | backups | 10 | | cores | -1 | | fixed-ips | -1 | | floating-ips | 10 | | gigabytes | 1000 | | injected-file-size | 10240 | | injected-files | 5 | | injected-path-size | 255 | | instances | 40 | | key-pairs | 100 | | project | testproject_dx | | properties | 50 | | ram | 15360 | | secgroup-rules | 20 | | secgroups | 10 | | server_group_members | 10 | | server_groups | 10 | | snapshots | 10 | | volumes | 10 | +----------------------+----------------+ (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota set --ram 18000 testproject_dx ERROR: openstack Bad Request (HTTP 400) (Request-ID: req-1004a40d-957b-4db0-85ad-367bc19f4793) (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota show testproject_dx +----------------------+----------------+ | Field | Value | +----------------------+----------------+ | backup_gigabytes | 1000 | | backups | 10 | | cores | -1 | | fixed-ips | -1 | | floating-ips | 10 | | gigabytes | 1000 | | injected-file-size | 10240 | | injected-files | 5 | | injected-path-size | 255 | | instances | 40 | | key-pairs | 100 | | project | testproject_dx | | properties | 50 | | ram | 18000 | | secgroup-rules | 20 | | secgroups | 10 | | server_group_members | 10 | | server_groups | 10 | | snapshots | 10 | | volumes | 10 | +----------------------+----------------+ (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota set --key-pairs 50 testproject_dx ERROR: openstack Bad Request (HTTP 400) (Request-ID: req-475d1b73-7bac-45e7-a870-54e52d914c30) (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# openstack quota show testproject_dx +----------------------+----------------+ | Field | Value | +----------------------+----------------+ | backup_gigabytes | 1000 | | backups | 10 | | cores | -1 | | fixed-ips | -1 | | floating-ips | 10 | | gigabytes | 1000 | | injected-file-size | 10240 | | injected-files | 5 | | injected-path-size | 255 | | instances | 40 | | key-pairs | 100 | | project | testproject_dx | | properties | 50 | | ram | 18000 | | secgroup-rules | 20 | | secgroups | 10 | | server_group_members | 10 | | server_groups | 10 | | snapshots | 10 | | volumes | 10 | +----------------------+----------------+ (testuser_dx_px)(testuser_dx_px)root@overcloud-ce-controller-controller1-gcf3ewgvxb4l:~# To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1420104/+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