*** pcaruana has joined #openstack-sahara | 04:38 | |
*** rcernin has quit IRC | 07:08 | |
*** tosky has joined #openstack-sahara | 07:46 | |
*** dave-mccowan has joined #openstack-sahara | 09:49 | |
*** tosky has quit IRC | 10:04 | |
*** tosky has joined #openstack-sahara | 10:04 | |
tellesnobrega | tosky, hi, did you recently installed guestfs on a virtualenv? | 11:48 |
---|---|---|
tosky | tellesnobrega: no, I use the one from the system | 12:09 |
tellesnobrega | you run sahara-image-pack directly? | 12:09 |
tellesnobrega | I have to check how to install guestfs on a venv | 12:11 |
tosky | I usually use the packaged version, but in case of tox, I use tox --site-packages | 12:11 |
tosky | well, --sitepackages | 12:12 |
tosky | see the gate: http://git.openstack.org/cgit/openstack/sahara-tests/tree/roles/run-sahara-scenario/tasks/main.yaml | 12:12 |
tellesnobrega | thanks | 12:12 |
tellesnobrega | Exception: The image packing API depends on the system package python-libguestfs (and libguestfs itself.) Please install these packages to proceed. | 12:14 |
tellesnobrega | keep getting this | 12:14 |
tosky | with tox --sitepackages? And do you install the required packages? | 12:26 |
tellesnobrega | yes | 12:28 |
tellesnobrega | tox -e images --sitepackages -- sahara-image-pack cdh_511 cdh 5.11 | 12:28 |
tosky | is it the right python-libguestfs? (python2/python3?) | 12:28 |
tellesnobrega | sudo dnf install -y libguestfs python-libguestfs libguestfs-tools | 12:28 |
tellesnobrega | let me check | 12:28 |
tosky | the statement which is failing and printing that message is a simple | 12:29 |
tosky | import guestfs | 12:29 |
tosky | so you should be able to reproduce it easily in the venv | 12:29 |
tellesnobrega | how do I start the venv using sitepackages? | 12:30 |
tosky | I think that the venv defined with tox --sitepackages should already have the site packages enabled | 12:31 |
tellesnobrega | it was python2 vs python3 issue | 12:31 |
tellesnobrega | cool, thanks | 12:31 |
tosky | yatta | 12:31 |
tellesnobrega | installing plugins to see it working now | 12:33 |
openstackgerrit | Merged openstack/openstack-ansible-os_sahara stable/rocky: Deploy Sahara with unversioned endpoints https://review.openstack.org/603642 | 17:26 |
*** pcaruana has quit IRC | 20:37 | |
*** rcernin has joined #openstack-sahara | 22:42 | |
*** tosky has quit IRC | 23:21 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!