nova image-list failing with SSL enabled on Juno
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
python-glanceclient (Ubuntu) |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
I have a client setup with OS_CACERT set. All endpoints registered in keystone are https. I can query neutron, glance, cinder and keystone but the second and subsequent nova image-list always fails. I can 'fix' it by restarting nova-api-os-compute and one image-list will work but then failure again. In the nova-api-
2015-10-21 11:27:35.518 16818 WARNING keystoneclient.
2015-10-21 11:27:36.021 16818 WARNING keystoneclient.
2015-10-21 11:27:37.024 16818 WARNING keystoneclient.
Reproduce:
$ env | grep OS
OS_REGION_
OS_PASSWORD=
OS_AUTH_URL=https:/
OS_USERNAME=admin
OS_TENANT_
OS_AUTH_
OS_CACERT=
$ neutron net-list
+------
| id | name | subnets |
+------
| 3acfbdb6-
| 711f199b-
+------
$ glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| f791dcef-
| ec738ebf-
+------
$ nova image-list
+------
| ID | Name | Status | Server |
+------
| f791dcef-
| ec738ebf-
+------
$ nova image-list
ERROR (ClientException): Unknown Error (HTTP 503)
$ nova image-list
ERROR (ClientException): Unknown Error (HTTP 503)
Other commands still work:
$ neutron net-list
+------
| id | name | subnets |
+------
| 3acfbdb6-
| 711f199b-
+------
$ glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| f791dcef-
| ec738ebf-
+------
Fix nova commands for one run:
$ service nova-api-os-compute restart
nova-api-os-compute stop/waiting
nova-api-os-compute start/running, process 16910
$ nova image-list +------
| ID | Name | Status | Server |
+------
| f791dcef-
| ec738ebf-
+------
$ nova image-list
ERROR (Unauthorized): Unauthorized (HTTP 401)
Changed in python-glanceclient (Ubuntu): | |
status: | In Progress → Fix Released |
I do not see this behaviour on Icehouse, Kilo or Liberty