Tempest config doesn't allow None values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
Daniel Lutton |
Bug Description
The below command works in python2.7, however in python3.7 this error is introduced.
This has been traced down to an issue with how the python3.7 builtin configparser works (confirmed with @andreykurilin on gitter).
https:/
self.conf = configparser.
should be changed to
self.conf = configparser.
Command:
rally verify start --id tempest_verifier --pattern set=identity --detailed --deployment-id os_deployment
Results from command:
error: 2020-02-18 23:29:45.243 9724 INFO rally.api [-] Configuring verifier 'tempest_verifier' (UUID=07f3fd49-
Results from command with -debug:
09:42:46.702 14432 RALLYDEBUG rally.api [-] INFO logs from urllib3 and requests module are hide.
2020-02-19 09:42:46.703 14432 RALLYDEBUG rally.api [-] urllib3 insecure warnings are hidden.
2020-02-19 09:42:46.703 14432 RALLYDEBUG rally.api [-] ERROR log from boto module is hide.
2020-02-19 09:42:48.071 14432 INFO rally.api [-] Configuring verifier 'tempest_verifier' (UUID=3d619624-
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils [-] Unexpected exception in CLI: TypeError: option values must be strings
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils Traceback (most recent call last):
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils ret = fn(*fn_args, **fn_kwargs)
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "</usr/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils return f(*args, **kwargs)
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "</usr/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils return f(*args, **kwargs)
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "</usr/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils return f(*args, **kwargs)
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils tags=tags, **run_args)
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils deployment_
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils raw_config = vm.configure(
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils return tcm.create(
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils method()
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/local/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/lib/
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils self._validate_
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils File "/usr/lib/
Daniel Lutton @dlutton 01:50
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils raise TypeError("option values must be strings")
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils TypeError: option values must be strings
2020-02-19 09:42:48.179 14432 ERROR rally.cli.cliutils
The error indicates an issue with self.credential
Changed in rally: | |
assignee: | nobody → Daniel Lutton (dlutton) |
status: | New → In Progress |
Changed in rally: | |
status: | In Progress → Fix Released |
This error is still being thrown: 7/site- packages/ rally_openstack /verification/ tempest/ context. py", line 60, in setup
lib/python3.