Bug #10814
closeddownburst doesn't work on Fedora
0%
Description
I was trying to get this working last week and no matter what packages I installed the bootstrap script failed on building some of the libraries because it couldn't find a header (in, I think, the Debian-family location rather than the RHEL-family one).
This means it's impossible to set up VPS-class teuthology machines from a Fedora box.
Updated by Sandon Van Ness about 9 years ago
I briefly looked at this just to see how much work it would be.
It appears like precise fedora20 does not include the egg-info file so pypi knows the package is installed. If you manually install the dependencies:
libvirt-python libvirt-devel python-lxml genisoimage
Can you try running the bootstrap after you remove 'libvirt-python' from the install_requires in setup.py and see if it works? If you can't find the correct location for the user based libvirt.conf you can always set it in the global one in /etc/ (the user location seems to vary on version/distribution).
Updated by Greg Farnum about 9 years ago
I removed libvirt-python from the install_requires list.
downburst bootstrapped when I did that. Then:
gregf@rex004:~/src/teuthology [master]$ ./virtualenv/bin/teuthology-lock --lock-many 2 --machine-type vps --os-type rhel 2015-02-12 08:37:35,225.225 INFO:teuthology.provision:Provisioning a rhel 6.4 vps 2015-02-12 08:37:35,549.549 INFO:teuthology.provision:Downburst completed on ubuntu@vpm055.front.sepia.ceph.com: libvirt: Remote Driver error : invalid argument: Failed to parse value of URI component no_tty Traceback (most recent call last): File "/home/gregf/src/downburst/virtualenv/bin/downburst", line 9, in <module> load_entry_point('downburst==0.0.1', 'console_scripts', 'downburst')() File "/home/gregf/src/downburst/downburst/cli.py", line 59, in main return args.func(args) File "/home/gregf/src/downburst/downburst/create.py", line 20, in create conn = libvirt.open(args.connect) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 247, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirt.libvirtError: invalid argument: Failed to parse value of URI component no_tty 2015-02-12 08:37:35,575.575 INFO:teuthology.provision:Provisioning a rhel 6.4 vps 2015-02-12 08:37:35,887.887 INFO:teuthology.provision:Downburst completed on ubuntu@vpm061.front.sepia.ceph.com: libvirt: Remote Driver error : invalid argument: Failed to parse value of URI component no_tty Traceback (most recent call last): File "/home/gregf/src/downburst/virtualenv/bin/downburst", line 9, in <module> load_entry_point('downburst==0.0.1', 'console_scripts', 'downburst')() File "/home/gregf/src/downburst/downburst/cli.py", line 59, in main return args.func(args) File "/home/gregf/src/downburst/downburst/create.py", line 20, in create conn = libvirt.open(args.connect) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 247, in open if ret is None:raise libvirtError('virConnectOpen() failed') libvirt.libvirtError: invalid argument: Failed to parse value of URI component no_tty 2015-02-12 08:37:35,887.887 INFO:teuthology.lock:Successfully Locked: vpm055 vpm061 2015-02-12 08:37:35,887.887 INFO:teuthology.lock:Unable to display keys at this time (virtual machines are booting). 2015-02-12 08:37:35,888.888 INFO:teuthology.lock:Please run teuthology-lock --list-targets vpm055 vpm061 once these machines come up.
I'm not quite sure what your words about libvirt.conf mean, nor if these errors are the result of that or not. :)
Updated by Dan Mick about 5 years ago
- Status changed from New to Won't Fix
downburst isn't relevant anymore