Ask Your Question

How to install devstack on Ubuntu 12.04 on EC2 instance?

asked 2013-12-02 09:06:41 -0500

anonymous user


updated 2014-01-22 15:12:51 -0500

Evgeny gravatar image

could you please tell me what should i mention in the parameters below and please elaborate on it, FLOATING_RANGE= FIXED_RANGE= FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth0 ADMIN_PASSWORD=supersecret MYSQL_PASSWORD=iheartdatabases RABBIT_PASSWORD=flopsymopsy SERVICE_PASSWORD=iheartksl?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-12-03 12:57:11 -0500 gravatar image

root@ip-172-31-15-184:/etc/network# ifconfig -a eth0 Link encap:Ethernet HWaddr 0a:8a:00:ff:98:d7
inet addr: Bcast: Mask: inet6 addr: fe80::88a:ff:feff:98d7/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:80708 errors:0 dropped:0 overruns:0 frame:0 TX packets:16873 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:116767160 (116.7 MB) TX bytes:1297244 (1.2 MB) Interrupt:25

lo Link encap:Local Loopback
inet addr: Mask: inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1296 (1.2 KB) TX bytes:1296 (1.2 KB)

root@ip-172-31-15-184:/etc/network# cat interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo iface lo inet loopback

The primary network interface

#auto eth0 #iface eth0 inet dhcp

#For Exposing OpenStack API over the internet auto eth0 iface eth0 inet static address netmask gateway dns-nameservers

#Not internet connected(used for OpenStack management) auto eth0:1 iface eth0:1 inet static address netmask root@ip-xxxxxxx:/etc/network# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface UG 100 0 0 eth0 U 0 0 0 eth0 root@ip-172-31-15-184:/etc/network# sudo /etc/init.d/networking restart * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces * Reconfiguring network interfaces... RTNETLINK answers: No such process

then it ends abruptly and i have to start my EC2 once again could you please help me

edit flag offensive delete link more


Your problem seems to be with network configuration. I've never configured network interfaces on an EC2 instance before and I don't know why you're having this problem. Is your ethernet interface commented in the interfaces file?

demontie gravatar imagedemontie ( 2013-12-05 07:17:04 -0500 )edit

answered 2013-12-03 08:02:08 -0500

demontie gravatar image


I think is better you understand what the each parameter means and then you can set the properly values for your environment. So, in the FLOATING_RANGE parameter you specify a range of "floating ips" you have (it means, a range of real ip addresses). If you don't have real ip addresses you just do not specify this parameter on your localrc file. In the FIXED_RANGE you specify virtual ip range. You can choose any network you want ( or any other, since it doesn't conflict the ip addresses in your real network, I guess). In the FIXED_NETWORK_SIZE you specify the number of addresses you have in your virtual network (if you're using the network, for example, you have 256 valid ip addresses). The FLAT_INTERFACE is the one which will be used by OpenStack. You have to specify the ip address of this interface in the parameter "HOST_IP". The other parameters are just passwords and you can specify anything you want.

Do you have some other specific issue in your installation?

Hope I helped.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-12-02 09:06:41 -0500

Seen: 331 times

Last updated: Dec 03 '13