[Openstack-operators] [neutron] Liberty - DHCP ports keep going to BUILD state
Christopher Hull
chrishull42 at gmail.com
Sun Nov 5 18:50:54 UTC 2017
This is just damn strange. All of a sudden (well, for the past few weeks),
I CAN NOT create ANY port on the public network. Just tore down and
recreated the public net from scratch. What's going on here!!!????
It's stuck trying to create the DHCP agent's port. This is why it's stuck
in BUILD. Infinite loop. BTW, the Compute node is at 172.22.10.99.
Maybe I should just change that. But it would be really nice to know what
changed and why this is happening.
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
resync_a = self.treat_devices_added_updated(devices_added_updated)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 1045, in treat_devices_added_updated
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
device_details['port_id'], device_details['device_owner'])
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 542, in add_interface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
tap_device_name, device_owner)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 480, in add_tap_interface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
return False
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195,
in __exit__
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
six.reraise(self.type_, self.value, self.tb)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 472, in add_tap_interface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
tap_device_name, device_owner)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 504, in _add_tap_interface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
segmentation_id)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 456, in ensure_physical_in_bridge
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
physical_interface)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 275, in ensure_flat_bridge
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
gateway):
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 416, in ensure_bridge
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
self.update_interface_ip_details(bridge_name, interface, ips, gateway)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 355, in update_interface_ip_details
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
dst_device.addr.add(cidr=ip['cidr'])
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 548, in add
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
self._as_root([net.version], tuple(args))
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 338, in _as_root
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
use_root_namespace=use_root_namespace)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 92, in _as_root
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
log_fail_as_error=self.log_fail_as_error)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 101, in _execute
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
log_fail_as_error=log_fail_as_error)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line
159, in execute
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
raise RuntimeError(m)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
RuntimeError:
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Command: ['ip', '-4', 'addr', 'add', '172.22.10.99/24', 'scope', 'global',
'dev', u'brq10ee1383-ca', 'brd', '172.22.10.255']
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Exit code: 2
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Stdin:
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Stdout:
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Stderr: RTNETLINK answers: File exists
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[root at maersk neutron]# date
Sun Nov 5 10:44:16 PST 2017
- Christopher T. Hull
Sunnyvale CA. 94085
(415) 385 4865
chrishull42 at gmail.com
http://chrishull.com
On Sun, Nov 5, 2017 at 10:40 AM, Christopher Hull <chrishull42 at gmail.com>
wrote:
> HI all;
> Trying to create DHCP on the Public network. This had been working, but
> now all of a sudden the ports are set to BUILD instead of AVAILABLE.
>
> I did a cheat in MariaDB and discovered that something somewhere keeps
> setting DHCP to BUILD. Any ideas?
>
>
> *MariaDB [neutron]> update ports set status='AVAILABLE' where id
> ='37cc930c-6ad3-4355-8ff5-6b75e131c998';*
>
> *Query OK, 1 row affected (0.05 sec)*
>
> *Rows matched: 1 Changed: 1 Warnings: 0*
>
>
> *MariaDB [neutron]> select status, id from ports;*
>
> *+-----------+--------------------------------------+*
>
> *| status | id |*
>
> *+-----------+--------------------------------------+*
>
> *| BUILD | 0ebbaf42-6bd9-4853-b041-e00f3da4dd89 |*
>
> *| AVAILABLE | 37cc930c-6ad3-4355-8ff5-6b75e131c998 |*
>
> *+-----------+--------------------------------------+*
>
> *2 rows in set (0.00 sec)*
>
>
> *MariaDB [neutron]> select status, id from ports;*
>
> *+--------+--------------------------------------+*
>
> *| status | id |*
>
> *+--------+--------------------------------------+*
>
> *| BUILD | 0ebbaf42-6bd9-4853-b041-e00f3da4dd89 |*
>
> *| BUILD | 37cc930c-6ad3-4355-8ff5-6b75e131c998 |*
>
> *+--------+--------------------------------------+*
>
> *2 rows in set (0.00 sec)*
>
>
>
>
>
>
> - Christopher T. Hull
> Sunnyvale CA. 94085
> (415) 385 4865 <(415)%20385-4865>
> chrishull42 at gmail.com
> http://chrishull.com
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20171105/4b962576/attachment.html>
More information about the OpenStack-operators
mailing list