openstack client router list does not filter by domain

Bug #1795180 reported by Eric Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
New
Undecided
Unassigned

Bug Description

Environment:
Kolla-Ansible (built from stable/rocky branch)
Kolla (built from stable/rocky branch)
CentOS 7.5 with latest updates
Openstack Client returns version: openstack 3.15.0

I'm not sure where to report this, so please reassign if it is more appropriate elsewhere.

Using the openstack client, the --project-domain parameter is not being used.

For example, running this as a cloud admin:
openstack router list --project-domain <domain UUID>

it returns all routers in the cloud. I would expect it to only return the routers in the domain requested.

It appears the same problem occurs with:
openstack security group list --project-domain <domain UUID>

Eric

Kailun Qin (kailun.qin)
affects: neutron → python-openstackclient
Revision history for this message
Kailun Qin (kailun.qin) wrote :

Hi Eric,
I guess openstackclient project would be a good place to start with. I cannot simply tell whether neutron is affected or not since it needs further triage.

If it's root caused to python-openstackclient, then openstackclient storyboard [1] should be the right place to file an issue. If neutron is impacted, then it needs to be tracked here.

[1] https://storyboard.openstack.org/#!/project/975

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

I don't think that neutron can filter things based on domain. From api-ref: https://developer.openstack.org/api-ref/network/v2/#filtering-and-column-selection it looks that it can filter on fields which belongs to specific project as this is field in Neutron's db.
We don't know anything about domain in neutron.
Isn't it more "global" issue then?

Revision history for this message
Eric Miller (erickmiller) wrote :

Thanks Slawek, sounds like I need to address this with the openstackclient project, which I couldn't find on launchpad (and forgot about storyboard).

Eric

Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Thx Eric, So I will remove neutron from affected projects then.

no longer affects: neutron
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.