openstack error -cirros image - can not start

Environment: openstack release train, cirros mirror cirros-0.5.0-x86_64-disk.img

About cirros mirror, I encountered two problems:

Example 1 After starting up the card in the grub prompt, as shown in FIG.

 

 After the query data, identify problems and point to a virtual machine model problem, a lot of online answers referred to openstack virtual machine mode change from kvm qemu.

But the reasons are far-fetched interpretation, by querying cirros's website , cirros mirrored referred only to support qemu, no other mode will be described. openstack use kvm default, so causing the problem.

Solution to this: In computing nodes, modify the configuration file /etc/nova/nova-compute.conf:

[the libvirt] 
# virtual mode to qemu, default KVM 
virt_type = QEMU

Take effect after restart the service:

# systemctl restart openstack-nova-compute

But they encountered a new problem, as shown below

2 startup error VFS: unable to mount root fs

Look online analysis, possibly caused by memory because memory is too small, I create an instance of time in accordance with the online tutorial, the allocation of 64mb.

Solution:

New instance type in the control panel, to adjust the memory to 128mb, re-create the virtual machine, started successfully.

 

Guess you like

Origin www.cnblogs.com/learn2teach/p/12456635.html