The error is error while converting raw: error rbd create: File exists remove the file on ceph pool and retry.
-Wei On Saturday, March 8, 2025, TechnologyRss <technologyrss.m...@gmail.com> wrote: > Hello dear, > > Please see my error. > > ceph primary storage error, > > error from kvm host.... > ++++++++++ > 696863ac13 from libvirt > 2025-02-25 15:59:08,131 WARN [utils.script.Script] > (agentRequest-Handler-2:[]) (logid:08686e8e) Execution of process [35322] > for command [qemu-img convert -O raw -U --image-opts > driver=qcow2,file.filename=/mnt/bac494c1-23a0-3405-b8c0- > 57b2c0b9c0a4/c310e318-4ece-444a-a681-c5bf590a6b48.qcow2 > rbd:cephcloud/c310e318-4ece-444a-a681-c5bf590a6b48:mon_ > host=192.168.1.20\;192.168.1.22\;192.168.1.15\;192.168.1. > 23:auth_supported=cephx:id=primaryceph:key=AQAFxr1n4d1wHxAA2sAompPKt/ > WOy2y0ChjE6Q==:rbd_default_format=2:client_mount_timeout=30 > ] failed. > 2025-02-25 15:59:08,131 WARN [utils.script.Script] > (agentRequest-Handler-2:[]) (logid:08686e8e) Process [35322] for command > [qemu-img convert -O raw -U --image-opts > driver=qcow2,file.filename=/mnt/bac494c1-23a0-3405-b8c0- > 57b2c0b9c0a4/c310e318-4ece-444a-a681-c5bf590a6b48.qcow2 > rbd:cephcloud/c310e318-4ece-444a-a681-c5bf590a6b48:mon_ > host=192.168.1.20\;192.168.1.22\;192.168.1.15\;192.168.1. > 23:auth_supported=cephx:id=primaryceph:key=AQAFxr1n4d1wHxAA2sAompPKt/ > WOy2y0ChjE6Q==:rbd_default_format=2:client_mount_timeout=30 > ] encountered the error: [qemu-img: > rbd:cephcloud/c310e318-4ece-444a-a681-c5bf590a6b48:mon_ > host=192.168.1.20\;192.168.1.22\;192.168.1.15\;192.168.1. > 23:auth_supported=cephx:id=primaryceph:key=AQAFxr1n4d1wHxAA2sAompPKt/ > WOy2y0ChjE6Q==:rbd_default_format=2:client_mount_timeout=30: > error while converting raw: error rbd create: File exists]. > 2025-02-25 15:59:08,131 ERROR [kvm.storage.LibvirtStorageAdaptor] > (agentRequest-Handler-2:[]) (logid:08686e8e) Failed to convert from > /mnt/bac494c1-23a0-3405-b8c0-57b2c0b9c0a4/c310e318-4ece- > 444a-a681-c5bf590a6b48.qcow2 > to > rbd:cephcloud/c310e318-4ece-444a-a681-c5bf590a6b48:mon_ > host=192.168.1.20\;192.168.1.22\;192.168.1.15\;192.168.1. > 23:auth_supported=cephx:id=primaryceph:key=AQAFxr1n4d1wHxAA2sAompPKt/ > WOy2y0ChjE6Q==:rbd_default_format=2:client_mount_timeout=30 > the error was: qemu-img: > rbd:cephcloud/c310e318-4ece-444a-a681-c5bf590a6b48:mon_ > host=192.168.1.20\;192.168.1.22\;192.168.1.15\;192.168.1. > 23:auth_supported=cephx:id=primaryceph:key=AQAFxr1n4d1wHxAA2sAompPKt/ > WOy2y0ChjE6Q==:rbd_default_format=2:client_mount_timeout=30: > error while converting raw: error rbd create: File exists > 2025-02-25 15:59:08,131 INFO [kvm.storage.LibvirtStorageAdaptor] > (agentRequest-Handler-2:[]) (logid:08686e8e) Attempting to remove storage > pool bac494c1-23a0-3405-b8c0-57b2c0b9c0a4 from libvirt > 2025-02-25 15:59:08,131 INFO [kvm.storage.LibvirtStorageAdaptor] > (agentRequest-Handler-2:[]) (logid:08686e8e) deleteStoragePool: Storage > pool bac494c1-23a0-3405-b8c0-57b2c0b9c0a4 still in use > 2025-02-25 15:59:11,253 INFO [kvm.resource.LibvirtConnection] > (agentRequest-Handler-3:[]) (logid:08686e8e) No existing libvirtd > connection found. Opening a new one > 2025-02-25 15:59:11,255 WARN [kvm.resource.LibvirtConnection] > (agentRequest-Handler-3:[]) (logid:08686e8e) Can not find a connection for > Instance s-59-VM. Assuming the default connection. > 2025-02-25 15:59:11,377 WARN [kvm.resource.LibvirtKvmAgentHook] > (agentRequest-Handler-3:[]) (logid:08686e8e) Groovy script > '/etc/cloudstack/agent/hooks/libvirt-vm-state-change.groovy' is not > available. Transformations will not be applied. > ++++++++++++++++++ > > What can I do now ? please help me > > -- > > > *Thanks & Regards.**Support Admin* > ------------------------------ > > > *Facebook <https://www.facebook.com/TechnologyRSS> | Twitter > <https://twitter.com/technologyrss1> | YouTube > <https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn > <https://www.linkedin.com/company/technologyrss/>**Address : *Rayerbagh > Complex Super Market > Level #04, Shop No #66, Rayerbagh Bus Stand > Dhaka. Bangladesh > *Mob :* +88 01716915504 > *Email :* support.ad...@technologyrss.com > *Web :* www.technologyrss.com > > > On Sat, Mar 8, 2025 at 5:07 PM TechnologyRss <technologyrss.m...@gmail.com > > > wrote: > > > I see this command but I am run this command then try to add ceph > storage. > > The same error can't create a storage pool using ceph storage. > > https://github.com/apache/cloudstack/issues/5741#issuecomment-990669423 > > -- > > > > > > *Thanks & Regards.**Support Admin* > > ------------------------------ > > > > > > *Facebook <https://www.facebook.com/TechnologyRSS> | Twitter > > <https://twitter.com/technologyrss1> | YouTube > > <https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn > > <https://www.linkedin.com/company/technologyrss/>**Address : *Rayerbagh > > Complex Super Market > > Level #04, Shop No #66, Rayerbagh Bus Stand > > Dhaka. Bangladesh > > *Mob :* +88 01716915504 > > *Email :* support.ad...@technologyrss.com > > *Web :* www.technologyrss.com > > > > > > On Sat, Mar 8, 2025 at 4:49 PM Wei ZHOU <ustcweiz...@gmail.com> wrote: > > > >> Please read the cloudstack documentation > >> https://docs.cloudstack.apache.org/en/latest/index.html > >> > >> -Wei > >> > >> On Sat, Mar 8, 2025 at 11:08 AM TechnologyRss < > >> technologyrss.m...@gmail.com> > >> wrote: > >> > >> > Hello, > >> > > >> > I am try ACS version 4.20 add using ceph primary storage but not > create > >> > storage volume but 4.19 is successfully working. What is the issue? Is > >> > there any bug in this version ? > >> > > >> > 1. How can I use ceph for the 4.20 version of ACS? > >> > 2. I am creating an Adv zone without SG enabled, but I want to add a > >> public > >> > ip address on my instance. How can I process it? > >> > > >> > -- > >> > > >> > > >> > *Thanks & Regards.**Support Admin* > >> > ------------------------------ > >> > > >> > > >> > *Facebook <https://www.facebook.com/TechnologyRSS> | Twitter > >> > <https://twitter.com/technologyrss1> | YouTube > >> > <https://www.youtube.com/channel/UCBq7qGqFEUe6ObVHMuxudTw> | LinkedIn > >> > <https://www.linkedin.com/company/technologyrss/>**Address : > *Rayerbagh > >> > Complex Super Market > >> > Level #04, Shop No #66, Rayerbagh Bus Stand > >> > Dhaka. Bangladesh > >> > *Mob :* +88 01716915504 > >> > *Email :* support.ad...@technologyrss.com > >> > *Web :* www.technologyrss.com > >> > > >> > > >