Problem with create centos vm in virtual box
Hello,
I use virtual box to setup an allinone env in local machine.
when I use heat template like below, all things go well. I can nova list, and ping the IP of this vm.
heat_template_version: 2013-05-23 resources: instance: type: OS::Nova::Server properties: image: cirros-0.3.4-x86_64-uec flavour: m1.tiny key_name: heat_key
However when I do these process: 1. download image from http://cloud.centos.org/centos/6/imag...
glance image-create –name centos6.5 –disk-format=qcow2 –container-format=bare –file=/mnt/image/CentOS-6-x86_64-GenericCloud-1508.qcow2
change template like this way:
heat_template_version: 2013-05-23 resources: instance: type: OS::Nova::Server properties: image: centos flavour: m1.medium key_name: heat_key
heat stack-create -f centos.yaml test
nova list, I can find the IP, but it unreachable and I can not use ssh neither.
I use nova console-log check the vm create log, it does not show anything. I try to logon the centos vm, but it fails.
which step am I wrong?
in fact, I want to play with cloud-init, but the first step is try to create a vm with cloud-init. the cirros-0.3.4-x86_64-uec seem without cloud-init inside.
is there any other way to solve the problem?
Im seeing that you use the name centos at rhe yml file and the image is called centos6.5. Try using the id, and add set a network resource at the file. Regards