[Openstack] Juno: my_ip parameter in nova.conf does not take FQDN?
Christopher Paggen (cpaggen)
cpaggen at cisco.com
Wed Nov 26 15:36:57 UTC 2014
Good day,
It appears that parameter my_ip in nova.conf on a compute node expects a dotted decimal IP address only. Supplying a FQDN results in an error:
2014-11-26 16:31:05.410 31879 TRACE nova.virt.libvirt.driver File "/usr/lib/python2.7/dist-packages/nova/objects/fields.py", line 313, in coerce
2014-11-26 16:31:05.410 31879 TRACE nova.virt.libvirt.driver raise ValueError(six.text_type(e))
2014-11-26 16:31:05.410 31879 TRACE nova.virt.libvirt.driver
2014-11-26 16:31:05.410 31879 TRACE nova.virt.libvirt.driver ValueError: failed to detect a valid IP address from u'openstack-compute.ucslab.cisco.com'
If I simply replace the FQDN with 10.48.58.53, it starts to work:
root at openstack-compute:~# source ~cisco/admin-openrc.sh
root at openstack-compute:~# nova service-list
+----+------------------+----------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+----------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-cert | openstack-controller | internal | enabled | up | 2014-11-26T15:31:24.000000 | - |
| 2 | nova-consoleauth | openstack-controller | internal | enabled | up | 2014-11-26T15:31:27.000000 | - |
| 3 | nova-scheduler | openstack-controller | internal | enabled | up | 2014-11-26T15:31:20.000000 | - |
| 4 | nova-conductor | openstack-controller | internal | enabled | up | 2014-11-26T15:31:23.000000 | - |
| 5 | nova-compute | openstack-compute | nova | enabled | up | 2014-11-26T15:31:21.000000 | - |
+----+------------------+----------------------+----------+---------+-------+----------------------------+-----------------+
root at openstack-compute:~#
Is that intentional? Other services appear to be fine when configured with a FQDN, so I'm wondering.
I'm on Ubuntu 14.04-1 with Juno.
Chris.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141126/4d9b0c69/attachment.html>
More information about the Openstack
mailing list