slaprunner: use switch-softwaretype instead of softwaretype
Showing
-
Owner
This seem to have caused issues with SlapOS.SlapRunner.ResilienceTest-Master.ERP5. Test fail like this:
While: Installing. Getting section switch_softwaretype. Initializing section switch_softwaretype. An internal error occurred due to a bug in either zc.buildout or in a recipe being used: Traceback (most recent call last): File eggs/zc.buildout-2.7.1+slapos001-py2.7.egg/zc/buildout/buildout.py", line 2240, in main getattr(buildout, command)(args) File eggs/zc.buildout-2.7.1+slapos001-py2.7.egg/zc/buildout/buildout.py", line 643, in install self._install_parts(install_args) File eggs/zc.buildout-2.7.1+slapos001-py2.7.egg/zc/buildout/buildout.py", line 694, in _install_parts [self[part]['recipe'] for part in install_parts] File eggs/zc.buildout-2.7.1+slapos001-py2.7.egg/zc/buildout/buildout.py", line 1304, in __getitem__ options._initialize() File eggs/zc.buildout-2.7.1+slapos001-py2.7.egg/zc/buildout/buildout.py", line 1418, in _initialize self.recipe = self.buildout.initialize(self, *_recipe(self._data)) File eggs/zc.buildout-2.7.1+slapos001-py2.7.egg/zc/buildout/buildout.py", line 1288, in initialize return recipe_class(self, options.name, options) File parts/slapos.cookbook-repository/slapos/recipe/switch_softwaretype.py", line 38, in __init__ section, key = self.options[self.software_type].split(":") ValueError: need more than 1 value to unpack
The software release installed is https://lab.nexedi.com/nexedi/slapos/blob/master/software/erp5testnode/testsuite/slaprunner.cfg which reused parts of slaprunner.
before bcf6f229...075b0ba2 test was failing like this but at least the test software was installing.
I made a quick fix, b2e21fe9 and pushed to master directly when I saw that
slapos node instance
succeeded. -
mentioned in commit slapos.core@a9b92d27
Please register or sign in to comment