fix(auth): Define service_type in keystone_authtoken (#411)
* feat: Define service_type in keystone_authtoken
If application credentials with access rules are required,
an OpenStack service using keystonemiddleware to authenticate
with keystone, needs to define service_type in its configuration
file.
Once https://review.opendev.org/c/openstack/openstack-helm/+/883066
is merged, we can revert this PR.
* chore: clean-up yaml configs
---------
Co-authored-by: okozachenko1203 <okozachenko1203@users.noreply.github.com>
Co-authored-by: Mohammed Naser <mnaser@vexxhost.com>
diff --git a/roles/magnum/vars/main.yml b/roles/magnum/vars/main.yml
index 7e2b684..8baa2b0 100644
--- a/roles/magnum/vars/main.yml
+++ b/roles/magnum/vars/main.yml
@@ -51,6 +51,9 @@
# NOTE(mnaser): Magnum does not allow changing the interface to internal
# so we workaround with this for now.
insecure: true
+ # NOTE(okozachenko1203): We can remove it once the following is merged:
+ # https://review.opendev.org/883066
+ service_type: container-infra
magnum_client:
region_name: "{{ openstack_helm_endpoints_magnum_region_name }}"
neutron_client: