Merge "Modify libvirt port range for live-migration" into stable/ocata

This commit is contained in:
Zuul 2018-04-27 02:09:02 +00:00 committed by Gerrit Code Review
commit 6ef94760f5
2 changed files with 14 additions and 0 deletions

View File

@ -63,11 +63,14 @@ outputs:
nova::compute::libvirt::qemu::max_files: 32768
nova::compute::libvirt::qemu::max_processes: 131072
nova::compute::libvirt::vncserver_listen: {get_param: [ServiceNetMap, NovaLibvirtNetwork]}
nova::migration::qemu::migration_port_min: 61152
nova::migration::qemu::migration_port_max: 61215
tripleo.nova_libvirt.firewall_rules:
'200 nova_libvirt':
dport:
- 16514
- '49152-49215'
- '61152-61215'
- '5900-5999'
step_config: |

View File

@ -0,0 +1,11 @@
---
fixes:
- |
By default, libvirtd uses ports from 49152 to 49215 for live-migration
as specified in qemu.conf, that becomes a subset of ephemeral ports
(from 32768 to 61000) used by many linux kernels.
The issue here is that these ephemeral ports are used for outgoing TCP
sockets. And live-migration might fail, if there are no port available
from the specified range.
Moving the port range out of ephemeral port range to be used only for
live-migration.