[Starlingx-discuss] Problem applying stx-openstack-1.0-19-centos-stable-latest

Webster, Steven Steven.Webster at windriver.com
Fri Jul 24 05:08:25 UTC 2020


Hi Marc,

Can you provide your /etc/build.info as well as a 'system show' command?

Cheers,

Steve

________________________________________
From: Marc Ferland <ferlandm at amotus.ca>
Sent: Thursday, July 23, 2020 11:46 AM
To: starlingx-discuss at lists.starlingx.io
Subject: [Starlingx-discuss] Problem applying   stx-openstack-1.0-19-centos-stable-latest

Hi,

This is related to: http://lists.starlingx.io/pipermail/starlingx-discuss/2020-July/009242.html

When applying the stx-openstack charts I saw an error in the neutron-ovs-agent-controller-0-937646f6-t8cnc_openstack_neutron-ovs-agent-init log file:

{"log":"+ timeout 3m neutron-sanity-check --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/openvswitch_agent.ini --ovsdb_native --nokeepalived_ipv6_support\n","stream":"stderr","time":"2020-07-21T16:42:56.518790392Z"}
{"log":"2020-07-21 16:42:57.321 683 INFO neutron.common.config [-] Logging enabled!\u001b[00m\n","stream":"stderr","time":"2020-07-21T16:42:57.3220551Z"}
{"log":"2020-07-21 16:42:57.322 683 INFO neutron.common.config [-] /var/lib/openstack/bin/neutron-sanity-check version 15.1.1.dev39\u001b[00m\n","stream":"stderr","time":"2020-07-21T16:42:57.322196968Z"}
{"log":"2020-07-21 16:42:57.497 683 CRITICAL neutron [-] Unhandled error: NoSuchOptError: no such option vf_management in group [DEFAULT]\n","stream":"stderr","time":"2020-07-21T16:42:57.498852473Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron Traceback (most recent call last):\n","stream":"stderr","time":"2020-07-21T16:42:57.498867171Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron   File \"/var/lib/openstack/bin/neutron-sanity-check\", line 8, in \u003cmodule\u003e\n","stream":"stderr","time":"2020-07-21T16:42:57.498871069Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron     sys.exit(main())\n","stream":"stderr","time":"2020-07-21T16:42:57.498887171Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron   File \"/var/lib/openstack/lib/python2.7/site-packages/neutron/cmd/sanity_check.py\", line 404, in main\n","stream":"stderr","time":"2020-07-21T16:42:57.498889813Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron     enable_tests_from_config()\n","stream":"stderr","time":"2020-07-21T16:42:57.498892855Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron   File \"/var/lib/openstack/lib/python2.7/site-packages/neutron/cmd/sanity_check.py\", line 347, in enable_tests_from_config\n","stream":"stderr","time":"2020-07-21T16:42:57.498895879Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron     cfg.CONF.set_default('vf_management', True)\n","stream":"stderr","time":"2020-07-21T16:42:57.498899118Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron   File \"/var/lib/openstack/lib/python2.7/site-packages/oslo_config/cfg.py\", line 2051, in __inner\n","stream":"stderr","time":"2020-07-21T16:42:57.498901668Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron     result = f(self, *args, **kwargs)\n","stream":"stderr","time":"2020-07-21T16:42:57.498905003Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron   File \"/var/lib/openstack/lib/python2.7/site-packages/oslo_config/cfg.py\", line 2455, in set_default\n","stream":"stderr","time":"2020-07-21T16:42:57.498907669Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron     opt_info = self._get_opt_info(name, group)\n","stream":"stderr","time":"2020-07-21T16:42:57.498910612Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron   File \"/var/lib/openstack/lib/python2.7/site-packages/oslo_config/cfg.py\", line 2845, in _get_opt_info\n","stream":"stderr","time":"2020-07-21T16:42:57.498913487Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron     raise NoSuchOptError(opt_name, group)\n","stream":"stderr","time":"2020-07-21T16:42:57.498916583Z"}
{"log":"2020-07-21 16:42:57.497 683 ERROR neutron NoSuchOptError: no such option vf_management in group [DEFAULT]\n","stream":"stderr","time":"2020-07-21T16:42:57.498919996Z"}

Basically, vf_management isn't a recognized option anymore. I think this might be a bug in OpenStack itself.

Poking around, I manually modified /var/lib/openstack/lib/python2.7/site-packages/neutron/cmd/sanity_check.py like so:

--- sanity_check.py.orig 2020-07-23 10:29:00.551745591 -0400
+++ sanity_check.py 2020-07-23 11:28:39.935302535 -0400
@@ -357,7 +357,6 @@
     run all necessary tests, just by passing in the appropriate configs.
     """

-    cfg.CONF.set_default('vf_management', True)
     cfg.CONF.set_default('arp_header_match', True)
     cfg.CONF.set_default('icmpv6_header_match', True)
     if 'vxlan' in cfg.CONF.AGENT.tunnel_types:

The charts then all applied correctly and my OpenStack deployment is now up and running. I was able to log into the Horizon GUI, etc.

Am I the only one seeing this?

Regards,

Marc





More information about the Starlingx-discuss mailing list