summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-rally_git.bb
Commit message (Collapse)AuthorAgeFilesLines
* 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>