[openstack-dev] [openstack-qa] [qa] tempest

Frittoli, Andrea (HP Cloud) frittoli at hp.com
Thu Jul 30 08:52:28 UTC 2015


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 at Ctrip.com<mailto:w_hao at Ctrip.com>> wrote:


Hi, There is my configuration file:

[DEFAULT]
lock_path=/var/lock/tempest
log_dir=/var/log/tempest

[cli]
enabled=true
cli_dir=/usr/bin
has_manage=false


[compute]
image_ref=b53bf015-ad14-4daf-ae54-496d2b69c1d3
image_ref_alt=b53bf015-ad14-4daf-ae54-496d2b69c1d3

flavor_ref=871a7187-e630-44e4-94a0-96b692e520df
flavor_ref_alt=3a176f86-3cb7-42d5-bc71-6e385172a903

build_timeout=600
run_ssh=false
ssh_auth_method=disabled
ssh_connect_method=floating
ip_version_for_ssh=4
use_floatingip_for_ssh=false
allow_tenant_isolation=True


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


[compute-feature-enabled]
api_v3=false
change_password=false
console_output=false
resize = true
pause = false
shelve=false
live_migration=false
snapshot = false


[dashboard]
dashboard_url=http://10.18.5.149/
login_url=http://10.18.5.149/auth/login/


[identity]
auth_version = v2
admin_domain_name = Default
admin_tenant_id = 8732aeea845543e9a5981e1a6d758512
admin_tenant_name = admin
admin_password = ******
admin_username = admin
alt_tenant_name = alt_demo
alt_password = ******
alt_username = alt_demo
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
api_v2=true
api_v3=False


[network]
#default_network = 10.0.0.0/24
#public_router_id =
public_network_id = 663d43bc-461e-4c3e-bed8-384fa2ae8aff
tenant_networks_reachable = false
api_version = 2.0


[network-feature-enabled]
api_extensions = allowed-address-pairs,ext-gw-mode,binding,quotas,agent,dhcp_agent_scheduler,provider,external-net,extra_dhcp_opt,l3_agent_scheduler,router,extraroute
#api_extensions=all
ipv6_subnet_attributes = 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 at advaoptical.com]
发送时间: 2015年7月30日 15:41
收件人: openstack-qa at lists.openstack.org<mailto:openstack-qa at 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 at lists.openstack.org<mailto:openstack-qa at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-qa



More information about the OpenStack-dev mailing list