local_ip is empty in multinode

Bug #1663212 reported by Yuli
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DragonFlow
Fix Released
Medium
Yuli

Bug Description

When running stack.sh in multi-node I am getting the following error on the compute node:

CRITICAL neutron [-] ConfigFileValueError: Value for option local_ip is not valid: IP address cannot be an empty string
ERROR neutron Traceback (most recent call last):
ERROR neutron File "/usr/local/bin/df-local-controller", line 10, in <module>
ERROR neutron sys.exit(main())
ERROR neutron File "/opt/stack/dragonflow/dragonflow/cmd/eventlet/df_local_controller.py", line 17, in main
ERROR neutron df_local_controller.main()
ERROR neutron File "/opt/stack/dragonflow/dragonflow/controller/df_local_controller.py", line 599, in main
ERROR neutron File "/opt/stack/dragonflow/dragonflow/controller/df_local_controller.py", line 48, in __init__
ERROR neutron self.ip = cfg.CONF.df.local_ip
ERROR neutron File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 3194, in __getattr__
ERROR neutron return self._conf._get(name, self._group)
ERROR neutron File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2786, in _get
ERROR neutron value = self._do_get(name, group, namespace)
ERROR neutron File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2829, in _do_get
ERROR neutron % (opt.name, str(ve)))
ERROR neutron ConfigFileValueError: Value for option local_ip is not valid: IP address cannot be an empty string
ERROR neutron df-controller failed to start

Revision history for this message
Yuli (stremovsky) wrote :

A workaround is to add the following line to configuration:

TUNNEL_ENDPOINT_IP=$HOST_IP

Revision history for this message
Yuli (stremovsky) wrote :

I think changing all config files is not a good idea.

I will fix it by setting this value in devstack plugin.sh

Yuli (stremovsky)
Changed in dragonflow:
importance: Undecided → Medium
assignee: nobody → Yuli (stremovsky)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to dragonflow (master)

Fix proposed to branch: master
Review: https://review.openstack.org/431461

Changed in dragonflow:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/431461
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=7ecfaec5b348c1d6c2f815ad1ea87081187da67e
Submitter: Jenkins
Branch: master

commit 7ecfaec5b348c1d6c2f815ad1ea87081187da67e
Author: yuli <email address hidden>
Date: Thu Feb 9 13:46:40 2017 +0200

    Set value for local_ip

    Change-Id: I79c455dced49bd933015dd28e0bc709552f490f7
    Closes-bug: #1663212

Changed in dragonflow:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.