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