CentOS 7 VM hangs at boot under Vagrant

I’m trying to get familiar with OpenNebula by creating a simple virtual setup in Vagrant with libvirt on Ubuntu 14.04: https://github.com/marcindulak/vagrant-opennebula-tutorial-centos7
I documented all the steps on the command line.

I reach the step where I start a VM with “onetemplate instantiate CentOS-7”,
but in vnc I see the VM starts booting CentOS 7 kernel and after that hangs on black screen and blinking cursor. I’m using OpenNebula marketplace CentOS 7.1 - KVM.

I’ve looked at a couple of similar threads (one suggesting removing apparmor on the host what I did ):slight_smile: and https://github.com/call518/EYWA-on-Vagrant claiming that a similar setup works even with Virtualbox despite missing nested virtualization, so I must be missing something basic.

Info at the time the VM is hanging:

[oneadmin@frontend ~]$ onevm list
ID USER GROUP NAME STAT UCPU UMEM HOST TIME
0 oneadmin oneadmin CentOS-7-0 runn 99.0 127M node1 0d 00h08

[oneadmin@frontend ~]$ onedatastore list
ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM STAT
0 system 37.2G 89% - 0 sys - shared on
1 default 37.2G 89% - 1 img fs shared on
2 files 37.2G 89% - 0 fil fs ssh on

[oneadmin@node1 ~]$ df -h /var/lib/one/
Filesystem Size Used Avail Use% Mounted on
frontend:/var/lib/one 38G 2.1G 34G 6% /var/lib/one

[oneadmin@frontend ~]$ onevm show 0
VIRTUAL MACHINE 0 INFORMATION
ID : 0
NAME : CentOS-7-0
USER : oneadmin
GROUP : oneadmin
STATE : ACTIVE
LCM_STATE : RUNNING
RESCHED : No
HOST : node1
CLUSTER ID : -1
CLUSTER : default
START TIME : 11/27 05:18:48
END TIME : -
DEPLOY ID : one-0

VIRTUAL MACHINE MONITORING
CPU : 99.9
MEMORY : 127M
NETTX : 0K
NETRX : 17K

PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —

VM DISKS
ID DATASTORE TARGET IMAGE SIZE TYPE SAVE
0 default hda CentOS-7-one-4.8 377M/10G file NO
1 - hdb CONTEXT 0M/- - -

VM NICS
ID NETWORK VLAN BRIDGE IP MAC
0 private no br1 192.168.10.101 02:00:c0:a8:0a:65

SECURITY

NIC_ID NETWORK SECURITY_GROUPS
0 private 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 node1 none 0 11/27 05:18:49 0d 00h10m 0h00m12s

VIRTUAL MACHINE TEMPLATE
AUTOMATIC_REQUIREMENTS="!(PUBLIC_CLOUD = YES)"
CONTEXT=[
DISK_ID=“1”,
ETH0_IP=“192.168.10.101”,
ETH0_MAC=“02:00:c0:a8:0a:65”,
NETWORK=“YES”,
SSH_PUBLIC_KEY=“ssh-rsa XXX== vagrant insecure public key”,
TARGET=“hdb” ]
CPU="1"
GRAPHICS=[
LISTEN=“0.0.0.0”,
PORT=“5900”,
TYPE=“vnc” ]
MEMORY="127"
OS=[
ARCH=“x86_64” ]
TEMPLATE_ID="0"
VCPU="1"
VMID=“0”