settingsLogin | Registersettings

[openstack-qa] tempest

0 votes

Hey, I would like to get help with Tempest, Ive been setting tempest up for testing my openstack server, I've been using testr to run the tests but I need some help to figure out stuff on the "tempest.config" file, for example, at the compute section, what "ID" do i need to write in the "image_ref" row?
is there any other manual or some help docs for tempest other than "http://docs.openstack.org/developer/tempest/configuration.html#tempest-configuration" ?
any other full explanation of "tempest.config" file?
thanks


openstack-qa mailing list
openstack-qa@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa
asked Jul 30, 2015 in openstack-qa by Gil_Halperin (160 points)  

3 Responses

0 votes

Hi, There is my configuration file:

[DEFAULT]
lockpath=/var/lock/tempest
log
dir=/var/log/tempest

[cli]
enabled=true
clidir=/usr/bin
has
manage=false

[compute]
imageref=b53bf015-ad14-4daf-ae54-496d2b69c1d3
image
ref_alt=b53bf015-ad14-4daf-ae54-496d2b69c1d3

flavorref=871a7187-e630-44e4-94a0-96b692e520df
flavor
ref_alt=3a176f86-3cb7-42d5-bc71-6e385172a903

buildtimeout=600
run
ssh=false
sshauthmethod=disabled
sshconnectmethod=floating
ipversionforssh=4
use
floatingipforssh=false
allowtenantisolation=True

[compute-admin]
username=admin
tenant_name=admin
password=******

[compute-feature-enabled]
apiv3=false
change
password=false
consoleoutput=false
resize = true
pause = false
shelve=false
live
migration=false
snapshot = false

[dashboard]
dashboardurl=http://10.18.5.149/
login
url=http://10.18.5.149/auth/login/

[identity]
authversion = v2
admin
domainname = Default
admin
tenantid = 8732aeea845543e9a5981e1a6d758512
admin
tenantname = admin
admin
password = ******
adminusername = admin
alt
tenantname = altdemo
altpassword = ******
alt
username = altdemo
tenant
name = demo
password = ******
username = demo
uri_v3 = http://10.18.5.149:5000/v3/
uri = http://10.18.5.149:5000/v2.0/

[identity-feature-enabled]
trust=true
apiv2=true
api
v3=False

[network]

default_network = 10.0.0.0/24

publicrouterid =

publicnetworkid = 663d43bc-461e-4c3e-bed8-384fa2ae8aff
tenantnetworksreachable = false
api_version = 2.0

[network-feature-enabled]
apiextensions = allowed-address-pairs,ext-gw-mode,binding,quotas,agent,dhcpagentscheduler,provider,external-net,extradhcpopt,l3agent_scheduler,router,extraroute

api_extensions=all

ipv6subnetattributes = False
ipv6 = False

[service_available]
neutron = True
heat = False
ceilometer = False
swift = False
cinder = False
nova = True
glance = True
horizon = True

you can get image_ref id from horizon or use command line “nova image-list”.

发件人: Gil Halperin [mailto:GiHalperin@advaoptical.com]
发送时间: 2015年7月30日 15:41
收件人: openstack-qa@lists.openstack.org
主题: [openstack-qa] tempest

Hey, I would like to get help with Tempest, Ive been setting tempest up for testing my openstack server, I've been using testr to run the tests but I need some help to figure out stuff on the “tempest.config” file, for example, at the compute section, what "ID" do i need to write in the "image_ref" row?
is there any other manual or some help docs for tempest other than "http://docs.openstack.org/developer/tempest/configuration.html#tempest-configuration" ?
any other full explanation of “tempest.config” file?
thanks


openstack-qa mailing list
openstack-qa@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa
responded Jul 30, 2015 by wh王昊(IT) (140 points)  
0 votes

Hi,

please note that the openstack-qa distribution list is not used anywhere, we only keep it for periodic tests notifications.
You should use openstack-dev instead.

Documentation is available at [0] and in the sample file [1].
Tempest configuration is uploaded to logs after each CI job - see for instance [2].
You can use that to see how tempest is configured for different jobs and/or different branches.

You can also activate the tempest service in devstack, and you will get a functional tempest.conf in there based on your devstack setup.

hth

andrea

[0] http://docs.openstack.org/developer/tempest
[1] http://git.openstack.org/cgit/openstack/tempest/tree/etc/tempest.conf.sample
[2] http://logs.openstack.org/43/206643/2/check/gate-tempest-dsvm-full/37261f2/logs/tempest_conf.txt.gz

On 30 Jul 2015, at 08:58, wh王昊(IT) w_hao@Ctrip.com wrote:

Hi, There is my configuration file:

[DEFAULT]
lockpath=/var/lock/tempest
log
dir=/var/log/tempest

[cli]
enabled=true
clidir=/usr/bin
has
manage=false

[compute]
imageref=b53bf015-ad14-4daf-ae54-496d2b69c1d3
image
ref_alt=b53bf015-ad14-4daf-ae54-496d2b69c1d3

flavorref=871a7187-e630-44e4-94a0-96b692e520df
flavor
ref_alt=3a176f86-3cb7-42d5-bc71-6e385172a903

buildtimeout=600
run
ssh=false
sshauthmethod=disabled
sshconnectmethod=floating
ipversionforssh=4
use
floatingipforssh=false
allowtenantisolation=True

[compute-admin]
username=admin
tenant_name=admin
password=******

[compute-feature-enabled]
apiv3=false
change
password=false
consoleoutput=false
resize = true
pause = false
shelve=false
live
migration=false
snapshot = false

[dashboard]
dashboardurl=http://10.18.5.149/
login
url=http://10.18.5.149/auth/login/

[identity]
authversion = v2
admin
domainname = Default
admin
tenantid = 8732aeea845543e9a5981e1a6d758512
admin
tenantname = admin
admin
password = ******
adminusername = admin
alt
tenantname = altdemo
altpassword = ******
alt
username = altdemo
tenant
name = demo
password = ******
username = demo
uri_v3 = http://10.18.5.149:5000/v3/
uri = http://10.18.5.149:5000/v2.0/

[identity-feature-enabled]
trust=true
apiv2=true
api
v3=False

[network]

default_network = 10.0.0.0/24

publicrouterid =

publicnetworkid = 663d43bc-461e-4c3e-bed8-384fa2ae8aff
tenantnetworksreachable = false
api_version = 2.0

[network-feature-enabled]
apiextensions = allowed-address-pairs,ext-gw-mode,binding,quotas,agent,dhcpagentscheduler,provider,external-net,extradhcpopt,l3agent_scheduler,router,extraroute

api_extensions=all

ipv6subnetattributes = False
ipv6 = False

[service_available]
neutron = True
heat = False
ceilometer = False
swift = False
cinder = False
nova = True
glance = True
horizon = True

you can get image_ref id from horizon or use command line “nova image-list”.

发件人: Gil Halperin [mailto:GiHalperin@advaoptical.com]
发送时间: 2015年7月30日 15:41
收件人: openstack-qa@lists.openstack.org
主题: [openstack-qa] tempest

Hey, I would like to get help with Tempest, Ive been setting tempest up for testing my openstack server, I've been using testr to run the tests but I need some help to figure out stuff on the “tempest.config” file, for example, at the compute section, what "ID" do i need to write in the "image_ref" row?
is there any other manual or some help docs for tempest other than "http://docs.openstack.org/developer/tempest/configuration.html#tempest-configuration" ?
any other full explanation of “tempest.config” file?
thanks


openstack-qa mailing list
openstack-qa@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa


OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
responded Jul 30, 2015 by Frittoli,_Andrea_(HP (840 points)   2
0 votes

Hi Gil,

image_ref= is the image-id for tempest usage .
you can get it by glance image-list command.

Please contact me directly for more questions.

Thanks,
Benny

----- Original Message -----

From: "Gil Halperin" GiHalperin@advaoptical.com
To: openstack-qa@lists.openstack.org
Sent: Thursday, July 30, 2015 10:40:58 AM
Subject: [openstack-qa] tempest

Hey, I would like to get help with Tempest, Ive been setting tempest up for testing my openstack server, I've been using testr to run the tests but I need some help to figure out stuff on the “tempest.config” file, for example, at the compute section, what "ID" do i need to write in the "image_ref" row?

is there any other manual or some help docs for tempest other than "http://docs.openstack.org/developer/tempest/configuration.html#tempest-configuration" ?

any other full explanation of “tempest.config” file?

thanks


openstack-qa mailing list
openstack-qa@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa


openstack-qa mailing list
openstack-qa@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa
responded Jul 30, 2015 by Benny_Kopilov (140 points)  
...