[openstack-dev] [ironic]problem deploying ironic with devstack

Devananda van der Veen devananda.vdv at gmail.com
Wed Apr 23 23:29:29 UTC 2014


On Mon, Apr 21, 2014 at 3:52 AM, Gopi Krishna Saripuri <
saripurigopi at outlook.com> wrote:

>
> 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.
> <snip>
> Could someone help me in resolving this issue. I'm trying this on a
> baremetal server not on vm running ubuntu 12.03.
>

Hi!

First of all, I'm not aware of ubuntu 12.03, but I assume that is just a
typo and you meant 12.04. Secondly, the error you pasted is from
nova-compute, not nova-scheduler.

In any case, this sounds like an environment problem - perhaps Ironic is
not in python's path, or the version of Ironic you have locally does not
contain the nova virt driver. Devstack should have cloned Ironic into
/opt/stack/ironic, and the driver should be present at
/opt/stack/ironic/ironic/nova/virt/ironic/driver.py

Hope that helps,
Devananda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140423/5f1d6395/attachment.html>


More information about the OpenStack-dev mailing list