fake nova_client redefines the volumes while creating fake_nova_client

Bug #1292456 reported by Sushil Kumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Triaged
Medium
Unassigned

Bug Description

https://github.com/openstack/trove/blob/master/trove/tests/fakes/nova.py#L793 defines
nova_client.volumes = volume_client

also volume in nova_client is defined as https://github.com/openstack/trove/blob/master/trove/tests/fakes/nova.py#L770

This makes volumes APIs with nova_client accessible as nova_client.volumes.volumes

This should be nova_client.volumes, instead.

Changed in trove:
status: New → Triaged
importance: Undecided → Medium
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.