OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.25k stars 480 forks source link

Image create error #5734

Closed w1llrock closed 2 years ago

w1llrock commented 2 years ago

Description Faced a problem after vCenter integration. There are two datastores in the system, one for KVM (ID 100) second from vCenter (ID 102). When creating an image in the datastore for KVM through CLI or GUI, an error periodically occurs

Command for excample: oneimage create -d 100 --name "node03_data" --type DATABLOCK --size 20000 --format qcow2

Error: Fri Feb 11 10:27:41 2022 : Error creating datablock: Unable to create image with format qcow2 in Cluster-02-Standalone:/dev/drbd/by-res/one-image-30/0

Opennebula tries to create an image in the datastore for vCenter, not in the datastore specified, this error occurs in 2 out of 10 cases.

Details

Progress Status

tinova commented 2 years ago

this is most likely due to a misconfiguration, please paste the XML of DS 100. Closing until further feedback is provided.