Why do I get errors when I run https://raw.github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/master/KeystoneScripts/keystone_basic.sh? [closed]

asked 2013-10-04 18:54:24 -0500

K7AAY gravatar image

updated 2013-10-06 16:12:33 -0500

nerminamiller gravatar image

Please allow me in advance to thank all of you for your kindness of spirit in helping n00bs such as I learn about the World of Tomorrow.

I'm working from https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_SingleNode/OpenStack_Grizzly_Install_Guide.rst to create a clould server in a testing environment on Ubuntu Server 13.04. I had to use eth1 for my connection to the Internet, when the IP is assigned by DHCP. Therefore I made eth0 as follows in /etc/network/interfaces

'#Not internet connected(used for OpenStack management) auto eth0 iface eth0 inet static address 10.10.100.51 netmask 255.255.255.0

When I run https://raw.github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/master/KeystoneScripts/keystone_basic.sh I get a failure message

[Errno 113 No route to host]

followed by many lines of errors complaining that lines 46-56 of the script are passing more than one parameter to keystone and it only wants one, forex:

useage: keystone user-create --name <user-name> [--tenant-id <tenant-id>] [--pass <pass>] [--email <email>] [--enabled <true|false>] keystone user-create: error: arguement --tenant-id: expected one arguement useage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>] keystone user-roll-add: error: arguement --tenant/--tenant-id: expected one arguement</tenant></role></user></true|false></email></pass></tenant-id></user-name>

There's one of those multi-line failure message for each of the four roles in the script. Here are those lines, with the script above them unchanged from how I found it on line (except I added a ' before the # sign so those lines do show up here as headings):

'# Configure service users/roles

NOVA_USER=$(get_id keystone user-create --name=nova --pass="$SERVICE_PASSWORD" --tenant-id $SERVICE_TENANT --email=me@mycompany.com ) keystone user-role-add --tenant-id $SERVICE_TENANT --user-id $NOVA_USER --role-id $ADMIN_ROLE

GLANCE_USER=$(get_id keystone user-create --name=glance --pass="$SERVICE_PASSWORD" --tenant-id $SERVICE_TENANT --email=me@mycompany.com ) keystone user-role-add --tenant-id $SERVICE_TENANT --user-id $GLANCE_USER --role-id $ADMIN_ROLE

QUANTUM_USER=$(get_id keystone user-create --name=quantum --pass="$SERVICE_PASSWORD" --tenant-id $SERVICE_TENANT --email=me@mycompany.com ) keystone user-role-add --tenant-id $SERVICE_TENANT --user-id $QUANTUM_USER --role-id $ADMIN_ROLE

CINDER_USER=$(get_id keystone user-create --name=cinder --pass="$SERVICE_PASSWORD" --tenant-id $SERVICE_TENANT --email=me@mycompany.com ) keystone user-role-add --tenant-id $SERVICE_TENANT --user-id $CINDER_USER --role-id $ADMIN_ROLE


Thank you kindly. I look forward to exposing even further the depth of my ignorance as you pose further questions.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-09-22 14:07:53.717173

Comments

Does "ifconfig eth0" show the correct IP address?

fetahi gravatar imagefetahi ( 2013-10-07 01:45:05 -0500 )edit

No difference. 1st install it didn't, now it does, still fails
The open vswitch pt 2 setup https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst#34-openvswitch-part2 says to edit /etc/network/interfaces to be like this:

# VM internet Access
auto eth2
iface eth2 inet manual
up ifconfig $IFACE 0.0.0.0 up
up ip link set $IFACE promisc on
down ip link set $IFACE promisc off
down ifconfig $IFACE down

Big fail. Since I don't use eth2, + eth1 is for my LAN connection, changed to eth0 (which is idle) to adapt steps 4.2 + 2.2 to my setup, + commented the last 4 lines which also caused Big Fail:

auto eth0
iface eth0 inet manual
address 10.10.10.51
netmask 255.255.255.0
# up ifconfig $IFACE 0.0.0.0 up
# up ip link set $IFACE promisc on
# do ip link set $IFACE promisc ...(more)

Kiloseven gravatar imageKiloseven ( 2013-10-14 15:49:23 -0500 )edit

Closing: This question relates to a version of OpenStack which has been marked End Of Life - https://releases.openstack.org/ If you are still experiencing the problem with a more recent version of OpenStack, please open a new question. Thanks!

rbowen gravatar imagerbowen ( 2016-09-22 14:07:48 -0500 )edit