Skip to content

Commit

Permalink
Nova compute needs user and project domain names for operations
Browse files Browse the repository at this point in the history
in service tenant if keystone V3 is used. Otherwise domain information
isn't available and the token is rejected by keystone.

Change-Id: Ie89542a0a4a91af8dab616adb970ed65c845ab3e
Closes-Bug: #1648434
(cherry picked from commit c2c2758)
  • Loading branch information
Deepinder Setia committed Jan 21, 2017
1 parent 826d010 commit 1772999
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrail_provisioning/compute/scripts/compute-server-setup.sh
Expand Up @@ -340,6 +340,11 @@ if [ $VMWARE_IP ]; then
fi
fi

if [ "$KEYSTONE_VERSION" == "v3" ]; then
contrail-config --set /etc/nova/nova.conf neutron project_domain_name Default
contrail-config --set /etc/nova/nova.conf neutron user_domain_name Default
fi

get_pci_whitelist_addresses() {
orig_ifs=$IFS
IFS=' '
Expand Down

0 comments on commit 1772999

Please sign in to comment.