unable to ping my instance after creating it [closed]

asked 2013-06-12 02:59:04 -0500

nour.nakko gravatar image

updated 2013-06-12 06:15:12 -0500

fifieldt gravatar image

Hello,

I created an instance using nova create, i have this output with nova list

 ID | Name | Status | Networks |
+--------------------------------------+--------+--------+----------------------+
| 888a8c11-2483-4842-b6cf-75444eee6758 | cirros | ACTIVE | private=192.168.10.5

but the problem is that i couldn't ping the ip address 192.168.10.5

Could you plz help me to solve this issue

##########################

when using this command: nova console-log 888a8c11-2483-4842-b6cf-75444eee6758

I notice this error on the log :

udhcpc (v1.18.5) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
WARN: /etc/rc3.d/S40network failed
cloudsetup: checking http://169.254.169.254/20090404/metadata/instanceid
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 1/30: up 11.37. request failed
wget: can't connect to remote host (169.254.169.254): Network is unreachable
cloudsetup: failed 2/30: up 12.38. request failed

Can u help me to fix this issue

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-06-05 21:22:59.170795

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-07-31 05:21:28 -0500

Sifty gravatar image

Found this... sorted the issue - hope this helps other noobs out there. Thanks to all for comments.

https://github.com/mseknibilel/OpenStack-Folsom-Install-guide/issues/14

Gah! Finally figured this out: https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/ch11s02.html

Added: iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill

And now I get leases... talk about obscure...

edit flag offensive delete link more

Comments

Sorry I read your link but I still don't know what to do. Sould I run the command `iptables -A POSTROUTING -t mangle -p udp --dport 68 -j CHECKSUM --checksum-fill ` on the network node, on the compute node (c01), or on the cloud controller node. Or should I run on the instance itselft? Please help

Chien Q. Vu gravatar imageChien Q. Vu ( 2013-08-29 02:16:49 -0500 )edit

This was in relation to using the controller node as a compute node too, so I only added this rule to the controller node in order to use the controller node resources as a compute resource. See this thread for reference to my problem. https://ask.openstack.org/en/question/3460/is-it-possible-to-run-instances-on-the-cloud-controller-as-well/

Sifty gravatar imageSifty ( 2013-08-30 07:46:37 -0500 )edit

Hi, the link you posted ( https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Host_Configuration_and_Guest_Installation_Guide/ch11s02.html) is "11.2. Disabling vhost-net", how does this clarify the iptables change, or am i missing something?

n-paladi gravatar imagen-paladi ( 2013-09-18 08:17:03 -0500 )edit
1

answered 2013-06-14 14:31:37 -0500

james.shimer gravatar image

You need to get DHCP setup. Make sure /etc/quantum/dhcp_agent.ini, matches http://docs.openstack.org/grizzly/openstack-network/admin/content/. I would follow one one of the demos from Apendix A.

edit flag offensive delete link more

Comments

So does this mean i have to install Quantum ? - was trying to keep it simple by using openstack-nova-network Is it possible to boot locally launched instances into nova-network configurations ?

Sifty gravatar imageSifty ( 2013-07-31 02:42:19 -0500 )edit

I am really interested in knowing if this possible with nova-network. all i d'like to do is access my instance (10.0.0.3) which runs on my compute node (192.168.2.241) from my controller node (192.168.2.240).

Bohr Tyr gravatar imageBohr Tyr ( 2014-01-14 04:40:30 -0500 )edit

Yet same issues , i am not using IP tables on ubuntu . can you guide me how to get VM instance IP ?

Vanathu chinnappan gravatar imageVanathu chinnappan ( 2014-07-18 14:55:24 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2013-06-12 02:59:04 -0500

Seen: 4,518 times

Last updated: Jul 31 '13