Destory fails stopping neutron-openvswitch-agent

Bug #1982222 reported by Bryan Schwerer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Committed
Undecided
Bryan Schwerer

Bug Description

Running the destroy playbook bombs out the neutron-cleanup-ovs command with the following stack dump. This is because cleanup-containers is still specifying the old config file which is no longer used, ml12_conf.ini

<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1658262763.0423367-225481-178390606758929/ > /dev/null 2>&1 && sleep 0'
changed: [localhost] => {
    "changed": true,
    "rc": 0,
    "stderr": "Traceback (most recent call last):\n File \"/var/lib/kolla/venv/bin/neutron-ovs-cleanup\", line 8, in <module>\n sys.exit(main())\n File \"/var/lib/kolla/venv/lib/python3.6/site-packages/neutron/cmd/ovs_cleanup.py\", line 59, in main\n conf()\n File \"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_config/cfg.py\", line 2156, in __call__\n raise ConfigFilesNotFoundError(self._namespace._files_not_found)\noslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/plugins/ml2/ml2_conf.ini\nthe input device is not a TTY\n",
    "stderr_lines": [
        "Traceback (most recent call last):",
        " File \"/var/lib/kolla/venv/bin/neutron-ovs-cleanup\", line 8, in <module>",
        " sys.exit(main())",
        " File \"/var/lib/kolla/venv/lib/python3.6/site-packages/neutron/cmd/ovs_cleanup.py\", line 59, in main",
        " conf()",
        " File \"/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_config/cfg.py\", line 2156, in __call__",
        " raise ConfigFilesNotFoundError(self._namespace._files_not_found)",
        "oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/plugins/ml2/ml2_conf.ini",
        "the input device is not a TTY"
    ],
    "stdout": "Removing ovs bridge...\nStopping containers...\nRemoving containers...\nDisconnecting containers from docker host network\nRemoving volumes...\nRemoving link of kolla_log volume...\nAll cleaned up!\n

Changed in kolla-ansible:
assignee: nobody → Bryan Schwerer (bschwerer-adva)
Revision history for this message
Pierre Riteau (priteau) wrote :
Changed in kolla-ansible:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.