Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 1 | [identity] |
| 2 | # This section contains configuration options that a variety of Tempest |
| 3 | # test clients use when authenticating with different user/tenant |
| 4 | # combinations |
| 5 | |
| 6 | # Set to True if your test environment's Keystone authentication service should |
| 7 | # be accessed over HTTPS |
| 8 | use_ssl = %IDENTITY_USE_SSL% |
| 9 | # This is the main host address of the authentication service API |
| 10 | host = %IDENTITY_HOST% |
| 11 | # Port that the authentication service API is running on |
| 12 | port = %IDENTITY_PORT% |
| 13 | # Version of the authentication service API (a string) |
| 14 | api_version = %IDENTITY_API_VERSION% |
| 15 | # Path to the authentication service tokens resource (do not modify unless you |
| 16 | # have a custom authentication API and are not using Keystone) |
| 17 | path = %IDENTITY_PATH% |
| 18 | # Should typically be left as keystone unless you have a non-Keystone |
| 19 | # authentication API service |
| 20 | strategy = %IDENTITY_STRATEGY% |
| 21 | |
| 22 | [compute] |
| 23 | # This section contains configuration options used when executing tests |
| 24 | # against the OpenStack Compute API. |
| 25 | |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 26 | # Allows test cases to create/destroy tenants and users. This option |
| 27 | # enables isolated test cases and better parallel execution, |
| 28 | # but also requires that OpenStack Identity API admin credentials |
| 29 | # are known. |
| 30 | allow_tenant_isolation = %COMPUTE_ALLOW_TENANT_ISOLATION% |
| 31 | |
Dan Smith | d6ff6b7 | 2012-08-23 10:29:41 -0700 | [diff] [blame] | 32 | # Allows test cases to create/destroy tenants and users. This option |
| 33 | # enables isolated test cases and better parallel execution, |
| 34 | # but also requires that OpenStack Identity API admin credentials |
| 35 | # are known. |
| 36 | allow_tenant_reuse = %COMPUTE_ALLOW_TENANT_REUSE% |
| 37 | |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 38 | # This should be the username of a user WITHOUT administrative privileges |
| 39 | username = %USERNAME% |
| 40 | # The above non-administrative user's password |
| 41 | password = %PASSWORD% |
| 42 | # The above non-administrative user's tenant name |
| 43 | tenant_name = %TENANT_NAME% |
| 44 | |
| 45 | # This should be the username of an alternate user WITHOUT |
| 46 | # administrative privileges |
| 47 | alt_username = %ALT_USERNAME% |
| 48 | # The above non-administrative user's password |
| 49 | alt_password = %ALT_PASSWORD% |
| 50 | # The above non-administrative user's tenant name |
| 51 | alt_tenant_name = %ALT_TENANT_NAME% |
| 52 | |
| 53 | # Reference data for tests. The ref and ref_alt should be |
| 54 | # distinct images/flavors. |
| 55 | image_ref = %IMAGE_ID% |
| 56 | image_ref_alt = %IMAGE_ID_ALT% |
| 57 | flavor_ref = %FLAVOR_REF% |
| 58 | flavor_ref_alt = %FLAVOR_REF_ALT% |
| 59 | |
| 60 | # 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] | 61 | # instance that is building. |
| 62 | build_interval = %COMPUTE_BUILD_INTERVAL% |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 63 | |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 64 | # Number of seconds to time out on waiting for an instance |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 65 | # to build or reach an expected status |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 66 | build_timeout = %COMPUTE_BUILD_TIMEOUT% |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 67 | |
| 68 | # The type of endpoint for a Compute API service. Unless you have a |
| 69 | # custom Keystone service catalog implementation, you probably want to leave |
| 70 | # this value as "compute" |
| 71 | catalog_type = %COMPUTE_CATALOG_TYPE% |
| 72 | |
| 73 | # Does the Compute API support creation of images? |
| 74 | create_image_enabled = %COMPUTE_CREATE_IMAGE_ENABLED% |
| 75 | |
| 76 | # For resize to work with libvirt/kvm, one of the following must be true: |
| 77 | # Single node: allow_resize_to_same_host=True must be set in nova.conf |
| 78 | # Cluster: the 'nova' user must have scp access between cluster nodes |
| 79 | resize_available = %COMPUTE_RESIZE_AVAILABLE% |
| 80 | |
David Kranz | f97d5fd | 2012-07-30 13:46:45 -0400 | [diff] [blame] | 81 | # Does the compute API support changing the admin password? |
| 82 | change_password_available = %COMPUTE_CHANGE_PASSWORD_AVAILABLE% |
| 83 | |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 84 | # Level to log Compute API request/response details. |
| 85 | log_level = %COMPUTE_LOG_LEVEL% |
| 86 | |
Jay Pipes | 051075a | 2012-04-28 17:39:37 -0400 | [diff] [blame] | 87 | # Whitebox options for compute. Whitebox options enable the |
| 88 | # whitebox test cases, which look at internal Nova database state, |
| 89 | # SSH into VMs to check instance state, etc. |
| 90 | |
| 91 | # Should we run whitebox tests for Compute? |
| 92 | whitebox_enabled = %COMPUTE_WHITEBOX_ENABLED% |
| 93 | |
| 94 | # Path of nova source directory |
| 95 | source_dir = %COMPUTE_SOURCE_DIR% |
| 96 | |
| 97 | # Path of nova configuration file |
| 98 | config_path = %COMPUTE_CONFIG_PATH% |
| 99 | |
| 100 | # Directory containing nova binaries such as nova-manage |
| 101 | bin_dir = %COMPUTE_BIN_DIR% |
| 102 | |
| 103 | # Path to a private key file for SSH access to remote hosts |
| 104 | path_to_private_key = %COMPUTE_PATH_TO_PRIVATE_KEY% |
| 105 | |
| 106 | # Connection string to the database of Compute service |
| 107 | db_uri = %COMPUTE_DB_URI% |
| 108 | |
Mate Lakat | 99ee914 | 2012-09-14 12:34:46 +0100 | [diff] [blame] | 109 | # Run live migration tests (requires 2 hosts) |
| 110 | live_migration_available = %LIVE_MIGRATION_AVAILABLE% |
| 111 | |
| 112 | # Use block live migration (Otherwise, non-block migration will be |
| 113 | # performed, which requires XenServer pools in case of using XS) |
| 114 | use_block_migration_for_live_migration = %USE_BLOCK_MIGRATION_FOR_LIVE_MIGRATION% |
| 115 | |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 116 | [image] |
| 117 | # This section contains configuration options used when executing tests |
| 118 | # against the OpenStack Images API |
| 119 | |
Jay Pipes | ad6feca | 2012-04-30 15:10:18 -0400 | [diff] [blame] | 120 | # The type of endpoint for an Image API service. Unless you have a |
| 121 | # custom Keystone service catalog implementation, you probably want to leave |
| 122 | # this value as "image" |
| 123 | catalog_type = %IMAGE_CATALOG_TYPE% |
| 124 | |
| 125 | # The version of the OpenStack Images API to use |
| 126 | api_version = %IMAGE_API_VERSION% |
| 127 | |
| 128 | # This is the main host address of the Image API |
| 129 | host = %IMAGE_HOST% |
| 130 | |
| 131 | # Port that the Image API is running on |
| 132 | port = %IMAGE_PORT% |
| 133 | |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 134 | # This should be the username of a user WITHOUT administrative privileges |
| 135 | username = %USERNAME% |
| 136 | # The above non-administrative user's password |
| 137 | password = %PASSWORD% |
| 138 | # The above non-administrative user's tenant name |
| 139 | tenant_name = %TENANT_NAME% |
| 140 | |
| 141 | [compute-admin] |
| 142 | # This section contains configuration options for an administrative |
| 143 | # user of the Compute API. These options are used in tests that stress |
| 144 | # the admin-only parts of the Compute API |
| 145 | |
| 146 | # This should be the username of a user WITH administrative privileges |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 147 | username = %COMPUTE_ADMIN_USERNAME% |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 148 | # The above administrative user's password |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 149 | password = %COMPUTE_ADMIN_PASSWORD% |
Jay Pipes | 017e95c | 2012-04-04 16:16:06 -0400 | [diff] [blame] | 150 | # The above administrative user's tenant name |
Jay Pipes | f38eaac | 2012-06-21 13:37:35 -0400 | [diff] [blame] | 151 | tenant_name = %COMPUTE_ADMIN_TENANT_NAME% |
| 152 | |
| 153 | [identity-admin] |
| 154 | # This section contains configuration options for an administrative |
| 155 | # user of the Compute API. These options are used in tests that stress |
| 156 | # the admin-only parts of the Compute API |
| 157 | |
| 158 | # This should be the username of a user WITH administrative privileges |
| 159 | username = %IDENTITY_ADMIN_USERNAME% |
| 160 | # The above administrative user's password |
| 161 | password = %IDENTITY_ADMIN_PASSWORD% |
| 162 | # The above administrative user's tenant name |
| 163 | tenant_name = %IDENTITY_ADMIN_TENANT_NAME% |
Rohit Karajgi | dd47d7e | 2012-07-31 04:11:01 -0700 | [diff] [blame] | 164 | |
| 165 | [volume] |
| 166 | # This section contains the configuration options used when executing tests |
| 167 | # against the OpenStack Block Storage API service |
| 168 | |
| 169 | # The type of endpoint for a Cinder or Block Storage API service. |
| 170 | # Unless you have a custom Keystone service catalog implementation, you |
| 171 | # probably want to leave this value as "volume" |
| 172 | catalog_type = %VOLUME_CATALOG_TYPE% |
| 173 | # Number of seconds to wait while looping to check the status of a |
| 174 | # volume that is being made available |
| 175 | build_interval = %VOLUME_BUILD_INTERVAL% |
| 176 | # Number of seconds to time out on waiting for a volume |
| 177 | # to be available or reach an expected status |
| 178 | build_timeout = %VOLUME_BUILD_TIMEOUT% |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 179 | |
| 180 | [object-storage] |
| 181 | # This section contains configuration options used when executing tests |
| 182 | # against the OpenStack Object Storage API. |
| 183 | # This should be the username of a user WITHOUT administrative privileges |
Attila Fazekas | 9492d35 | 2012-12-04 13:55:58 +0100 | [diff] [blame] | 184 | |
| 185 | # You can configure the credentials in the compute section |
dwalleck | 5d73443 | 2012-10-04 01:11:47 -0500 | [diff] [blame] | 186 | |
| 187 | # The type of endpoint for an Object Storage API service. Unless you have a |
| 188 | # custom Keystone service catalog implementation, you probably want to leave |
| 189 | # this value as "object-store" |
| 190 | catalog_type = %OBJECT_CATALOG_TYPE% |
Attila Fazekas | a23f500 | 2012-10-23 19:32:45 +0200 | [diff] [blame] | 191 | |
| 192 | [boto] |
| 193 | # This section contains configuration options used when executing tests |
| 194 | # with boto. |
| 195 | |
| 196 | # EC2 URL |
| 197 | ec2_url = %BOTO_EC2_URL% |
| 198 | # S3 URL |
| 199 | s3_url = %BOTO_S3_URL% |
| 200 | |
| 201 | # Use keystone ec2-* command to get those values for your test user and tenant |
| 202 | aws_access = %BOTO_AWS_ACCESS% |
| 203 | aws_secret = %BOTO_AWS_SECRET% |
| 204 | |
| 205 | #Region |
| 206 | aws_region = %BOTO_AWS_REGION% |
| 207 | |
| 208 | #Image materials for S3 upload |
| 209 | # ALL content of the specified directory will be uploaded to S3 |
| 210 | s3_materials_path = %BOTO_S3_MATERIALS_PATH% |
| 211 | |
| 212 | # The manifest.xml files, must be in the s3_materials_path directory |
| 213 | # Subdirectories not allowed! |
| 214 | # The filenames will be used as a Keys in the S3 Buckets |
| 215 | |
| 216 | #ARI Ramdisk manifest. Must be in the above s3_materials_path directory |
| 217 | ari_manifest = %BOTO_ARI_MANIFEST% |
| 218 | |
| 219 | #AMI Machine Image manifest. Must be in the above s3_materials_path directory |
| 220 | ami_manifest = %BOTO_AMI_MANIFEST% |
| 221 | |
| 222 | #AKI Kernel Image manifest, Must be in the above s3_materials_path directory |
| 223 | aki_manifest = %BOTO_AKI_MANIFEST% |
| 224 | |
| 225 | #Instance type |
| 226 | instance_type = %BOTO_FLAVOR_NAME% |
| 227 | |
| 228 | #TCP/IP connection timeout |
| 229 | http_socket_timeout = %BOTO_SOCKET_TIMEOUT% |
| 230 | |
| 231 | # Status change wait timout |
| 232 | build_timeout = %BOTO_BUILD_TIMEOUT% |
| 233 | |
| 234 | # Status change wait interval |
| 235 | build_interval = %BOTO_BUILD_INTERVAL% |