settingsLogin | Registersettings

[Openstack-operators] [neutron] Liberty - DHCP ports keep going to BUILD state

0 votes

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)

asked Nov 5, 2017 in openstack-operators by Christopher_Hull (2,220 points)   2 5 7

1 Response

0 votes

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.linuxbridgeneutronagent
resynca = self.treatdevicesaddedupdated(devicesaddedupdated)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 1045, in treatdevicesaddedupdated
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
device
details['portid'], devicedetails['deviceowner'])
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 542, in add
interface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
tapdevicename, deviceowner)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 480, in add
tapinterface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
return False
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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.linuxbridgeneutronagent
six.reraise(self.type_, self.value, self.tb)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 472, in addtapinterface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
tapdevicename, deviceowner)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 504, in _add
tapinterface
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
segmentation
id)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 456, in ensurephysicalinbridge
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
physical
interface)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 275, in ensureflatbridge
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
gateway):
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 416, in ensurebridge
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
self.update
interfaceipdetails(bridgename, interface, ips, gateway)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 355, in update
interfaceipdetails
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
dstdevice.addr.add(cidr=ip['cidr'])
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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.linuxbridgeneutronagent
self.asroot([net.version], tuple(args))
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iplib.py",
line 338, in _as
root
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
userootnamespace=userootnamespace)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iplib.py",
line 92, in _as
root
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
logfailaserror=self.logfailaserror)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iplib.py",
line 101, in _execute
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
log
failaserror=logfailaserror)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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
neutronagent
raise RuntimeError(m)
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
RuntimeError:
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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
neutronagent
Exit code: 2
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
Stdin:
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
Stdout:
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
Stderr: RTNETLINK answers: File exists
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
2017-11-05 10:44:10.802 1574 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutron_agent
[root@maersk neutron]# date
Sun Nov 5 10:44:16 PST 2017

On Sun, Nov 5, 2017 at 10:40 AM, Christopher Hull chrishull42@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@gmail.com
    http://chrishull.com


OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
responded Nov 5, 2017 by Christopher_Hull (2,220 points)   2 5 7
...