[Openstack] Juno: my_ip parameter in nova.conf does not take FQDN?

Martinx - ジェームズ thiagocmartinsc at gmail.com
Wed Nov 26 22:12:28 UTC 2014


Apparently, `my_ip` expects, both IPv4 or IPv6 address, not FQDN... I tried
that too... Didn't worked.

There are some configurations that doesn't work with FQDN, like for example:

my_ip
metadata_listen
metadata_host
...?

Here you can check my nova.conf:
https://gist.githubusercontent.com/tmartinx/10784491/raw/384356d1b072d1a65f4c9175a26e4154e4d97079/nova.conf
- I'm using FQDN where is possible.

Cheers!

On 26 November 2014 at 13:36, Christopher Paggen (cpaggen) <
cpaggen at cisco.com> wrote:

>  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.
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141126/51caaa74/attachment.html>


More information about the Openstack mailing list