Ask Your Question

hpf97's profile - activity

2019-12-12 15:05:53 -0500 received badge  Famous Question (source)
2019-07-13 16:48:34 -0500 received badge  Notable Question (source)
2019-07-10 02:03:10 -0500 received badge  Necromancer (source)
2019-07-10 02:03:10 -0500 received badge  Teacher (source)
2019-07-03 02:19:33 -0500 answered a question how to persist network configuration after devstack installation ?

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**)"
2019-07-03 02:00:54 -0500 received badge  Notable Question (source)
2019-06-29 15:05:36 -0500 received badge  Popular Question (source)
2019-06-28 12:15:45 -0500 asked a question how to persist network configuration after devstack installation ?

Hi all,

We are facing a stupid problem after devstack installation. Everything's ok (can access instances, instances can joint the public network, ...) but when we reboot the host machine, network configuration done during the installation is lost; whereas in the same time, all openstack services are correctly turned off and started when the host is up.

Our installation is on Ubuntu 18.04LTS + latest devstack with Horizon and Murano. We know that it is not for production, but we would like to demonstrate what could be done with OpenStack when we do not have internet connection (and no time to reinstall it).

So someone know how to persist this network configuration ?

thx a lot for your help

2019-06-28 12:15:45 -0500 commented answer g-api did not start while running stack.sh

Hi Bernd! In fact, we have just discovered that it is just the network configuration that is not persistent. So i do not know how to save it after the installation. In the same time we have tried to reboot the host, all instances are correctly turned off as devstack services

2019-05-24 09:27:27 -0500 received badge  Popular Question (source)
2019-05-20 08:28:33 -0500 answered a question g-api did not start while running stack.sh

It happens to me when I launch the installation after doing ./unstack.sh and ./clean.sh. The only way I have found was to reinstall from scratch (OS included).

2019-05-20 08:28:20 -0500 asked a question Name server no more accessible during devstack install on Ubuntu 18.04

Dear all, I hope that someone could help me. I want to install on one computer under Ubuntu 18.04 LTS without VirtualBox: devstack + heat + murano, in their latest version on git repository. My PC has only one NIC (static IPv4 : 192.168.50.201, and gateway 192.168.50.1) and I would like my instance with floating IPs being accessible from the host PC (of course) but also from the ones on the server network as my host. For the openstack installation, I follow the "All-In-One" documentation from OpenStack with devstack : https://docs.openstack.org/devstack/latest/guides/single-machine.html (https://docs.openstack.org/devstack/l...)

My local.conf is the following :


[[local|localrc]] ADMIN_PASSWORD=xxxxxx DATABASE_PASSWORD=xxxxxx RABBIT_PASSWORD=xxxxxx SERVICE_PASSWORD=$ADMIN_PASSWORD

disable_service n-net ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3

HOST_IP=192.168.50.201 Q_USE_SECGROUP=True FLOATING_RANGE="192.168.50.0/24" FIXED_RANGE="10.11.12.0/24" Q_FLOATING_ALLOCATION_POOL=start=192.168.50.221,end=192.168.50.254 PUBLIC_NETWORK_GATEWAY="192.168.50.1" PUBLIC_INTERFACE=enp0s31f6

Q_USE_PROVIDERNET_FOR_PUBLIC=True OVS_PHYSICAL_BRIDGE=br-ex PUBLIC_BRIDGE=br-ex OVS_BRIDGE_MAPPINGS=public:br-ex

enable_plugin heat https://git.openstack.org/openstack/heat enable_service h-eng h-api h-api-cfn h-api-cw enable_plugin heat-dashboard https://git.openstack.org/openstack/heat-dashboard (https://git.openstack.org/openstack/h...) enable_plugin murano https://git.openstack.org/openstack/murano (https://git.openstack.org/openstack/m...) disable_service tempest`


At the begining, the PC has access to the Internet, can make some DNS request (server names : 8.8.8.8, 8.8.4.4). The installation goes on, DevStack seems to be OK, so for Heat and then arrives the download of the cirros image. And here i have an error that "download.cirros-cloud.net" cannot be resolved. Then if I test DNS request (ping http://google.com) it fails. But if a new "netplan apply" it works again.

Can someone give me some advice on how to correct this and end this installation ?

By advance, thanks for you help/