InvalidRequestError: Can't attach instance

Bug #1683469 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Ihar Hrachyshka
tripleo
Fix Released
Critical
Unassigned

Bug Description

Deploying TripleO undercloud under Pike packaging, Neutron with ML2 OVS plugin.

It fails to create network:

neutron net-create ctlplane --provider:network_type flat --provider:physical_network ctlplane
Request Failed: internal server error while processing your request.

See the trace:
http://logs.openstack.org/64/457264/1/check/gate-tripleo-ci-centos-7-scenario002-multinode-oooq/56c3c3e/logs/undercloud/var/log/neutron/server.log.txt.gz#_2017-04-17_18_56_53_265

Revision history for this message
Emilien Macchi (emilienm) wrote :
Changed in tripleo:
importance: Undecided → Critical
milestone: none → pike-2
status: New → Triaged
tags: added: alert ci networking
Revision history for this message
Ihar Hrachyshka (ihar-hrachyshka) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
status: New → In Progress
tags: added: db gate-failure
Changed in neutron:
importance: Undecided → High
status: In Progress → Confirmed
milestone: none → pike-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in neutron:
assignee: Ihar Hrachyshka (ihar-hrachyshka) → Kevin Benton (kevinbenton)
status: Confirmed → In Progress
Changed in neutron:
assignee: Kevin Benton (kevinbenton) → Ihar Hrachyshka (ihar-hrachyshka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/457399
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=46bc515f82983c510dc4fb014c18e27813ce4d65
Submitter: Jenkins
Branch: master

commit 46bc515f82983c510dc4fb014c18e27813ce4d65
Author: Kevin Benton <email address hidden>
Date: Mon Apr 17 16:50:34 2017 -0700

    Don't load rels on detached objects

    OVO detaches DB objects from the session and then holds onto
    them for the life time of the OVO object. Simultaneously we attach
    a weakref to the object to the session to load relationships for it
    on commit.

    If GC hasn't eliminated this object by the time we try to load
    relationships, we end up trying to load rels for a detached object,
    which implicitly tries to add it back into the session. This fails
    if there is another copy in the session.

    This patch just skips loading detached objects because we don't need
    relationships loaded for them anyway.

    Closes-Bug: #1683469
    Change-Id: Ida3272562edb6608c6bfd7e11267159d6565a0c7

Changed in neutron:
status: In Progress → Fix Released
Changed in tripleo:
status: Triaged → Fix Released
tags: removed: alert
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Ihar Hrachyshka (<email address hidden>) on branch: master
Review: https://review.openstack.org/457339

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 11.0.0.0b2

This issue was fixed in the openstack/neutron 11.0.0.0b2 development milestone.

tags: added: neutron-proactive-backport-potential
tags: removed: neutron-proactive-backport-potential
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.