Ask Your Question
0

How to install devstack on Ubuntu 12.04 on EC2 instance?

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

anonymous user

Anonymous

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

Evgeny gravatar image

could you please tell me what should i mention in the parameters below and please elaborate on it, FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.12.0/24 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
0

answered 2013-12-03 12:57:11 -0600

mantri.arjun@hotmail.com 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:172.31.15.184 Bcast:172.31.15.255 Mask:255.255.240.0 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:127.0.0.1 Mask:255.0.0.0 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 172.31.15.184 netmask 255.255.240.0 gateway 172.31.15.1 dns-nameservers 8.8.8.8

#Not internet connected(used for OpenStack management) auto eth0:1 iface eth0:1 inet static address 10.10.100.51 netmask 255.255.255.0 root@ip-xxxxxxx:/etc/network# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 172.31.0.1 0.0.0.0 UG 100 0 0 eth0 172.31.0.0 0.0.0.0 255.255.240.0 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

Comments

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 -0600 )edit
0

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

demontie gravatar image

Hi,

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 (10.11.12.0/24 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 10.11.12.0/24, 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

Stats

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

Seen: 323 times

Last updated: Dec 03 '13