<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 21, 2014 at 3:52 AM, Gopi Krishna Saripuri <span dir="ltr"><<a href="mailto:saripurigopi@outlook.com" target="_blank">saripurigopi@outlook.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div><div dir="ltr"><br>I'm trying to deploy ironic with devstack. I'm following the instructions @ <a href="http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html#deploying-ironic-with-devstack" target="_blank">http://docs.openstack.org/<u></u>developer/ironic/dev/dev-<u></u>quickstart.html#deploying-<u></u>ironic-with-devstack</a>. <br>


<br>It is failing to start nova-scheduler and failing with below error. <br><br>2014-04-21 08:01:13.005 INFO nova.virt.driver [-] Loading compute driver 'ironic.nova.virt.ironic.<div><u></u>IronicDriver'<br>2014-04-21 08:01:13.006 ERROR nova.virt.driver [-] Unable to load the virtualization driver<br>


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


2014-04-21 08:01:13.006 TRACE nova.virt.driver     virtapi)<br>2014-04-21 08:01:13.006 TRACE nova.virt.driver   File "/opt/stack/nova/nova/<u></u>openstack/common/importutils.<u></u>py", line 52, in import_object_ns<br>

2014-04-21 08:01:13.006 TRACE nova.virt.driver     return import_class(import_str)(*<u></u>args, **kwargs)<br>
2014-04-21 08:01:13.006 TRACE nova.virt.driver   File "/opt/stack/nova/nova/<u></u>openstack/common/importutils.<u></u>py", line 28, in import_class<br>2014-04-21 08:01:13.006 TRACE nova.virt.driver     __import__(mod_str)<br>


2014-04-21 08:01:13.006 TRACE nova.virt.driver ImportError: No module named nova.virt.ironic<br>2014-04-21 08:01:13.006 TRACE nova.virt.driver<br><br><br></div>Here is my localrc contents.<br><div><snip></div>Could someone help me in resolving this issue. I'm trying this on a baremetal server not on vm running ubuntu 12.03.<br>

</div></div></blockquote><div><br></div><div>Hi!</div><div><br></div><div>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.</div>

<div><br></div><div>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</div>

<div><br></div><div>Hope that helps,</div><div>Devananda</div></div></div></div>