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