Hi everyone,
I’m really new in opennebula and i’m trying to configure both “the frontend and worker node” in a single server. I have attempted to follow the documentation here for configuring Open Nebula:
http://docs.opennebula.org/4.12/design_and_installation/quick_starts/qs_ubuntu_kvm.html
Unfortunately, i can’t ping my virtual machine neither connect by ssh.
I have de following configuration:
network inteface configuration:
The loopback network interface
auto lo
iface lo inet loopback
auto br0
iface br0 inet dhcp
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
ifconfig -a
br0 Link encap:Ethernet direcciónHW 00:09:3d:13:49:a3
Direc. inet:158.42.104.139 Difus.:158.42.107.255 Másc: 255.255.252.0
ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST MTU:1500 Métrica:1
Paquetes RX:14171349 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:33911 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:0
Bytes RX:1215082462 (1.2 GB) TX bytes:4477371 (4.4 MB)
eth0 Link encap:Ethernet direcciónHW 00:09:3d:13:49:a3
ACTIVO DIFUSIÓN FUNCIONANDO MULTICAST MTU:1500 Métrica:1
Paquetes RX:26205686 errores:0 perdidos:15549 overruns:0 frame: 0
Paquetes TX:36656 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:1000
Bytes RX:3187181063 (3.1 GB) TX bytes:4892183 (4.8 MB)
Interrupción:24
virbr0 Link encap:Ethernet direcciónHW 8a:96:61:a8:2a:40
Direc. inet:192.168.122.1 Difus.:192.168.122.255 Másc:255.255 .255.0
ACTIVO DIFUSIÓN MULTICAST MTU:1500 Métrica:1
Paquetes RX:0 errores:0 perdidos:0 overruns:0 frame:0
Paquetes TX:0 errores:0 perdidos:0 overruns:0 carrier:0
colisiones:0 long.colaTX:0
Bytes RX:0 (0.0 B) TX bytes:0 (0.0 B)
my network template
NAME = “private simple”
BRIDGE = br0
AR = [
TYPE = IP4,
IP = 192.168.122.100,
SIZE = 5
]
As you can see i can instantiate a new VM without problem:
onevm list
ID USER GROUP NAME STAT UCPU UMEM HOST TIME
10 oneadmin oneadmin my_vm_2_basic runn 1.0 512M localhost 5d 08h55
onevm show 10
VIRTUAL MACHINE 10 INFORMATION
ID : 10
NAME : my_vm_2_basic
USER : oneadmin
GROUP : oneadmin
STATE : ACTIVE
LCM_STATE : RUNNING
RESCHED : No
HOST : localhost
CLUSTER ID : -1
CLUSTER : default
START TIME : 06/03 15:15:50
END TIME : -
DEPLOY ID : one-10
VIRTUAL MACHINE MONITORING
CPU : 0.5
MEMORY : 512M
NETTX : 79K
NETRX : 320.5M
PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —
VM DISKS
ID DATASTORE TARGET IMAGE SIZE TYPE SAVE
0 default hda CentOS-6.5_x86_64 817M/267M file NO
1 - hdb CONTEXT 0M/- - -
VM NICS
ID NETWORK VLAN BRIDGE IP MAC
0 private simple no br0 192.168.122.100 02:00:c0:a8:7a:64
SECURITY
NIC_ID NETWORK SECURITY_GROUPS
0 private simple 0
SECURITY GROUP TYPE PROTOCOL NETWORK RANGE
ID NAME VNET START SIZE
0 default OUTBOUND ALL
0 default INBOUND ALL
VIRTUAL MACHINE HISTORY
SEQ HOST ACTION DS START TIME PROLOG
0 localhost stop 0 06/03 15:16:05 1d 04h01m 0h00m35s
1 localhost none 0 06/07 16:53:13 1d 07h28m 0h00m00s
VIRTUAL MACHINE TEMPLATE
AUTOMATIC_REQUIREMENTS=“!(PUBLIC_CLOUD = YES)”
CONTEXT=[
DISK_ID=“1”,
SSH_PUBLIC_KEY=“public key is here”,
TARGET=“hdb” ]
CPU=“1”
GRAPHICS=[
LISTEN=“0.0.0.0”,
PORT=“5910”,
TYPE=“vnc” ]
MEMORY=“512”
OS=[
ARCH=“x86_64” ]
TEMPLATE_ID=“6”
VCPU=“1”
VMID=“10”
After several attempts i don’t know where is the problem, anyone maybe know what can be the reason why i can’t ping my VM??? Please