hmadra opened a new issue, #8032:
URL: https://github.com/apache/cloudstack/issues/8032
##### ISSUE TYPE
Bug Report
##### COMPONENT NAME
Storage Provider
##### CLOUDSTACK VERSION
4.18
##### CONFIGURATION
N/A
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
AlmaLinux 8
##### SUMMARY
When migrating a Live VM in Qemu/KVM from NFS to LinStor , rather than
creating a drbd resource on the target system ,
Cloudstack is creating a Qemu file in
/var/log/cloudstack/management/cloudstack directory
If there is not enough space in the device with log directory , live
migration fails.
```
Oct 3 20:13:00 host02 journal[44701]: End of file while reading data:
Input/output error
Oct 3 20:13:00 host02 java[44876]: libvirt: error : no connection driver
available for lxc:///
Oct 3 20:13:00 host02 java[44876]: WARN [kvm.resource.LibvirtConnection]
(agentRequest-Handler-1:) (logid:0bbc2885) Can not find a connection for
Instance i-2-42-VM. Assuming the default connection.
Oct 3 20:13:01 host02 journal[44701]: internal error: Child process
(/usr/bin/qemu-img create -f qcow2 -o preallocation=falloc,compat=1.1
/var/log/cloudstack/management/cloudstack/adda192d-a71b-4b7d-8745-f27db392d9a5
20971520K) unexpected exit status 1: qemu-img:
/var/log/cloudstack/management/cloudstack/adda192d-a71b-4b7d-8745-f27db392d9a5:
Could not resize image: Failed to resize underlying file: Could not preallocate
new data: No space left on device
```
However, if there is enough space , It creates a Qcow file in the
/var/log/cloudstack/management/cloudstack/ directory , rather than creating a
DRBD device .
Other DRBD volumes are working fine on the host, and host is connected to
LinStor controller and has other VMs operating normally , when the VM is
created with LinStor as primary storage
`[root@host02 ~]# ls -l /var/log/cloudstack/management/cloudstack/
total 20975620
-rw------- 1 root root 21478375424 Oct 3 20:30
46552b99-bd33-471f-897b-7f8de9065725
[root@host02 ~]#
`
##### EXPECTED RESULTS
During Live migration + Storage migration, Cloudstack should create a DRBD
resource on the target host and move the disk image to LinStore DRBD Device.
~~~
~~~
``
--
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]