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