neutron-ipset-cleanup fails with Traceback: Unhandled error: oslo_config.cfg.NoSuchOptError: no such option AGENT in group [DEFAULT]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Frode Nordahl | ||
neutron (Ubuntu) |
Fix Released
|
High
|
Frode Nordahl | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
# /usr/bin/
2020-06-02 14:36:08.891 124358 INFO neutron.
2020-06-02 14:36:08.892 124358 INFO neutron.
2020-06-02 14:36:08.892 124358 INFO neutron.
2020-06-02 14:36:08.892 124358 CRITICAL neutron [-] Unhandled error: oslo_config.
2020-06-02 14:36:08.892 124358 ERROR neutron Traceback (most recent call last):
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron return self._get(name)
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron value, loc = self._do_get(name, group, namespace)
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron info = self._get_
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron raise NoSuchOptError(
2020-06-02 14:36:08.892 124358 ERROR neutron oslo_config.
2020-06-02 14:36:08.892 124358 ERROR neutron
2020-06-02 14:36:08.892 124358 ERROR neutron During handling of the above exception, another exception occurred:
2020-06-02 14:36:08.892 124358 ERROR neutron
2020-06-02 14:36:08.892 124358 ERROR neutron Traceback (most recent call last):
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/bin/
2020-06-02 14:36:08.892 124358 ERROR neutron sys.exit(main())
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron cleanup_
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron ipsets = utils.execute(cmd, run_as_root=True)
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron if run_as_root and cfg.CONF.
2020-06-02 14:36:08.892 124358 ERROR neutron File "/usr/lib/
2020-06-02 14:36:08.892 124358 ERROR neutron raise NoSuchOptError(
2020-06-02 14:36:08.892 124358 ERROR neutron oslo_config.
2020-06-02 14:36:08.892 124358 ERROR neutron
The config file does have a AGENT section, but from cursory view of the source code of the neutron-
I think this is a simple case of bit-rot and augmenting the command line source code to initializing the missing section makes it run successfully.
Related branches
- Corey Bryant: Approve
-
Diff: 90 lines (+48/-0)5 files modifieddebian/changelog (+10/-0)
debian/control (+1/-0)
debian/neutron-common.install (+1/-0)
debian/patches/fix-neutron-ipset-cleanup-tool.patch (+35/-0)
debian/patches/series (+1/-0)
- git-ubuntu developers: Pending requested
-
Diff: 85 lines (+54/-0) (has conflicts)4 files modifieddebian/changelog (+11/-0)
debian/neutron-common.install (+4/-0)
debian/patches/fix-neutron-ipset-cleanup-tool.patch (+35/-0)
debian/patches/series (+4/-0)
Changed in neutron: | |
status: | New → In Progress |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in neutron (Ubuntu Focal): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in neutron: | |
importance: | Undecided → High |
tags: | added: neutron-proactive-backport-potential |
Fix proposed to branch: master /review. opendev. org/732701
Review: https:/