Guess it's image-list instead of image list,right? maybe you can check with nova --debug image-list and see the API which was
send to nova-api server then analyze the nova api log to know what's exactly the error?
-----"Bob Hansen" <[email protected]> wrote: -----
From: "Bob Hansen" <[email protected]>
Date: 01/20/2016 10:31PM
Subject: [openstack-dev] nova cli commands fail with 404. devstack installation from today
Installed devstack today, this morning actually, and most everything works.... except simple nova cli commands, nova image list, list, flavor-list all fail).... glance ok, nuetron ok,
As an example, nova image list returns:
devstack$ nova image list
ERROR (NotFound): The resource could not be found. (HTTP 404)
However the command; openstack image list returns the correct list of cirros images, plus one I have already imported.
key.log has:
127.0.0.1 - - [20/Jan/2016:21:10:49 +0000] "POST /tokens HTTP/1.1" 404 93 "-" "keystoneauth1/2.2.0 python-requests/2.9.1 CPython/2.7.6" 2270(us)
Clearly an authentication thing. Since other commands work, e.g. neutorn subnet-list, I concluded keystone auth is just fine.
I suspect it is something in nova.conf. [keystone_auth] has this in it, which stack.sh built
[keystone_authtoken]
signing_dir = /var/cache/nova
cafile = /opt/stack/data/ca-bundle.pem
auth_uri = http://127.0.0.1:5000
project_domain_id = default
project_name = service
user_domain_id = default
password = secretservice
username = nova
auth_url = http://127.0.0.1:35357
auth_type = password
Any suggestions on where else to look?
Bob Hansen
z/VM OpenStack Enablement
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: [email protected]?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
