Revision history [back]

click to hide/show revision 1
initial version

Thx Bernd for this information.

We tried this investigation without success, but we are going to have a deeper look on the content of /devstack/stack.sh.log.<timestamp> to see if there are other commands to launch to recover the network configuration. But it is a good startfor us.

If somebody else has other ideas, they are welcome.

Thx Bernd for this information.

We tried this investigation without success, but we are going to have a deeper look on the content of /devstack/stack.sh.log.<timestamp> to see if there are other commands to launch to recover the network configuration. But it is a good startfor us.

If somebody else has other ideas, they are welcome.


So, we dig a bit in the problem. On Bernd recommandations we did a script with what seems missing :

#!/usr/bin/env bash
sudo losetup -f --show --direct-io=on /opt/stack/data/stack-volumes-default-backing-file
sudo losetup -f --show --direct-io=on /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
sudo ip -6 addr replace 2001:db8::2/64 dev br-ex
sudo ip -6 route replace fdfa:1a2f:da66::/56 via 2001:db8::1 dev br-ex
sudo ip -f inet r replace default via 192.168.50.1 dev br-ex
sudo ip -f inet r replace default via 192.168.50.1 dev br-ex
sudo route del -net 192.168.50.0 gw 0.0.0.0 netmask 255.255.255.0 dev enp0s31f6
sudo ip addr replace 192.168.50.1/24 dev enp0s31f6
# The following command fails telling no permission to do it
 sudo ip addr replace fe80::3e52:82ff:fe8e:85a7/64 dev enp0s31f6

sudo systemctl restart devstack@*

but when we look with ovs-vsctl, there is still a problem between the bridge and the physical nic :

Bridge br-ex
    Controller "tcp:127.0.0.1:6633"
        is_connected: true
    fail_mode: secure
    Port phy-br-ex
        Interface phy-br-ex
            type: patch
            options: {peer=int-br-ex}
    Port "enp0s31f6"
        Interface "enp0s31f6"
            error: "**could not add network device enp0s31f6 to ofproto (Device or resource busy)**"
    Port br-ex
        Interface br-ex
            type: internal
            error: "**could not add network device br-ex to ofproto (File exists**)"