What causes keystone to throw UnicodeEncodeError using devstack?
Hi
i'm installing openstack with devstack
The script works fine... all package were downloaded After some time I'll get these errors
+ ADMIN_TENANT=
++ keystone user-create --name admin --pass passstone --email <a href="mailto:admin@example.com">admin@example.com</a>
++ grep ' id '
++ get_field 2
++ read data
Traceback (most recent call last):
File "/usr/local/bin/keystone", line 9, in <module>
load_entry_point('python-keystoneclient==0.2.5', 'console_scripts', 'keystone')()
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py", line 499, in main
print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 264-265: ordinal not in range(128)
+ ADMIN_USER=
++ keystone role-create --name admin
++ grep ' id '
++ get_field 2
++ read data
Traceback (most recent call last):
File "/usr/local/bin/keystone", line 9, in <module>
load_entry_point('python-keystoneclient==0.2.5', 'console_scripts', 'keystone')()
File "/usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py", line 499, in main
print >> sys.stderr, e
UnicodeEncodeError: 'ascii' codec can't encode characters in position 264-265: ordinal not in range(128)
+ ADMIN_ROLE=
+ keystone user-role-add --user_id --role_id --tenant_id
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --user/--user-id/--user_id: expected one argument
What is the solution of this problem? I installed my server on english and the keyboardlayout is on german/swiss... Can this be the problem?
OS: Ubuntu
The content of my localrc:
FLOATING_RANGE=10.12.76.255/24
FIXED_RANGE=10.12.76.0/24
FIXED_NETWORK_SIZE=256
HOST_IP=10.12.76.31
FLAT_INTERFACE=eth0
MYSQL_PASSWORD=somepass
RABBIT_PASSWORD=somepass
SERVICE_TOKEN=somepass
SERVICE_PASSWORD=somepass
ADMIN_PASSWORD=somepass
This should not happen what's your localrc?
@ciaodarwin better to edit the answer with more details than adding more comments :) It keeps the information in the main place, the question