Ovirt Software Version:4.5.1.2-1.el8
So, i've datastor with type managed block storage (ceph backend) with driver
cinder.volume.drivers.rbd.RBDDriver (connected using official instuction)
I can successfully create and attach disks to virtual machines.
But
Case 1:
Can't run vm with attached mbs disk
Log files:
engine.log
```
2022-08-22 10:30:46,929Z INFO
[org.ovirt.engine.core.vdsbroker.CreateVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] START,
CreateVDSCommand(
CreateVDSCommandParameters:{hostId='ca0b6c75-6f4d-4706-8420-a8a85834a26e',
vmId='ceb677b3-d0ad-4e99-8ca8-226ce9cf7621', vm='VM [clone_ahrechushkin-2]'}),
log id: 4a63fb47
2022-08-22 10:30:46,933Z INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] START,
CreateBrokerVDSCommand(HostName = ovih01,
CreateVDSCommandParameters:{hostId='ca0b6c75-6f4d-4706-8420-a8a85834a26e',
vmId='ceb677b3-d0ad-4e99-8ca8-226ce9cf7621', vm='VM [clone_ahrechushkin-2]'}),
log id: 279ca1cc
2022-08-22 10:30:47,217Z ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] Failed in
'CreateBrokerVDS' method, for vds: 'ovih01'; host: 'ovih01': null
2022-08-22 10:30:47,221Z ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] Command
'CreateBrokerVDSCommand(HostName = ovih01,
CreateVDSCommandParameters:{hostId='ca0b6c75-6f4d-4706-8420-a8a85834a26e',
vmId='ceb677b3-d0ad-4e99-8ca8-226ce9cf7621', vm='VM [clone_ahrechushkin-2]'})'
execution failed: null
2022-08-22 10:30:47,221Z INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.CreateBrokerVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] FINISH,
CreateBrokerVDSCommand, return: , log id: 279ca1cc
2022-08-22 10:30:47,223Z ERROR
[org.ovirt.engine.core.vdsbroker.CreateVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] Failed to create VM:
java.lang.NullPointerException
2022-08-22 10:30:47,228Z ERROR
[org.ovirt.engine.core.vdsbroker.CreateVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] Command
'CreateVDSCommand(
CreateVDSCommandParameters:{hostId='ca0b6c75-6f4d-4706-8420-a8a85834a26e',
vmId='ceb677b3-d0ad-4e99-8ca8-226ce9cf7621', vm='VM [clone_ahrechushkin-2]'})'
execution failed: java.lang.NullPointerException
2022-08-22 10:30:47,229Z INFO
[org.ovirt.engine.core.vdsbroker.CreateVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-33748) [4a367039] FINISH,
CreateVDSCommand, return: Down, log id: 4a63fb47
```
cinderlib.log
```
022-08-22 10:28:17,260 - cinderlib-client - INFO - Cloning volume
'3f763b9c-1bd2-4174-8603-c30587cb4e03' to
'c5a301c7-fc59-400f-8733-61e34c8fadf1' [716f43c7-09a7-4a43-9a3a-461db2cc3653]
2022-08-22 10:30:39,781 - cinder.volume.driver - INFO - Driver hasn't
implemented _init_vendor_properties()
2022-08-22 10:30:39,840 - cinderlib-client - INFO - Connecting volume
'c5a301c7-fc59-400f-8733-61e34c8fadf1', to host with info
'{"ip":null,"nqn":"nqn.2014-08.org.nvmexpress:uuid:00000000-0000-0000-0000-000000000000","host":"ovih01","uuid":"b0d5ac8a-4a14-46cb-a114-1bc8ffbc7cec","os_type":"linux","platform":"x86_64","found_dsc":"","initiator":"iqn.2020-01.io.icdc.tby:ovih01","multipath":true,"system
uuid":"48b0666c-082c-11ea-a3b1-3a68dd1a0257","do_local_attach"
:false}' [7307cc9]
2022-08-22 10:30:44,260 - cinder.volume.driver - INFO - Driver hasn't
implemented _init_vendor_properties()
2022-08-22 10:30:44,395 - cinderlib-client - INFO - Saving connection
<cinderlib.Connection object 2a531747-4ae2-4dae-bc13-c341ec30eece on backend
mbs_domain> for volume 'c5a301c7-fc59-400f-8733-61e34c8fadf1' [4a367039]
2022-08-22 10:30:51,363 - cinder.volume.driver - INFO - Driver hasn't
implemented _init_vendor_properties()
2022-08-22 10:30:51,485 - cinderlib-client - INFO - Disconnecting volume
'c5a301c7-fc59-400f-8733-61e34c8fadf1' [62acd0ed]
```
Case 2:
Can't activate attached disk on running vm.
Strange things: when disk is deactivated and vm if powered on i see on host:
[root@ovih01 ~]# rbd showmapped
id pool namespace image snap
device
0 cinder volume-c5a301c7-fc59-400f-8733-61e34c8fadf1 -
/dev/rbd0
Also i can't activate disk with ERROR: disk already attached to vm. Of cause i
didn't see disk from guest os.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/[email protected]/message/MLDPSQG5OPNWGJBI62IS5WRKSNHO6MNK/