cloudbuilders/devstack — Issue #152: Passwords with a space in it would fail for read_password function
Author: chmouel
Created: 2011-11-02 13:41:26+00:00
State: open

See transcript:

################################################################################
ENTER A SERVICE_TOKEN TO USE FOR THE SERVICE ADMIN TOKEN.
################################################################################
This value will be written to your localrc file so you don't have to enter it again.
It is probably best to avoid spaces and weird characters.
If you leave this blank, a random default value will be used.
Enter a password now:
random hash
./stack.sh: line 201: [: random: unary operator expected
hits command
1 /bin/egrep
1 /bin/chmod
1 /bin/cat
3 /usr/bin/sudo
1 /bin/sed
+ read_password ADMIN_PASSWORD 'ENTER A PASSWORD TO USE FOR HORIZON AND KEYSTONE (20 CHARS OR LESS).'
+ set +o xtrace