Neutron requires admin acess to Nova to do vif plug callback

Bug #1293782 reported by James Slagle
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Stephen Ma

Bug Description

It seems Neutron requires admin access to Nova in order to do a callback once the vif plug is available. This is breaking the tripleo CI overcloud jobs currently.

We need to make the following equivalent configuration changes to neutron.conf as happened in devstack:
https://review.openstack.org/#/c/78044/7/lib/neutron

Revision history for this message
James Slagle (james-slagle) wrote :

Does neutron really need admin privileges to do this?

Changed in tripleo:
status: New → Confirmed
importance: Undecided → Critical
Revision history for this message
James Slagle (james-slagle) wrote :

appears we have to add admin tenant id to neutron.conf, however that's not known until init-keystone has run

Revision history for this message
James Slagle (james-slagle) wrote :

This requirement introduced by:
https://review.openstack.org/#/c/74832/26

Revision history for this message
James Slagle (james-slagle) wrote :
Revision history for this message
Aaron Rosen (arosen) wrote :

@James, yes this is an admin only api that nova exposes.

no longer affects: neutron
Changed in tripleo:
assignee: nobody → Aaron Rosen (arosen)
Aaron Rosen (arosen)
Changed in tripleo:
assignee: Aaron Rosen (arosen) → nobody
Aaron Rosen (arosen)
Changed in tripleo:
assignee: nobody → Aaron Rosen (arosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

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

Changed in tripleo:
status: Confirmed → In Progress
Changed in tripleo:
assignee: Aaron Rosen (arosen) → Steve Kowalik (stevenk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/81224
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=e234bddee9834a389520754062153e1a4df6af3b
Submitter: Jenkins
Branch: master

commit e234bddee9834a389520754062153e1a4df6af3b
Author: Derek Higgins <email address hidden>
Date: Tue Mar 18 10:50:09 2014 +0000

    Treat failure to hear back from neutron as non fatal

    A recent change to nova requires neutron to have admin credentials in
    order to report back to nova that VIF plugging is complete. Our neutron
    doesn't have the appropriate credentials and adding them isn't trivial
    as we don't know the tenant id when we do the heat stack-create of the
    overcloud.

    This commit should be considered a temporary workaround that disables the
    requirement, this will unblock ci while we figure out how to handle the
    problem correctly.

    Related-Bug: #1293782

    Change-Id: I1a31d31e3d3ab923217eaf3b2e865a28dd57ec44

Revision history for this message
James Slagle (james-slagle) wrote :

dropping to High as there is a workaround

Changed in tripleo:
importance: Critical → High
assignee: Steve Kowalik (stevenk) → nobody
Changed in tripleo:
status: In Progress → Triaged
Stephen Ma (stephen-ma)
Changed in tripleo:
assignee: nobody → Stephen Ma (stephen-ma)
Revision history for this message
Stephen Ma (stephen-ma) wrote :

Based on the review comments made to the last code review submitted to fix this problem, the name of the nova admin tenant cannot be passed-in as the "nova_admin_tenant_id". It needs to be passed in as a parameter called "nova_admin_tenant_name". This parameter is added by neutron code review https://review.openstack.org/103978. Currently this review is still in progress. Once the changes from review 103978 is merged. I will resubmit the patch with the correction.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/126570
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=0268b725385ad098dd874c3d92923089b3120b64
Submitter: Jenkins
Branch: master

commit 0268b725385ad098dd874c3d92923089b3120b64
Author: Stephen Ma <email address hidden>
Date: Tue Oct 7 14:38:30 2014 +0000

    Add Nova Admin access to neutron.conf

    Add Nova admin access information to Neutron to allow it to do
    vif callbacks.

    Change-Id: I1889662f74a8da8c4ccfc46f0ccf8e73e9acb74b
    Closes-Bug: #1293782

Changed in tripleo:
status: In Progress → Fix Committed
Jay Dobies (jdob)
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.