aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-rally_git.bb
AgeCommit message (Collapse)Author
2021-07-31global: overrides conversionBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-06-05python-rally: satisfy setup.py setup_requiresBabak Sarashki
Commit 8fdbb0381d disallows fetch of code during do_compile task. This commits extends DEPENDS to python-pbr-native. Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22python: prepare for python3 only configurationBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2017-11-15python-*: fixup postinst scriptsMark Asselstine
Checking for "$D" and doing an "exit 1" now results in errors such as: [log_check] warning: %post(keystone-cronjobs-...) scriptlet failed, exit status 2 during image creation. Instead of escaping the script for "level-1" (image creation postinst) we wrap the "level-2" (first boot) postinst in an if statement. This also ensure the scriptlet in indentity.bbclass is less prone to behaving differently based on the postinsts defined in the classes which inherit 'identity'. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-12-21housekeeping: replace deprecated base_containsMark Asselstine
Fixes: base_contains is deprecated, please use bb.utils.contains instead. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2014-07-17rally: verification subunit2json fail to open result fileVu Tran
Command "rally verify start" gives the following error: TRACE rally File "/usr/lib64/python2.7/site-packages/rally/verification/verifiers/tempest/subunit2json.py", line 113, in stopTestRun TRACE rally with open(self.results_file, 'wb') as results_file: TRACE rally TypeError: coercing to Unicode: need string or buffer, int found For Python 2.x, open() requires a string but not file descriptor number. However for Python 3.x, open() can either accept a string file name of a file descriptor number. So modify code to pass in open() string file name. This should work for both Python 2.x and 3.x Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17rally: sqlalchemy-db missing name for ENUMVu Tran
Command "rally-manage db recreate" gives the following error: TRACE rally File "/usr/lib64/python2.7/site-packages/sqlalchemy/dialects/postgresql/base.py", line 898, in format_type TRACE rally raise exc.CompileError("Postgresql ENUM type requires a name.") TRACE rally CompileError: Postgresql ENUM type requires a name. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17Rally verification to use existing tempestVu Tran
By default, Rally verification requires to do following things: * git clone tempest source from upstream * setup virtualenv for this tempest * setup testr environment with virtualenv above * create tempest.conf for this tempest If tempest is already installed/configured in rootfs then force Rally to use this existing tempest. A new introduced option "existing_tempest_config" in /etc/rally/rally.conf can be used to configure Rally to either use the existing tempest or to download from upstream. If the option "existing_tempest_config" is not set then follows the default path. If existing_tempest_config is set to absolute path of tempest config folder (which contains tempest "tools" and .testr.conf) then Rally uses this existing tempest. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17rally: remove ironic supportVu Tran
OpenStack ironic is not currently supported, so remove any code in rally that invokes ironicclient. Signed-off-by: Vu Tran <vu.tran@windriver.com>
2014-07-17introduce openstack Rally componentVu Tran
* Add Rally bb file * Add Rally deployment json config for existing deployment * Add task example * To use custom Rally config file Signed-off-by: Vu Tran <vu.tran@windriver.com>