yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76667
[Bug 1812497] [NEW] create vm failed, RequiredOptError: value required for option lock_path in group
Public bug reported:
when create vm failed, spawn as follow
2019-01-19 11:39:44.346 1161 INFO neutron.agent.securitygroups_rpc [req-5956adbc-f350-4109-bede-730ad7d9b302 - - - - -] Refresh firewall rules
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-5956adbc-f350-4109-bede-730ad7d9b302 - - - - -] Error in agent loop. Devices info: {'current': set([]), 'timestamps': {}, 'removed': set(['tap8b65ae4f-56', 'tapd17a5148-f8', 'tapf04e93de-6e']), 'added': set([]), 'updated': set(['tapf04e93de-6e'])}: RequiredOptError: value required for option lock_path in group [DEFAULT]
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 458, in daemon_loop
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent sync = self.process_network_devices(device_info)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 158, in wrapper
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent result = f(*args, **kwargs)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 202, in process_network_devices
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent device_info.get('updated'))
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 268, in setup_port_filters
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.refresh_firewall(updated_devices)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 122, in decorated_function
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent *args, **kwargs)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 221, in refresh_firewall
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self._apply_port_filter(device_ids, update_filter=True)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 157, in _apply_port_filter
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.firewall.process_trusted_ports(trusted_devices)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.gen.next()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/firewall.py", line 140, in defer_apply
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.filter_defer_apply_off()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_firewall.py", line 885, in filter_defer_apply_off
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.iptables.defer_apply_off()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 440, in defer_apply_off
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self._apply()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 456, in _apply
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent with lockutils.lock(lock_name, runtime.SYNCHRONIZED_PREFIX, True):
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent return self.gen.next()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 215, in lock
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent ext_lock = external_lock(name, lock_file_prefix, lock_path)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 146, in external_lock
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent lock_file_path = _get_lock_path(name, lock_file_prefix, lock_path)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 140, in _get_lock_path
solutions:
set /etc/neutron/neutron.conf
lock_path = /var/lock/neutron
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- Ask OpenStack: http://ask.openstack.org
- The mailing list: http://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 13.0.3.dev28 on 2019-01-11 04:05
SHA: cdcfce3b82e57cf66efe12bacef2992c95fb86d9
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/install/compute-install-ubuntu.rst
URL: https://docs.openstack.org/neutron/rocky/install/compute-install-ubuntu.html
** Affects: neutron
Importance: Undecided
Status: New
** Tags: doc
** Summary changed:
- Install and configure compute node in neutron
+ create vm failed, RequiredOptError: value required for option lock_path in group
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1812497
Title:
create vm failed, RequiredOptError: value required for option
lock_path in group
Status in neutron:
New
Bug description:
when create vm failed, spawn as follow
2019-01-19 11:39:44.346 1161 INFO neutron.agent.securitygroups_rpc [req-5956adbc-f350-4109-bede-730ad7d9b302 - - - - -] Refresh firewall rules
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-5956adbc-f350-4109-bede-730ad7d9b302 - - - - -] Error in agent loop. Devices info: {'current': set([]), 'timestamps': {}, 'removed': set(['tap8b65ae4f-56', 'tapd17a5148-f8', 'tapf04e93de-6e']), 'added': set([]), 'updated': set(['tapf04e93de-6e'])}: RequiredOptError: value required for option lock_path in group [DEFAULT]
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 458, in daemon_loop
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent sync = self.process_network_devices(device_info)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/osprofiler/profiler.py", line 158, in wrapper
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent result = f(*args, **kwargs)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 202, in process_network_devices
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent device_info.get('updated'))
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 268, in setup_port_filters
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.refresh_firewall(updated_devices)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 122, in decorated_function
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent *args, **kwargs)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 221, in refresh_firewall
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self._apply_port_filter(device_ids, update_filter=True)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/securitygroups_rpc.py", line 157, in _apply_port_filter
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.firewall.process_trusted_ports(trusted_devices)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.gen.next()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/firewall.py", line 140, in defer_apply
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.filter_defer_apply_off()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_firewall.py", line 885, in filter_defer_apply_off
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self.iptables.defer_apply_off()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 440, in defer_apply_off
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent self._apply()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/iptables_manager.py", line 456, in _apply
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent with lockutils.lock(lock_name, runtime.SYNCHRONIZED_PREFIX, True):
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent return self.gen.next()
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 215, in lock
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent ext_lock = external_lock(name, lock_file_prefix, lock_path)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 146, in external_lock
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent lock_file_path = _get_lock_path(name, lock_file_prefix, lock_path)
2019-01-19 11:39:44.399 1161 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 140, in _get_lock_path
solutions:
set /etc/neutron/neutron.conf
lock_path = /var/lock/neutron
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:
- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following
resources:
- Ask OpenStack: http://ask.openstack.org
- The mailing list: http://lists.openstack.org
- IRC: 'openstack' channel on Freenode
-----------------------------------
Release: 13.0.3.dev28 on 2019-01-11 04:05
SHA: cdcfce3b82e57cf66efe12bacef2992c95fb86d9
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/install/compute-install-ubuntu.rst
URL: https://docs.openstack.org/neutron/rocky/install/compute-install-ubuntu.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1812497/+subscriptions
Follow ups