Hello,
I've configured a Win 11 Vm as following:
Starting up the VM fails with this task log:
What's wrong ?
Thank you,
GV
I've configured a Win 11 Vm as following:
agent: 1
bios: ovmf
boot: order=ide0;ide2;net0
cores: 2
efidisk0: CEPH0:vm-108-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
ide0: CEPH0:vm-108-disk-1,discard=on,size=80G
ide2: ISO:iso/Win11_22H2_Italian_x64v1.iso,media=cdrom,size=5341118K
machine: pc-q35-6.2
memory: 4096
meta: creation-qemu=6.2.0,ctime=1667986669
name: METADCONSOLE01
net0: virtio=0A:92:A9:66:FA:84,bridge=vmbr0
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=8e87ecc4-5df7-423b-aeb4-024555bc75b0
sockets: 1
tpmstate0: CEPH0:vm-108-disk-2,size=4M,version=v2.0
vmgenid: ca790979-57d2-4b99-ac11-6222ae951c18
bios: ovmf
boot: order=ide0;ide2;net0
cores: 2
efidisk0: CEPH0:vm-108-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
ide0: CEPH0:vm-108-disk-1,discard=on,size=80G
ide2: ISO:iso/Win11_22H2_Italian_x64v1.iso,media=cdrom,size=5341118K
machine: pc-q35-6.2
memory: 4096
meta: creation-qemu=6.2.0,ctime=1667986669
name: METADCONSOLE01
net0: virtio=0A:92:A9:66:FA:84,bridge=vmbr0
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=8e87ecc4-5df7-423b-aeb4-024555bc75b0
sockets: 1
tpmstate0: CEPH0:vm-108-disk-2,size=4M,version=v2.0
vmgenid: ca790979-57d2-4b99-ac11-6222ae951c18
Starting up the VM fails with this task log:
did not load config file, using default settings.
2022-11-09 10:38:56.525 7fd6131d1080 -1 Errors while parsing config file!
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 Errors while parsing config file!
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
/dev/rbd0
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
swtpm_setup: Starting vTPM manufacturing as root:root @ Wed 09 Nov 2022 10:38:56 AM CET
swtpm_setup: TPM is listening on Unix socket.
swtpm_setup: Successfully created RSA 2048 EK with handle 0x81010001.
swtpm_setup: Invoking /usr/bin/swtpm_localca --type ek --ek dcf63101c9b9c1c922f179b44f9195db45da285d08bd9d3a042de373953b5e7c84e35464098ff6a06bac632f495e58bf49d65a95ad1e226a66db2ca650a319115064f206354b92db84e586d93eebf85906f8c861b95d24c16b03146e82c537891fb409711b34b28fa2336fee8e3ab974a5d321d892f5a457a451d98bb1c42d86ae196e4d76786dd12dc5bf32ae3a01608a02ccc115ee2ae14644f54658d3ba34b1b476909578af37ff331a26b80be118f4d4795cc83e13fac745c7074bd0b512d066cde08558bb01c12afc00f3552e6aac6aebd979ff6b7a4053fc69e524675857757dbbdaa04e7798c9bab84c33ce17f80d01d521aabd60d831b1d8775b1787 --dir /tmp/swtpm_setup.certs.H17XU1 --tpm-spec-family 2.0 --tpm-spec-level 0 --tpm-spec-revision 164 --tpm-manufacturer id:00001014 --tpm-model swtpm --tpm-version id:20191023 --tpm2 --configfile /etc/swtpm-localca.conf --optsfile /etc/swtpm-localca.options
swtpm_setup: swtpm_localca: Creating root CA and a local CA's signing key and issuer cert.
swtpm_setup: swtpm_localca: Successfully created EK certificate locally.
swtpm_setup: Invoking /usr/bin/swtpm_localca --type platform --ek dcf63101c9b9c1c922f179b44f9195db45da285d08bd9d3a042de373953b5e7c84e35464098ff6a06bac632f495e58bf49d65a95ad1e226a66db2ca650a319115064f206354b92db84e586d93eebf85906f8c861b95d24c16b03146e82c537891fb409711b34b28fa2336fee8e3ab974a5d321d892f5a457a451d98bb1c42d86ae196e4d76786dd12dc5bf32ae3a01608a02ccc115ee2ae14644f54658d3ba34b1b476909578af37ff331a26b80be118f4d4795cc83e13fac745c7074bd0b512d066cde08558bb01c12afc00f3552e6aac6aebd979ff6b7a4053fc69e524675857757dbbdaa04e7798c9bab84c33ce17f80d01d521aabd60d831b1d8775b1787 --dir /tmp/swtpm_setup.certs.H17XU1 --tpm-spec-family 2.0 --tpm-spec-level 0 --tpm-spec-revision 164 --tpm-manufacturer id:00001014 --tpm-model swtpm --tpm-version id:20191023 --tpm2 --configfile /etc/swtpm-localca.conf --optsfile /etc/swtpm-localca.options
swtpm_setup: swtpm_localca: Successfully created platform certificate locally.
swtpm_setup: Successfully created NVRAM area 0x1c00002 for RSA 2048 EK certificate.
swtpm_setup: Successfully created NVRAM area 0x1c08000 for platform certificate.
swtpm_setup: Successfully created ECC EK with handle 0x81010016.
swtpm_setup: Invoking /usr/bin/swtpm_localca --type ek --ek x=b9130497f7e91c7265ccfc5ae4897afb7ff6cbd699c684e2690284178e6b68eed01c03132514f3511466dbae6af11dd9,y=a09ae8b2046230388cafdba6238ebe8d57aeaabef0e15a1be0e4b104552e7d845900badb607ed096d859723021239e6b,id=secp384r1 --dir /tmp/swtpm_setup.certs.H17XU1 --tpm-spec-family 2.0 --tpm-spec-level 0 --tpm-spec-revision 164 --tpm-manufacturer id:00001014 --tpm-model swtpm --tpm-version id:20191023 --tpm2 --configfile /etc/swtpm-localca.conf --optsfile /etc/swtpm-localca.options
swtpm_setup: swtpm_localca: Successfully created EK certificate locally.
swtpm_setup: Successfully created NVRAM area 0x1c00016 for ECC EK certificate.
swtpm_setup: Successfully activated PCR banks sha256 among sha1,sha256,sha384,sha512.
swtpm_setup: Successfully authored TPM state.
swtpm_setup: Ending vTPM manufacturing @ Wed 09 Nov 2022 10:38:57 AM CET
kvm: -drive if=pflash,unit=1,cache=writeback,format=raw,id=drive-efidisk0,size=540672,file=rbd:CEPH0/vm-108-disk-0:mon_host=10.123.123.181;10.123.123.175;10.123.123.186:auth_supported=cephx:id=admin:keyring=/etc/pve/priv/ceph/CEPH0.keyring:rbd_cache_policy=writeback: invalid conf option rbd_cache_policy: No such file or directory
stopping swtpm instance (pid 2232456) due to QEMU startup error
did not load config file, using default settings.
2022-11-09 10:38:57.937 7fbf94463080 -1 Errors while parsing config file!
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 Errors while parsing config file!
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
TASK ERROR: start failed: QEMU exited with code 1
2022-11-09 10:38:56.525 7fd6131d1080 -1 Errors while parsing config file!
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 Errors while parsing config file!
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
/dev/rbd0
2022-11-09 10:38:56.525 7fd6131d1080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
swtpm_setup: Starting vTPM manufacturing as root:root @ Wed 09 Nov 2022 10:38:56 AM CET
swtpm_setup: TPM is listening on Unix socket.
swtpm_setup: Successfully created RSA 2048 EK with handle 0x81010001.
swtpm_setup: Invoking /usr/bin/swtpm_localca --type ek --ek dcf63101c9b9c1c922f179b44f9195db45da285d08bd9d3a042de373953b5e7c84e35464098ff6a06bac632f495e58bf49d65a95ad1e226a66db2ca650a319115064f206354b92db84e586d93eebf85906f8c861b95d24c16b03146e82c537891fb409711b34b28fa2336fee8e3ab974a5d321d892f5a457a451d98bb1c42d86ae196e4d76786dd12dc5bf32ae3a01608a02ccc115ee2ae14644f54658d3ba34b1b476909578af37ff331a26b80be118f4d4795cc83e13fac745c7074bd0b512d066cde08558bb01c12afc00f3552e6aac6aebd979ff6b7a4053fc69e524675857757dbbdaa04e7798c9bab84c33ce17f80d01d521aabd60d831b1d8775b1787 --dir /tmp/swtpm_setup.certs.H17XU1 --tpm-spec-family 2.0 --tpm-spec-level 0 --tpm-spec-revision 164 --tpm-manufacturer id:00001014 --tpm-model swtpm --tpm-version id:20191023 --tpm2 --configfile /etc/swtpm-localca.conf --optsfile /etc/swtpm-localca.options
swtpm_setup: swtpm_localca: Creating root CA and a local CA's signing key and issuer cert.
swtpm_setup: swtpm_localca: Successfully created EK certificate locally.
swtpm_setup: Invoking /usr/bin/swtpm_localca --type platform --ek dcf63101c9b9c1c922f179b44f9195db45da285d08bd9d3a042de373953b5e7c84e35464098ff6a06bac632f495e58bf49d65a95ad1e226a66db2ca650a319115064f206354b92db84e586d93eebf85906f8c861b95d24c16b03146e82c537891fb409711b34b28fa2336fee8e3ab974a5d321d892f5a457a451d98bb1c42d86ae196e4d76786dd12dc5bf32ae3a01608a02ccc115ee2ae14644f54658d3ba34b1b476909578af37ff331a26b80be118f4d4795cc83e13fac745c7074bd0b512d066cde08558bb01c12afc00f3552e6aac6aebd979ff6b7a4053fc69e524675857757dbbdaa04e7798c9bab84c33ce17f80d01d521aabd60d831b1d8775b1787 --dir /tmp/swtpm_setup.certs.H17XU1 --tpm-spec-family 2.0 --tpm-spec-level 0 --tpm-spec-revision 164 --tpm-manufacturer id:00001014 --tpm-model swtpm --tpm-version id:20191023 --tpm2 --configfile /etc/swtpm-localca.conf --optsfile /etc/swtpm-localca.options
swtpm_setup: swtpm_localca: Successfully created platform certificate locally.
swtpm_setup: Successfully created NVRAM area 0x1c00002 for RSA 2048 EK certificate.
swtpm_setup: Successfully created NVRAM area 0x1c08000 for platform certificate.
swtpm_setup: Successfully created ECC EK with handle 0x81010016.
swtpm_setup: Invoking /usr/bin/swtpm_localca --type ek --ek x=b9130497f7e91c7265ccfc5ae4897afb7ff6cbd699c684e2690284178e6b68eed01c03132514f3511466dbae6af11dd9,y=a09ae8b2046230388cafdba6238ebe8d57aeaabef0e15a1be0e4b104552e7d845900badb607ed096d859723021239e6b,id=secp384r1 --dir /tmp/swtpm_setup.certs.H17XU1 --tpm-spec-family 2.0 --tpm-spec-level 0 --tpm-spec-revision 164 --tpm-manufacturer id:00001014 --tpm-model swtpm --tpm-version id:20191023 --tpm2 --configfile /etc/swtpm-localca.conf --optsfile /etc/swtpm-localca.options
swtpm_setup: swtpm_localca: Successfully created EK certificate locally.
swtpm_setup: Successfully created NVRAM area 0x1c00016 for ECC EK certificate.
swtpm_setup: Successfully activated PCR banks sha256 among sha1,sha256,sha384,sha512.
swtpm_setup: Successfully authored TPM state.
swtpm_setup: Ending vTPM manufacturing @ Wed 09 Nov 2022 10:38:57 AM CET
kvm: -drive if=pflash,unit=1,cache=writeback,format=raw,id=drive-efidisk0,size=540672,file=rbd:CEPH0/vm-108-disk-0:mon_host=10.123.123.181;10.123.123.175;10.123.123.186:auth_supported=cephx:id=admin:keyring=/etc/pve/priv/ceph/CEPH0.keyring:rbd_cache_policy=writeback: invalid conf option rbd_cache_policy: No such file or directory
stopping swtpm instance (pid 2232456) due to QEMU startup error
did not load config file, using default settings.
2022-11-09 10:38:57.937 7fbf94463080 -1 Errors while parsing config file!
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 Errors while parsing config file!
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /etc/ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open /.ceph/ceph.conf: (2) No such file or directory
2022-11-09 10:38:57.937 7fbf94463080 -1 parse_file: cannot open ceph.conf: (2) No such file or directory
TASK ERROR: start failed: QEMU exited with code 1
What's wrong ?
Thank you,
GV