Use dummy interface

When using nova-network, dummy interface has to be used for Nova private
interfaces, because otherwice 'lo' interface is being used. Using 'lo'
is not requirement and it worked on older platform, but does not work
on CentOS7 and newest Fedora releases during spawning instances following
error appears:

TRACE nova.openstack.common.threadgroup NovaException:
Failed to add interface: can't add lo to bridge br100: Invalid argument

Change-Id: Iea3cf2b0e85af642523154bed933f11d19650504
Resolves-bug: rhbz#1153128
Resolves-bug: #1376596
Resolves-bug: #1477681
This commit is contained in:
Martin Mágr
2015-07-28 16:12:46 +02:00
parent 24b33f0924
commit 8947ee3b31
2 changed files with 43 additions and 8 deletions

View File

@@ -748,9 +748,9 @@ def single_step_aio_install(options, logFile):
if not options.novanetwork_pubif:
options.novanetwork_pubif = utils.device_from_ip(options.install_hosts)
if not options.novacompute_privif:
options.novacompute_privif = "lo"
options.novacompute_privif = ''
if not options.novanetwork_privif:
options.novanetwork_privif = "lo"
options.novanetwork_privif = ''
# If we are doing an all-in-one install, do demo provisioning
# unless specifically told not to