Cannot use v2 authentication with domain scope
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Expired
|
Undecided
|
Unassigned |
Bug Description
Pulled the latest devstack, copied over the defaults from sample and ran ./stack.sh
git clone https:/
cd devstack/
cp samples/* .
./stack.sh
Ran through and eventually failed complaining about using domain scope in v2 authentication
2016-02-10 20:19:44.853 | + ./stack.
2016-02-10 20:19:44.853 | + ./stack.
2016-02-10 20:19:44.854 | Running user script /home/studarus/
2016-02-10 20:19:44.855 | + ./stack.
2016-02-10 20:19:50.293 | ERROR (DiscoveryFailure): Cannot use v2 authentication with domain scope
2016-02-10 20:19:58.767 | ERROR (DiscoveryFailure): Cannot use v2 authentication with domain scope
2016-02-10 20:19:59.933 | ERROR (DiscoveryFailure): Cannot use v2 authentication with domain scope
2016-02-10 20:20:00.685 | ERROR (DiscoveryFailure): Cannot use v2 authentication with domain scope
2016-02-10 20:20:00.735 | ++ ./stack.
2016-02-10 20:20:00.735 | ++ ./stack.
2016-02-10 20:20:00.736 | stack.sh failed: full log in /opt/stack/
2016-02-10 20:20:00.742 | Error on exit
If I comment out the DOMAIN lines from stack.sh everything starts up OK.
studarus@
diff --git a/stack.sh b/stack.sh
index c21ff77..98789bc 100755
--- a/stack.sh
+++ b/stack.sh
@@ -1020,10 +1020,10 @@ if is_service_enabled keystone; then
export OS_IDENTITY_
export OS_AUTH_
export OS_USERNAME=admin
-export OS_USER_
+#export OS_USER_
export OS_PASSWORD=
export OS_PROJECT_
-export OS_PROJECT_
+#export OS_PROJECT_
export OS_REGION_
EOF
This is pretty much right out of the box Ubuntu so I was surprised I had to make a change to get out of the box functionality to work. Seems that this should be applied so that devstack works for everyone right out of the box.
+1, thank you so much for showing the work around on this