Failed to import the Hosted Engine Storage Domain
by Frank Wall
Hi,
the following error message is periodically logged to engine.log when
oVirt tries to import the Hosted Engine Storage Domain (NFS):
Validation of action 'AddExistingFileStorageDomain' failed for user
SYSTEM. Reasons:
VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,ERROR_CANNOT_ADD_EXISTING_STORAGE_DOMAIN_CONNECTION_DATA_ILLEGAL
I've redeployed my Engine VM while upgrading to oVirt 4.5.
Unfortunately, the Engine VM and Hosted Engine Storage Domain are both
missing from the oVirt GUI and oVirt is unable to import them
apparently. (FWIW, there are several other Storage Domains already
configured that work perfectly fine.)
Is there any way to manually add the Hosted Engine Storage Domain?
I'm also fine with adding the entry manually to the PostgreSQL database
if this would be feasible. (Just point me to the right direction so I
don't mess up my oVirt setup.)
Below are some log messages and errors I've collected from vdsm.log and
engine.log.
vdsm.log
2023-01-06 21:15:10,803+0100 INFO (jsonrpc/0) [vdsm.api] FINISH
getStorageDomainInfo return={'info': {'uuid':
'49d7aab9-1e45-4ef0-9657-1247983f129e', 'type': 'NFS', 'class': 'Data',
'name': 'hosted_storage', 'role': 'Master', 'pool':
['c87a1ad0-8dcd-11ed-b48a-00163e352102'], 'version': '5', 'block_size':
512, 'alignment': 1048576, 'remotePath':
'10.1.2.3:/mnt/vol2/vm/engine'}} from=::ffff:192.168.0.30,43146,
flow_id=4ba364c1, task_id=43840eb6-8b9e-4637-bd0f-261a899d374e (api:37)
engine.log
2023-01-06 21:16:28,042+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainInfoVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [] FINISH,
HSMGetStorageDomainInfoVDSCommand, return:
<StorageDomainStatic:{name='hosted_storage',
id='49d7aab9-1e45-4ef0-9657-1247983f129e'},
c87a1ad0-8dcd-11ed-b48a-00163e352102>, log id: 5344c976
2023-01-06 21:16:28,046+01 INFO
[org.ovirt.engine.core.bll.storage.domain.ImportHostedEngineStorageDomainCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [1728fc85] Running command:
ImportHostedEngineStorageDomainCommand internal: true.
2023-01-06 21:16:28,086+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainInfoVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [1d6e287c] START,
HSMGetStorageDomainInfoVDSCommand(HostName = hv05.example.com,
HSMGetStorageDomainInfoVDSCommandParameters:{hostId='4fa6fe39-9254-4264-8a57-4b0a29c645e7',
storageDomainId='49d7aab9-1e45-4ef0-9657-1247983f129e'}), log id:
759c4a73
2023-01-06 21:16:28,095+01 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainInfoVDSCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [1d6e287c] FINISH,
HSMGetStorageDomainInfoVDSCommand, return:
<StorageDomainStatic:{name='hosted_storage',
id='49d7aab9-1e45-4ef0-9657-1247983f129e'},
c87a1ad0-8dcd-11ed-b48a-00163e352102>, log id: 759c4a73
2023-01-06 21:16:28,095+01 WARN
[org.ovirt.engine.core.bll.storage.domain.AddExistingFileStorageDomainCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [1d6e287c] Validation of
action 'AddExistingFileStorageDomain' failed for user SYSTEM. Reasons:
VAR__TYPE__STORAGE__DOMAIN,VAR__ACTION__ADD,ERROR_CANNOT_ADD_EXISTING_STORAGE_DOMAIN_CONNECTION_DATA_ILLEGAL
2023-01-06 21:16:28,096+01 INFO
[org.ovirt.engine.core.bll.storage.domain.AddExistingFileStorageDomainCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [1d6e287c] Lock freed to
object
'EngineLock:{exclusiveLocks='[49d7aab9-1e45-4ef0-9657-1247983f129e=STORAGE]',
sharedLocks=''}'
2023-01-06 21:16:28,097+01 INFO
[org.ovirt.engine.core.bll.CommandCompensator]
(EE-ManagedThreadFactory-engine-Thread-1342) [1d6e287c] Command
[id=b0a331fe-5ad5-40b0-b7ce-2d01d0276e4b]: Compensating
DELETED_OR_UPDATED_ENTITY of
org.ovirt.engine.core.common.businessentities.StorageServerConnections;
snapshot: id=c346dafe-09db-4058-ae1c-9b609911a1af.
2023-01-06 21:16:28,100+01 ERROR
[org.ovirt.engine.core.bll.storage.domain.ImportHostedEngineStorageDomainCommand]
(EE-ManagedThreadFactory-engine-Thread-1342) [1d6e287c] Transaction
rolled-back for command
'org.ovirt.engine.core.bll.storage.domain.ImportHostedEngineStorageDomainCommand'.
The (new) Engine VM is running on CentOS Stream 8 (using the Engine
Appliance from the rpm) and all oVirt nodes/hosts are running on CentOS
Stream 9.
Ciao
- Frank
2 years, 3 months
Re: aggregate multiple hosts
by Nathanaël Blanchet
Le 13/01/2023 à 10:57, Csókási István Lehel a écrit :
>
> I want to increase the performance of a virtual machine by connecting
> 6 nodes. Windows 10 runs on the virtual machine, the nodes are HP
> Compaq 7900 PCs with Intel E8400 3 GHz Dual core processor, Q45
> chipset, 4Gb RAM
>
> Thank you
>
If you want to aggregate hardware capabilities to an unique VM, i.e.
vcpu from multiple hosts or RAM aggragation, I don't think it is
possible, but I may be wrong... some other members of the community may
confirm.
>
>
> 2023. 01. 13. 10:18 keltezéssel, Nathanaël Blanchet írta:
>> You should precise your intention to do so.
>> Thank you
>>
>> Le 13 janv. 2023 08:52, csokasi.lehel(a)gmail.com a écrit :
>> I would like to ask if it is possible to aggregate multiple hosts to
>> a single virtual machine.
>> _______________________________________________
>> Users mailing list -- users(a)ovirt.org
>> To unsubscribe send an email to users-leave(a)ovirt.org
>> 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/users@ovirt.org/message/665K3Y7QSIN...
2 years, 3 months
interface http stuck
by remy.ressegaire@unige.ch
Hello,
When browsing our ovirtadmin web interface it never loads the resource.
We are using a third party certificate authority (following this procedure https://myhomelab.gr/linux/2020/01/20/replacing_ovirt_ssl.html), but not sure this leads to the error we have.
In the http logs I see :
ssl_error_log :
[proxy_ajp:error] [pid 23754] [client 10.25.64.40:57838] AH00992: ajp_read_header: ajp_ilink_receive failed
[proxy_ajp:error] [pid 23754] (120006)APR does not understand this error code: [client 10.25.64.40:57838] AH00878: read response failed from 127.0.0.1:8702 (127.0.0.1)
error.log :
[proxy:error] [pid 20752] (111)Connection refused: AH00957: AJP: attempt to connect to 127.0.0.1:8702 (127.0.0.1) failed
[proxy:error] [pid 20752] AH00959: ap_proxy_connect_backend disabling worker for (127.0.0.1) for 5s
[proxy_ajp:error] [pid 20752] [client 10.25.64.44:50000] AH00896: failed to make connection to backend: 127.0.0.1
Any help will be welcomed.
Thanks,
Remo
2 years, 3 months
Sparsifying VM disk not working
by andreas_nikiforou@hotmail.com
Hello,
i cannot get sparsifying to work in lastest oVirt 4.5.4 release (not that i have tried with a previous release)
I have two Data domains connected to oVirt using iSCSI & NFS.
I created 2 testvm's and 50GB thin provisioned qcow2 disks for each, made some temp files, remove them and tried to sparsify, but it does not work.
Error i am getting is:
Error while executing action: Cannot sparsify Virtual Disk. Sparsifying is not supported for QCOW2 disk testvm1_Disk1.
In virtual disk options i have enable, Bootable, incremental back and for one of the images i enable discard for testing purposes.
What am i doing wrong?
2 years, 3 months
Failed to launch VM - Error unable to get volume size
by kushagra.gupta@hsc.com
Hi,
We're trying to launch the VM with PosixFS Storage and recently we've experienced an error while launching.
We are successfully uploading the image with PosixFS storage in Storage -> Disks.
After upload, we get the status of image upload as illegal, then we are executing the below command on management-engine, and the status changes to OK.
`/usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t all`
Now, When we are creating VM with the same image. Then at the launch time, we got the below errors in /var/log/ovirt-engine/engine.log
`ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-32) [539b710] EVENT_ID: VM_DOWN_ERROR(119), VM OS-22Dec is down with error. Exit message: Unable to get volume size for domain <domain_id> volume <volume_id>`
All storage domains are PosixFS based.
Thanks
2 years, 3 months
Slightly confused by KeyCloak
by theo.pirkl@hesge.ch
Hi there,
We've decided to use oVirt for our school datacenter and I'm setting up a PoC to show it could work for our needs.
So far, I've managed to deploy a single hosted engine to iSCSI by using the hosted-engine deploy script. So far, so good, I can create VMs, I've had a few problems, but nothing I couldn't figure out.
What got me confused is the KeyCloak link with oVirt. My goal is to allow students to register to oVirt so that they can spin up VMs, images, and so on.
I've created a group in KeyCloak named "ovirt-student" that is automatically assigned to new users.
I have also linked oVirt to this group by going into the engine web UI and adding the group to oVirt's group list.
I have given system permissions to the ovirt-student group such as VMCreator. I've then tried to connect to a dummy user called "test". My results are as follows :
- The user does not seem to have the correct rights as it cannot create new VMs in the VM portal;
- The admin interface does not suggest the user is a part of the ovirt-student group;
However, when I add the test user to the ovirt-administrator group, no problem at all, the user is an admin, alright.
My question is as follows : what do I need to do so that the groups in KeyCloak and oVirt are synced ?
Thanks a lot,
TP
2 years, 3 months
VM disks & Logical Volume
by duparchy@esrf.fr
Hi,
Following the Daca Center and Cluster upgrade to 4.6 compatibility, LV volumes of VM disks are not there anymore.
How VM disks are accessed / mounted ?
2 years, 3 months
Storage Domain stuck in Maintainance mode
by kushagra.gupta@hsc.com
Hi Team,
I am new to oVirt.
I have installed version 4.4.10
I am trying to create a new Storage domain of type POSIX compliant FS type.
I have a ceph cluster configure on IPV6.
I was able to create the domain using the following link:
https://www.ovirt.org/documentation/administration_guide/#Understanding_S...
Eventhough the domain was created, it's stuck in maintenance mode.
On checking the engine.log
```
2023-01-04 14:58:14,422+05 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc
4e1c-115b-45e3-839e-e47f7786eb0a] Failed in 'DetachStorageDomainVDS' method
2023-01-04 14:58:14,452+05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc4e1
c-115b-45e3-839e-e47f7786eb0a] EVENT_ID: IRS_BROKER_COMMAND_FAILURE(10,803), VDSM command DetachStorageDomainVDS failed: Storage domain does not exist: ('738
57322-c523-46ec-9d90-5d5451d51e93',)
2023-01-04 14:58:14,453+05 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc4e1c-115b-45e3-839e-e47f7786eb0a] Command 'DetachStorageDomainVDSCommand( DetachStorageDomainVDSCommandParameters:{storagePoolId='537e6452-8b7a-11ed-a21c-00163e750630', ignoreFailoverLimit='false', storageDomainId='73857322-c523-46ec-9d90-5d5451d51e93', masterDomainId='00000000-0000-0000-0000-000000000000', masterVersion='1', force='false'})' execution failed: IRSGenericException: IRSErrorException: Failed to DetachStorageDomainVDS, error = Storage domain does not exist: ('73857322-c523-46ec-9d90-5d5451d51e93',), code = 358
2023-01-04 14:58:14,453+05 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc
4e1c-115b-45e3-839e-e47f7786eb0a] FINISH, DetachStorageDomainVDSCommand, return: , log id: fb86a82
2023-01-04 14:58:14,453+05 ERROR [org.ovirt.engine.core.bll.storage.domain.DetachStorageDomainFromPoolCommand] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc4e1c-115b-45e3-839e-e47f7786eb0a] Command 'org.ovirt.engine.core.bll.storage.domain.DetachStorageDomainFromPoolCommand' failed: EngineException: org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailoverException: IRSGenericException: IRSErrorException: Failed to DetachStorageDomainVDS, error = Storage domain does not exist: ('73857322-c523-46ec-9d90-5d5451d51e93',), code = 358 (Failed with error StorageDomainDoesNotExist and code 358)
2023-01-04 14:58:14,453+05 INFO [org.ovirt.engine.core.bll.CommandCompensator] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc4e1c-115b-45e3-839e-e47f7786eb0a] Command [id=b2b2c6de-97b6-4e01-8589-fc4b22eeecb9]: Compensating CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap; snapshot: EntityStatusSnapshot:{id='StoragePoolIsoMapId:{storagePoolId='537e6452-8b7a-11ed-a21c-00163e750630', storageId='73857322-c523-46ec-9d90-5d5451d51e93'}', status='Maintenance'}.
2023-01-04 14:58:14,555+05 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-8455) [22bc4e1c-115b-45e3-839e-e47f7786eb0a] EVENT_ID: USER_DETACH_STORAGE_DOMAIN_FROM_POOL_FAILED(965), Failed to detach Storage Domain POSIXDOMAIN from Data Center Default. (User: admin@internal-authz)
```
I tried the following link:
https://lists.ovirt.org/pipermail/users/2012-August/009044.html
But this also did not work.
On the other hand on the same ceph node configured NFS server and created a storage domain for that on ovirt and it became active immidiately.
Could anyone please help me out with this?
Thanks and Regards
Kushagra Gupta
2 years, 3 months
can't add user in GUI of Version 4.4
by stephane.beausoleil@cgi.com
hi,
on previous version of the ovirt manager we could had simple local users now the gui interface Add button does nothing?
What is going on.
For day to day management it is faster and easier then using the cli.
2 years, 3 months
aggregate multiple hosts
by csokasi.lehel@gmail.com
I would like to ask if it is possible to aggregate multiple hosts to a single virtual machine.
2 years, 3 months