nova/nova/tests
int32bit 47937b6113 Convert port to str when validate console port
The port type must be str type in nova-serialproxy side as we convert to str
forcefully before rpc validate_console to compute service[1]. But on the
compute side, the driver may be return int type like ironic serial console[2].
So the validate_console_port may always return False as type inconsistence[3].

[1] https://github.com/openstack/nova/blob/18.0.0/nova/console/websocketproxy.py#L144
[2] https://github.com/openstack/nova/blob/18.0.0/nova/virt/ironic/driver.py#L1830
[3] https://github.com/openstack/nova/blob/18.0.0/nova/compute/manager.py#L5417

Closes-Bug: 1809418

Change-Id: If5f3dc725c5836e67d09deeefb3bce2249f71a69
2019-01-22 10:51:47 -05:00
..
functional Merge "Exclude build request marker from server listing" 2018-12-20 04:12:35 +00:00
live_migration/hooks Add post-test hook for testing evacuate 2018-10-25 16:15:56 -04:00
unit Convert port to str when validate console port 2019-01-22 10:51:47 -05:00
__init__.py
fixtures.py Merge "Replace ThreadPoolExecutor with GreenThreadPoolExecutor" 2018-12-17 11:07:01 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00