Bug 1506668
Summary: | IPv6 address association tests frequently reaches 5xx | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Attila Fazekas <afazekas> |
Component: | openstack-neutron | Assignee: | Ihar Hrachyshka <ihrachys> |
Status: | CLOSED DUPLICATE | QA Contact: | Toni Freger <tfreger> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 12.0 (Pike) | CC: | amuller, chrisw, ihrachys, jlibosva, nyechiel, srevivo, tvignaud |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 12.0 (Pike) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-10 19:24:45 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Attila Fazekas
2017-10-26 14:10:49 UTC
Brian will have a look and will triage. This looks like a new issue, but similar to an upstream bug that was fixed recently, https://bugs.launchpad.net/neutron/+bug/1706750 (FlushError for automatic IPAllocations when subnet create is retried) Looking at the server.log in comment #1 above we can see a subnet-create is ongoing, but has triggered a retry at about 2017-10-25 21:54:45.617 and is in _create_subnet_postcommit(). At the same time a dhcp-agent is trying to delete a port from that same subnet via an RPC call and is in _ipam_deallocate_ips(). This delete port can't find the IP: IpAddressAllocationNotFound: Unable to find IP address 2003::f816:3eff:fe73:8a72 on subnet 0c005759-7305-419e-9d0e-3b1ddd4c7373 And the subnet-create fails as well trying to allocate the same IP address: FlushError: New instance <IPAllocation at 0x8e7f0d0> with identity key (<class 'neutron.db.models_v2.IPAllocation'>, ('2003::f816:3eff:fe73:8a72', '0c005759-7305-419e-9d0e-3b1ddd4c7373', 'a73d8aa6-5913-4cbd-9282-3f28506b4eb6')) conflicts with persistent instance <IPAllocation at 0x8949850> Sure enough, controller-2 is trying to delete it's dhcp port around 2017-10-25 21:54:44.705 in this log file: http://cougar11.scl.lab.tlv.redhat.com/phase2-12_director-rhel-7.4-virthost-3cont_2comp_3ceph-ipv4-gre-ceph-containers/60/controller-2.tar.gz?controller-2/var/log/neutron/dhcp-agent.log It seems to be complaining about reading /var/lib/neutron/dhcp/{network_id}/pid, but doesn't complain when writing the host file, could be a red herring. BTW, I see a similar 500 error in the controller-2 server.log as well. *** This bug has been marked as a duplicate of bug 1470784 *** |