Ask Your Question

Problem on login the VM

asked 2013-11-04 00:44:38 -0500

rbking gravatar image


I am following the steps on creating the VM in OPENSTACK MANUALS for RHEL/CENTOS, and I am able to create and boot up the image by command "nova boot --flavor 1 --key_name mykey --image 9e5c2bee-0373-414c-b4af-b91b0246ad3b --security_group default cirrOS".

The status of the VM is show below.

[root@compute1 ~]# nova list


| ID | Name | Status | Task State | Power State | Networks |


| 9656ec5c-714f-42e4-829b-68d4747f3413 | cirrOS | ACTIVE | None | Running | vmnet= |


After that I tried to access the VM through ssh command, but I am failed.

[root@compute1 ~]# ssh ssh: connect to host port 22: No route to host

Need an urgent help here as I stuck in this step for several days already.


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-11-04 00:52:13 -0500

dheeru gravatar image

What is the IP address of Comput1 ? Can you ping new from your compute1 ? Here I suspect the routing issue from your comput1 to vm network.

edit flag offensive delete link more

answered 2013-11-04 01:13:28 -0500

rbking gravatar image

updated 2013-11-04 01:14:49 -0500

Hi, the interface br100 is setup as and I am not able to ping the IP address of

[root@compute1 ~]# netstat -rnv

Kernel IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface U 0 0 0 br100 U 0 0 0 eth1 U 0 0 0 virbr0 U 0 0 0 eth0 U 0 0 0 eth0 U 0 0 0 eth1 U 0 0 0 br100

edit flag offensive delete link more


Hope you have configured the following. $ nova secgroup-add-rule default icmp -1 -1 $ nova secgroup-add-rule default tcp 22 22 If not check where the packets are going using 'traceroute ipaddress'. Hope it will give some hint for you.

dheeru gravatar imagedheeru ( 2013-11-04 01:44:41 -0500 )edit

Hi, I did add the commands. but it still failed. I tried to check the console.log located at /var/lib/nova/instances/9656ec5c-714f-42e4-829b-68d4747f3413, but nothing is being recorded. below is the kvm process of the instance. any idea? [root@compute1 ~]# ps -ef|grep kvm qemu 3205 1 20 15:46 ? 00:00:17 /usr/libexec/qemu-kvm -name instance-00000002 -S -M rhel6.4.0 -cpu pentium,+lahf_lm,+lm,+nx,+syscall,+hypervisor,+avx,+osxsave,+xsave,+aes,+popcnt,+x2apic,+sse4.2,+sse4.1,+cx16,+ssse3,+pclmuldq,+pni,+ss,+sse2,+sse,+fxsr,+clflush,+pse36,+pat,+cmov,+mca,+pge,+mtrr,+apic,+pae -no-kvm -m 512 -smp 1,sockets=1,cores=1,threads=1 -uuid 9656ec5c-714f-42e4-829b-68d4747f3413 -smbios type=1,manufacturer=Red Hat Inc.,product=OpenStack Nova,version=2013.2-2.el6,serial=6fcce9f6-42e2-8265-8c60-f9b9a3340ff2,uuid=9656ec5c-714f-42e4-829b-68d4747f3413 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-00000002.monitor,server,nowait -mon

rbking gravatar imagerbking ( 2013-11-04 01:52:10 -0500 )edit

Did you run the command 'traceroute' from compute ?

dheeru gravatar imagedheeru ( 2013-11-04 02:08:41 -0500 )edit

Yes. but error is responded. [root@compute1 ~]# traceroute traceroute to (, 30 hops max, 60 byte packets send: Operation not permitted

rbking gravatar imagerbking ( 2013-11-04 02:12:35 -0500 )edit

Is it multi node setup ? If yes, can bring down the second compute node and try creating new VM and then ping. I'm trying to ensure that second compute node is not causing any issue

dheeru gravatar imagedheeru ( 2013-11-05 03:04:27 -0500 )edit

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-11-04 00:44:38 -0500

Seen: 759 times

Last updated: Nov 04 '13