I'm trying to deploy ironic with devstack. I'm following the instructions @ 
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack.
 


It is failing to start nova-scheduler and failing with below error. 

2014-04-21 08:01:13.005 INFO nova.virt.driver [-] Loading compute driver 
'ironic.nova.virt.ironic.IronicDriver'
2014-04-21 08:01:13.006 ERROR nova.virt.driver [-] Unable to load the 
virtualization driver

2014-04-21 08:01:13.006 TRACE nova.virt.driver Traceback (most recent call 
last):
2014-04-21 08:01:13.006 TRACE nova.virt.driver   File 
"/opt/stack/nova/nova/virt/driver.py", line 1218, in load_compute_driver

2014-04-21 08:01:13.006 TRACE nova.virt.driver     virtapi)
2014-04-21 08:01:13.006 TRACE nova.virt.driver   File 
"/opt/stack/nova/nova/openstack/common/importutils.py", line 52, in 
import_object_ns
2014-04-21 08:01:13.006 TRACE nova.virt.driver     return 
import_class(import_str)(*args, **kwargs)

2014-04-21 08:01:13.006 TRACE nova.virt.driver   File 
"/opt/stack/nova/nova/openstack/common/importutils.py", line 28, in import_class
2014-04-21 08:01:13.006 TRACE nova.virt.driver     __import__(mod_str)

2014-04-21 08:01:13.006 TRACE nova.virt.driver ImportError: No module named 
nova.virt.ironic
2014-04-21 08:01:13.006 TRACE nova.virt.driver


Here is my localrc contents.

# Enable Ironic API and Ironic Conductor

enable_service ironic
enable_service ir-api
enable_service ir-cond

# Enable Neutron which is required by Ironic and disable nova-network.
disable_service n-net
enable_service q-svc
enable_service q-agt

enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service neutron

# Log all devstack output to a log file
LOGFILE=$HOME/devstack.log
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password

SERVICE_PASSWORD=password
ADMIN_PASSWORD=password

BM_BUILD_DEPLOY_RAMDISK=True
BM_DEPLOY_FLAVOR="-a amd64 ubuntu deploy-ironic"
IRONIC_VM_COUNT=3
IRONIC_VM_SPECS_RAM=512
IRONIC_VM_SPECS_DISK=10


IRONIC_BAREMETAL_BASIC_OPS=True

VIRT_DRIVER=ironic
SERVICE_TOKEN=password


Could someone help me in resolving this issue. I'm trying this on a baremetal 
server not on vm running ubuntu 12.03.


Regards
Gopi Krishna S                                            
_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to