Keystoneclient not found when running novaclient

Bug #1358675 reported by Tom Cammann
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-novaclient
Fix Released
Medium
Tom Cammann

Bug Description

When running tripleo devtest which installs each of the clients to their own virtualenv, novaclient cannot run because it is missing the python-keystoneclient dependecy. The dependency is not installed because it is not listed in the requirements.txt however when running novaclient on the seed vm, this stack trace occurs:

root@ubuntu:~# nova list
Traceback (most recent call last):
  File "/usr/local/bin/nova", line 6, in <module>
    from novaclient.shell import main
  File "/opt/stack/venvs/python-novaclient/local/lib/python2.7/site-packages/novaclient/shell.py", line 45, in <module>
    from novaclient import client
  File "/opt/stack/venvs/python-novaclient/local/lib/python2.7/site-packages/novaclient/client.py", line 33, in <module>
    from keystoneclient import adapter
ImportError: No module named keystoneclient

This is using the latest codebase.

Changed in python-novaclient:
assignee: nobody → Tom Cammann (tom-cammann)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/115024
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=aa30c13fc5f8fd6288a6f1c39b0bbb98bd441456
Submitter: Jenkins
Branch: master

commit aa30c13fc5f8fd6288a6f1c39b0bbb98bd441456
Author: Tom Cammann <email address hidden>
Date: Mon Aug 18 17:45:13 2014 +0100

    Update requirements.txt to include keystoneclient

    Keystone client is required by nova client and needs to be in
    requirements.txt. It is currently in test-requirements.txt but also
    needs to be in install requirements.

    Change Ief6cd7e752fd8c9e9157364f99e270da7faff074 introduced the
    requirement for keystone client.

    Change-Id: I91f58810e0511d0d4acc5bba0c0e946edf247896
    Closes-Bug: 1358675

Changed in python-novaclient:
status: In Progress → Fix Committed
Michael Still (mikal)
Changed in python-novaclient:
importance: Undecided → Medium
milestone: none → 2.19.0
Michael Still (mikal)
Changed in python-novaclient:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.