Merge pull request #720 from enovance/fix-deferred_auth_method

orchestration: switch deferred_auth_method to 'password'
This commit is contained in:
Yanis Guenane 2014-11-12 08:11:11 -05:00
commit 7ee6900cde
2 changed files with 8 additions and 2 deletions

View File

@ -33,7 +33,12 @@ class cloud::orchestration::engine(
auth_encryption_key => $auth_encryption_key,
heat_metadata_server_url => "${ks_heat_public_proto}://${ks_heat_public_host}:${ks_heat_cfn_public_port}",
heat_waitcondition_server_url => "${ks_heat_public_proto}://${ks_heat_public_host}:${ks_heat_cfn_public_port}/v1/waitcondition",
heat_watch_server_url => "${ks_heat_public_proto}://${ks_heat_public_host}:${ks_heat_cloudwatch_public_port}"
heat_watch_server_url => "${ks_heat_public_proto}://${ks_heat_public_host}:${ks_heat_cloudwatch_public_port}",
# TODO (EmilienM): Need to be updated in Juno
# The default deferred_auth_method of password is deprecated as of Icehouse, so although it is still the default, deployers are
# strongly encouraged to move to using deferred_auth_method=trusts, which is planned to become the default for Juno.
# 'trusts' requires Keystone API v3 enabled, otherwise we have to use 'password'.
deferred_auth_method => 'password',
}
}

View File

@ -82,7 +82,8 @@ describe 'cloud::orchestration::engine' do
:auth_encryption_key => 'secrete',
:heat_metadata_server_url => 'http://10.0.0.1:8000',
:heat_waitcondition_server_url => 'http://10.0.0.1:8000/v1/waitcondition',
:heat_watch_server_url => 'http://10.0.0.1:8003'
:heat_watch_server_url => 'http://10.0.0.1:8003',
:deferred_auth_method => 'password',
)
end