kolla-ansible xen fails with package.

Bug #1826269 reported by James
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Invalid
Undecided
Michal Arbet

Bug Description

Xen-hypervisor fails with a package not installing, package: python-os-xenapi should be changed to pip: os-xenapi. Also, xen doc could update noting a few dependencies that are necessary.

James (james-o-benson)
Changed in kolla-ansible:
assignee: nobody → James (james-o-benson)
Revision history for this message
Michal Nasiadka (mnasiadka) wrote :

James - can you please add more insight to the bug, like is it caused by some backlevel version of python-os-xenapi package? On which distributions?

Revision history for this message
Mark Goddard (mgoddard) wrote :

Also, which images? Source/binary? Container OS? Host OS? Release of kolla/kolla-ansible?

What do you mean by the 'package not installing'? Here is part of the log you posted in IRC:

2019-04-24 12:58:08.081 6 ERROR nova.virt.driver [req-3e7dc8f7-41e8-46e7-9001-eb0df423747f - - - - -] Unable to load the virtualization driver: ImportError: No module named os_xenapi.client
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver Traceback (most recent call last):
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/driver.py", line 1747, in load_compute_driver
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver virtapi)
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in import_object
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 30, in import_class
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver __import__(mod_str)
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/xenapi/__init__.py", line 19, in <module>
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver from nova.virt.xenapi import driver
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver File "/usr/lib/python2.7/site-packages/nova/virt/xenapi/driver.py", line 28, in <module>
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver from os_xenapi.client import session
2019-04-24 12:58:08.081 6 ERROR nova.virt.driver ImportError: No module named os_xenapi.client

Given the python path, it looks like these are binary images. I can't see any explicit mention of os_xenapi package in the dockerfiles, so I assume it is pulled in via a package dependency, if at all.

For binary images we should not be installing packages via pip - only using the distro packages. If those packages need updating, that is an issue to bring up with the distro packagers.

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
James (james-o-benson) wrote :

Kolla- Rocky, 7.0.1
kolla-base-distro: centos
kolla-install-type: binary
DomU - CentOS 7 minimal
XenServer 7.0.0

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by "Michal Arbet <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/655570
Reason: xenapi support was removed https://review.opendev.org/c/openstack/kolla-ansible/+/734180

Changed in kolla-ansible:
assignee: James (james-o-benson) → Michal Arbet (michalarbet)
status: In Progress → Invalid
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.