[ovirt-users] Re: understanding if real engine offline deployment is possible

2022-04-30 Thread vk
Hi Erez,

Thanks a lot for all your help here!


Le ven. 29 avr. 2022 à 20:21, Erez Zarum  a écrit :

> It is possible to have a fully offline installation, you just need the
> files either installed or fetch them from a local repo.
>
> Yes, you are using an outdated version of the ovirt ansible collection.
> The final fix for offline deployment was implemented in v2.0 of the ovirt
> ansible collection, this seems not to make it to the 4.4 ovirt repos, 4.4
> I would say try and install the latest ovirt ansible collection, but since
> v2.0 you must use ansible-core 2.12, i'm not sure the outcome of using
> ansible-core 2.12 on an ovirt 4.4 node.
> It is only in version 4.5 that ansible was upgraded to ansible-core 2.12
> and it is indeed uses ovirt ansible collection v2.0
>
> If i were you, i would implement the changes needed to support offline
> mode, it seems those are the only changes that were made in regarding to
> this matter.
> https://github.com/oVirt/ovirt-ansible-collection/pull/380
> https://github.com/oVirt/ovirt-ansible-collection/pull/381
>
>
>
>
> On Fri, Apr 29, 2022 at 9:02 PM Vincent Kwiatkowski <
> vincent.kwiatkow...@itiviti.com> wrote:
>
>> Hi Erez,
>>
>> Indeed its in London ld6^^
>>
>> Even if I use only "he_offline_deployment=true", the engine tries to
>> reach internet repo.
>>
>> my version of ovirt-ansible-collection is 1.6.6-1.el8.noarch, it seems to
>> be the latest version available on ovirt-4.4 repo (I have tested on another
>> server that has internet, and installed official ovirt-release44.rpm
>> package, and it's the same)
>>
>> in file
>> /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/full_execution.yml
>> , the var "ovirt_engine_setup_offline" is on line 38:
>>
>>  38 ovirt_engine_setup_offline: "{{ he_offline_deployment }}"
>>
>> in file
>> /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/engine_setup/tasks/main.yml
>> line 7 I have:
>>
>> 7   when: not ovirt_engine_setup_perform_upgrade
>>
>>   am I using wrong repo of missing something? (as it seems I d on't have
>> the latest files)
>>
>> yes it makes sense to have a look at hooks, so the engine is customized,
>> I'll check that.
>>
>> It's just that initially I would like to test the "100% offline method",
>> as it should avoid me to customize the engine
>>
>> 10.243.140.1 is a simple internal dns server, it's not the host from
>> where I deploy the engine.
>>
>> Yes I recently understood the created network between the local VM and
>> the host from where we deploy the engine. When I saw that "nameserver" in
>> resolv.conf of the engine points to 192.168.222.1, which is the vibr0 IP of
>> the physical host, I was quite surprised, because on old ovirt deployment I
>> did, the engines have the dns servers I've specified in their resolv.conf,
>> not the vibr0 ip of their host . But it's maybe changed later in the
>> process of the deployment
>>
>> I will stop specifying the ova file as indeed, I don't think it's useful
>> here.
>>
>> Just wanna make sure if:
>>
>>  - 100% offline deploy is possible only using the extra var
>> "he_offline_deployment=true" (maybe I need to udpate some packages?)
>> or
>>  - 100% offline deploy is ONLY possible using hooks and internal repo
>>
>> your help is really appreciated, I can understand that not all the
>> scenario are tested by dev teams, maybe my case can help other peoples^^
>>
>> thx a lot, have a nice week end!
>>
>>
>> *Vincent Kwiatkowski*
>> Operations - System Team • Itiviti
>> Production System Engineer
>>
>> Direct: +33 1 44 50 25 45
>> vincent.kwiatkow...@itiviti.com
>>
>> 21 Boulevard Haussmann
>> 
>> 75009 Paris, France
>> 
>> Phone: +33 1 49 95 30 00
>>
>>
>> Le ven. 29 avr. 2022 à 18:20, Erez Zarum  a écrit :
>>
>>> 1. You have a typo in your hosted-engine deploy line as you do not
>>> enclose the quotes correctly:
>>>
>>> --ansible-extra-vars=he_appliance_ova=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.4-20211020135049.1.el8.ova
>>> he_offline_deployment=true it should be
>>> --ansible-extra-vars="he_appliance_ova=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-4.4-20211020135049.1.el8.ova
>>> he_offline_deployment=true"
>>> 2. Can you check which version of ovirt ansible collection are you
>>> using? it is possible that the version you are using does not have the fix,
>>> the fix was released around november.
>>> to clarify you do have it, on the host where you run the
>>> hosted-engine script from, please check the following:
>>>
>>> /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/full_execution.yml
>>> at line 39 should have ovirt_engine_setup_offline var set to the
>>> he_offline_deployment var (
>>> 

[ovirt-users] Re: HELP ME! Failed to validate the SSL certificate for localhost:443

2022-04-30 Thread Strahil Nikolov via Users
Most probably it's the postgresql-jdbc issue.
Let's see if the package can be removed (or newer version generated).
Best Regards,Strahil Nikolov
 
 
  On Sat, Apr 30, 2022 at 22:29, Strahil Nikolov via Users 
wrote:   ___
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/PGWXWWIR5BPJRRVZ63BEHHS2L65BJ44B/
  
___
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/Z3AGTHWNZUSMZZOBCW6VH4SWUU7HIYTI/


[ovirt-users] Re: Getting error on oVirt installation

2022-04-30 Thread Strahil Nikolov via Users
There are threads in the mailing list describing the issue.
@Sandro,is there any chance to remove the broken postgresql-jdbc package  (or 
issue a new version with the rollbacked changes ) untill the issue is fixed ?

Best Regards,Strahil Nikolov 
 
 
No matter how many times I tried to install it, I encountered this error 
and I could not find a method for the solution. Do we need to downgrade 
postgresql-jdbc?

Is there a resource-article we can get information about this subject?
Thanks for your answers
___
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/VRWJEXCT3B7BFAXIRBOQEMWIDT27XGJI/
  
___
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/XZZX3RFCHJEEF4TOJ2UREVFJCNRIYLOY/


[ovirt-users] Re: HELP ME! Failed to validate the SSL certificate for localhost:443

2022-04-30 Thread Strahil Nikolov via Users
Hm...then everything should be fine.You specified the FQDN, the FQDN has a 
valid A/ record and that IP has a valid PTR record.
Best Regards,Strahil Nikolov
 
 
  On Sat, Apr 30, 2022 at 17:58, Tnchawy wrote:   
___
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/R5VUHRCD43TKAPA7FZ7FWIKE6JCCKXVD/
  
___
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/PGWXWWIR5BPJRRVZ63BEHHS2L65BJ44B/


[ovirt-users] Re: Unable to remove host from ovirt engine

2022-04-30 Thread Strahil Nikolov via Users
You need to first replace the host on gluster level (it looks it has/had a 
brick) before ovirt allows you to remove the host.
Can you check if the gluster volumes have a brick from that host ?
Best Regards,Strahil Nikolov
 
 
  On Sat, Apr 30, 2022 at 15:24, Joseph Gelinas wrote:   
Using GlusterFS for storage.

> On Apr 30, 2022, at 06:55, Strahil Nikolov via Users  wrote:
> 
> *storage 
> 
> On Sat, Apr 30, 2022 at 13:50, Strahil Nikolov via Users
>  wrote:
> ___
> 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/MWDNE4IK5F7ZH4LCY3I5EJWXDD54ILFH/
> 
> ___
> 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/EQ4ZBRWZCO2TJRJJDRZZLV4BXET2JQMF/
___
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/3OJOWCRYAQD4KN6IIEYYKBCUE5R5U5JH/
  
___
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/BD2P3XFCYFE2XGNB7Y3CHUXKCR5XSZZE/


[ovirt-users] Re: Getting error on oVirt installation

2022-04-30 Thread mahmutduzenn
No matter how many times I tried to install it, I encountered this error and I 
could not find a method for the solution. Do we need to downgrade 
postgresql-jdbc?

Is there a resource-article we can get information about this subject?
Thanks for your answers
___
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/VRWJEXCT3B7BFAXIRBOQEMWIDT27XGJI/


[ovirt-users] Re: HELP ME! Failed to validate the SSL certificate for localhost:443

2022-04-30 Thread Tnchawy
I set the FQDN name every time run "hosted-engine --deploy"
and I want to install self-host engine.

*I set up the servers as pictured below:*
[image: image.png]
[image: image.png]

ในวันที่ ส. 30 เม.ย. 2022 เวลา 17:03 Patrick Hibbs 
เขียนว่า:

> >[ERROR] fatal:[localhost -> my_fqdn.domain]:FAILED!=>{"attempts":12,
> >"changed":false,"msg":"Failed to validate the SSL certificate for
> >localhost:443.
> >Make sure your managed systems have a valid CA certificate installed.
>
> Given that this seems to be an error from engine-setup, you've probably
> answered "localhost" when it asked you for the Host FQDN. Run engine-
> cleanup and then rerun engine-setup and give it the host's actual FQDN
> when engine-setup asks for it. (Typing localhost won't resolve it. You
> must give engine-setup the actual FQDN you want the engine to use.)
>
> -Patrick Hibbs
>
> On Sat, 2022-04-30 at 02:35 +, natchaw...@gmail.com wrote:
> > My records on the DNS server are as follows. When I check with
> > nslookup, there is no
> > access problem.
> >
> > i'm not use localhost.
> >
> > =
> > 
> > Forward Lookup Zones
> > domain.co.th
> > gateway-node.doamin.co.th.  IN  A  10.99.101.90
> > manage-node.doamin.co.th.  IN  A  10.99.101.111
> >
> > Reverse Lookup Zones
> > 10.99.101.in-addr.arpa
> > 10.99.101.90   IN   PTR   gateway-node.doamin.co.th.
> > 10.99.101.111  IN  PTR   manage-node.doamin.co.th.
> > =
> > 
> > What exactly is the problem that needs to be solved?
> > ___
> > 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/P7KQVKBEHEAUNXT2H43ZTS32KCARXAWE/
>
> ___
> 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/FKEFAG5L2JJ4TFN6CEBOVB4OKTU2FQBW/
>
___
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/R5VUHRCD43TKAPA7FZ7FWIKE6JCCKXVD/


[ovirt-users] Re: Unable to remove host from ovirt engine

2022-04-30 Thread Joseph Gelinas
Using GlusterFS for storage.

> On Apr 30, 2022, at 06:55, Strahil Nikolov via Users  wrote:
> 
> *storage 
> 
> On Sat, Apr 30, 2022 at 13:50, Strahil Nikolov via Users
>  wrote:
> ___
> 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/MWDNE4IK5F7ZH4LCY3I5EJWXDD54ILFH/
> 
> ___
> 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/EQ4ZBRWZCO2TJRJJDRZZLV4BXET2JQMF/
___
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/3OJOWCRYAQD4KN6IIEYYKBCUE5R5U5JH/


[ovirt-users] Re: Getting error on oVirt installation

2022-04-30 Thread Erez Zarum
It is the correct URL to localhost as it is just making sure the engine
health is up, it uses localhost as the playbook delegate to the engine VM
so it is localhost.
He received a status code of 500 back, which means he was hit by the
postgresql-jdbc bug and should downgrade.

I just don't understand why the oVIrt project does not release an async
release just to handle this, this is a critical issue for many people, and
especially new users trying to deploy oVirt for the first time, they will
hit this bug immediately.

On Sat, Apr 30, 2022 at 1:53 PM Strahil Nikolov via Users 
wrote:

> I think this is the problem:
>
> "url": "http://localhost  /ovirt-engine/services/health"
>
> I believe it should be :
> http://oengine.servername.local/ovirt-engine/services/health
>
> Best Regards,
> Strahil Nikolov
>
> My records on the DNS server are as follows. When I check with nslookup,
> there is no access problem.
> db.servername.local
> onode.servername.local.IN  A  192.168.1.10
> oengine.servername.local.  IN  A  192.168.1.20
> db.192.168.1
> 10INPTRonode.servername.local.
> 20INPTRoengine.servername.local.
>
> What exactly is the problem about?
>
> ___
> 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/EB6AULCZV4EBWS6YPZKEGUA7HTYUKK73/
>
> ___
> 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/VV5DMFHGOGTHLSGS6RHJPKY4X2T44AC7/
>
___
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/ZGNLKKHCP6R73T66GUOTSQLP3UMQUZZQ/


[ovirt-users] Re: Unable to remove host from ovirt engine

2022-04-30 Thread Strahil Nikolov via Users
*storage 
 
 
  On Sat, Apr 30, 2022 at 13:50, Strahil Nikolov via Users 
wrote:   ___
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/MWDNE4IK5F7ZH4LCY3I5EJWXDD54ILFH/
  
___
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/EQ4ZBRWZCO2TJRJJDRZZLV4BXET2JQMF/


[ovirt-users] Re: ERROR! couldn't resolve module/action 'vdo'

2022-04-30 Thread Strahil Nikolov via Users
What is the output of 'cat 
 /etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/vdo_create.yml' ?

Best Regards,Strahil Nikolov
 
My newly installed version ovirt-node-ng-installer-4.5.0-2022042607 el8
Deploy the run gluster wizard for single node and the error is as follows:

Apr 30 20:03:12 pm-1 cockpit-ws[6288]: ERROR! couldn't resolve module/action 
'vdo'. This often indicates a misspelling, missing collection, or incorrect 
module path.
Apr 30 20:03:12 pm-1 cockpit-ws[6288]: The error appears to be in 
'/etc/ansible/roles/gluster.infra/roles/backend_setup/tasks/vdo_create.yml': 
line 53, column 3, but may
Apr 30 20:03:12 pm-1 cockpit-ws[6288]: be elsewhere in the file depending on 
the exact syntax problem.
Apr 30 20:03:12 pm-1 cockpit-ws[6288]: The offending line appears to be:
Apr 30 20:03:12 pm-1 cockpit-ws[6288]: - name: Create VDO with specified size
Apr 30 20:03:12 pm-1 cockpit-ws[6288]:  ^ here
___
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/NPM2YQAIQYSJBEXTGKIFMF3S3YID47NA/
  
___
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/V72BFZW5VG5TZZQSTPAF6D7JKGVBW65E/


[ovirt-users] Re: Getting error on oVirt installation

2022-04-30 Thread Strahil Nikolov via Users
I think this is the problem:
"url": "http://localhost /ovirt-engine/services/health;
I believe it should be 
:http://oengine.servername.local/ovirt-engine/services/health
Best Regards,Strahil Nikolov
 
 
My records on the DNS server are as follows. When I check with nslookup, 
there is no access problem.
db.servername.local
onode.servername.local.        IN      A      192.168.1.10
oengine.servername.local.      IN      A      192.168.1.20
db.192.168.1
10    IN    PTR    onode.servername.local.
20    IN    PTR    oengine.servername.local.

What exactly is the problem about?
___
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/EB6AULCZV4EBWS6YPZKEGUA7HTYUKK73/
  
___
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/VV5DMFHGOGTHLSGS6RHJPKY4X2T44AC7/


[ovirt-users] Re: Unable to remove host from ovirt engine

2022-04-30 Thread Strahil Nikolov via Users
hosted-engine output and UI are totally unrelated.The output of hosted-engine 
is matching the 'crown' icon in the UI and indicates on which hosts the 
HostedEngine VM can run.In the UI, the host is just a host that is capable of 
running VMs.
You need to remove the host from the UI.
What kind of storafe are you using ?
Best Regards,Strahil Nikolov
 
 
  On Fri, Apr 29, 2022 at 22:15, Joseph Gelinas wrote:   
___
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/XAJW5LJANCH24ANNPLH6XFFGK76KY2SD/
  
___
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/MWDNE4IK5F7ZH4LCY3I5EJWXDD54ILFH/


[ovirt-users] Re: hosted engine ovirt-engine-appliance-4.5-20220419162115.1.el8.x86_64 doesn't deploy

2022-04-30 Thread diego . ercolani
Yes. The problem is that 
hosted-engine --deploy --4 --ansible-extra-vars=he_pause_host=true

pause the deploy far after the problem so you have to intercept the engine 
start then, as I have an installation behind proxy:

echo "proxy=http://192.168.9.149:3128; >> /etc/yum.conf

then waiting the upgrade process and during the upgrade:
while :; do dnf -y downgrade postgresql-jdbc; sleep 5; done

and then wait


how it's possible to use answer file in the node and in the engine only not to 
have to reissue all the parameter?

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/K7TQBJNKJBJJ5O6EC2ZTWCOA5GNMC3LK/


[ovirt-users] Re: HTTP Error 500: Internal Server Error

2022-04-30 Thread Nathaniel Roach via Users
I would also try downgrading the postgres connector, as that's causing 
issues for existing installs in the same way:


https://lists.ovirt.org/archives/list/users@ovirt.org/message/3IQ5C4AK4K65MVEHCIWDAREWW4QPF5KJ/

On 30/4/22 18:01, John wrote:
I would run the deploy again, wait until the engine is up and then 
from the server you are deploying the engine on


# virsh console 1

login as root

wait for all packages to finish updating:

tail -f /var/log/dnf.rpm.log

then:

# dnf downgrade postgresql-jdbc

once that's done the deployment of the engine should get past the

[ INFO ] TASK [ovirt.ovirt.engine_setup : Check if Engine health page 
is up]


step.


On 30/04/2022 06:35, yp...@163.com wrote:
Deploy ovirt-engine-appliance-4.5-20220419162115.1 el8. x86_ 64. The 
error is reported as follows:


  INFO ] TASK [ovirt.ovirt.engine_setup : Make sure `ovirt-engine` 
service is running]

[ INFO ] ok: [localhost -> 192.168.222.237]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Run engine-config]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Restart engine after 
engine-config]

[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Check if Engine health page 
is up]
[ ERROR ] fatal: [localhost -> 192.168.222.237]: FAILED! => 
{"attempts": 30, "changed": false, "connection": "close", 
"content_encoding": "identity", "content_length": "86", 
"content_type": "text/html; charset=UTF-8", "date": "Sat, 30 Apr 2022 
05:26:11 GMT", "elapsed": 0, "msg": "Status code was 500 and not 
[200]: HTTP Error 500: Internal Server Error", "redirected": false, 
"server": "Apache/2.4.37 (centos) OpenSSL/1.1.1k 
mod_auth_gssapi/1.6.1", "status": 500, "url": 
"http://localhost/ovirt-engine/services/health"}

[ INFO ] TASK [ovirt.ovirt.engine_setup : Clean temporary files]
[ INFO ] changed: [localhost -> 192.168.222.237]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine]
[ INFO ] changed: [localhost -> 192.168.222.237]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set destination 
directory path]

[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create destination 
directory]

[ INFO ] changed: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Find the local 
appliance image]

[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Give the vm time to 
flush dirty buffers]

[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Copy engine logs]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Change ownership of 
copied engine logs]

[ INFO ] changed: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user 
about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": 
"There was a failure deploying the engine on the local engine VM. The 
system may not be provisioned according to the playbook results: 
please check the logs for the issue, fix accordingly or re-deploy 
from scratch.\n"}

___
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/4J244JDF5MLZLT4RWY4DOHQGMVJXFOUA/



--

*Nathaniel Roach*
___
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/NHWWXEMKWYVFT7L7PROBZGH4RL4H5IQR/


[ovirt-users] Re: HTTP Error 500: Internal Server Error

2022-04-30 Thread John
I would run the deploy again, wait until the engine is up and then from 
the server you are deploying the engine on


# virsh console 1

login as root

wait for all packages to finish updating:

tail -f /var/log/dnf.rpm.log

then:

# dnf downgrade postgresql-jdbc

once that's done the deployment of the engine should get past the

[ INFO ] TASK [ovirt.ovirt.engine_setup : Check if Engine health page is up]

step.


On 30/04/2022 06:35, yp...@163.com wrote:

Deploy ovirt-engine-appliance-4.5-20220419162115.1 el8. x86_ 64. The error is 
reported as follows:

  INFO ] TASK [ovirt.ovirt.engine_setup : Make sure `ovirt-engine` service is 
running]
[ INFO ] ok: [localhost -> 192.168.222.237]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Run engine-config]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Restart engine after engine-config]
[ INFO ] skipping: [localhost]
[ INFO ] TASK [ovirt.ovirt.engine_setup : Check if Engine health page is up]
[ ERROR ] fatal: [localhost -> 192.168.222.237]: FAILED! => {"attempts": 30, "changed": false, "connection": "close", "content_encoding": "identity", "content_length": "86", "content_type": 
"text/html; charset=UTF-8", "date": "Sat, 30 Apr 2022 05:26:11 GMT", "elapsed": 0, "msg": "Status code was 500 and not [200]: HTTP Error 500: Internal Server Error", "redirected": false, "server": 
"Apache/2.4.37 (centos) OpenSSL/1.1.1k mod_auth_gssapi/1.6.1", "status": 500, "url": "http://localhost/ovirt-engine/services/health"}
[ INFO ] TASK [ovirt.ovirt.engine_setup : Clean temporary files]
[ INFO ] changed: [localhost -> 192.168.222.237]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine]
[ INFO ] changed: [localhost -> 192.168.222.237]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set destination directory path]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create destination directory]
[ INFO ] changed: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Find the local appliance image]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Give the vm time to flush 
dirty buffers]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Copy engine logs]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Change ownership of copied 
engine logs]
[ INFO ] changed: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a 
failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "There was a 
failure deploying the engine on the local engine VM. The system may not be provisioned according to the playbook 
results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}
___
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/4J244JDF5MLZLT4RWY4DOHQGMVJXFOUA/


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
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/RZ6ROHJHILFICK5KR4F3ZW2QK4SRR6AF/


[ovirt-users] Re: HELP ME! Failed to validate the SSL certificate for localhost:443

2022-04-30 Thread Patrick Hibbs
>[ERROR] fatal:[localhost -> my_fqdn.domain]:FAILED!=>{"attempts":12,
>"changed":false,"msg":"Failed to validate the SSL certificate for
>localhost:443.
>Make sure your managed systems have a valid CA certificate installed. 

Given that this seems to be an error from engine-setup, you've probably
answered "localhost" when it asked you for the Host FQDN. Run engine-
cleanup and then rerun engine-setup and give it the host's actual FQDN
when engine-setup asks for it. (Typing localhost won't resolve it. You
must give engine-setup the actual FQDN you want the engine to use.)

-Patrick Hibbs

On Sat, 2022-04-30 at 02:35 +, natchaw...@gmail.com wrote:
> My records on the DNS server are as follows. When I check with
> nslookup, there is no
> access problem.
> 
> i'm not use localhost.
> 
> =
> 
> Forward Lookup Zones
> domain.co.th
> gateway-node.doamin.co.th.  IN  A  10.99.101.90
> manage-node.doamin.co.th.  IN  A  10.99.101.111
> 
> Reverse Lookup Zones
> 10.99.101.in-addr.arpa
> 10.99.101.90   IN   PTR   gateway-node.doamin.co.th.
> 10.99.101.111  IN  PTR   manage-node.doamin.co.th.
> =
> 
> What exactly is the problem that needs to be solved?
> ___
> 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/P7KQVKBEHEAUNXT2H43ZTS32KCARXAWE/

___
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/FKEFAG5L2JJ4TFN6CEBOVB4OKTU2FQBW/


[ovirt-users] Re: hosted engine ovirt-engine-appliance-4.5-20220419162115.1.el8.x86_64 doesn't deploy

2022-04-30 Thread John

Hi,

Please downgrade the postgresql-jdbc package from inside the engine:

# dnf downgrade postgresql-jdbc

That should cure the 500 internal server error.

On 30/04/2022 10:18, diego.ercol...@ssis.sm wrote:

I have a full installation of ovirt hosted-engine but it always stop telling:
[ ERROR ] fatal: [localhost -> 192.168.222.15]: FAILED! => {"attempts": 30, "changed": false, "connection": "close", "content_encoding": "identity", "content_length": "86", "content_type": 
"text/html; charset=UTF-8", "date": "Sat, 30 Apr 2022 06:56:58 GMT", "elapsed": 0, "msg": "Status code was 500 and not [200]: HTTP Error 500: Internal Server Error", "redirected": false, "server": 
"Apache/2.4.37 (centos) OpenSSL/1.1.1k mod_auth_gssapi/1.6.1", "status": 500, "url": "http://localhost/ovirt-engine/services/health"}

and it's true, I can access the engine via the temporary address (192.168.1.69 
or 192.168.222.69) and issuing a curl:
[root@ovirt-engine ~]# curl http://localhost/ovirt-engine/services/health
Error500 - Internal Server 
Error[root@ovirt-engine ~]#

it give back an Internal server error.

I can not deploy how it's possible to fix?

currently the engine is running.. should I try something from inside the engine?
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/7OVXEYY33B7RTDMMOJHDJR4RI44AN7F3/


--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
___
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/LPS7TB6C6QNBGA7O3BUUKYZ27X7YXHNI/


[ovirt-users] hosted engine ovirt-engine-appliance-4.5-20220419162115.1.el8.x86_64 doesn't deploy

2022-04-30 Thread diego . ercolani
I have a full installation of ovirt hosted-engine but it always stop telling:
[ ERROR ] fatal: [localhost -> 192.168.222.15]: FAILED! => {"attempts": 30, 
"changed": false, "connection": "close", "content_encoding": "identity", 
"content_length": "86", "content_type": "text/html; charset=UTF-8", "date": 
"Sat, 30 Apr 2022 06:56:58 GMT", "elapsed": 0, "msg": "Status code was 500 and 
not [200]: HTTP Error 500: Internal Server Error", "redirected": false, 
"server": "Apache/2.4.37 (centos) OpenSSL/1.1.1k mod_auth_gssapi/1.6.1", 
"status": 500, "url": "http://localhost/ovirt-engine/services/health"}

and it's true, I can access the engine via the temporary address (192.168.1.69 
or 192.168.222.69) and issuing a curl:
[root@ovirt-engine ~]# curl http://localhost/ovirt-engine/services/health
Error500 - Internal Server 
Error[root@ovirt-engine ~]# 

it give back an Internal server error.

I can not deploy how it's possible to fix?

currently the engine is running.. should I try something from inside the engine?
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/7OVXEYY33B7RTDMMOJHDJR4RI44AN7F3/


[ovirt-users] Re: Cannot start ovirt-engine java server - 500 Internal Server Error - after update to 4.4.10

2022-04-30 Thread Jan Burian

Hi guys,

thanks for sharing. I can confirm that solved my problem.

I missed the email from Martin from 22th April. I wasn't member of 
mailing list yet.
Maybe this information from Martin's email could be in release notes for 
4.4.10 and 4.5.0 as known issue:

https://www.ovirt.org/release/4.4.10/#known-issues

Anyway, thanks again.

Regards
Honza


On 4/30/22 10:46, Maton, Brett wrote:
I ran in to this problem yesterday, if you've already upgraded 
'everything' you can roll back the postgresql driver with


dnf downgrade postgresql-jdbc

and then restart the engine

systemctl restart ovirt-engine



On Sat, 30 Apr 2022 at 08:10, Latchezar Filtchev  wrote:

Dear Jan,

Please check Martin's e-mail from 22.04.2022 (below). I confirm
the workaround works for me.

Best,
Latcho]

From: Martin Perina 
Sent: Friday, April 22, 2022 6:35 PM
To: users ; devel 
Cc: Eli Mesika 
Subject: [ovirt-users] [IMPORTANT] Upgrade to
postgresql-jdbc-42.2.14-1 breaks oVirt Engine 4.4/4.5

Hi,
Unfortunately we have just found that latest release of
postgresql-jdbc-42.2.14-1 breaks existing oVirt Engine 4.4 and 4.5
installations running on CentOS Stream.
The workaround is to downgrade to previous version, for example
postgresql-jdbc-42.2.3-3 should work fine.

Here are detailed instructions:

1. If you have already upgraded to postgresql-jdbc-42.2.14-1,
please downgrade to previous version:

    $ dnf downgrade postgresql-jdbc
    $ systemctl restart ovirt-engine

2. If you are going to upgrade your oVirt Engine machine, please
exclude postgresql-jdbc package from upgrades:

    $ dnf update -x postgresql-jdbc

We have created https://bugzilla.redhat.com/2077794 to track this
issue, but unfortunately we don't have a fix yet.

Regards,
Martin

-- 
Martin Perina

Manager, Software Engineering
Red Hat Czech s.r.o.

-Original Message-
From: Jan Burian 
Sent: Friday, April 29, 2022 9:19 PM
To: users@ovirt.org
Subject: [ovirt-users] Cannot start ovirt-engine java server - 500
Internal Server Error - after update to 4.4.10

Hi there,

I updated hosted ovirt engine from within VM.
At first I updated OS - yum update.
Then rebooted VM.
After VM booted again, I found out I cannot access GUI.

Then I found out I had to run engine-setup even when updating
between releases.
So then I put cluster in global maintenance mode.
And run engine-setup.
The setup finished successfully.
But the GUI is still not accessible. I got 500 Internal server error.
Even after reboot or if I run engine-setup again. The errors are
the same.

In the engine.log is no error.
There are errors in server.log.

I updated from ovirt-engine-4.4.9.5-1.el8.noarch to
ovirt-engine-4.4.10.7-1.el8.noarch.

I tried to find some solution, but no luck.
The part of error about failing to start engine.ear is common.
But the java Caused by: error looks like different then I was able
to find.

Anyone who is able to find out where the problem lies and any tips
for possible solution?

Thanks.
Regards
Honza


The errors from server.log:
--
2022-04-29 17:17:44,924+02 INFO [org.wildfly.extension.undertow]
(ServerService Thread Pool -- 53) WFLYUT0021: Registered web context:
'/ovirt-engine/webadmin' for server 'default-server'

2022-04-29 17:17:45,110+02 INFO
[org.springframework.jdbc.support.SQLErrorCodesFactory]
(ServerService Thread Pool -- 54) SQLErrorCodes loaded: [DB2,
Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL,
Sybase, Hana]
2022-04-29 17:17:45,187+02 ERROR [org.jboss.msc.service.fail]
(ServerService Thread Pool -- 54) 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


[ovirt-users] Re: Deployment suddenly fails at engine check

2022-04-30 Thread Harry O
When I time the postgresql-jdbc downgrade right with the engine deployment, it 
runs perfect - thanks again.
___
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/AF6HKJP2E23KVBN7WDUN3QN5QGZC46WF/


[ovirt-users] Re: Cannot start ovirt-engine java server - 500 Internal Server Error - after update to 4.4.10

2022-04-30 Thread Maton, Brett
I ran in to this problem yesterday, if you've already upgraded 'everything'
you can roll back the postgresql driver with

dnf downgrade postgresql-jdbc

and then restart the engine

systemctl restart ovirt-engine



On Sat, 30 Apr 2022 at 08:10, Latchezar Filtchev  wrote:

> Dear Jan,
>
> Please check Martin's e-mail from 22.04.2022 (below). I confirm the
> workaround works for me.
>
> Best,
> Latcho]
>
> From: Martin Perina 
> Sent: Friday, April 22, 2022 6:35 PM
> To: users ; devel 
> Cc: Eli Mesika 
> Subject: [ovirt-users] [IMPORTANT] Upgrade to postgresql-jdbc-42.2.14-1
> breaks oVirt Engine 4.4/4.5
>
> Hi,
> Unfortunately we have just found that latest release of
> postgresql-jdbc-42.2.14-1 breaks existing oVirt Engine 4.4 and 4.5
> installations running on CentOS Stream.
> The workaround is to downgrade to previous version, for example
> postgresql-jdbc-42.2.3-3 should work fine.
>
> Here are detailed instructions:
>
> 1. If you have already upgraded to postgresql-jdbc-42.2.14-1, please
> downgrade to previous version:
>
> $ dnf downgrade postgresql-jdbc
> $ systemctl restart ovirt-engine
>
> 2. If you are going to upgrade your oVirt Engine machine, please exclude
> postgresql-jdbc package from upgrades:
>
> $ dnf update -x postgresql-jdbc
>
> We have created https://bugzilla.redhat.com/2077794 to track this issue,
> but unfortunately we don't have a fix yet.
>
> Regards,
> Martin
>
> --
> Martin Perina
> Manager, Software Engineering
> Red Hat Czech s.r.o.
>
> -Original Message-
> From: Jan Burian 
> Sent: Friday, April 29, 2022 9:19 PM
> To: users@ovirt.org
> Subject: [ovirt-users] Cannot start ovirt-engine java server - 500
> Internal Server Error - after update to 4.4.10
>
> Hi there,
>
> I updated hosted ovirt engine from within VM.
> At first I updated OS - yum update.
> Then rebooted VM.
> After VM booted again, I found out I cannot access GUI.
>
> Then I found out I had to run engine-setup even when updating between
> releases.
> So then I put cluster in global maintenance mode.
> And run engine-setup.
> The setup finished successfully.
> But the GUI is still not accessible. I got 500 Internal server error.
> Even after reboot or if I run engine-setup again. The errors are the same.
>
> In the engine.log is no error.
> There are errors in server.log.
>
> I updated from ovirt-engine-4.4.9.5-1.el8.noarch to
> ovirt-engine-4.4.10.7-1.el8.noarch.
>
> I tried to find some solution, but no luck.
> The part of error about failing to start engine.ear is common.
> But the java Caused by: error looks like different then I was able to find.
>
> Anyone who is able to find out where the problem lies and any tips for
> possible solution?
>
> Thanks.
> Regards
> Honza
>
>
> The errors from server.log:
> --
> 2022-04-29 17:17:44,924+02 INFO  [org.wildfly.extension.undertow]
> (ServerService Thread Pool -- 53) WFLYUT0021: Registered web context:
> '/ovirt-engine/webadmin' for server 'default-server'
>
> 2022-04-29 17:17:45,110+02 INFO
> [org.springframework.jdbc.support.SQLErrorCodesFactory] (ServerService
> Thread Pool -- 54) SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix,
> MS-SQL, MySQL, Oracle, PostgreSQL, Sybase, Hana]
> 2022-04-29 17:17:45,187+02 ERROR [org.jboss.msc.service.fail]
> (ServerService Thread Pool -- 54) 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
> 

[ovirt-users] Re: Deployment suddenly fails at engine check

2022-04-30 Thread Harry O
Hi Martin,
Thanks for your reply,
Here is some output from the process:


[root@hej ~]# dnf downgrade postgresql-jdbc
Last metadata expiration check: 0:37:09 ago on Sat 30 Apr 2022 09:42:39 AM CEST.
Dependencies resolved.
===
 Package   
Architecture Version
  Repository
   Size
===
Downgrading:
 postgresql-jdbc   
noarch   42.2.3-3.el8_2 
  appstream 
  710 k

Transaction Summary
===
Downgrade  1 Package

Total download size: 710 k
Is this ok [y/N]: y
Downloading Packages:
postgresql-jdbc-42.2.3-3.el8_2.noarch.rpm   


   795 kB/s | 710 kB 00:00
---
Total   


   710 kB/s | 710 kB 00:00 
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing:


   1/1 
  Downgrading  : postgresql-jdbc-42.2.3-3.el8_2.noarch  


   1/2 
  Cleanup  : postgresql-jdbc-42.2.14-1.el8.noarch   


   2/2 
  Verifying: postgresql-jdbc-42.2.3-3.el8_2.noarch  


   1/2 
  Verifying: postgresql-jdbc-42.2.14-1.el8.noarch   


   2/2 

Downgraded:
  postgresql-jdbc-42.2.3-3.el8_2.noarch 


   

Complete!
[root@hej ~]# systemctl restart ovirt-engine


[root@hej ~]# 
[root@hej ~]# curl http://127.0.0.1:8706/management
Error401 - 
Unauthorized[root@hej ~]# 
[root@hej ~]# 
[root@hej ~]# curl http://127.0.0.1:8706
[root@hej ~]#

[root@hej ~]# systemctl status ovirt-engine
● ovirt-engine.service - oVirt Engine
   Loaded: loaded (/usr/lib/systemd/system/ovirt-engine.service; enabled; 
vendor preset: disabled)
   Active: active (running) since 

[ovirt-users] Remove ovirt 4.4 repos after upgrade on the engine?

2022-04-30 Thread David White via Users
Hello,
After an update from 4.4 to 4.5 on the Engine, I noticed that the 4.4 repos 
still exist:
Is it safe to run "yum autoremove" on the Engine, followed by removing all of 
the 4.4 repositories from /etc/yum.repos.d/ ?
ovirt-4.4                                                                       
                  Latest oVirt 4.4 
Releaseovirt-4.4-centos-advanced-virtualization                                 
                         CentOS-8 - Advanced 
Virtualizationovirt-4.4-centos-ceph-pacific                                     
                                CentOS-8-stream - Ceph 
Pacificovirt-4.4-centos-gluster8                                                
                         CentOS-8-stream - Gluster 
8ovirt-4.4-centos-nfv-openvswitch                                               
                   CentOS-8 - NFV 
OpenvSwitchovirt-4.4-centos-openstack-victoria                                  
                             CentOS-8 - OpenStack 
victoriaovirt-4.4-centos-opstools                                               
                          CentOS-8 - OpsTools - 
collectdovirt-4.4-centos-opstools-vault                                         
                          CentOS-8 - OpsTools - collectd - 
vaultovirt-4.4-centos-ovirt44                                                   
                       CentOS-8 - oVirt 
4.4ovirt-4.4-copr:copr.fedorainfracloud.org:sac:gluster-ansible                 
                     Copr repo for gluster-ansible owned by 
sacovirt-4.4-copr:copr.fedorainfracloud.org:sbonazzo:EL8_collection             
                     Copr repo for EL8_collection owned by 
sbonazzoovirt-4.4-epel                                                          
                          Extra Packages for Enterprise Linux 8 - 
x86_64ovirt-4.4-virtio-win-latest                                               
                        virtio-win builds roughly matching what will be shipped 
in upcoming RHEL


Sent with ProtonMail secure email.

publickey - dmwhite823@protonmail.com - 0x320CD582.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
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/YXDJ46IYWE5RKL44MOM45COR24MRTZG4/


[ovirt-users] Re: Cannot start ovirt-engine java server - 500 Internal Server Error - after update to 4.4.10

2022-04-30 Thread Latchezar Filtchev
Dear Jan,

Please check Martin's e-mail from 22.04.2022 (below). I confirm the workaround 
works for me.

Best,
Latcho]

From: Martin Perina  
Sent: Friday, April 22, 2022 6:35 PM
To: users ; devel 
Cc: Eli Mesika 
Subject: [ovirt-users] [IMPORTANT] Upgrade to postgresql-jdbc-42.2.14-1 breaks 
oVirt Engine 4.4/4.5

Hi,
Unfortunately we have just found that latest release of 
postgresql-jdbc-42.2.14-1 breaks existing oVirt Engine 4.4 and 4.5 
installations running on CentOS Stream.
The workaround is to downgrade to previous version, for example 
postgresql-jdbc-42.2.3-3 should work fine.

Here are detailed instructions:

1. If you have already upgraded to postgresql-jdbc-42.2.14-1, please downgrade 
to previous version:

$ dnf downgrade postgresql-jdbc
$ systemctl restart ovirt-engine

2. If you are going to upgrade your oVirt Engine machine, please exclude 
postgresql-jdbc package from upgrades:

$ dnf update -x postgresql-jdbc

We have created https://bugzilla.redhat.com/2077794 to track this issue, but 
unfortunately we don't have a fix yet.

Regards,
Martin

-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.

-Original Message-
From: Jan Burian  
Sent: Friday, April 29, 2022 9:19 PM
To: users@ovirt.org
Subject: [ovirt-users] Cannot start ovirt-engine java server - 500 Internal 
Server Error - after update to 4.4.10

Hi there,

I updated hosted ovirt engine from within VM.
At first I updated OS - yum update.
Then rebooted VM.
After VM booted again, I found out I cannot access GUI.

Then I found out I had to run engine-setup even when updating between releases.
So then I put cluster in global maintenance mode.
And run engine-setup.
The setup finished successfully.
But the GUI is still not accessible. I got 500 Internal server error.
Even after reboot or if I run engine-setup again. The errors are the same.

In the engine.log is no error.
There are errors in server.log.

I updated from ovirt-engine-4.4.9.5-1.el8.noarch to 
ovirt-engine-4.4.10.7-1.el8.noarch.

I tried to find some solution, but no luck.
The part of error about failing to start engine.ear is common.
But the java Caused by: error looks like different then I was able to find.

Anyone who is able to find out where the problem lies and any tips for possible 
solution?

Thanks.
Regards
Honza


The errors from server.log:
--
2022-04-29 17:17:44,924+02 INFO  [org.wildfly.extension.undertow] 
(ServerService Thread Pool -- 53) WFLYUT0021: Registered web context: 
'/ovirt-engine/webadmin' for server 'default-server'

2022-04-29 17:17:45,110+02 INFO
[org.springframework.jdbc.support.SQLErrorCodesFactory] (ServerService Thread 
Pool -- 54) SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, 
MySQL, Oracle, PostgreSQL, Sybase, Hana]
2022-04-29 17:17:45,187+02 ERROR [org.jboss.msc.service.fail] (ServerService 
Thread Pool -- 54) 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