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: I2e679442db6514db74bff416dc4b6522979b070c
Closes-Bug: #1648434
  • Loading branch information
Deepinder Setia committed Dec 9, 2016
1 parent 48a55bd commit 10f2bd8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions contrail_provisioning/openstack/scripts/nova-server-setup.sh
Expand Up @@ -434,6 +434,11 @@ else
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

if [ "$INTERNAL_VIP" != "none" ]; then
openstack-config --set /etc/nova/nova.conf DEFAULT osapi_compute_listen_port 9774
openstack-config --set /etc/nova/nova.conf DEFAULT metadata_listen_port 9775
Expand Down

0 comments on commit 10f2bd8

Please sign in to comment.