Use keystone api V3 for designate validation

Currently it is implicitely using keystone v2.0 by not
declaring DOMAIN variables. Now, api v2.0 is being
deprecated and we need to use API v3.

Change-Id: I861d7d0bf09db7b92613229903edd4cb4f66ba96
This commit is contained in:
Alfredo Moralejo 2017-10-05 11:46:48 +02:00
parent 46779d9ab4
commit e46dcb4fdb

View File

@ -83,7 +83,8 @@ class openstack_integration::designate {
# Validate that designate-central is ready for pool update
$command = "openstack --os-auth-url ${::openstack_integration::config::keystone_auth_uri} \
--os-project-name services --os-username designate --os-password a_big_secret zone list"
--os-project-name services --os-username designate --os-password a_big_secret \
--os-project-domain-name Default --os-user-domain-name Default zone list"
openstacklib::service_validation { 'designate-central':
command => $command,
timeout => '15',