Comment 1 for bug 1964507

Revision history for this message
Thiago Paiva Brito (outbrito) wrote :

The bug on the script itself that will prevent this from happening in case of any future misconfiguration is dealt with on https://review.opendev.org/c/openstack/openstack-helm/+/833160

This bug only covers openstack-armada-app. The aim is to remove the override that is causing the error. We override conf.neutron.agent.root_helper with just "sudo", but calling "ip netns list" with sudo causes a problem the current version of our base OS for the neutron image:

```
sh-4.2$ sudo ip netns list
sudo: unable to mkdir /run/sudo: Read-only file system

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for neutron:
```

Using the default call with the rootwrap that osh uses by default [1] solves the problem, so I'll remove the override.

[1] https://github.com/openstack/openstack-helm/blame/master/neutron/values.yaml#L1903