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
  • Loading branch information
Deepinder Setia committed Dec 15, 2016
1 parent 8c1a99c commit c2c2758
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 c2c2758

Please sign in to comment.