Nova does not validate graphics console addresses
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Pawel Koniszewski |
Bug Description
Due to all changes in nova live migration code path there is condition that is always evaluated to False:
Even when using the lowest RPC microversion (4.0) migrata_data will always be populated with graphics console addresses. This data will not be there only when doing live migration, e.g., from Kilo to Newton, which is not supported anyway. Even though both options, graphics_
there is no way to pass None through nova.conf, instead it is always passed as string (e.g. "None"). Therefore values of both options will be validated whether they are valid IP addresses. Also by default vncserver_listen and server_listen are not set to None, but to 127.0.0.1
https:/
https:/
Because of all this stuff nova never reaches code that should validate graphics console addresses and we might allow live migration that breaks graphics console on instance.
tags: | added: live-migration |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Pawel Koniszewski (pawel-koniszewski) |
Changed in nova: | |
status: | Confirmed → In Progress |
Patch is up for review - https:/ /review. openstack. org/#/c/ 373264