tatay188 opened a new issue, #10643:
URL: https://github.com/apache/cloudstack/issues/10643

   ### problem
   
   ANother Log The Initial VMs are not being created,
   
   I am unabel to delete the primary storage, I have had to recreate, the logs 
show the IPv6 addresses Truncated, after OO: ther should be another 16 bits Hex 
number.
   
   
   
   2025-04-01 02:33:54,480 DEBUG [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Starting copy from source image 
/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 to RBD image 3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0
   2025-04-01 02:33:54,480 DEBUG [utils.script.Script] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Executing command [qemu-img 
convert -O raw -U --image-opts 
driver=qcow2,file.filename=/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30
 ].
   2025-04-01 02:33:54,532 WARN  [utils.script.Script] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Execution of process [7500] for 
command [qemu-img convert -O raw -U --image-opts 
driver=qcow2,file.filename=/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30
 ] failed.
   2025-04-01 02:33:54,532 DEBUG [utils.script.Script] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Exit value of process [7500] for 
command [qemu-img convert -O raw -U --image-opts 
driver=qcow2,file.filename=/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30
 ] is [1].
   2025-04-01 02:33:54,532 WARN  [utils.script.Script] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Process [7500] for command 
[qemu-img convert -O raw -U --image-opts 
driver=qcow2,file.filename=/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30
 ] encountered the error: [qemu-img: 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30:
 error while converting raw: invalid conf option 
550:5607:fff0::22:24;20XX:YYYY:ZZZZ:LLLL::OO:26;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported:
 No such file or directory].
   2025-04-01 02:33:54,532 ERROR [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Failed to convert from 
/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 to 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30
 the error was: qemu-img: 
rbd:3cephUserandPool/f32a0f81-5661-41ac-832f-f5dfffa8b1e0:mon_host=20XX:YYYY:ZZZZ:LLLL::OO:24\;20XX:YYYY:ZZZZ:LLLL::OO:26\;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported=cephx:id=3cephUserandPool:key=KEYGENERATEDBYCEPH:rbd_default_format=2:client_mount_timeout=30:
 error while converting raw: invalid conf option 
550:5607:fff0::22:24;20XX:YYYY:ZZZZ:LLLL::OO:26;20XX:YYYY:ZZZZ:LLLL::OO:auth_supported:
 No such file or directory
   2025-04-01 02:33:54,532 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Attempting to remove storage pool 
a1aa3257-b554-3896-a168-a593ebde9994 from libvirt
   2025-04-01 02:33:54,532 DEBUG [kvm.resource.LibvirtConnection] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Looking for libvirtd connection 
at: qemu:///system
   2025-04-01 02:33:54,534 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Storage pool 
a1aa3257-b554-3896-a168-a593ebde9994 has no corresponding secret. Not removing 
any secret.
   2025-04-01 02:33:54,577 INFO  [kvm.storage.LibvirtStorageAdaptor] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Storage pool 
a1aa3257-b554-3896-a168-a593ebde9994 was successfully removed from libvirt.
   2025-04-01 02:33:54,579 DEBUG [cloud.agent.Agent] 
(agentRequest-Handler-4:[]) (logid:d64e452c) Seq 3-8729383452727574659:  { Ans: 
, MgmtId: 250977680725600, via: 3, Ver: v1, Flags: 110, 
[{"org.apache.cloudstack.storage.command.CopyCmdAnswer":{"result":"false","details":"com.cloud.utils.exception.CloudRuntimeException:
 Failed to copy 
/mnt/a1aa3257-b554-3896-a168-a593ebde9994/5ccb81a1-26ec-4d57-a02a-37f81e09be08.qcow2
 to 
f32a0f81-5661-41ac-832f-f5dfffa8b1e0","wait":"0","bypassHostMaintenance":"false"}}]
 }
   2025-04-01 02:33:54,621 DEBUG [cloud.agent.Agent] 
(agentRequest-Handler-3:[]) (logid:d64e452c) Request:Seq 3-8729383452727574660: 
 { Cmd , MgmtId: 250977680725600, via: 3, Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.StopCommand":{"isProxy":"false","checkBeforeCleanup":"false","controlIp":"169.254.138.135","forceStop":"false","volumesToDisconnect":[],"vmName":"v-172-VM","executeInSequence":"false","wait":"0","bypassHostMaintenance":"false"}}]
 }
   2025-04-01 02:33:54,621 DEBUG [cloud.agent.Agent] 
(agentRequest-Handler-3:[]) (logid:d64e452c) Processing command: 
com.cloud.agent.api.StopCommand
   2025-04-01 02:33:54,621 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] 
(agentRequest-Handler-3:[]) (logid:d64e452c) backing up the cmdline
   2025-04-01 02:33:57,691 DEBUG [resource.wrapper.LibvirtStopCommandWrapper] 
(agentRequest-Handler-3:[]) (logid:d64e452c) Failed to backup cmdline file due 
to There was a problem while connecting to 169.254.138.135:3922
   
   
   
   Error logs showing:
   
   libvirt: Remote Driver error : invalid argument: Connections from inside 
daemon must be direct
   libvirt: QEMU Driver error : Domain not found: no domain with matching name 
'v-172-VM'
   libvirt: QEMU Driver error : Domain not found: no domain with matching name 
'v-172-VM'
   libvirt: QEMU Driver error : Domain not found: no domain with matching name 
'v-172-VM'
   libvirt: QEMU Driver error : Domain not found: no domain with matching name 
'v-172-VM'
   libvirt: QEMU Driver error : Domain not found: no domain with matching name 
'v-172-VM'
   libvirt: Storage Driver error : Storage pool not found: no storage pool with 
matching uuid 'a1aa3257-b554-3896-a168-a593ebde9994'
   libvirt: Secrets Driver error : Secret not found: no secret with matching 
uuid 'a1aa3257-b554-3896-a168-a593ebde9994'
   
   
   The Host VM reached the IPV6 ip.
   
   
   ### versions
   
   ACS 4.20.0
   Hypervisor KVM
   Primary stoarge CEPH Squid RBD
   Secondary NFS EMC
   VXLAN Only no VLANS anywhere
   
   
   ### The steps to reproduce the bug
   
   1.Install Ceph, Management, KVM host
   2.Primary storage using CEPH RBD
   3.Adding Host, Infrastructure VMs start, but do not complete
   
   ...
   
   
   ### What to do about it?
   
   Any help, or guidance, Seems a bug. I am unable to try with IPv4, and the 
CEPH is settle as IPv6.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to