<div dir="ltr"><div><div>Hi sadia,<br><br></div>It seems that in your nova.conf you set <br>my_ip = controller<br></div>which causes this issue, please use my_ip = 192.168.1.6 and try to run nova-compute again.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 11, 2014 at 4:31 PM, Sadia Bashir <span dir="ltr"><<a href="mailto:11msccssbashir@seecs.edu.pk" target="_blank">11msccssbashir@seecs.edu.pk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi everyone, <br><br></div>I am installing Junos All-in-One on Ubuntu-14.04, Installed all services successfully as given in the openstack installation guide: <a href="http://docs.openstack.org/juno/install-guide/install/apt/content/ch_preface.html" target="_blank">http://docs.openstack.org/juno/install-guide/install/apt/content/ch_preface.html</a>, but I am getting one weird error in nova-compute:<br><br>Traceback (most recent call last):<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/conductor/manager.py", line$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup return getattr(target, method)(context, *args, **kwargs)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 155,$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup result = fn(cls, context, *args, **kwargs)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/service.py", line 1$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup return cls._from_db_object(context, cls(), db_service)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/service.py", line 7$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup service._do_compute_node(context, service, db_service)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup <br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/service.py", line 6$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup context, objects.ComputeNode(), db_compute)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup <br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/compute_node.py", l$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup compute[key] = db_compute[key]<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup <br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 474,$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup setattr(self, name, value)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup <br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/base.py", line 75, $<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup field_value = field.coerce(self, name, value)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup <br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/fields.py", line 18$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup return self._type.coerce(obj, attr, value)<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/nova/objects/fields.py", line 31$<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup raise ValueError(six.text_type(e))<br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup <br>2014-11-11 13:16:22.349 30574 TRACE nova.openstack.common.threadgroup ValueError: failed to detect a valid IP address from u'controller'<br><br></div>Here is /etc/hosts file: <br clear="all"><div><div><div><div><br>127.0.0.1 localhost<br>127.0.1.1 icehouse-HP<br>192.168.1.6 controller<br><br># The following lines are desirable for IPv6 capable hosts<br>::1 ip6-localhost ip6-loopback<br>fe00::0 ip6-localnet<br>ff00::0 ip6-mcastprefix<br>ff02::1 ip6-allnodes<br>ff02::2 ip6-allrouters<br><br></div><div>Moreover, all nova services except the compute service are up with nova service-list. <br><br></div><div>Pls see nova.conf file attached.<br><br></div><div>Reinstallation of nova-compute, dropping and creating nova Database, and recreating nova user didn't resolve this problem. I am not understanding what exactly is the source of this problem <br><br></div><div>Please review nova.conf file and log I have attached/pasted here to identify the problem. Any help/guideline/solution will be appreciated to fix this bug. <br><br></div><div>Thanks and Regards,<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>-- <br></div><div><i>Sadia Bashir</i><br></div><div><div><div><font color="#3366ff"><br></font></div><div><font color="#3366ff"></font> </div></div>
</div></font></span></div></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Tang Yaguang</div><div><br></div><br><div> </div></div></div>
</div>