[ovirt-users] Re: Adding host fails with Ansible host-deploy role: Internal server error.

2020-09-24 Thread Andrey Andrey via Users
Yes, this is exactly the problem. I used workaround 
1) Turn selinux off: setenforce 0 
2) Add new hosts to the engine / check for updates 
3) Turn selinux on: setenforce 1
___
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/L5EHIVS6SJHQB3THP4NYRIADNI7LES4S/


[ovirt-users] Re: Adding host fails with Ansible host-deploy role: Internal server error.

2020-09-24 Thread Martin Perina
On Thu, Sep 24, 2020 at 11:38 AM Andrey Andrey via Users 
wrote:

> It all worked. Thank you very much.
>

Hi Andrey,
It looks like https://bugzilla.redhat.com/show_bug.cgi?id=1880171
Have you fixed the problem using the workaround mentioned in the above bug?
Or was it a different issue?

Thanks,
Martin


___
> 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/5WUFJDPPPW5ERK2VJ3FEWY3UVXORMYLR/
>


-- 
Martin Perina
Manager, Software Engineering
Red Hat Czech s.r.o.
___
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/NVKG4Y7FBITI3UEQ7BNXGJAP4SA5ZW5O/


[ovirt-users] Re: Adding host fails with Ansible host-deploy role: Internal server error.

2020-09-24 Thread Andrey Andrey via Users
It all worked. 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/5WUFJDPPPW5ERK2VJ3FEWY3UVXORMYLR/


[ovirt-users] Re: Adding host fails with Ansible host-deploy role: Internal server error.

2020-09-24 Thread Yedidyah Bar David
On Thu, Sep 24, 2020 at 11:24 AM Andrey Andrey via Users
 wrote:
>
> Hello!
> Updated host engine to version 4.4.2. I am trying to add a new host and I get 
> the Host node2.kvm.test.s1.eirc installation failed error. Failed to execute 
> Ansible host-deploy role: Internal server error. Please check logs for more 
> details: /var/log/ovirt-engine/ansible-runner-service.log.
>
> Also updated Hosted Engine to version 4.4.3.3-1.el8, I get the same error.
>
> Only old entries are in the logs. New does not appear

Seems like an selinux issue.

I am pretty certain I saw another similar report recently but can't
find it right now.

Addin Martin.

Thanks and best regards,

>
> [root@admin ovirt-engine]# tail 
> /var/log/ovirt-engine/ansible-runner-service.log
> 2020-09-22 18:02:13,943 - runner_service.controllers.jobs - INFO - 127.0.0.1 
> - GET /api/v1/jobs/8e369e4c-fce4-11ea-b893-00163e4843d7/events
> 2020-09-22 18:02:13,943 - runner_service.controllers.jobs - INFO - 127.0.0.1 
> - GET /api/v1/jobs/8e3cba7a-fce4-11ea-b893-00163e4843d7/events
> 2020-09-22 18:02:13,944 - runner_service.services.jobs - DEBUG - Job events 
> for play 8e369e4c-fce4-11ea-b893-00163e4843d7: 25
> 2020-09-22 18:02:13,944 - runner_service.services.jobs - DEBUG - Job events 
> for play 8e3cba7a-fce4-11ea-b893-00163e4843d7: 25
> 2020-09-22 18:02:13,944 - runner_service.services.jobs - DEBUG - Active 
> filter is :{}
> 2020-09-22 18:02:13,944 - runner_service.services.jobs - DEBUG - Active 
> filter is :{}
> 2020-09-22 18:02:13,948 - runner_service.controllers.jobs - DEBUG - Request 
> received, content-type :None
> 2020-09-22 18:02:13,949 - runner_service.controllers.jobs - INFO - 127.0.0.1 
> - GET /api/v1/jobs/8e369e4c-fce4-11ea-b893-00163e4843d7/events
> 2020-09-22 18:02:13,949 - runner_service.services.jobs - DEBUG - Job events 
> for play 8e369e4c-fce4-11ea-b893-00163e4843d7: 25
> 2020-09-22 18:02:13,949 - runner_service.services.jobs - DEBUG - Active 
> filter is :{}
>
>
>
> In file /var/log/ovirt-engine/engine.log
>
> 2020-09-24 10:36:36,645+03 INFO  
> [org.ovirt.engine.core.bll.hostdeploy.AddVdsCommand] (default task-23) 
> [de214fcc-31fc-464c-8ac1-6e111889cd20] Running command: AddVdsCommand 
> internal: false. Entities affected :  ID: 
> 8e827912-a0ef-11ea-826c-00163e4843d7 Type: ClusterAction group CREATE_HOST 
> with role type ADMIN
> 2020-09-24 10:36:36,666+03 INFO  
> [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-23) [7b77f4da] 
> Before acquiring and wait lock 
> 'EngineLock:{exclusiveLocks='[8e7c3f2a-a0ef-11ea-971b-00163e4843d7=REGISTER_VDS]',
>  sharedLocks=''}'
> 2020-09-24 10:36:36,666+03 INFO  
> [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-23) [7b77f4da] 
> Lock-wait acquired to object 
> 'EngineLock:{exclusiveLocks='[8e7c3f2a-a0ef-11ea-971b-00163e4843d7=REGISTER_VDS]',
>  sharedLocks=''}'
> 2020-09-24 10:36:36,667+03 INFO  
> [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-23) [7b77f4da] 
> Running command: AddVdsSpmIdCommand internal: true. Entities affected :  ID: 
> 3a5cbd19-82b7-41ce-870b-5b65184934c9 Type: VDS
> 2020-09-24 10:36:36,674+03 INFO  
> [org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (default task-23) [7b77f4da] 
> Lock freed to object 
> 'EngineLock:{exclusiveLocks='[8e7c3f2a-a0ef-11ea-971b-00163e4843d7=REGISTER_VDS]',
>  sharedLocks=''}'
> 2020-09-24 10:36:36,678+03 INFO  
> [org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand] (default task-23) 
> [7b77f4da] START, RemoveVdsVDSCommand(HostName = node2.kvm.test.s1.eirc, 
> RemoveVdsVDSCommandParameters:{hostId='3a5cbd19-82b7-41ce-870b-5b65184934c9'}),
>  log id: 7b990f6d
> 2020-09-24 10:36:36,678+03 INFO  
> [org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand] (default task-23) 
> [7b77f4da] FINISH, RemoveVdsVDSCommand, return: , log id: 7b990f6d
> 2020-09-24 10:36:36,680+03 INFO  
> [org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand] (default task-23) 
> [7b77f4da] START, AddVdsVDSCommand(HostName = node2.kvm.test.s1.eirc, 
> AddVdsVDSCommandParameters:{hostId='3a5cbd19-82b7-41ce-870b-5b65184934c9'}), 
> log id: 20f7b449
> 2020-09-24 10:36:36,682+03 INFO  
> [org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand] (default task-23) 
> [7b77f4da] AddVds - entered , starting logic to add VDS 
> '3a5cbd19-82b7-41ce-870b-5b65184934c9'
> 2020-09-24 10:36:36,684+03 INFO  
> [org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand] (default task-23) 
> [7b77f4da] AddVds - VDS '3a5cbd19-82b7-41ce-870b-5b65184934c9' was added, 
> will try to add it to the resource manager
> 2020-09-24 10:36:36,684+03 INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] 
> (default task-23) [7b77f4da] Entered VdsManager constructor
> 2020-09-24 10:36:36,693+03 INFO  [org.ovirt.engine.core.vdsbroker.VdsManager] 
> (default task-23) [7b77f4da] Initialize vdsBroker 
> 'node2.kvm.test.s1.eirc:54321'
> 2020-09-24 10:36:36,783+03 INFO  
> [org.ovirt.engine.core.vdsbroker.ResourceManager] (default task-23) 
> [7b77f4da] VDS