Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add authentication parameters for novajoin vendordata plugin
Browse files Browse the repository at this point in the history
With nova's vendordata plugin supporting authentication, we need to
specify the authentication parameters on the metadata side. This will be
used to get a keystone token, and will subsequently be validated by
novajoin's middleware, where keystone authtoken middleware is. This way
we can asure that log that requests actually come from an authenticated
source (nova).

Change-Id: I78bb217c485bad342e7ce8d60786fe1e5acf55a4
Depends-On: I870e244aff97439143b58e9b2284830b4388cc5f
  • Loading branch information
JAORMX committed Mar 28, 2017
1 parent 63f7ee3 commit 47b6b3f
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,14 @@ nova::api::vendordata_jsonfile_path: '/etc/nova/cloud-config-novajoin.json'
nova::api::vendordata_providers: ['StaticJSON', 'DynamicJSON']
nova::api::vendordata_dynamic_targets: ["join@http://{{LOCAL_IP}}:%{hiera('novajoin_listen_port')}/v1/"]
nova::api::vendordata_dynamic_failure_fatal: true
nova::api::vendordata_dynamic_auth_auth_type: 'password'
nova::api::vendordata_dynamic_auth_auth_url: "%{hiera('keystone_auth_uri')}"
nova::api::vendordata_dynamic_auth_os_region_name: "%{hiera('keystone_region')}"
nova::api::vendordata_dynamic_auth_username: 'nova'
nova::api::vendordata_dynamic_auth_project_name: 'service'
nova::api::vendordata_dynamic_auth_project_domain_name: 'Default'
nova::api::vendordata_dynamic_auth_user_domain_name: 'Default'
nova::api::vendordata_dynamic_auth_password: {{UNDERCLOUD_NOVA_PASSWORD}}
nova::notification_topics: ['notifications', 'novajoin_notifications']
nova::notify_on_state_change: 'vm_state'
{{/ENABLE_NOVAJOIN}}
Expand Down

0 comments on commit 47b6b3f

Please sign in to comment.