Revision history [back]

click to hide/show revision 1
initial version

First time install: Stymied by IP and roles

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

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.

First time install: Stymied by IP and roles

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

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 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.

click to hide/show revision 3
No.3 Revision

First time install: Stymied by IP and rolesWhy do I get errors when I run https://raw.github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/master/KeystoneScripts/keystone_basic.sh?

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

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.