First PVE Cluster w/Ceph, Template Full Clone issue.

PepperHead

New Member
Apr 29, 2020
3
0
1
62
What am I doing wrong? "qm clone 9000 100 --name dev-master1 --full 1 --storage vmrbd" only cloned the cloudinit
Returns "create full clone of drive ide2 (vmrbd:vm-9000-cloudinit)"

The Cloud init image is cloned, and exists in the rbd storage, but no image clone.

Steps I used to create the Template:

Code:
wget http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
qm importdisk 9000 ./CentOS-7-x86_64-GenericCloud.qcow2 vmrbd  # import an image into the rbd
qm set 9000 --ide2 vmrbd:cloudinit
qm set 9000 --boot c --bootdisk scsi0
qm set 9000 --serial0 socket --vga serial0
qm template 9000
qm clone 9000 100 --name dev-master1 --full 1 --storage vmrbd

I have the controller set to VirtIO.
 
Thanks for the reply.
Removing the "1" showed that it was unnecessary, but I get the same result: only the cloud init gets cloned.
The new VM exists, but only with the cloud init.
 
Figured it out, with your help.
I went line by line and verified what I did, and found what I did NOT do: Connect the imported drive tot he template.
qm set 9000 --scsihw virtio-scsi-pci --scsi0 vmrbd:vm-9000-disk-1

Connected and working. Gratzi!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!