force specify project_id during create Sg_rule may cause issue

Bug #1837361 reported by zhaobo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstacksdk (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

For openstacksdk master branch:

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

zhaobo (zhaobo6)
description: updated
Revision history for this message
James Page (james-page) wrote :

This is related to the openstacksdk project directly - please report this bug here:

https://storyboard.openstack.org/#!/project/openstack/openstacksdk

Changed in python-openstacksdk (Ubuntu):
status: New → Invalid
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.