I have followed basic install guide openstack on ubuntu (grizzy) so
for configuration keystone first,
I have created openrc File and added below lines into it:
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=password
export OS_AUTH_URL="http://localhost:5000/v2.0/"
export SERVICE_ENDPOINT="http://localhost:35357/v2.0"
export SERVICE_TOKEN=password
and then again I have created a x.sh file for script that is
mentioned inside of install doc
#!/bin/bash
# Modify these variables as needed
ADMIN_PASSWORD=${ADMIN_PASSWORD:-password}
NOW , when running ./x.sh i have belo errors:
Invalid OpenStack Identity credentials.
./bash_script.sh: line 36: 2: command not found
Invalid OpenStack Identity credentials.
./bash_script.sh: line 38: 2: command not found
Invalid OpenStack Identity credentials.
Invalid OpenStack Identity credentials.
Invalid OpenStack Identity credentials.
usage: keystone user-create --name <user-name> [--tenant-id <tenant-id>]
[--pass <pass>] [--email <email>]
[--enabled <true|false>]
keystone user-create: error: argument --tenant-id: expected one argument
./bash_script.sh: line 45: 2: command not found
Invalid OpenStack Identity credentials.
./bash_script.sh: line 48: --tenant-id: command not found
Invalid OpenStack Identity credentials.
./bash_script.sh: line 51: password: command not found
Invalid OpenStack Identity credentials.
./bash_script.sh: line 54: --tenant-id: command not found
Invalid OpenStack Identity credentials.
Invalid OpenStack Identity credentials.
./bash_script.sh: line 58: 2: command not found
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
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected
one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected
one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected
one argument
./bash_script.sh: line 63: --role-id: command not found
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected
one argument
usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
keystone user-role-add: error: argument --tenant/--tenant-id: expected
one argument
Invalid OpenStack Identity credentials.
Invalid OpenStack Identity credentials.
Invalid OpenStack Identity credentials.
Invalid OpenStack Identity credentials.
./bash_script.sh: line 72: --description: command not found
usage: keystone service-create --name <name> --type <type>
[--description <service-description>]
keystone service-create: error: argument --description: expected one argument
./bash_script.sh: line 74: OpenStack EC2 service: command not found
Invalid OpenStack Identity credentials.
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
./bash_script.sh: line 77: --publicurl: command not found
./bash_script.sh: line 79: --internalurl: command not found
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
./bash_script.sh: line 81: --publicurl: command not found
./bash_script.sh: line 83: --internalurl: command not found
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
./bash_script.sh: line 85: --publicurl: command not found
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
./bash_script.sh: line 88: WARNING:: command not found
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
./bash_script.sh: line 91: --publicurl: command not found
./bash_script.sh: line 92: http://10.102.1.38:8773/services/Admin: No
such file or directory
usage: keystone endpoint-create [--region <endpoint-region>] --service-id
<service-id> [--publicurl <public-url>]
[--adminurl <admin-url>]
[--internalurl <internal-url>]
keystone endpoint-create: error: argument --service-id/--service_id:
expected one argument
./bash_script.sh: line 95: --publicurl: command not found
....
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp