[Openstack] External network Issues
Akash Gunjal
akgunjal at in.ibm.com
Mon Aug 10 05:02:55 UTC 2015
Hi,
So your DHCP agent is not working as expected. Check if the agent is
configured properly and running. The DHCP agent should assign the IP
address from private tenant network to the VM. Only then you can connect to
it through floating IP.
Regards,
Akash
From: Dhvanan Shah <dhvanan at gmail.com>
To: Akash Gunjal/India/IBM at IBMIN
Cc: openstack at lists.openstack.org
Date: 08/09/2015 06:11 PM
Subject: Re: [Openstack] External network Issues
Hi,
I'm able to access the VM console thru the dashboard, on logging in I see
that the instance does not have a public IP address assigned to it.
Also on doing a ifup eth0 -
udhcpc (v1.20.1) started
sending discover ....
sending discover ....
sending discover ....
No lease, failing.
And in the case where I'm first assigning the instance to a private network
and then associating a floating IP, the VM gets a private network IP but
not a public one.
The image I'm using is Cirros-0.3.3.
Any suggestions?
Thanks,
Dhvanan
On Sat, Aug 8, 2015 at 9:39 PM, Akash Gunjal <akgunjal at in.ibm.com> wrote:
The only other thing to check is if your network parameters such as
netmask is correct.
Regards,
Akash
Inactive hide details for Dhvanan Shah ---08/08/2015 07:28:33 PM---Hi
Akash, I made the changes you pointed out, but it doesn'tDhvanan Shah
---08/08/2015 07:28:33 PM---Hi Akash, I made the changes you pointed out,
but it doesn't seem to make any
From: Dhvanan Shah <dhvanan at gmail.com>
To: Akash Gunjal/India/IBM at IBMIN
Cc: openstack at lists.openstack.org, nithish B <bestofnithish at gmail.com>
Date: 08/08/2015 07:28 PM
Subject: Re: [Openstack] External network Issues
Hi Akash,
I made the changes you pointed out, but it doesn't seem to make any
difference. I am in the same network as the server but still not able to
ping or ssh to the vm. I double checked my networking rules and have
configured tcp and icmp properly. Don't really know where this might be
breaking. Is there anything else I can do to debug this issue?
I also have a installation guide document that I followed, if you want it
for reference.
-
https://docs.google.com/document/d/1hrIjbjIF-nS_Lq6jJTPSeXjz-ZnPG6-OjYm3gEbtvTw/edit?usp=sharing
Thanks,
Dhvanan
On Thu, Aug 6, 2015 at 10:56 AM, Akash Gunjal <akgunjal at in.ibm.com>
wrote:
Hi Dhvanan,
Couple of changes are needed in the ifcfg-br-ex file. Please check
the changes I made in below.
ifcfg-br-ex
DEVICE=br-ex
BOOTPROTO=static
IPADDR=<your workstation IP address> e.g 10.16.37.221
NETMASK=255.255.255.0
DNS1=<your n/w DNS1> e.g 10.16.25.13
DNS2=<your n/w DNS2> e.g 10.16.25.15
BROADCAST=10.16.37.255
GATEWAY=10.16.37.1
NM_CONTROLLED="no"
DEFROUTE=yes
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT=yes
TYPE=OVSBridge
OVS_BRIDGE=br-ex
DEVICETYPE=ovs
Regards,
Akash
Inactive hide details for Dhvanan Shah ---08/04/2015 07:19:09
PM---Hi, I have deployed Kilo using Packstack on CentOS , but I a
Dhvanan Shah ---08/04/2015 07:19:09 PM---Hi, I have deployed Kilo
using Packstack on CentOS , but I am having troubles
From: Dhvanan Shah <dhvanan at gmail.com>
To: openstack at lists.openstack.org
Date: 08/04/2015 07:19 PM
Subject: [Openstack] External network Issues
Hi,
I have deployed Kilo using Packstack on CentOS , but I am having
troubles accessing the VM's that I spawn , through the public IP's
that they are assigned to them.
I created my network as follows:
CREATE NETWORK FOR OPENSTACK
1. a. neutron router-gateway-clear router1 (neutron
router-gateway-list)
b. neutron subnet-delete public_subnet
c. neutron net-delete public
d. neutron router-interface-delete router1 private_subnet
e. neutron subnet-delete private_subnet
f. neutron net-delete private
g. neutron router-delete router1
2. a. neutron router-create router1
b. neutron net-create private
c. neutron subnet-create --name private_subnet private
192.168.0.0/16 --allocation-pool
start=192.168.0.0,end=192.168.255.250
d. neutron router-interface-add router1 private_subnet
3. a. neutron net-create public --router:external=True
//(neutron net-create public --router:external)
b. neutron subnet-create public 10.16.37.0/24 <set for your
n/w> --name public_subnet --enable_dhcp=False
--allocation-pool start=10.16.37.230,end=10.16.37.250 <make
sure that it will not conflict with other IP address>
--gateway=10.16.37.1 <your n/w gateway>
c. neutron router-gateway-set router1 public
Also I made changes in the ifcfg-br-ex file and ifcfg-<my network>
file in /etc/sysconfig/network-scripts.
The Changes were as follows:
ifcfg-br-ex
DEVICE=br-ex
BOOTPROTO=static
IPADDR=<your workstation IP address> e.g 10.16.37.221
NETMASK=255.255.255.0
DNS1=<your n/w DNS1> e.g 10.16.25.13
DNS2=<your n/w DNS2> e.g 10.16.25.15
BROADCAST=10.16.37.255
GATEWAY=10.16.37.1
NM_CONTROLLED="no"
DEFROUTE=yes
IPV4_FAILURE_FATAL="yes"
IPV6INIT=no
ONBOOT=yes
TYPE=OVSIntPort
OVS_BRIDGE=br-ex
DEVICETYPE=ovs
ifcfg-p2p1
DEVICE=p2p1 <change with your device name>
# HWADDR=00:22:15:63:E4:E2
ONBOOT="yes"
TYPE="OVSPort"
DEVICETYPE="ovs"
OVS_BRIDGE=br-ex
NM_CONTROLLED=no
IPV6INIT=no
There is also a proxy in the network and so for that, I installed
by "packstack --allinone --provision-demo=n
--provision-all-in-one-ovs-bridge=n".
Could someone suggest me a reason as to why i might be facing
issues or probably where I can look to debug this issue.
Thanks,
Dhvanan Shah_______________________________________________
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack at lists.openstack.org
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150810/b0b9556d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150810/b0b9556d/attachment.gif>
More information about the Openstack
mailing list