Unfortunately there's something wrong with my logging configuration. Nova-api doesn't log anything after it starts up. I've got debug enabled, and verbose=true. But once it finished binding that last port.. Nothing. I've tried grabbing the sample logging.conf and using that, but it doesn't get me anywhere. Running strace on nova-api, I can see the clients connecting. So I'm pretty sure my endpoint is configured correctly. Anyhow, short-story long: I don't have the trace from nova-api :(
-James From: Chris Behrens <cbehr...@codestud.com<mailto:cbehr...@codestud.com>> To: James R Penick <pen...@yahoo-inc.com<mailto:pen...@yahoo-inc.com>> Cc: Vishvananda Ishaya <vishvana...@gmail.com<mailto:vishvana...@gmail.com>>, "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" <openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>> Subject: Re: [Openstack] 'nova flavor-list' fails with "ERROR: string indices must be integers, not str", but 'nova-manage flavor list' succeeds. That's the traceback from novaclient. If you're getting a 503, there's likely a traceback in the nova-api service logs. - Chris On May 9, 2012, at 5:38 PM, James R Penick <pen...@yahoo-inc.com<mailto:pen...@yahoo-inc.com>> wrote: Sorry, forgot to include that: bash-4.1$ nova —debug image-list connect: (127.0.0.1, 5000) send: 'POST /v2.0/tokens HTTP/1.1\r\nHost: 127.0.0.1:5000\r\nAccept-Encoding: identity\r\nContent-Length: 101\r\ncontent-type: application/json\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n' send: '{"auth": {"tenantName": "vmops", "passwordCredentials": {"username": "penick", "password": "tacos"}}}' reply: 'HTTP/1.1 200 OK\r\n' header: Content-Type: application/json header: Vary: X-Auth-Token header: Content-Length: 1903 header: Date: Thu, 10 May 2012 00:37:02 GMT connect: (208.67.66.91, 8774) send: u'GET /v2/c9d7f45d980d494fab3d69d9fc57547c/images/detail HTTP/1.1\r\nHost: 208.67.66.91:8774\r\nx-auth-project-id: vmops\r\nx-auth-token: 3261ef74e649456183bbbb0949780838\r\naccept-encoding: compress, gzip\r\naccept: application/json\r\nuser-agent: python-novaclient\r\n\r\n' reply: 'HTTP/1.1 503 Service Unavailable\r\n' header: Content-Length: 100 header: Content-Type: text/plain; charset=UTF-8 header: Date: Thu, 10 May 2012 00:37:02 GMT DEBUG (shell:415) string indices must be integers, not str Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 412, in main OpenStackComputeShell().main(sys.argv[1:]) File "/usr/lib/python2.6/site-packages/novaclient/shell.py", line 363, in main args.func(self.cs, args) File "/usr/lib/python2.6/site-packages/novaclient/v1_1/shell.py", line 350, in do_image_list image_list = cs.images.list() File "/usr/lib/python2.6/site-packages/novaclient/v1_1/images.py", line 47, in list return self._list("/images/detail", "images") File "/usr/lib/python2.6/site-packages/novaclient/base.py", line 80, in _list data = body[response_key] TypeError: string indices must be integers, not str ERROR: string indices must be integers, not str bash-4.1$ From: Vishvananda Ishaya <vishvana...@gmail.com<mailto:vishvana...@gmail.com>> To: James R Penick <pen...@yahoo-inc.com<mailto:pen...@yahoo-inc.com>> Cc: "openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>" <openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net>> Subject: Re: [Openstack] 'nova flavor-list' fails with "ERROR: string indices must be integers, not str", but 'nova-manage flavor list' succeeds. Is there a traceback from nova-api? _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net<mailto:openstack@lists.launchpad.net> Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp