[Bug 1837361] [NEW] force specify project_id during create Sg_rule may cause issue

zhaobo bzhaojyathousandy at gmail.com
Mon Jul 22 08:10:42 UTC 2019


Public bug reported:

I found we just specify tenant_id for creating SG, but force specify
project_id for creating SG rules [1]. This may cause compatible issue.
So this patch keep SG rules same with SG creation and test in upstream
CI.

This issue raises by https://review.opendev.org/#/c/662724/ , it seems a
small nit that force to specify project_id to create SG_rule. But other
resources, such as Network/SG just pass tenant_id. So it may cause some
compatible issue, or keep the same like other resources at least.

[1]
https://github.com/openstack/openstacksdk/blob/master/openstack/cloud/_security_group.py#L312

** Affects: python-openstacksdk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstacksdk in Ubuntu.
https://bugs.launchpad.net/bugs/1837361

Title:
   force specify project_id during create Sg_rule may cause issue

Status in python-openstacksdk package in Ubuntu:
  New

Bug description:
  I found we just specify tenant_id for creating SG, but force specify
  project_id for creating SG rules [1]. This may cause compatible issue.
  So this patch keep SG rules same with SG creation and test in upstream
  CI.

  This issue raises by https://review.opendev.org/#/c/662724/ , it seems a
  small nit that force to specify project_id to create SG_rule. But other
  resources, such as Network/SG just pass tenant_id. So it may cause some
  compatible issue, or keep the same like other resources at least.

  [1]
  https://github.com/openstack/openstacksdk/blob/master/openstack/cloud/_security_group.py#L312

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstacksdk/+bug/1837361/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list