Update salt-formula to be tested on pike
Following warning and error were occured in pike deployment:
- WARNING octavia.api.root_controller [-] Both v1 and v2.0 API endpoints are enabled
Now there are 2 version of api, should be ability to enable/disable them.
- CRITICAL octavia [-] Unhandled error: MissingRequiredOptions:
Auth plugin requires parameters which were not given: auth_url
auth_url parameter was added.
- ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400:
BadRequest: Expecting to find username or userId in passwordCredentials.
auth_section = service_auth was defined for keystonemiddleware.
PROD-22016
PROD-22019
Change-Id: Id3b17e836c07b75d9603f81c68ae9a30e2d06725
diff --git a/metadata/service/api/cluster.yml b/metadata/service/api/cluster.yml
index e86c56b..f6bd55e 100644
--- a/metadata/service/api/cluster.yml
+++ b/metadata/service/api/cluster.yml
@@ -7,10 +7,14 @@
keystone_octavia_endpoint_type: internal
octavia_api_bind_address: ${_param:cluster_local_address}
octavia_api_bind_port: 9876
+ octavia_api_v1_enabled: True
+ octavia_api_v2_enabled: True
octavia:
api:
enabled: true
version: ${_param:octavia_version}
+ api_v1_enabled: ${_param:octavia_api_v1_enabled}
+ api_v2_enabled: ${_param:octavia_api_v2_enabled}
debug: true
bind:
address: ${_param:octavia_api_bind_address}