← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1890539] Re: failed to create port with security group of other tenant

 

Reviewed:  https://review.opendev.org/745089
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=cc54a1c38e0b537883de43fecda781034c80daf3
Submitter: Zuul
Branch:    master

commit cc54a1c38e0b537883de43fecda781034c80daf3
Author: zhanghao <zhanghao2_yewu@xxxxxxxxxxxxxxxxxxxx>
Date:   Thu Aug 6 04:02:36 2020 -0400

    Fix port can not be created with the sg of other project
    
    This patch adds the verification of whether admin context when
    verifying the valid security groups of port.
    
    Change-Id: I2674bdc448d9a091b9fe8c68f0866fd19141c6be
    Closes-Bug: #1890539


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1890539

Title:
  failed to create port with security group of other tenant

Status in neutron:
  Fix Released

Bug description:
  How to reproduce this problem:
  1.source demo-openrc
  2.openstack security group create sg001
  3.source admin-openrc
  4.openstack port create port001 --network net10 --security-group sg001  Failed
    prompt the following error:
    Security group sg001_id does not exist
  5.openstack port create port002 --network net10
    openstack port set port002 --security-group sg001    OK
    port002 security group ids include sg001_id

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1890539/+subscriptions


References