Skip to content

Instantly share code, notes, and snippets.

@a1git
Created April 9, 2018 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/568d917533d92298d6c6ee449de473d0 to your computer and use it in GitHub Desktop.
Save a1git/568d917533d92298d6c6ee449de473d0 to your computer and use it in GitHub Desktop.
# root @ deploy2 in /opt/openstack-ansible on git:17.0.1 o [15:02:35]
$ ./scripts/inventory-manage.py -l
Traceback (most recent call last):
File "./scripts/inventory-manage.py", line 36, in <module>
from osa_toolkit import manage
File "/opt/openstack-ansible/scripts/../osa_toolkit/manage.py", line 23, in <module>
import prettytable
ImportError: No module named prettytable
# root @ deploy2 in /opt/openstack-ansible on git:17.0.1 o [15:02:45] C:1
$ source /opt/ansible-runtime/bin/activate
(ansible-runtime)
# root @ deploy2 in /opt/openstack-ansible on git:17.0.1 o [15:03:31]
$ ./scripts/inventory-manage.py -l
Traceback (most recent call last):
File "./scripts/inventory-manage.py", line 31, in <module>
from osa_toolkit import manage
File "/opt/openstack-ansible/osa_toolkit/manage.py", line 25, in <module>
import dictutils as du
ImportError: No module named 'dictutils'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./scripts/inventory-manage.py", line 36, in <module>
from osa_toolkit import manage
File "/opt/openstack-ansible/osa_toolkit/manage.py", line 25, in <module>
import dictutils as du
ImportError: No module named 'dictutils'
(ansible-runtime)
# root @ deploy2 in /opt/openstack-ansible on git:17.0.1 o [15:03:35] C:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment