Change: use environment variable for openrc in SPT

Change-Id: I4f61e0ac061263d249bfa210cc5f165fbfee2471
This commit is contained in:
Dmitrii Kabanov 2017-03-20 15:24:05 -07:00
parent ff8faad8a4
commit 39b8aa8b96
7 changed files with 14 additions and 7 deletions

View File

@ -4,7 +4,7 @@
%global pypi_name timmy
Name: python-%{pypi_name}
Version: 1.26.9
Version: 1.26.10
Release: 1%{?dist}~mos0
Summary: Log collector tool for OpenStack Fuel
@ -107,6 +107,9 @@ popd
%changelog
* Mon Mar 20 2017 Dmitrii Kabanov <dkabanov@mirantis.com> - 1.26.10
- Change: use environment variable for openrc in SPT
* Tue Mar 14 2017 Dmitry Sutyagin <dsutyagin@mirantis.com> - 1.26.9
- Add: collect ceilometer & aodh config
- Fix: add "fuel2 task list" for 10.x series
@ -125,7 +128,7 @@ popd
- Replace yaml.load() with yaml.safe_load()
- Change: minor changes in analyze & rabbitmq module
- Added: stderr for mapping scripts
* Tue Dec 27 2016 Dmitry Sutyagin <dsutyagin@mirantis.com> - 1.26.5
- Change: minor changes in analyze & rabbitmq module
- Add: stderr for mapping scripts

View File

@ -16,7 +16,7 @@
# under the License.
project_name = 'timmy'
version = '1.26.9'
version = '1.26.10'
if __name__ == '__main__':
import sys

View File

@ -5,3 +5,7 @@ rqdir: 'simplified-performance-testing'
timeout: 3600
soft_filter:
no_roles: ['fuel']
#env_vars:
# - 'OPENRC=/root/openrc'
# - 'LC_ALL="C"'
# - 'LANG="C"'

View File

@ -54,7 +54,7 @@ function check_code {
fi
}
. openrc
source $OPENRC
# create keypair
result="$(nova keypair-add "spt-temporary-keypair" >"spt-temporary-keypair" 2>&1)"

View File

@ -2,7 +2,7 @@
set -x
. openrc
source $OPENRC
log='glance-image-upload.log'
rm $log
result="$(dd if=/dev/zero bs=1M count=4000 2>>$log | /usr/bin/time -f%e glance image-create --name "spt-test-image" --container-format bare --disk-format raw 2>>$log)"

View File

@ -2,7 +2,7 @@
set -x
. openrc
source $OPENRC
id=$(glance image-list | grep "spt-test-image" | cut -d' ' -f2)
/usr/bin/time -f%e glance image-download $id 2>&1 > /dev/null
glance image-delete $id

View File

@ -64,7 +64,7 @@ function check_code {
}
. openrc
source $OPENRC
# create keypair
result="$(nova keypair-add "spt-temporary-keypair" >"spt-temporary-keypair" 2>&1)"