diff --git a/files/debs/nova b/files/debs/nova index 0194f00f2c..5c00ad72d9 100644 --- a/files/debs/nova +++ b/files/debs/nova @@ -1,7 +1,5 @@ conntrack curl -dnsmasq-base -dnsmasq-utils # for dhcp_release ebtables genisoimage # required for config_drive iptables diff --git a/files/rpms-suse/nova b/files/rpms-suse/nova index 1cc2f62ea5..082b9aca22 100644 --- a/files/rpms-suse/nova +++ b/files/rpms-suse/nova @@ -1,8 +1,6 @@ cdrkit-cdrtools-compat # dist:sle12 conntrack-tools curl -dnsmasq -dnsmasq-utils # dist:opensuse-12.3,opensuse-13.1 ebtables iptables iputils diff --git a/files/rpms/nova b/files/rpms/nova index 9522e5729d..f2824ee2c4 100644 --- a/files/rpms/nova +++ b/files/rpms/nova @@ -1,7 +1,5 @@ conntrack-tools curl -dnsmasq # for q-dhcp -dnsmasq-utils # for dhcp_release ebtables genisoimage # not:rhel9 required for config_drive iptables diff --git a/lib/nova b/lib/nova index da3a10edd0..6de1d3382f 100644 --- a/lib/nova +++ b/lib/nova @@ -107,20 +107,6 @@ NOVA_FILTERS="AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,Ima QEMU_CONF=/etc/libvirt/qemu.conf -# Set default defaults here as some hypervisor drivers override these -PUBLIC_INTERFACE_DEFAULT=br100 -# Set ``GUEST_INTERFACE_DEFAULT`` to some interface on the box so that -# the default isn't completely crazy. This will match ``eth*``, ``em*``, or -# the new ``p*`` interfaces, then basically picks the first -# alphabetically. It's probably wrong, however it's less wrong than -# always using ``eth0`` which doesn't exist on new Linux distros at all. -GUEST_INTERFACE_DEFAULT=$(ip link \ - | grep 'state UP' \ - | awk '{print $2}' \ - | sed 's/://' \ - | grep ^[ep] \ - | head -1) - # ``NOVA_VNC_ENABLED`` can be used to forcibly enable VNC configuration. # In multi-node setups allows compute hosts to not run ``n-novnc``. NOVA_VNC_ENABLED=$(trueorfalse False NOVA_VNC_ENABLED) diff --git a/stack.sh b/stack.sh index df283bbe50..c99189e6dc 100755 --- a/stack.sh +++ b/stack.sh @@ -1152,7 +1152,8 @@ fi # ---- if is_service_enabled q-dhcp; then - # Delete traces of nova networks from prior runs + # TODO(frickler): These are remnants from n-net, check which parts are really + # still needed for Neutron. # Do not kill any dnsmasq instance spawned by NetworkManager netman_pid=$(pidof NetworkManager || true) if [ -z "$netman_pid" ]; then @@ -1212,12 +1213,7 @@ if is_service_enabled nova; then echo_summary "Configuring Nova" init_nova - # Additional Nova configuration that is dependent on other services - # TODO(stephenfin): Is it possible for neutron to *not* be enabled now? If - # not, remove the if here - if is_service_enabled neutron; then - async_runfunc configure_neutron_nova - fi + async_runfunc configure_neutron_nova fi