← Back to team overview

openstack team mailing list archive

Fwd: Problem with nova-volume and Citrix XCP 1.5

 

> 
> Good morning,
> 
> I'm able to create virtual machines on xcp through Xenapi but I'm having this problem creating volumes : 
> 
> 2012-10-05 09:33:34 DEBUG nova.utils [-] Inner Exception: No module named "nova.volume.xensm from (pid=625) import_class /usr/lib/python2.7/dist-packages/nova/utils.py:78
> 2012-10-05 09:33:35 CRITICAL nova [-] Class XenSMDriver" could not be found: No module named "nova.volume.xensm
> 2012-10-05 09:33:35 TRACE nova Traceback (most recent call last):
> 2012-10-05 09:33:35 TRACE nova   File "/usr/bin/nova-volume", line 47, in <module>
> 2012-10-05 09:33:35 TRACE nova     server = service.Service.create(binary='nova-volume')
> 2012-10-05 09:33:35 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 241, in create
> 2012-10-05 09:33:35 TRACE nova     report_interval, periodic_interval)
> 2012-10-05 09:33:35 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 150, in __init__
> 2012-10-05 09:33:35 TRACE nova     self.manager = manager_class(host=self.host, *args, **kwargs)
> 2012-10-05 09:33:35 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/volume/manager.py", line 79, in __init__
> 2012-10-05 09:33:35 TRACE nova     self.driver = utils.import_object(volume_driver)
> 2012-10-05 09:33:35 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 88, in import_object
> 2012-10-05 09:33:35 TRACE nova     cls = import_class(import_str)
> 2012-10-05 09:33:35 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 79, in import_class
> 2012-10-05 09:33:35 TRACE nova     raise exception.ClassNotFound(class_name=class_str, exception=exc)
> 2012-10-05 09:33:35 TRACE nova ClassNotFound: Class XenSMDriver" could not be found: No module named "nova.volume.xensm
> 
> I'm running Ubuntu in the Openstack controller, which actually is the only machine with all the roles… it's a vm inside an xcp 1.5 in a testing environment. I have installed these relative packages : 
> 
> root@openstack-controller:~# dpkg -l | grep -i xenapi
> ii  python-xenapi                    1.3.2-5ubuntu0.1                           Xen Cloud Platform - XenAPI Python libraries
> root@openstack-controller:~# dpkg -l | grep -i xen
> ii  libxenstore3.0                   4.1.2-2ubuntu2.2                           Xenstore communications library for Xen
> ii  python-xenapi                    1.3.2-5ubuntu0.1                           Xen Cloud Platform - XenAPI Python libraries
> root@openstack-controller:~# dpkg -l | grep -i openstack
> ii  glance                           2012.1.3+stable~20120821-120fcf-0ubuntu1   OpenStack Image Registry and Delivery Service - Daemons
> ii  glance-api                       2012.1.3+stable~20120821-120fcf-0ubuntu1   OpenStack Image Registry and Delivery Service - API
> ii  glance-client                    2012.1.3+stable~20120821-120fcf-0ubuntu1   OpenStack Image Registry and Delivery Service - Registry
> ii  glance-common                    2012.1.3+stable~20120821-120fcf-0ubuntu1   OpenStack Image Registry and Delivery Service - Common
> ii  glance-registry                  2012.1.3+stable~20120821-120fcf-0ubuntu1   OpenStack Image Registry and Delivery Service - Registry
> ii  keystone                         2012.1+stable~20120824-a16a0ab9-0ubuntu2.2 OpenStack identity service - Daemons
> ii  nova-ajax-console-proxy          2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - AJAX console proxy - transitional package
> ii  nova-api                         2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - API frontend
> ii  nova-cert                        2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - certificate management
> ii  nova-common                      2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - common files
> ii  nova-compute                     2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - compute node
> ii  nova-compute-kvm                 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - compute node (KVM)
> ii  nova-consoleauth                 2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - Console Authenticator
> ii  nova-doc                         2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - documentation
> ii  nova-network                     2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - Network manager
> ii  nova-scheduler                   2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - virtual machine scheduler
> ii  nova-vncproxy                    2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - VNC proxy
> ii  nova-volume                      2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute - storage
> ii  openstack-dashboard              2012.1.3+stable~20120815-691dd2-0ubuntu1.1 django web interface to Openstack
> ii  openstack-dashboard-ubuntu-theme 2012.1.3+stable~20120815-691dd2-0ubuntu1.1 Ubuntu theme for the Openstack dashboard
> ii  python-django-horizon            2012.1.3+stable~20120815-691dd2-0ubuntu1.1 Django module providing web based interaction with OpenStack
> ii  python-glance                    2012.1.3+stable~20120821-120fcf-0ubuntu1   OpenStack Image Registry and Delivery Service - Python library
> ii  python-keystone                  2012.1+stable~20120824-a16a0ab9-0ubuntu2.2 OpenStack identity service - Python library
> ii  python-keystoneclient            2012.1-0ubuntu1                            Client libary for Openstack Keystone API
> ii  python-nova                      2012.1.3+stable-20120827-4d2a4afe-0ubuntu1 OpenStack Compute Python libraries
> ii  python-novaclient                2012.1-0ubuntu1                            client library for OpenStack Compute API
> root@openstack-controller:~# 
> 
> 
> root@openstack-controller:~# cat /etc/issue
> Ubuntu 12.04.1 LTS \n \l
> 
> root@openstack-controller:~# uname -ar
> Linux openstack-controller 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> 
> Hope you could help me… I'm not being able to fix this.
> 
> Best regards,
> 



References