nova/releasenotes
Andrew Bonney 28f94eb69a Fix segment-aware scheduling permissions error
Resolves a bug encountered when setting the Nova scheduler to
be aware of Neutron routed provider network segments, by using
'query_placement_for_routed_network_aggregates'.

Non-admin users attempting to access the 'segment_id' attribute
of a subnet caused a traceback, resulting in instance creation
failure.

This patch ensures the Neutron client is initialised with an
administrative context no matter what the requesting user's
permissions are.

Conflicts:
   nova/network/neutron.py
   nova/tests/unit/network/test_neutron.py
Both conflicts are due to I8058902df167239fa455396d3595a56bcf472b2b
We just picked the needed modifications then.

Change-Id: Ic0f25e4d2395560fc2b68f3b469e266ac59abaa2
Closes-Bug: #1970383
(cherry picked from commit ee32934f34)
(cherry picked from commit 60548e8042)
2023-05-31 10:13:37 +02:00
..
notes Fix segment-aware scheduling permissions error 2023-05-31 10:13:37 +02:00
source Update master for stable/wallaby 2021-03-26 07:17:21 +00:00