## Setting Up Tempest These steps are after you clone the tempest-VM and try to configure your environment. ### Installation 1. Create a public network on OpenStack. - Login as admin. Then go to Admin->Networks->Create Network - Give some name, select project as "admin", provider network type as "flat" and select "external network". Leave other things as it is. - Once its created, click on the network and add a subnet to it. Use any subnet range you want. 1. Create a demo tenant and demo user with some password. 1. Edit `/etc/tempest.conf` file: ```shell [auth] default_credentials_domain_name= # Source /root/keystonerc_admin # openstack endpoint list <--- Get the region-name from here admin_tenant_name= admin_password= image_ref_alt = # glance image-list <----- get the id of cirros image region = [dashboard] url = [identity] url = region = [network] region = public_network_id = # neutron net-list <---- get the name of network configured as public ``` ### Running Tests ```shell [root@tempest-xyz tempest]# ./run_tempest.sh -t tempest.api ``` If you get any errors like its unable to find keystone.staging.moc.edu or any DNS resolution error, add this to `/etc/hosts`: ``` ...```shell **Example** : ```shell 10.14.37.207 compute-207.staging.moc.edu keystone.staging.moc.edu nova.staging.moc.edu glance.staging.moc.edu neutron.staging.moc.edu cinder.staging.moc.edu neutron.staging.moc.edu ```