resize of server with qos ports fails if called by non admin user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Balazs Gibizer | ||
Train |
Fix Committed
|
Undecided
|
Balazs Gibizer |
Bug Description
As a non admin:
* Create a server with a qos port.
* Resize the server to another flavor.
=> Server goes to ERROR state and the following is logged in the nova-compute log on the destination host
Oct 24 14:33:42 aio nova-compute[
Triage:
Similarly to bug 1849657 Nova uses a non admin Neutron client to query the ports[1] at the start of the resize. The the resize operation is not called by an admin user then the resource_request field of the Neutron is not filled. This causes that Nova does allocate resources and does not create port - rp mapping for the qos ports on the destination node. But when the qos port is being updated on the destination host [2] nova uses an admin client and therefore sees the resource_request of the qos ports. As the port - rp mapping is missing for these ports the resize fails.
[1] https:/
[2] https:/
tags: | added: neutron resize |
Changed in nova: | |
status: | New → Triaged |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
importance: | Undecided → High |
Changed in nova: | |
assignee: | Balazs Gibizer (balazs-gibizer) → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → Balazs Gibizer (balazs-gibizer) |
Fix proposed to branch: master /review. opendev. org/691005
Review: https:/