nova flavor-list gives "503 Service Unavailable" while nova-manage flavor list works
me@controlnode:~$ nova-manage flavor list
m1.medium: Memory: 4096MB, VCPUS: 2, Root: 40GB, Ephemeral: 0Gb, FlavorID: 3, Swap: 0MB, RXTX Factor: 0.0
m1.large: Memory: 8192MB, VCPUS: 4, Root: 80GB, Ephemeral: 0Gb, FlavorID: 4, Swap: 0MB, RXTX Factor: 0.0
m1.tiny: Memory: 512MB, VCPUS: 1, Root: 0GB, Ephemeral: 0Gb, FlavorID: 1, Swap: 0MB, RXTX Factor: 0.0
m1.xlarge: Memory: 16384MB, VCPUS: 8, Root: 160GB, Ephemeral: 0Gb, FlavorID: 5, Swap: 0MB, RXTX Factor: 0.0
m1.small: Memory: 2048MB, VCPUS: 1, Root: 20GB, Ephemeral: 0Gb, FlavorID: 2, Swap: 0MB, RXTX Factor: 0.0
nova --debug flavor-list
connect: (152.66.xxx.xxx, 5000)
send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 152.66.
reply: 'HTTP/1.1 200 OK\r\n'
header: Content-Type: application/json
header: Vary: X-Auth-Token
header: Date: Tue, 10 Jul 2012 11:37:11 GMT
header: Transfer-Encoding: chunked
connect: (152.66.xxx.xxy, 8774)
send: u'GET /v2/8a8ac4aae44
reply: 'HTTP/1.1 503 Service Unavailable\r\n'
header: Content-Length: 100
header: Content-Type: text/plain; charset=UTF-8
header: Date: Tue, 10 Jul 2012 11:37:11 GMT
DEBUG (shell:416) string indices must be integers, not str
Traceback (most recent call last):
File "/usr/lib/
OpenStackCo
File "/usr/lib/
args.
File "/usr/lib/
flavors = cs.flavors.list()
File "/usr/lib/
return self._list(
File "/usr/lib/
data = body[response_key]
TypeError: string indices must be integers, not str
ERROR: string indices must be integers, not str
Environment variables:
OS_AUTH_URL="http://
OS_PASSWORD=
OS_REGION_
OS_TENANT_
OS_USERNAME="admin"
I'm using Ubuntu server 12.04, with recently upgraded packages, this test deployment is similar to the one described in the "openstack-
This problem exists both on my compute and control node.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Koltai Soma for more information if necessary.