[ovirt-users] Re: Failed to import the Hosted Engine Storage Domain

2023-01-13 Thread Frank Wall

Hi,

On 2023-01-10 14:53, Frank Wall wrote:

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 made some progress, the Hosted Engine Storage Domain was 
successfully imported and was successfully activated on all hosts.
Now oVirt tries to import the Hosted Engine VM, but fails with a 
NullPointerException:


2023-01-13 02:18:30,616+01 INFO  
[org.ovirt.engine.core.bll.HostedEngineImporter] 
(EE-ManagedThreadFactory-engine-Thread-246) [7c9c2b8a] Try to import the 
Hosted Engine VM 'VM [HostedEngine]'
2023-01-13 02:18:30,623+01 ERROR 
[org.ovirt.engine.core.bll.exportimport.ImportVmCommand] 
(EE-ManagedThreadFactory-engine-Thread-246) [70276009] Error during 
ValidateFailure.: java.lang.NullPointerException
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.validator.VmValidator.isBiosTypeSupported(VmValidator.java:469)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ImportVmCommandBase.validate(ImportVmCommandBase.java:163)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.exportimport.ImportVmCommand.validate(ImportVmCommand.java:222)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.internalValidateInTransaction(CommandBase.java:824)
	at 
org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:140)
	at 
org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:157)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.internalValidate(CommandBase.java:803)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:417)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.executor.DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.Backend.runAction(Backend.java:450)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:432)
	at 
deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:377)
	at jdk.internal.reflect.GeneratedMethodAccessor140.invoke(Unknown 
Source)
	at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at 
org.jboss.as.ee@24.0.1.Final//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
	at 
org.jboss.as.weld.common@24.0.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
	at 
org.jboss.as.weld.common@24.0.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
	at 
org.jboss.as.weld.common@24.0.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
	at 
org.jboss.as.ee@24.0.1.Final//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at 
org.jboss.as.ejb3@24.0.1.Final//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at 
org.jboss.as.ee@24.0.1.Final//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
	at 
org.jboss.as.ee@24.0.1.Final//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
	at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
	at 

[ovirt-users] Re: aggregate multiple hosts

2023-01-13 Thread Guillaume Pavese
Hi,

Running a vm sharing compute resources from multiple nodes is not possible.
Moreover, Intel E8400 processors are too old, and not supported since oVirt
4.3

Best regards,

Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Fri, Jan 13, 2023 at 8:01 PM Nathanaël Blanchet via Users <
users@ovirt.org> wrote:

>
> 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.le...@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@ovirt.org
> To unsubscribe send an email to users-le...@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/665K3Y7QSINUFN54T2LMKK3FKTDS6RKD/
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/TFCBZ7DXKTYTUUBK7SMCKKFE6YPMKBST/
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/VIGWIRVENC76JPIVWOWDU3SNPEHKTC2E/


[ovirt-users] Re: Changing the Cluster Compatibility Version in hyperconverged environment

2023-01-13 Thread Lucia Jelinkova
Hi,

I am glad it helped. Unfortunately, I do not know what could have caused
the problems with osinfo configuration.

Lucia

On Mon, Jan 9, 2023 at 9:38 AM  wrote:

> Hi!
>
> I'm on duty today and were able to check osinfo following your advise. Not
> sure how exactly we've managed to interfere with osinfo but reinstallation
> of "redhat-release" package helped. Glad it was this easy to fix.
>
> Do you know what might be the cause of the former problem? We probably
> won't be doing any more cluster compatibility upgrades soon but it might be
> a sympthom of something else. So I feel a bit uneasy about this.
>
> Thank you!
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/YKGFVTJU4CJOLM5NGY44DMEANX4GGWCG/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/4KNSIJL26GRYJ4VRDHI4YXGTF5DNKC4Z/


[ovirt-users] Re: aggregate multiple hosts

2023-01-13 Thread Nathanaël Blanchet via Users


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.le...@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@ovirt.org
To unsubscribe send an email to users-le...@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/665K3Y7QSINUFN54T2LMKK3FKTDS6RKD/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/TFCBZ7DXKTYTUUBK7SMCKKFE6YPMKBST/


[ovirt-users] Re: Sparsifying VM disk not working

2023-01-13 Thread Arik Hadas
On Thu, Jan 12, 2023 at 7:59 PM  wrote:

> I see, weird that i couldn't find that bug report with google, even after
> spending so much time searching info on this topic.
>
> So what is the preferred method of freeing up space now, since sparsifying
> is disabled?
>

Sparsify-image is not disabled, it can still be invoked on raw volumes.


>
> Does enabling "discard" for VM disk take care of freeing up used space
> taken by deleted files on a thin provisioned disk?
> I have it enabled on few of my testvms but have not seen it have any
> effect, need to read up on that feature, only used sparsify previously for
> this operation.
>

Yeah, pass-discard could be an option if your underlying storage supports
it.
You can read more about it in the original feature page:
https://www.ovirt.org/develop/release-management/features/storage/pass-discard-from-guest-to-underlying-storage.html
But as I previously wrote, sparsifying the image without going through
ovirt-engine (but let's say, with the VDSM API) is also an option if you
don't care about the reduction in size not being reflect in oVirt


> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/7JXHY6YQW6OCXTQ7QDFMGLDXDG6KOEWU/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/H4AJ3GRISKIQNOZSFCISDJWDLUKYFIOY/


[ovirt-users] Re: Failed to launch VM - Error unable to get volume size

2023-01-13 Thread Arik Hadas
On Fri, Jan 13, 2023 at 9:08 AM  wrote:

> 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`
>

I would suggest to concentrate on the issue above - if the image is set
with illegal state or locked at the end of the process, it means the upload
operation didn't finish successfully and the issue below is likely a
consequence of having an invalid image


>
> 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  volume
> `
>
> All storage domains are PosixFS based.
>
> Thanks
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/WRK5RVYKF3DT7VOGIKVSI6G55RCELYLV/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/LORBBZ6GUKB2NGEVYHEON6QFYU4VBZOE/


[ovirt-users] Re: Slightly confused by KeyCloak

2023-01-13 Thread Artur Socha
Hi Theo,
The thing you mentioned - ovirt-administrator groups is a special construct
with a  purpose of having bootstrapped ovirt admin user for the new oVirt
installations. This explains why Keycloak users assigned to that group, can
for example, create new VMs.

Keycloak server bundled into oVirt setup serves only authentication purpose
as opposed to the authorization, therefore, it is not required to create
Keycloak group 'ovirt-student' and match it with oVirt counterpart.
If I understood correctly - users defined in keycloak can actually login to
oVirt Admin panel and/or to ovirt vm portal, right?
If that's the case - you're simply missing some (group?) permissions -
these permissions are only managed from within oVirt admin panel.
One more thing worth mentioning. In order to have some users under group
defined  in oVirt (via admin panel) you have to manually assign them
there.  User & group association defined in Keycloak is not propagated to
oVirt. Although, it could be a nice feature to have!

Perhaps this documentation will help a bit:
https://www.ovirt.org/documentation/virtual_machine_management_guide/index.html#sect-Virtual_Machines_and_Permissions

cheers!
Artur

pt., 13 sty 2023 o 08:46  napisał(a):

> 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
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@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/7VIJCGCGX7CQ6KQKYXX5RSIOISZZKR6Y/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/Z4AD6WSXYN36K7EVFU7VBXMQKGY474ET/


[ovirt-users] VM disks & Logical Volume

2023-01-13 Thread duparchy
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 ?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@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/JMSQINXQHXNSFYBILVW2ZXMUU7XWN3EN/