Matthew Treinish | f4a9b0f | 2013-07-26 16:58:26 -0400 | [diff] [blame] | 1 | [DEFAULT] |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 2 | #log_config = /opt/stack/tempest/etc/logging.conf.sample |
Attila Fazekas | bfd96e1 | 2013-07-31 17:19:10 +0200 | [diff] [blame] | 3 | |
| 4 | # disable logging to the stderr |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 5 | use_stderr = false |
Attila Fazekas | bfd96e1 | 2013-07-31 17:19:10 +0200 | [diff] [blame] | 6 | |
| 7 | # log file |
| 8 | log_file = tempest.log |
| 9 | |
| 10 | # lock/semaphore base directory |
Matthew Treinish | 07248e5 | 2013-07-26 11:18:44 -0400 | [diff] [blame] | 11 | lock_path=/tmp |
Matthew Treinish | f4a9b0f | 2013-07-26 16:58:26 -0400 | [diff] [blame] | 12 | |
Marc Koderer | b714de5 | 2013-08-08 09:21:46 +0200 | [diff] [blame] | 13 | default_log_levels=tempest.stress=INFO,amqplib=WARN,sqlalchemy=WARN,boto=WARN,suds=INFO,keystone=INFO,eventlet.wsgi.server=WARN |
| 14 | |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 15 | [identity] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 16 | # This section contains configuration options that a variety of Tempest |
| 17 | # test clients use when authenticating with different user/tenant |
| 18 | # combinations |
| 19 | |
chris fattarsi | 8ed39ac | 2012-04-30 14:11:27 -0700 | [diff] [blame] | 20 | # The type of endpoint for a Identity service. Unless you have a |
| 21 | # custom Keystone service catalog implementation, you probably want to leave |
| 22 | # this value as "identity" |
| 23 | catalog_type = identity |
Jay Pipes | cd8eaec | 2013-01-16 21:03:48 -0500 | [diff] [blame] | 24 | # Ignore SSL certificate validation failures? Use when in testing |
| 25 | # environments that have self-signed SSL certs. |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 26 | disable_ssl_certificate_validation = false |
Jay Pipes | 7c88eb2 | 2013-01-16 21:32:43 -0500 | [diff] [blame] | 27 | # URL for where to find the OpenStack Identity API endpoint (Keystone) |
| 28 | uri = http://127.0.0.1:5000/v2.0/ |
Brant Knudson | c7ca334 | 2013-03-28 21:08:50 -0500 | [diff] [blame] | 29 | # URL for where to find the OpenStack V3 Identity API endpoint (Keystone) |
| 30 | uri_v3 = http://127.0.0.1:5000/v3/ |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 31 | # The identity region. Also used as the other services' region name unless |
| 32 | # they are set explicitly. |
K Jonathan Harker | d6ba4b4 | 2012-12-18 13:50:47 -0800 | [diff] [blame] | 33 | region = RegionOne |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 34 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 35 | # This should be the username of a user WITHOUT administrative privileges |
| 36 | username = demo |
| 37 | # The above non-administrative user's password |
| 38 | password = secret |
| 39 | # The above non-administrative user's tenant name |
| 40 | tenant_name = demo |
| 41 | |
| 42 | # This should be the username of an alternate user WITHOUT |
| 43 | # administrative privileges |
| 44 | alt_username = alt_demo |
| 45 | # The above non-administrative user's password |
| 46 | alt_password = secret |
| 47 | # The above non-administrative user's tenant name |
| 48 | alt_tenant_name = alt_demo |
| 49 | |
| 50 | # This should be the username of a user WITH administrative privileges |
| 51 | admin_username = admin |
Maru Newby | 28c1dce | 2013-04-08 20:02:06 +0000 | [diff] [blame] | 52 | # The above administrative user's password |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 53 | admin_password = secret |
Maru Newby | 28c1dce | 2013-04-08 20:02:06 +0000 | [diff] [blame] | 54 | # The above administrative user's tenant name |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 55 | admin_tenant_name = admin |
| 56 | |
Russell Sim | 7f894a5 | 2013-09-13 10:35:21 +1000 | [diff] [blame] | 57 | # The role that is required to administrate keystone. |
| 58 | admin_role = admin |
| 59 | |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 60 | [compute] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 61 | # This section contains configuration options used when executing tests |
| 62 | # against the OpenStack Compute API. |
| 63 | |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 64 | # Allows test cases to create/destroy tenants and users. This option |
| 65 | # enables isolated test cases and better parallel execution, |
| 66 | # but also requires that OpenStack Identity API admin credentials |
| 67 | # are known. |
| 68 | allow_tenant_isolation = true |
| 69 | |
Dan Smith | d6ff6b7 | 2012-08-23 10:29:41 -0700 | [diff] [blame] | 70 | # Allows test cases to create/destroy tenants and users. This option |
| 71 | # enables isolated test cases and better parallel execution, |
| 72 | # but also requires that OpenStack Identity API admin credentials |
| 73 | # are known. |
| 74 | allow_tenant_reuse = true |
| 75 | |
Daryl Walleck | 587385b | 2012-03-03 13:00:26 -0600 | [diff] [blame] | 76 | # Reference data for tests. The ref and ref_alt should be |
| 77 | # distinct images/flavors. |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 78 | image_ref = {$IMAGE_ID} |
| 79 | image_ref_alt = {$IMAGE_ID_ALT} |
| 80 | flavor_ref = 1 |
| 81 | flavor_ref_alt = 2 |
| 82 | |
Ryan Hsu | cb2e125 | 2013-09-03 21:44:49 -0700 | [diff] [blame] | 83 | # User name used to authenticate to an instance |
Maru Newby | af292e8 | 2013-05-20 21:32:28 +0000 | [diff] [blame] | 84 | image_ssh_user = root |
Ryan Hsu | cb2e125 | 2013-09-03 21:44:49 -0700 | [diff] [blame] | 85 | |
| 86 | # Password used to authenticate to an instance |
| 87 | image_ssh_password = password |
| 88 | |
| 89 | # User name used to authenticate to an instance using the alternate image |
Maru Newby | af292e8 | 2013-05-20 21:32:28 +0000 | [diff] [blame] | 90 | image_alt_ssh_user = root |
| 91 | |
Ryan Hsu | cb2e125 | 2013-09-03 21:44:49 -0700 | [diff] [blame] | 92 | # Password used to authenticate to an instance using the alternate image |
| 93 | image_alt_ssh_password = password |
| 94 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 95 | # 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] | 96 | # instance that is building. |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 97 | build_interval = 10 |
| 98 | |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 99 | # Number of seconds to time out on waiting for an instance |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 100 | # to build or reach an expected status |
| 101 | build_timeout = 600 |
| 102 | |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 103 | # Run additional tests that use SSH for instance validation? |
| 104 | # This requires the instances be routable from the host |
| 105 | # executing the tests |
| 106 | run_ssh = false |
| 107 | |
Ryan Hsu | cb2e125 | 2013-09-03 21:44:49 -0700 | [diff] [blame] | 108 | # Name of a user used to authenticate to an instance. |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 109 | ssh_user = cirros |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 110 | |
Attila Fazekas | b066165 | 2013-05-08 13:01:36 +0200 | [diff] [blame] | 111 | # Visible fixed network name |
| 112 | fixed_network_name = private |
| 113 | |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 114 | # Network id used for SSH (public, private, etc) |
Matt Riedemann | a80778d | 2013-07-31 03:37:41 -0700 | [diff] [blame] | 115 | network_for_ssh = public |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 116 | |
| 117 | # IP version of the address used for SSH |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 118 | ip_version_for_ssh = 4 |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 119 | |
Nachi Ueno | 6d580be | 2013-07-24 10:58:11 -0700 | [diff] [blame] | 120 | # Number of seconds to wait to ping to an instance |
| 121 | ping_timeout = 60 |
| 122 | |
Daryl Walleck | 6b9b288 | 2012-04-08 21:43:39 -0500 | [diff] [blame] | 123 | # Number of seconds to wait to authenticate to an instance |
| 124 | ssh_timeout = 300 |
| 125 | |
Attila Fazekas | 0abbc95 | 2013-07-01 19:19:42 +0200 | [diff] [blame] | 126 | # Additinal wait time for clean state, when there is |
| 127 | # no OS-EXT-STS extension availiable |
| 128 | ready_wait = 0 |
| 129 | |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 130 | # Number of seconds to wait for output from ssh channel |
| 131 | ssh_channel_timeout = 60 |
| 132 | |
fujioka yuuichi | a11994e | 2013-07-09 11:19:51 +0900 | [diff] [blame] | 133 | # Dose the SSH uses Floating IP? |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 134 | use_floatingip_for_ssh = true |
fujioka yuuichi | a11994e | 2013-07-09 11:19:51 +0900 | [diff] [blame] | 135 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 136 | # The type of endpoint for a Compute API service. Unless you have a |
| 137 | # custom Keystone service catalog implementation, you probably want to leave |
| 138 | # this value as "compute" |
| 139 | catalog_type = compute |
| 140 | |
ivan-zhu | 8f992be | 2013-07-31 14:56:58 +0800 | [diff] [blame] | 141 | # The type of endpoint for a Compute v3 API service. Unless you have a |
| 142 | # custom Keystone service catalog implementation, you probably want to leave |
| 143 | # this value as "computev3" |
| 144 | catalog_v3_type = computev3 |
| 145 | |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 146 | # The name of a region for compute. If empty or commented-out, the value of |
| 147 | # identity.region is used instead. If no such region is found in the service |
| 148 | # catalog, the first found one is used. |
| 149 | #region = RegionOne |
| 150 | |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 151 | # Expected first device name when a volume is attached to an instance |
| 152 | volume_device_name = vdb |
| 153 | |
| 154 | [compute-feature-enabled] |
ivan-zhu | 8f992be | 2013-07-31 14:56:58 +0800 | [diff] [blame] | 155 | # Do we run the Nova V3 API tests? |
Joe Gordon | 277d378 | 2013-11-19 18:55:42 -0800 | [diff] [blame^] | 156 | api_v3 = false |
ivan-zhu | 8f992be | 2013-07-31 14:56:58 +0800 | [diff] [blame] | 157 | |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 158 | # Does the Compute API support creation of images? |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 159 | create_image = true |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 160 | |
David Kranz | 30fe84a | 2012-03-20 16:25:47 -0400 | [diff] [blame] | 161 | # For resize to work with libvirt/kvm, one of the following must be true: |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 162 | # Single node: allow_resize_to_same_host=true must be set in nova.conf |
David Kranz | 30fe84a | 2012-03-20 16:25:47 -0400 | [diff] [blame] | 163 | # Cluster: the 'nova' user must have scp access between cluster nodes |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 164 | resize = true |
Daryl Walleck | e5b83d4 | 2011-11-10 14:39:02 -0600 | [diff] [blame] | 165 | |
David Kranz | f97d5fd | 2012-07-30 13:46:45 -0400 | [diff] [blame] | 166 | # Does the compute API support changing the admin password? |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 167 | change_password = false |
David Kranz | f97d5fd | 2012-07-30 13:46:45 -0400 | [diff] [blame] | 168 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 169 | # Run live migration tests (requires 2 hosts) |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 170 | live_migration = false |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 171 | |
| 172 | # Use block live migration (Otherwise, non-block migration will be |
| 173 | # performed, which requires XenServer pools in case of using XS) |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 174 | block_migration_for_live_migration = false |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 175 | |
Bob Ball | c078be9 | 2013-04-09 14:25:00 +0100 | [diff] [blame] | 176 | # Supports iSCSI block migration - depends on a XAPI supporting |
| 177 | # relax-xsm-sr-check |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 178 | block_migrate_cinder_iscsi = false |
Bob Ball | c078be9 | 2013-04-09 14:25:00 +0100 | [diff] [blame] | 179 | |
Attila Fazekas | 8695073 | 2013-06-08 09:33:08 +0200 | [diff] [blame] | 180 | # When set to false, disk config tests are forced to skip |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 181 | disk_config = true |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 182 | |
Attila Fazekas | 8695073 | 2013-06-08 09:33:08 +0200 | [diff] [blame] | 183 | # When set to false, flavor extra data tests are forced to skip |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 184 | flavor_extra = true |
Ryan Hsu | cb2e125 | 2013-09-03 21:44:49 -0700 | [diff] [blame] | 185 | |
Attila Fazekas | cadcb1f | 2013-01-21 23:10:53 +0100 | [diff] [blame] | 186 | [compute-admin] |
| 187 | # This should be the username of a user WITH administrative privileges |
| 188 | # If not defined the admin user from the identity section will be used |
| 189 | username = |
| 190 | # The above administrative user's password |
| 191 | password = |
| 192 | # The above administrative user's tenant name |
| 193 | tenant_name = |
Armando Migliaccio | b8cc220 | 2012-12-12 17:20:51 +0000 | [diff] [blame] | 194 | |
Eoghan Glynn | 4b10c7c | 2012-03-01 13:13:35 -0500 | [diff] [blame] | 195 | [image] |
Jay Pipes | 3f981df | 2012-03-27 18:59:44 -0400 | [diff] [blame] | 196 | # This section contains configuration options used when executing tests |
| 197 | # against the OpenStack Images API |
| 198 | |
Jay Pipes | ad6feca | 2012-04-30 15:10:18 -0400 | [diff] [blame] | 199 | # The type of endpoint for an Image API service. Unless you have a |
| 200 | # custom Keystone service catalog implementation, you probably want to leave |
| 201 | # this value as "image" |
| 202 | catalog_type = image |
| 203 | |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 204 | # The name of a region for image. If empty or commented-out, the value of |
| 205 | # identity.region is used instead. If no such region is found in the service |
| 206 | # catalog, the first found one is used. |
| 207 | #region = RegionOne |
| 208 | |
Sean Dague | 8340199 | 2013-05-06 17:46:36 -0400 | [diff] [blame] | 209 | # HTTP image to use for glance http image testing |
| 210 | http_image = http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz |
| 211 | |
Matthew Treinish | 2b5287d | 2013-10-22 17:40:34 +0000 | [diff] [blame] | 212 | [image-feature-enabled] |
| 213 | # Is the image api_v1 enabled |
| 214 | api_v1 = True |
| 215 | # Is the image api_v2 enabled |
| 216 | api_v2 = True |
| 217 | |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 218 | [network] |
| 219 | # This section contains configuration options used when executing tests |
| 220 | # against the OpenStack Network API. |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 221 | |
Mark McClain | f2982e8 | 2013-07-06 17:48:03 -0400 | [diff] [blame] | 222 | # Version of the Neutron API |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 223 | api_version = v1.1 |
Mark McClain | f2982e8 | 2013-07-06 17:48:03 -0400 | [diff] [blame] | 224 | # Catalog type of the Neutron Service |
Unmesh Gurjar | 4498683 | 2012-05-08 19:57:10 +0530 | [diff] [blame] | 225 | catalog_type = network |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 226 | |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 227 | # The name of a region for network. If empty or commented-out, the value of |
| 228 | # identity.region is used instead. If no such region is found in the service |
| 229 | # catalog, the first found one is used. |
| 230 | #region = RegionOne |
| 231 | |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 232 | # A large private cidr block from which to allocate smaller blocks for |
| 233 | # tenant networks. |
| 234 | tenant_network_cidr = 10.100.0.0/16 |
| 235 | |
| 236 | # The mask bits used to partition the tenant block. |
Miguel Lavalle | b8fabc5 | 2013-08-23 11:19:57 -0500 | [diff] [blame] | 237 | tenant_network_mask_bits = 24 |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 238 | |
| 239 | # If tenant networks are reachable, connectivity checks will be |
| 240 | # performed directly against addresses on those networks. |
| 241 | tenant_networks_reachable = false |
| 242 | |
| 243 | # Id of the public network that provides external connectivity. |
Maru Newby | 22ec5d9 | 2012-12-19 02:57:04 +0000 | [diff] [blame] | 244 | public_network_id = {$PUBLIC_NETWORK_ID} |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 245 | |
| 246 | # Id of a shared public router that provides external connectivity. |
| 247 | # A shared public router would commonly be used where IP namespaces |
| 248 | # were disabled. If namespaces are enabled, it would be preferable |
| 249 | # for each tenant to have their own router. |
Maru Newby | 22ec5d9 | 2012-12-19 02:57:04 +0000 | [diff] [blame] | 250 | public_router_id = {$PUBLIC_ROUTER_ID} |
Maru Newby | 81f07a0 | 2012-09-05 20:21:19 -0700 | [diff] [blame] | 251 | |
Dan Smith | d6c1f88 | 2013-02-26 15:50:11 -0500 | [diff] [blame] | 252 | |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 253 | [volume] |
Joe Gordon | 979da33 | 2012-11-27 11:46:59 -0800 | [diff] [blame] | 254 | # This section contains the configuration options used when executing tests |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 255 | # against the OpenStack Block Storage API service |
| 256 | |
| 257 | # The type of endpoint for a Cinder or Block Storage API service. |
| 258 | # Unless you have a custom Keystone service catalog implementation, you |
| 259 | # probably want to leave this value as "volume" |
| 260 | catalog_type = volume |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 261 | # The name of a region for volume. If empty or commented-out, the value of |
| 262 | # identity.region is used instead. If no such region is found in the service |
| 263 | # catalog, the first found one is used. |
| 264 | #region = RegionOne |
Ryan Hsu | a67f463 | 2013-08-29 16:03:06 -0700 | [diff] [blame] | 265 | # The disk format to use when copying a volume to image |
| 266 | disk_format = raw |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 267 | # Number of seconds to wait while looping to check the status of a |
| 268 | # volume that is being made available |
| 269 | build_interval = 10 |
| 270 | # Number of seconds to time out on waiting for a volume |
| 271 | # to be available or reach an expected status |
| 272 | build_timeout = 300 |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 273 | # If multi_backend is enabled there must be 2 volume_backend_names ( |
| 274 | # backend1_name and backend2_name) which have to be different) |
Giulio Fidente | f4fa894 | 2013-05-28 18:48:03 +0200 | [diff] [blame] | 275 | backend1_name = BACKEND_1 |
| 276 | backend2_name = BACKEND_2 |
Adam Gandelman | 827ad33 | 2013-06-24 17:04:09 -0700 | [diff] [blame] | 277 | # Protocol and vendor of volume backend to target when testing volume-types. |
| 278 | # You should update to reflect those exported by configured backend driver. |
| 279 | storage_protocol = iSCSI |
| 280 | vendor_name = Open Source |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 281 | |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 282 | [volume-feature-enabled] |
| 283 | #Runs Cinder multi-backend tests (requires 2 backends declared in cinder.conf) |
| 284 | multi_backend = false |
| 285 | |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 286 | [object-storage] |
| 287 | # This section contains configuration options used when executing tests |
| 288 | # against the OpenStack Object Storage API. |
Attila Fazekas | 9492d35 | 2012-12-04 13:55:58 +0100 | [diff] [blame] | 289 | |
| 290 | # You can configure the credentials in the compute section |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 291 | |
| 292 | # The type of endpoint for an Object Storage API service. Unless you have a |
| 293 | # custom Keystone service catalog implementation, you probably want to leave |
| 294 | # this value as "object-store" |
| 295 | catalog_type = object-store |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 296 | |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 297 | # The name of a region for object storage. If empty or commented-out, the |
| 298 | # value of identity.region is used instead. If no such region is found in |
| 299 | # the service catalog, the first found one is used. |
| 300 | #region = RegionOne |
| 301 | |
nayna-patel | b4989b3 | 2013-01-09 06:25:13 +0000 | [diff] [blame] | 302 | # Number of seconds to time on waiting for a container to container |
| 303 | # synchronization complete |
| 304 | container_sync_timeout = 120 |
| 305 | # Number of seconds to wait while looping to check the status of a |
| 306 | # container to container synchronization |
| 307 | container_sync_interval = 5 |
K Jonathan Harker | d6ba4b4 | 2012-12-18 13:50:47 -0800 | [diff] [blame] | 308 | |
Matthew Treinish | 3fdb80c | 2013-08-15 11:13:19 -0400 | [diff] [blame] | 309 | # Set operator role for tests that require creating a container |
| 310 | operator_role = Member |
| 311 | |
Matthew Treinish | d5c9602 | 2013-10-17 21:51:23 +0000 | [diff] [blame] | 312 | [object-feature-enabled] |
| 313 | # Set to True if the Account Quota middleware is enabled |
| 314 | accounts_quotas = True |
| 315 | # Set to True if the Container Quota middleware is enabled |
| 316 | container_quotas = True |
| 317 | |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 318 | [boto] |
| 319 | # This section contains configuration options used when executing tests |
| 320 | # with boto. |
| 321 | |
| 322 | # EC2 URL |
| 323 | ec2_url = http://localhost:8773/services/Cloud |
| 324 | # S3 URL |
| 325 | s3_url = http://localhost:3333 |
| 326 | |
| 327 | # Use keystone ec2-* command to get those values for your test user and tenant |
| 328 | aws_access = |
| 329 | aws_secret = |
| 330 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 331 | # Image materials for S3 upload |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 332 | # ALL content of the specified directory will be uploaded to S3 |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 333 | 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] | 334 | |
| 335 | # The manifest.xml files, must be in the s3_materials_path directory |
| 336 | # Subdirectories not allowed! |
| 337 | # The filenames will be used as a Keys in the S3 Buckets |
| 338 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 339 | # ARI Ramdisk manifest. Must be in the above s3_materials_path |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 340 | ari_manifest = cirros-0.3.1-x86_64-initrd.manifest.xml |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 341 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 342 | # AMI Machine Image manifest. Must be in the above s3_materials_path |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 343 | ami_manifest = cirros-0.3.1-x86_64-blank.img.manifest.xml |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 344 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 345 | # AKI Kernel Image manifest, Must be in the above s3_materials_path |
Chris Yeoh | 7691604 | 2013-02-27 16:25:25 +1030 | [diff] [blame] | 346 | aki_manifest = cirros-0.3.1-x86_64-vmlinuz.manifest.xml |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 347 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 348 | # Instance type |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 349 | instance_type = m1.tiny |
| 350 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 351 | # TCP/IP connection timeout |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 352 | http_socket_timeout = 5 |
| 353 | |
Attila Fazekas | c3a095b | 2013-08-17 09:15:44 +0200 | [diff] [blame] | 354 | # Number of retries actions on connection or 5xx error |
Attila Fazekas | f7f2d93 | 2012-12-13 09:14:38 +0100 | [diff] [blame] | 355 | num_retries = 1 |
| 356 | |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 357 | # Status change wait timout |
| 358 | build_timeout = 120 |
| 359 | |
| 360 | # Status change wait interval |
| 361 | build_interval = 1 |
Steve Baker | c60e4e3 | 2013-05-06 15:22:41 +1200 | [diff] [blame] | 362 | |
| 363 | [orchestration] |
Arata Notsu | 8f44039 | 2013-09-13 16:14:20 +0900 | [diff] [blame] | 364 | # The type of endpoint for an Orchestration API service. Unless you have a |
| 365 | # custom Keystone service catalog implementation, you probably want to leave |
| 366 | # this value as "orchestration" |
| 367 | catalog_type = orchestration |
| 368 | |
| 369 | # The name of a region for orchestration. If empty or commented-out, the value |
| 370 | # of identity.region is used instead. If no such region is found in the service |
| 371 | # catalog, the first found one is used. |
| 372 | #region = RegionOne |
| 373 | |
Steve Baker | c60e4e3 | 2013-05-06 15:22:41 +1200 | [diff] [blame] | 374 | # Status change wait interval |
| 375 | build_interval = 1 |
| 376 | |
| 377 | # Status change wait timout. This may vary across environments as some some |
| 378 | # tests spawn full VMs, which could be slow if the test is already in a VM. |
| 379 | build_timeout = 300 |
| 380 | |
Steve Baker | c60e4e3 | 2013-05-06 15:22:41 +1200 | [diff] [blame] | 381 | # Instance type for tests. Needs to be big enough for a |
| 382 | # full OS plus the test workload |
Steve Baker | 9e86b83 | 2013-05-22 15:40:28 +1200 | [diff] [blame] | 383 | instance_type = m1.micro |
Steve Baker | c60e4e3 | 2013-05-06 15:22:41 +1200 | [diff] [blame] | 384 | |
| 385 | # Name of heat-cfntools enabled image to use when launching test instances |
| 386 | # If not specified, tests that spawn instances will not run |
| 387 | #image_ref = ubuntu-vm-heat-cfntools |
| 388 | |
| 389 | # Name of existing keypair to launch servers with. The default is not to specify |
| 390 | # any key, which will generate a keypair for each test class |
| 391 | #keypair_name = heat_key |
Masayuki Igawa | 73d9f3a | 2013-05-24 10:30:01 +0900 | [diff] [blame] | 392 | |
Julie Pichon | d101764 | 2013-07-24 16:37:23 +0100 | [diff] [blame] | 393 | [dashboard] |
| 394 | # URL where to find the dashboard home page |
| 395 | dashboard_url = 'http://localhost/' |
| 396 | |
| 397 | # URL where to submit the login form |
| 398 | login_url = 'http://localhost/auth/login/' |
| 399 | |
Masayuki Igawa | 73d9f3a | 2013-05-24 10:30:01 +0900 | [diff] [blame] | 400 | [scenario] |
| 401 | # Directory containing image files |
| 402 | img_dir = /opt/stack/new/devstack/files/images/cirros-0.3.1-x86_64-uec |
| 403 | |
| 404 | # AMI image file name |
| 405 | ami_img_file = cirros-0.3.1-x86_64-blank.img |
| 406 | |
| 407 | # ARI image file name |
| 408 | ari_img_file = cirros-0.3.1-x86_64-initrd |
| 409 | |
| 410 | # AKI image file name |
| 411 | aki_img_file = cirros-0.3.1-x86_64-vmlinuz |
| 412 | |
| 413 | # ssh username for the image file |
| 414 | ssh_user = cirros |
Attila Fazekas | 8695073 | 2013-06-08 09:33:08 +0200 | [diff] [blame] | 415 | |
Joe Gordon | b5e10cd | 2013-07-10 15:51:12 +0000 | [diff] [blame] | 416 | # specifies how many resources to request at once. Used for large operations |
| 417 | # testing." |
| 418 | large_ops_number = 0 |
| 419 | |
Mikhail S Medvedev | 13168d0 | 2013-06-24 16:13:40 -0500 | [diff] [blame] | 420 | [cli] |
Attila Fazekas | 8695073 | 2013-06-08 09:33:08 +0200 | [diff] [blame] | 421 | # Enable cli tests |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 422 | enabled = true |
Attila Fazekas | 8695073 | 2013-06-08 09:33:08 +0200 | [diff] [blame] | 423 | # directory where python client binaries are located |
Mikhail S Medvedev | 13168d0 | 2013-06-24 16:13:40 -0500 | [diff] [blame] | 424 | cli_dir = /usr/local/bin |
Matt Riedemann | ab038c9 | 2013-08-06 06:56:48 -0700 | [diff] [blame] | 425 | # Number of seconds to wait on a CLI timeout |
| 426 | timeout = 15 |
Matthew Treinish | 4c41292 | 2013-07-16 15:27:42 -0400 | [diff] [blame] | 427 | |
| 428 | [service_available] |
| 429 | # Whether or not cinder is expected to be available |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 430 | cinder = true |
Matthew Treinish | faa340d | 2013-07-19 16:26:21 -0400 | [diff] [blame] | 431 | # Whether or not neutron is expected to be available |
| 432 | neutron = false |
Matthew Treinish | 853ae44 | 2013-07-19 16:36:07 -0400 | [diff] [blame] | 433 | # Whether or not glance is expected to be available |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 434 | glance = true |
Matthew Treinish | 61e332b | 2013-07-19 16:42:31 -0400 | [diff] [blame] | 435 | # Whether or not swift is expected to be available |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 436 | swift = true |
Matthew Treinish | 6b41e24 | 2013-07-19 16:49:28 -0400 | [diff] [blame] | 437 | # Whether or not nova is expected to be available |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 438 | nova = true |
Matthew Treinish | a9d4388 | 2013-07-19 16:54:52 -0400 | [diff] [blame] | 439 | # Whether or not Heat is expected to be available |
| 440 | heat = false |
Mehdi Abaakouk | 8581c0b | 2013-10-04 10:45:42 +0200 | [diff] [blame] | 441 | # Whether or not Ceilometer is expected to be available |
| 442 | ceilometer = True |
Julie Pichon | d101764 | 2013-07-24 16:37:23 +0100 | [diff] [blame] | 443 | # Whether or not horizon is expected to be available |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 444 | horizon = true |
Marc Koderer | 32221b8e | 2013-08-23 13:57:50 +0200 | [diff] [blame] | 445 | |
| 446 | [stress] |
| 447 | # Maximum number of instances to create during test |
| 448 | max_instances = 32 |
| 449 | # Time (in seconds) between log file error checks |
| 450 | log_check_interval = 60 |
| 451 | # The default number of threads created while stress test |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 452 | default_thread_number_per_action = 4 |
Attila Fazekas | aeeeefd | 2013-08-06 17:01:56 +0200 | [diff] [blame] | 453 | |
| 454 | [debug] |
| 455 | # Enable diagnostic commands |
Attila Fazekas | d7bab66 | 2013-10-17 16:11:55 +0200 | [diff] [blame] | 456 | enable = true |