summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-rally_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* global: overrides conversionBruce Ashfield2021-07-311-14/+14
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python-rally: satisfy setup.py setup_requiresBabak Sarashki2020-06-051-0/+5
| | | | | | | | 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>
* python: prepare for python3 only configurationBruce Ashfield2020-01-221-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python-*: fixup postinst scriptsMark Asselstine2017-11-151-15/+13
| | | | | | | | | | | | | | | 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>
* housekeeping: replace deprecated base_containsMark Asselstine2016-12-211-1/+1
| | | | | | | | 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>
* rally: verification subunit2json fail to open result fileVu Tran2014-07-171-0/+1
| | | | | | | | | | | | | | | | | | 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>
* rally: sqlalchemy-db missing name for ENUMVu Tran2014-07-171-0/+1
| | | | | | | | | | | 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>
* Rally verification to use existing tempestVu Tran2014-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* rally: remove ironic supportVu Tran2014-07-171-0/+1
| | | | | | | OpenStack ironic is not currently supported, so remove any code in rally that invokes ironicclient. Signed-off-by: Vu Tran <vu.tran@windriver.com>
* introduce openstack Rally componentVu Tran2014-07-171-0/+145
* 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>