[ovirt-users] Re: after restore check for upgrade fails

2021-11-09 Thread Staniforth, Paul
] [pid 623239:tid 140116026976000] 
[client 127.0.0.1:40574] Target WSGI script not found or unable to stat: 
/var/www/runnner/runner.wsgi
[Tue Nov 09 08:46:56.578426 2021] [wsgi:error] [pid 623239:tid 140114617415424] 
[client 127.0.0.1:40572] Target WSGI script not found or unable to stat: 
/var/www/runnner/runner.wsgi

Checking with

rpm -qV ansible-runner-service-1.0.7-1.el8.noarch
S.5T.  c /etc/ansible-runner-service/config.yaml
missing /var/www/runnner/runner.wsgi

I've added
/var/www/runnner/runner.wsgi

and it checking for updates without errors.

Regards,
Paul S.

From: Martin Necas 
Sent: 09 November 2021 14:23
To: Staniforth, Paul 
Cc: users 
Subject: Re: [ovirt-users] after restore check for upgrade fails


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hmm does not look like major changes except the stream, do you have some error 
in httpd?
/var/log/httpd/error_log

Martin Necas

On Tue, Nov 9, 2021 at 12:12 PM Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:
ansible-runner-service-1.0.7-1.el8.noarch
python3-ansible-runner-1.4.6-1.el8.noarch

The original system was on 4.4.8.5

I'm not sure what minor version the system I restored it to.

Yes, I ran engine-setup after the restore.

I then did an upgrade to 4.4.9.4

I also upgraded the new system to centos8 stream.


Regards,

Paul S.


From: Martin Necas mailto:mne...@redhat.com>>
Sent: 09 November 2021 10:31
To: Staniforth, Paul 
mailto:p.stanifo...@leedsbeckett.ac.uk>>
Cc: users mailto:users@ovirt.org>>
Subject: Re: [ovirt-users] after restore check for upgrade fails


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hi,

what is your version of runner and runner service?
rpm -qa "*ansible-runner*"
It is a bit strange that the /var/log/ovirt-engine/ansible-runner-service.log 
does not exist.

>From which version did you upgrade the engine?
Have you run the engine-setup after the restore?

Martin Necas

On Mon, Nov 8, 2021 at 4:13 PM 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:
Hello

After doing a a backup and restoring to a new oVirt management server check for 
upgrade of hosts fails.

Also reinstall and enroll certificate fails.

The error message is

Failed to check for available updates on host 
node1.example.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode1.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C53b35299e8054eb9a14208d9a38c8a5e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720646293792581%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=gR9tCh%2Bp3%2FJdi34r103B%2FPnxKMeWE0qgCfNtoy0l6ik%3D=0>
 with message 'Failed to run check-update of host 
'node1.example.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode1.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C53b35299e8054eb9a14208d9a38c8a5e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720646293802576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=A8E0vAo1gcIDi3kSFb2EvQdl28UYWaLFg5%2BvHRnSnbs%3D=0>'.
 Error: Failed to read the runner-service response. Unexpected character ('<' 
(code 60)): expected a valid value (JSON String, Number, Array, Object or token 
'null', 'true' or 'false')
 at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]'.

Also removing and adding a host back fails

The error message is
Host 
node3.example.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode3.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C53b35299e8054eb9a14208d9a38c8a5e%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720646293802576%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=gkVedloEx0wVs6lcz5k9U8lwaidsCMGqXwa8bZwJBHU%3D=0>
 installation failed. Failed to execute Ansible host-deploy role: Failed to 
read the runner-service response. Unexpected character ('<' (code 60)): 
expected a valid value (JSON String, Number, Array, Object or token 'null', 
'true' or 'false')
 at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]. 
Please check logs for more details: 
/var/log/ovirt-engine/ansible-runner-service.log.

Unfortunately the file /var/log/ovirt-engine/ansible-runner-service.log doesn't 
exist.

Regards,
   Paul S.
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: 
https://www.ovirt.org/privacy-policy.html<https://eur02.safelinks.protection.outlook

[ovirt-users] Re: after restore check for upgrade fails

2021-11-09 Thread Martin Necas
Hmm does not look like major changes except the stream, do you have some
error in httpd?
/var/log/httpd/error_log

Martin Necas

On Tue, Nov 9, 2021 at 12:12 PM Staniforth, Paul <
p.stanifo...@leedsbeckett.ac.uk> wrote:

> ansible-runner-service-1.0.7-1.el8.noarch
> python3-ansible-runner-1.4.6-1.el8.noarch
>
> The original system was on 4.4.8.5
>
> I'm not sure what minor version the system I restored it to.
>
> Yes, I ran engine-setup after the restore.
>
> I then did an upgrade to 4.4.9.4
>
> I also upgraded the new system to centos8 stream.
>
>
> Regards,
>
> Paul S.
>
> --
> *From:* Martin Necas 
> *Sent:* 09 November 2021 10:31
> *To:* Staniforth, Paul 
> *Cc:* users 
> *Subject:* Re: [ovirt-users] after restore check for upgrade fails
>
>
> *Caution External Mail:* Do not click any links or open any attachments
> unless you trust the sender and know that the content is safe.
> Hi,
>
> what is your version of runner and runner service?
> rpm -qa "*ansible-runner*"
> It is a bit strange that the
> /var/log/ovirt-engine/ansible-runner-service.log does not exist.
>
> From which version did you upgrade the engine?
> Have you run the engine-setup after the restore?
>
> Martin Necas
>
> On Mon, Nov 8, 2021 at 4:13 PM  wrote:
>
> Hello
>
> After doing a a backup and restoring to a new oVirt management server
> check for upgrade of hosts fails.
>
> Also reinstall and enroll certificate fails.
>
> The error message is
>
> Failed to check for available updates on host node1.example.com
> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode1.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380810753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=kkFyylx4Xy6JBIGPmsQyUEBS6wB66PasIx%2BzKeU3H2Q%3D=0>
> with message 'Failed to run check-update of host 'node1.example.com
> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode1.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380810753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=kkFyylx4Xy6JBIGPmsQyUEBS6wB66PasIx%2BzKeU3H2Q%3D=0>'.
> Error: Failed to read the runner-service response. Unexpected character
> ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object
> or token 'null', 'true' or 'false')
>  at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column:
> 2]'.
>
> Also removing and adding a host back fails
>
> The error message is
> Host node3.example.com
> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode3.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380820746%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=J93nGY9hNnvGtsGU4FOzGbArTme0QWhdA3b4MJNXc1M%3D=0>
> installation failed. Failed to execute Ansible host-deploy role: Failed to
> read the runner-service response. Unexpected character ('<' (code 60)):
> expected a valid value (JSON String, Number, Array, Object or token 'null',
> 'true' or 'false')
>  at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column:
> 2]. Please check logs for more details:
> /var/log/ovirt-engine/ansible-runner-service.log.
>
> Unfortunately the file /var/log/ovirt-engine/ansible-runner-service.log
> doesn't exist.
>
> Regards,
>Paul S.
> ___
> 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
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.html=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380830740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=mQE2RG%2BiE%2Fg1WTSIZzjolf0MwP1cmSIkoZp6f4v5aK0%3D=0>
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380840727%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDA

[ovirt-users] Re: after restore check for upgrade fails

2021-11-09 Thread Staniforth, Paul
ansible-runner-service-1.0.7-1.el8.noarch
python3-ansible-runner-1.4.6-1.el8.noarch

The original system was on 4.4.8.5

I'm not sure what minor version the system I restored it to.

Yes, I ran engine-setup after the restore.

I then did an upgrade to 4.4.9.4

I also upgraded the new system to centos8 stream.


Regards,

Paul S.


From: Martin Necas 
Sent: 09 November 2021 10:31
To: Staniforth, Paul 
Cc: users 
Subject: Re: [ovirt-users] after restore check for upgrade fails


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hi,

what is your version of runner and runner service?
rpm -qa "*ansible-runner*"
It is a bit strange that the /var/log/ovirt-engine/ansible-runner-service.log 
does not exist.

>From which version did you upgrade the engine?
Have you run the engine-setup after the restore?

Martin Necas

On Mon, Nov 8, 2021 at 4:13 PM 
mailto:p.stanifo...@leedsbeckett.ac.uk>> wrote:
Hello

After doing a a backup and restoring to a new oVirt management server check for 
upgrade of hosts fails.

Also reinstall and enroll certificate fails.

The error message is

Failed to check for available updates on host 
node1.example.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode1.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380810753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=kkFyylx4Xy6JBIGPmsQyUEBS6wB66PasIx%2BzKeU3H2Q%3D=0>
 with message 'Failed to run check-update of host 
'node1.example.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode1.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380810753%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=kkFyylx4Xy6JBIGPmsQyUEBS6wB66PasIx%2BzKeU3H2Q%3D=0>'.
 Error: Failed to read the runner-service response. Unexpected character ('<' 
(code 60)): expected a valid value (JSON String, Number, Array, Object or token 
'null', 'true' or 'false')
 at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]'.

Also removing and adding a host back fails

The error message is
Host 
node3.example.com<https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fnode3.example.com%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380820746%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=J93nGY9hNnvGtsGU4FOzGbArTme0QWhdA3b4MJNXc1M%3D=0>
 installation failed. Failed to execute Ansible host-deploy role: Failed to 
read the runner-service response. Unexpected character ('<' (code 60)): 
expected a valid value (JSON String, Number, Array, Object or token 'null', 
'true' or 'false')
 at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column: 2]. 
Please check logs for more details: 
/var/log/ovirt-engine/ansible-runner-service.log.

Unfortunately the file /var/log/ovirt-engine/ansible-runner-service.log doesn't 
exist.

Regards,
   Paul S.
___
Users mailing list -- users@ovirt.org<mailto:users@ovirt.org>
To unsubscribe send an email to 
users-le...@ovirt.org<mailto:users-le...@ovirt.org>
Privacy Statement: 
https://www.ovirt.org/privacy-policy.html<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.html=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380830740%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=mQE2RG%2BiE%2Fg1WTSIZzjolf0MwP1cmSIkoZp6f4v5aK0%3D=0>
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C0%7C637720507380840727%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=1f1LXTT6H%2BvxBeJW%2FkGBB4wwiz7kEcehIPrzA8z%2B2O8%3D=0>
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7FVU4GYB4HXD3HBESUIHCUV5UWUSGYL2/<https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2F7FVU4GYB4HXD3HBESUIHCUV5UWUSGYL2%2F=04%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7C58c8fe80006845958ef108d9a36c329c%7Cd

[ovirt-users] Re: after restore check for upgrade fails

2021-11-09 Thread Martin Necas
Hi,

what is your version of runner and runner service?
rpm -qa "*ansible-runner*"
It is a bit strange that the
/var/log/ovirt-engine/ansible-runner-service.log does not exist.

>From which version did you upgrade the engine?
Have you run the engine-setup after the restore?

Martin Necas

On Mon, Nov 8, 2021 at 4:13 PM  wrote:

> Hello
>
> After doing a a backup and restoring to a new oVirt management server
> check for upgrade of hosts fails.
>
> Also reinstall and enroll certificate fails.
>
> The error message is
>
> Failed to check for available updates on host node1.example.com with
> message 'Failed to run check-update of host 'node1.example.com'. Error:
> Failed to read the runner-service response. Unexpected character ('<' (code
> 60)): expected a valid value (JSON String, Number, Array, Object or token
> 'null', 'true' or 'false')
>  at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column:
> 2]'.
>
> Also removing and adding a host back fails
>
> The error message is
> Host node3.example.com installation failed. Failed to execute Ansible
> host-deploy role: Failed to read the runner-service response. Unexpected
> character ('<' (code 60)): expected a valid value (JSON String, Number,
> Array, Object or token 'null', 'true' or 'false')
>  at [Source: (org.apache.http.conn.EofSensorInputStream); line: 1, column:
> 2]. Please check logs for more details:
> /var/log/ovirt-engine/ansible-runner-service.log.
>
> Unfortunately the file /var/log/ovirt-engine/ansible-runner-service.log
> doesn't exist.
>
> Regards,
>Paul S.
> ___
> 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/7FVU4GYB4HXD3HBESUIHCUV5UWUSGYL2/
>
___
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/2HAE5S6EG3YTSY2IBCSMRYBIRAOLNX2Y/