Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 1 | [identity] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 2 | # This section contains configuration options that a variety of Tempest |
| 3 | # test clients use when authenticating with different user/tenant |
| 4 | # combinations |
| 5 | |
chris fattarsi | 8ed39ac | 2012-04-30 14:11:27 -0700 | [diff] [blame] | 6 | # The type of endpoint for a Identity service. Unless you have a |
| 7 | # custom Keystone service catalog implementation, you probably want to leave |
| 8 | # this value as "identity" |
| 9 | catalog_type = identity |
Jay Pipes | cd8eaec | 2013-01-16 21:03:48 -0500 | [diff] [blame] | 10 | # Ignore SSL certificate validation failures? Use when in testing |
| 11 | # environments that have self-signed SSL certs. |
| 12 | disable_ssl_certificate_validation = False |
Jay Pipes | 7c88eb2 | 2013-01-16 21:32:43 -0500 | [diff] [blame] | 13 | # URL for where to find the OpenStack Identity API endpoint (Keystone) |
| 14 | uri = http://127.0.0.1:5000/v2.0/ |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 15 | # Should typically be left as keystone unless you have a non-Keystone |
| 16 | # authentication API service |
| 17 | strategy = keystone |
K Jonathan Harker | d6ba4b4 | 2012-12-18 13:50:47 -0800 | [diff] [blame] | 18 | # The identity region |
| 19 | region = RegionOne |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 20 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 21 | # This should be the username of a user WITHOUT administrative privileges |
| 22 | username = demo |
| 23 | # The above non-administrative user's password |
| 24 | password = secret |
| 25 | # The above non-administrative user's tenant name |
| 26 | tenant_name = demo |
| 27 | |
| 28 | # This should be the username of an alternate user WITHOUT |
| 29 | # administrative privileges |
| 30 | alt_username = alt_demo |
| 31 | # The above non-administrative user's password |
| 32 | alt_password = secret |
| 33 | # The above non-administrative user's tenant name |
| 34 | alt_tenant_name = alt_demo |
| 35 | |
| 36 | # This should be the username of a user WITH administrative privileges |
| 37 | admin_username = admin |
| 38 | # The above non-administrative user's password |
| 39 | admin_password = secret |
| 40 | # The above non-administrative user's tenant name |
| 41 | admin_tenant_name = admin |
| 42 | |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 43 | [compute] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 44 | # This section contains configuration options used when executing tests |
| 45 | # against the OpenStack Compute API. |
| 46 | |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 47 | # Allows test cases to create/destroy tenants and users. This option |
| 48 | # enables isolated test cases and better parallel execution, |
| 49 | # but also requires that OpenStack Identity API admin credentials |
| 50 | # are known. |
| 51 | allow_tenant_isolation = true |
| 52 | |
Dan Smith | d6ff6b7 | 2012-08-23 10:29:41 -0700 | [diff] [blame] | 53 | # Allows test cases to create/destroy tenants and users. This option |
| 54 | # enables isolated test cases and better parallel execution, |
| 55 | # but also requires that OpenStack Identity API admin credentials |
| 56 | # are known. |
| 57 | allow_tenant_reuse = true |
| 58 | |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 59 | # Reference data for tests. The ref and ref_alt should be |
| 60 | # distinct images/flavors. |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 61 | image_ref = {$IMAGE_ID} |
| 62 | image_ref_alt = {$IMAGE_ID_ALT} |
| 63 | flavor_ref = 1 |
| 64 | flavor_ref_alt = 2 |
| 65 | |
| 66 | # Number of seconds to wait while looping to check the status of an |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 67 | # instance that is building. |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 68 | build_interval = 10 |
| 69 | |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 70 | # Number of seconds to time out on waiting for an instance |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 71 | # to build or reach an expected status |
| 72 | build_timeout = 600 |
| 73 | |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 74 | # Run additional tests that use SSH for instance validation? |
| 75 | # This requires the instances be routable from the host |
| 76 | # executing the tests |
| 77 | run_ssh = false |
| 78 | |
| 79 | # Name of a user used to authenticated to an instance |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 80 | ssh_user = cirros |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 81 | |
| 82 | # Network id used for SSH (public, private, etc) |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 83 | network_for_ssh = private |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 84 | |
| 85 | # IP version of the address used for SSH |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 86 | ip_version_for_ssh = 4 |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 87 | |
| 88 | # Number of seconds to wait to authenticate to an instance |
| 89 | ssh_timeout = 300 |
| 90 | |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 91 | # Number of seconds to wait for output from ssh channel |
| 92 | ssh_channel_timeout = 60 |
| 93 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 94 | # The type of endpoint for a Compute API service. Unless you have a |
| 95 | # custom Keystone service catalog implementation, you probably want to leave |
| 96 | # this value as "compute" |
| 97 | catalog_type = compute |
| 98 | |
| 99 | # Does the Compute API support creation of images? |
| 100 | create_image_enabled = true |
| 101 | |
David Kranz | 30fe84a | 2012-03-20 16:25:47 -0400 | [diff] [blame] | 102 | # For resize to work with libvirt/kvm, one of the following must be true: |
| 103 | # Single node: allow_resize_to_same_host=True must be set in nova.conf |
| 104 | # Cluster: the 'nova' user must have scp access between cluster nodes |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 105 | resize_available = true |
Daryl Walleck | e5b83d4 | 2011-11-10 14:39:02 -0600 | [diff] [blame] | 106 | |
David Kranz | f97d5fd | 2012-07-30 13:46:45 -0400 | [diff] [blame] | 107 | # Does the compute API support changing the admin password? |
| 108 | change_password_available=true |
| 109 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 110 | # Run live migration tests (requires 2 hosts) |
| 111 | live_migration_available = false |
| 112 | |
| 113 | # Use block live migration (Otherwise, non-block migration will be |
| 114 | # performed, which requires XenServer pools in case of using XS) |
| 115 | use_block_migration_for_live_migration = false |
| 116 | |
| 117 | # By default, rely on the status of the diskConfig extension to |
| 118 | # decide if to execute disk config tests. When set to false, tests |
| 119 | # are forced to skip, regardless of the extension status |
| 120 | disk_config_enabled_override = true |
| 121 | |
Attila Fazekas | 3ca1fb3 | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 122 | |
| 123 | [whitebox] |
| 124 | # Whitebox options for compute. Whitebox options enable the |
| 125 | # whitebox test cases, which look at internal Nova database state, |
| 126 | # SSH into VMs to check instance state, etc. |
| 127 | |
Jay Pipes | 051075a | 2012-04-28 17:39:37 -0400 | [diff] [blame] | 128 | # Should we run whitebox tests for Compute? |
| 129 | whitebox_enabled = true |
| 130 | |
| 131 | # Path of nova source directory |
| 132 | source_dir = /opt/stack/nova |
| 133 | |
| 134 | # Path of nova configuration file |
| 135 | config_path = /etc/nova/nova.conf |
| 136 | |
| 137 | # Directory containing nova binaries such as nova-manage |
| 138 | bin_dir = /usr/local/bin |
| 139 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 140 | # Connection string to the database of Compute service |
| 141 | db_uri = mysql://nova:secret@localhost/nova |
| 142 | |
Jay Pipes | 051075a | 2012-04-28 17:39:37 -0400 | [diff] [blame] | 143 | # Path to a private key file for SSH access to remote hosts |
| 144 | path_to_private_key = /home/user/.ssh/id_rsa |
| 145 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 146 | [compute-admin] |
| 147 | # This should be the username of a user WITH administrative privileges |
| 148 | # If not defined the admin user from the identity section will be used |
| 149 | username = |
| 150 | # The above administrative user's password |
| 151 | password = |
| 152 | # The above administrative user's tenant name |
| 153 | tenant_name = |
Armando Migliaccio | b8cc220 | 2012-12-12 17:20:51 +0000 | [diff] [blame] | 154 | |
Eoghan Glynn | 4b10c7c | 2012-03-01 13:13:35 -0500 | [diff] [blame] | 155 | [image] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 156 | # This section contains configuration options used when executing tests |
| 157 | # against the OpenStack Images API |
| 158 | |
Jay Pipes | ad6feca | 2012-04-30 15:10:18 -0400 | [diff] [blame] | 159 | # The type of endpoint for an Image API service. Unless you have a |
| 160 | # custom Keystone service catalog implementation, you probably want to leave |
| 161 | # this value as "image" |
| 162 | catalog_type = image |
| 163 | |
| 164 | # The version of the OpenStack Images API to use |
| 165 | api_version = 1 |
| 166 | |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 167 | [network] |
| 168 | # This section contains configuration options used when executing tests |
| 169 | # against the OpenStack Network API. |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 170 | |
| 171 | # Version of the Quantum API |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 172 | api_version = v1.1 |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 173 | # Catalog type of the Quantum Service |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 174 | catalog_type = network |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 175 | |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 176 | # A large private cidr block from which to allocate smaller blocks for |
| 177 | # tenant networks. |
| 178 | tenant_network_cidr = 10.100.0.0/16 |
| 179 | |
| 180 | # The mask bits used to partition the tenant block. |
Gavin Brebner | 516487b | 2013-03-14 13:43:21 +0000 | [diff] [blame^] | 181 | tenant_network_mask_bits = 28 |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 182 | |
| 183 | # If tenant networks are reachable, connectivity checks will be |
| 184 | # performed directly against addresses on those networks. |
| 185 | tenant_networks_reachable = false |
| 186 | |
| 187 | # Id of the public network that provides external connectivity. |
Maru Newby | 22ec5d9 | 2012-12-19 02:57:04 +0000 | [diff] [blame] | 188 | public_network_id = {$PUBLIC_NETWORK_ID} |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 189 | |
| 190 | # Id of a shared public router that provides external connectivity. |
| 191 | # A shared public router would commonly be used where IP namespaces |
| 192 | # were disabled. If namespaces are enabled, it would be preferable |
| 193 | # for each tenant to have their own router. |
Maru Newby | 22ec5d9 | 2012-12-19 02:57:04 +0000 | [diff] [blame] | 194 | public_router_id = {$PUBLIC_ROUTER_ID} |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 195 | |
Dan Smith | d6c1f88 | 2013-02-26 15:50:11 -0500 | [diff] [blame] | 196 | # Whether or not quantum is expected to be available |
| 197 | quantum_available = false |
| 198 | |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 199 | [volume] |
Joe Gordon | 979da33 | 2012-11-27 11:46:59 -0800 | [diff] [blame] | 200 | # This section contains the configuration options used when executing tests |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 201 | # against the OpenStack Block Storage API service |
| 202 | |
| 203 | # The type of endpoint for a Cinder or Block Storage API service. |
| 204 | # Unless you have a custom Keystone service catalog implementation, you |
| 205 | # probably want to leave this value as "volume" |
| 206 | catalog_type = volume |
| 207 | # Number of seconds to wait while looping to check the status of a |
| 208 | # volume that is being made available |
| 209 | build_interval = 10 |
| 210 | # Number of seconds to time out on waiting for a volume |
| 211 | # to be available or reach an expected status |
| 212 | build_timeout = 300 |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 213 | |
| 214 | [object-storage] |
| 215 | # This section contains configuration options used when executing tests |
| 216 | # against the OpenStack Object Storage API. |
Attila Fazekas | 9492d35 | 2012-12-04 13:55:58 +0100 | [diff] [blame] | 217 | |
| 218 | # You can configure the credentials in the compute section |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 219 | |
| 220 | # The type of endpoint for an Object Storage API service. Unless you have a |
| 221 | # custom Keystone service catalog implementation, you probably want to leave |
| 222 | # this value as "object-store" |
| 223 | catalog_type = object-store |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 224 | |
nayna-patel | b4989b3 | 2013-01-09 06:25:13 +0000 | [diff] [blame] | 225 | # Number of seconds to time on waiting for a container to container |
| 226 | # synchronization complete |
| 227 | container_sync_timeout = 120 |
| 228 | # Number of seconds to wait while looping to check the status of a |
| 229 | # container to container synchronization |
| 230 | container_sync_interval = 5 |
K Jonathan Harker | d6ba4b4 | 2012-12-18 13:50:47 -0800 | [diff] [blame] | 231 | |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 232 | [boto] |
| 233 | # This section contains configuration options used when executing tests |
| 234 | # with boto. |
| 235 | |
| 236 | # EC2 URL |
| 237 | ec2_url = http://localhost:8773/services/Cloud |
| 238 | # S3 URL |
| 239 | s3_url = http://localhost:3333 |
| 240 | |
| 241 | # Use keystone ec2-* command to get those values for your test user and tenant |
| 242 | aws_access = |
| 243 | aws_secret = |
| 244 | |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 245 | #Image materials for S3 upload |
| 246 | # ALL content of the specified directory will be uploaded to S3 |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 247 | s3_materials_path = /opt/stack/devstack/files/images/s3-materials/cirros-0.3.1 |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 248 | |
| 249 | # The manifest.xml files, must be in the s3_materials_path directory |
| 250 | # Subdirectories not allowed! |
| 251 | # The filenames will be used as a Keys in the S3 Buckets |
| 252 | |
| 253 | #ARI Ramdisk manifest. Must be in the above s3_materials_path |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 254 | ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 255 | |
| 256 | #AMI Machine Image manifest. Must be in the above s3_materials_path |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 257 | ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 258 | |
| 259 | #AKI Kernel Image manifest, Must be in the above s3_materials_path |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 260 | aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 261 | |
| 262 | #Instance type |
| 263 | instance_type = m1.tiny |
| 264 | |
| 265 | #TCP/IP connection timeout |
| 266 | http_socket_timeout = 5 |
| 267 | |
Attila Fazekas | f7f2d93 | 2012-12-13 09:14:38 +0100 | [diff] [blame] | 268 | #Number of retries actions on connection or 5xx error |
| 269 | num_retries = 1 |
| 270 | |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 271 | # Status change wait timout |
| 272 | build_timeout = 120 |
| 273 | |
| 274 | # Status change wait interval |
| 275 | build_interval = 1 |