Ask Your Question

nova fails with ImportError: No module named v1_1

asked 2016-03-09 15:41:17 -0500

Aman Sawrup gravatar image

I installed the OpenStack command line client following the directions (here) which installed python_novaclient-3.3.0.

Certain openstack CLI commands work, such as image list. For example:

openstack image list
| ID                                   | Name                                  | Status |
| 20d20781-66b5-432c-8317-43a54c2e2a49 | cirros-0.3.4-x86_64-uec               | active |
| 335aa6da-66be-44b2-aeef-a0e75f2e76e2 | cirros-0.3.4-x86_64-uec-ramdisk       | active |
| fc40063c-4291-4324-bce9-e3e55fe75e50 | cirros-0.3.4-x86_64-uec-kernel        | active |
| c4a9464d-7bef-49e0-88fe-67373fa76381 | cirros-0.3.4-x86_64-disk              | active |

However, other commands fail, such as "openstack server create". The failure I get is the same failure when I run "nova image-list". For example:

nova --debug image-list
DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')
DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')
DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')
DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')
DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')
DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')
DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')
DEBUG (session:248) REQ: curl -g -i -X GET -H "Accept: application/json" -H "User-Agent: keystoneauth1/2.3.0 python-requests/2.9.1 CPython/2.7.3"
INFO (connectionpool:207) Starting new HTTP connection (1):
DEBUG (connectionpool:387) "GET /v2.0 HTTP/1.1" 200 338
DEBUG (session:277) RESP: [200] Content-Length: 338 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Mon, 07 Mar 2016 21:06:20 GMT Content-Type: application/json x-openstack-request-id: req-e98a5683-7e2f-49e2-8ead-3f4d10edeeb7 
RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "", "rel": "self"}, {"href": "", "type": "text/html", "rel": "describedby"}]}}

DEBUG (v2:63) Making authentication request to
DEBUG (connectionpool:387) "POST /v2.0/tokens HTTP/1.1" 200 4143
DEBUG (session:248) REQ: curl -g -i -X GET -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}7500b525a957919e2ac33df965afa4b73a2234cc"
INFO (connectionpool:207) Starting new HTTP connection (1):
DEBUG (connectionpool:387) "GET /v2.1/31d8edd14c5b47eeb209b03dad7bc746 HTTP/1.1" 404 52
DEBUG (session:277) RESP: [404] Date: Mon, 07 Mar 2016 21:06:20 GMT Connection: keep-alive Content-Type: text/plain; charset=UTF-8 Content-Length: 52 X-Compute-Request-Id: req-eb7a8bfc-936d-425c-b8d8-c9ada4a5aa5c 
RESP BODY: 404 Not Found

The resource could not be found.

DEBUG (session:248) REQ: curl -g -i -X GET -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}7500b525a957919e2ac33df965afa4b73a2234cc"
DEBUG (connectionpool:387 ...
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-15 14:01:08 -0500

Aman Sawrup gravatar image

The root cause of the problem was I had the rackspace-novaclient python package, along with other packages, also installed. Here is this list of packages I had to uninstall: rackspace-novaclient os_virtual_interfacesv2_python_novaclient_ext rax_default_network_flags_python_novaclient_ext os_diskconfig_python_novaclient_ext

For more details, see (

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-09 15:41:17 -0500

Seen: 976 times

Last updated: Apr 15 '16