Allow wget to handle Non-English output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Edward |
Bug Description
This bug has been reported and fixed before here: https:/
It seems that the fix has been broken unintentionally by merging the commit of '6b93f829c1a78b
This is reopened as a new bug for fixing.
=======
+ echo 'Waiting for keystone to start...'
Waiting for keystone to start...
+ timeout 60 sh -c 'while http_proxy= wget -O- http://
+ SERVICE_ENDPOINT=http://
+ ADMIN_PASSWORD=
+ SERVICE_
+ SERVICE_
+ SERVICE_
+ SERVICE_ENDPOINT=http://
+ SERVICE_
+ S3_SERVICE_
+ KEYSTONE_
+ DEVSTACK_
+ ENABLED_
+ bash /opt/stack/
No handlers could be found for logger "keystoneclient
Unable to communicate with identity service: [Errno 111] Connection refused. (HTTP 400)
usage: keystone user-role-add --user_id <user-id> --role_id <role-id>
keystone user-role-add: error: argument --tenant_id: expected one argument
usage: keystone user-role-add --user_id <user-id> --role_id <role-id>
keystone user-role-add: error: argument --tenant_id: expected one argument
usage: keystone user-role-add --user_id <user-id> --role_id <role-id>
keystone user-role-add: error: argument --tenant_id: expected one argument
...
...
...
++ glance --os-auth-token --os-image-url http://
usage: glance [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
glance: error: argument --os-auth-token: expected one argument
+ KERNEL_ID=
+ '[' -n /opt/stack/
++ get_field 2
++ read data
++ grep ' id '
++ glance --os-auth-token --os-image-url http://
usage: glance [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
glance: error: argument --os-auth-token: expected one argument
+ RAMDISK_ID=
+ glance --os-auth-token --os-image-url http://
usage: glance [--os-username OS_USERNAME] [--os-password OS_PASSWORD]
glance: error: argument --os-auth-token: expected one argument
++ failed
++ local r=2
++ set +o xtrace
=======
description: | updated |
Changed in devstack: | |
assignee: | nobody → Edward (zhang-hare) |
Changed in devstack: | |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/9217 github. com/openstack- dev/devstack/ commit/ 91b0acdefff432e df0021b00fe5356 37ecb8d789
Committed: http://
Submitter: Jenkins
Branch: master
commit 91b0acdefff432e df0021b00fe5356 37ecb8d789
Author: Zhang Hua <email address hidden>
Date: Mon Jul 2 13:57:53 2012 +0800
Allow wget to handle Non-English output
The stack.sh has a loop to wait for keystone to start. But the output of wget tool has been globalized
which means it won't return the English word 'refused' on Non-English environment even the keystone is
not up. So the script will assume the keystone has been started and continue. The command of keystone
tenant-create always failed immediately after skipping this loop since it require keystone to be started
to authenticate. That's why you can see authentication error in the log because the tenant information
was not correctly set up.
Fix bug 1019942
Change-Id: Icc2bd9551e2351 73683e3677880c2 641faee62a9