[ovirt-users] Re: 500 - Internal Server Error after engine-setup oVirt 4.4 on CentOS Stream 8

2022-05-16 Thread Alessio B.
Dear Arthur,
this article solved my issue, thank you, now the engine is OK!
Best regards!
___
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/KY2LVZAEREYGPCNIXD3LBOYG3ACTTIQN/


[ovirt-users] 500 - Internal Server Error after engine-setup oVirt 4.4 on CentOS Stream 8

2022-05-16 Thread Alessio B.
Dear community,

after a fresh installation of CentOS Stream 8 and oVirt 4.4 the web portal send 
a 500 error.

This is the history:

3  yum check-update
4  dnf install https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm
5  dnf module -y enable javapackages-tools
6  dnf module -y enable pki-deps
7  dnf module -y enable postgresql:12
8  dnf module -y enable mod_auth_openidc:2.3
9  dnf distro-sync --nobest
   10  reboot
   11  yum install langpacks-en.noarch
   12  localectl set-locale LANG=en_US.UTF-8
   13  dnf upgrade --nobest
   14  dnf install ovirt-engine
   15  engine-setup
   16  systemctl restart ovirt-engine

This is the error in /var/log/ovirt-engine/server.log after the engine-setup

2022-05-16 12:33:42,931+02 ERROR [org.jboss.msc.service.fail] (ServerService 
Thread Pool -- 56) MSC01: Failed to start service 
jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: 
org.jboss.msc.service.StartException in service 
jboss.deployment.subunit."engine.ear"."bll.jar".component.Backend.START: 
java.lang.IllegalStateException: WFLYEE0042: Failed to construct component 
instance
at 
org.jboss.as.ee@23.0.2.Final//org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:57)
at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at 
org.jboss.threads@2.4.0.Final//org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at 
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
at 
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at 
org.jboss.threads@2.4.0.Final//org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
at java.base/java.lang.Thread.run(Thread.java:829)
at 
org.jboss.threads@2.4.0.Final//org.jboss.threads.JBossThread.run(JBossThread.java:513)
Caused by: java.lang.IllegalStateException: WFLYEE0042: Failed to construct 
component instance
at 
org.jboss.as.ee@23.0.2.Final//org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:163)
at 
org.jboss.as.ee@23.0.2.Final//org.jboss.as.ee.component.BasicComponent.constructComponentInstance(BasicComponent.java:134)
at 
org.jboss.as.ee@23.0.2.Final//org.jboss.as.ee.component.BasicComponent.createInstance(BasicComponent.java:88)
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb3.component.singleton.SingletonComponent.getComponentInstance(SingletonComponent.java:127)
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb3.component.singleton.SingletonComponent.start(SingletonComponent.java:141)
at 
org.jboss.as.ee@23.0.2.Final//org.jboss.as.ee.component.ComponentStartService$1.run(ComponentStartService.java:54)
... 8 more
Caused by: javax.ejb.EJBException: org.jboss.weld.exceptions.WeldException: 
WELD-49: Unable to invoke protected void 
org.ovirt.engine.core.bll.TagsDirector.init() on 
org.ovirt.engine.core.bll.TagsDirector@2d479b8
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:239)
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:446)
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb3.tx.LifecycleCMTTxInterceptor.processInvocation(LifecycleCMTTxInterceptor.java:70)
at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.as.weld@23.0.2.Final//org.jboss.as.weld.injection.WeldInjectionContextInterceptor.processInvocation(WeldInjectionContextInterceptor.java:43)
at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.as.ee@23.0.2.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.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
at 
org.jboss.invocation@1.6.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
at 
org.jboss.as.ejb3@23.0.2.Final//org.jboss.as.ejb

[ovirt-users] Customization of Ovirt VM Portal

2021-06-21 Thread Alessio B.
Hello to all,

please is there a way to customize the VM portal? 
In my case I need to hide the "VNC console" value from the dropdown list inside 
of selected VM properties and leave only "VNC Console Browser".
The user profile is "UserRole"

Thank you very much!
 
___
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/PX2LQCVAGPGR5NCFLXYUHTYXLGR6M7MA/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-18 Thread Alessio B.
Thank you very much for the clear help!
___
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/2KO3C5IYUGPQTC7G2NB4FA6CP2WSMEJW/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Alessio B.
Hi Martin,

Thank you for the help, I have modified my playbook without the first task.
Here is it:

- name: Change state in next_run and reboot
  ovirt_vm:
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
state: next_run
wait: true
  with_items:
- "{{ vm_result.ovirt_vms }}"
  ignore_errors: true

The VMs doesn't reboot. Nothing has changed, I can't understand where is my 
error.

Here my scenario by ansible playbook:

1) turn on VMs (Works fine)
2) first reboot (NO)
3) second reboot (NO)
___
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/CMOUQHPWKPP3RSYSDVAQBI4TLH3WK2EB/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Alessio B.
Hi,

in debug mode I haven't any error.
The reboot can't be invoked when the VMs are in running state.
___
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/FBHDUVENYMKPZVUH4YBXXSJ3K7UA2AVQ/


[ovirt-users] Re: poweroff and reboot with ovirt_vm ansible module

2021-05-14 Thread Alessio B.
Hello, sorry if I continue in this thread but I have the same issue.
This solution in my case doesn't work and the VM can't reboot after an update 
task like this 

- name: Set next_run
  ovirt_vm:
next_run: yes
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
wait: true
  with_items:
- "{{ vm_result.ovirt_vms }}"
  ignore_errors: true

- name: Change state in next_run and reboot
  ovirt_vm:
name: "{{ item.name }}"
auth: "{{ ovirt_auth }}"
state: next_run
wait: true
boot_devices:
  - hd
  with_items:
- "{{ vm_result.ovirt_vms }}"
  ignore_errors: true

What's wrong? 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/CYVEOCXTZLREOWMH7RW4MDBL364UIL4C/