[ovirt-users] Re: How I'd like to contribute

2022-03-02 Thread Martin Necas
On Fri, Feb 11, 2022 at 5:02 PM Sandro Bonazzola 
wrote:

> Hi Glen, welcome to oVirt community! Replies are inline:
>
> Il giorno ven 11 feb 2022 alle ore 06:57 Glen Jarvis via Users <
> users@ovirt.org> ha scritto:
>
>> I am researching how to contribute to the oVirt community. I started here:
>>
>> https://www.ovirt.org/community/
>>
>> And, I immediately saw to sign up for this email address and...send us an
>> email saying how you would like to contribute. Visit our mailing lists
>> <https://lists.ovirt.org/archives/> page for other oVirt mailing lists
>> to sign up for.
>>
>>
>> My answers are: I want to be useful (and give more than I take). I can
>> answer questions on mailing lists, help troubleshoot, write ovirt.ovirt
>> Ansible collections, roles and custom modules. I am a seasoned Python
>> programmer.
>>
>
> Here you are in the right place for helping answering questions and
> troubleshooting users' issues.
> I would redirect you to the devel mailing list at
> https://lists.ovirt.org/archives/list/de...@ovirt.org/ for helping with
> the development of Ansible collections, roles and modules.
> I kindly ask @Martin Necas  to help you onboarding in
> this area.
>
> Hi Glen,

sorry for the late response.
I would be more than happy to welcome any of your contributions/suggestions
to the ansible collection.
Feel free to contact me at mne...@redhat.com and we can have chat and I can
introduce you
to our oVirt ansible collection development process.

Martin Necas
___
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/PA557ZPG7UGQATZTHGBEARXN25OQXB2V/


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


[ovirt-users] Re: Hosted Engine ansible runner artifacts cleanup

2021-10-05 Thread Martin Necas
Hi,

if you are talking about the
`/var/log/ovirt-engine/ansible-runner-service.log`.
The logrotate is located in `/etc/logrotate.d/ansible-runner-service` and
should archive weekly.
Should work automatically from ansible-runner-service 1.0.7.

The logroate includes daily the `/etc/logrotate.d` in
`/etc/cron.daily/logrotate` so it should be loaded.
It is possible that you have broken the logrotate/cron.

Martin Necas

On Tue, Oct 5, 2021 at 4:19 PM Yedidyah Bar David  wrote:

> On Tue, Oct 5, 2021 at 3:54 PM Erez Zarum  wrote:
> >
> > Hey,
> > the ovirt-engine runs ansible playbooks and uses the ansible-runner
> project, what happens is that if you have a lot of tasks the artifacts of
> ansible-runner fills up the disk space of the ovirt-engine.
> > They are located in /usr/share/ovirt-engine/ansible-runner
> > There's a config in /etc/ansible-runner-service that controls the
> artifacts rotation, for some reason it does not kick in, in general there's
> a way to manually run the ansible-runner and let it rotate the artifacts, i
> want to understand how to do this without messing up the ovirt-engine.
>
> I think the only thing out-of-the-box that should clean these logs is
> logrotate, for which we indeed supply a conf file.
> Does logrotate run on your system? Should run daily by default, by cron.
>
> The configuration was changed recently, see also:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1941507
>
> Best regards,
> --
> Didi
> ___
> 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/LKFBMJT5SPTKQZGMJZR3KLBKR5AUGI7R/
>
___
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/OCY6JRXOKZAC4KDBBE54IUSV4YPK5JPP/


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

2021-05-14 Thread Martin Necas
You are not providing any other parameters that's why it does not reboot.
In ansible, you are inputting what state you want to have the machine.

Let's say that you have some running VM with 2GiB of RAM and you want to
change it to 4GiB.
If you will start the playbook for the first time it will change to 4GiB
and reboot,
but the second time no changes because it already has 4GiB, so no change
needed.

The same goes for the boot, I guess the VM already had HD boot and you were
trying to change it to it,
ansible checked that it was not necessary.

On Fri, May 14, 2021 at 8:25 PM Alessio B. 
wrote:

> 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/
>
___
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/6RM4CFJ2FNRFAAUCSB3KXLOBWHTJKLXG/


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

2021-05-14 Thread Martin Necas
On Fri, May 14, 2021 at 6:57 PM Martin Necas  wrote:

>  Hi Alessio,
>
> I just tested it and it seems to be working without a problem.
>
> To explain the examples which you sent, might help.
>
> The `next_run: true` "prepares" the VM parameters and after reboot, the
> parameters will be set.
> I noticed that you did not set any parameter to the VM in that task, so it
> has nothing to do.
>
> And as for the second example, with `state: next_run`, this updates the
> parameters and reboots automatically.
>
It checks the state of the parameters if it should update them or not, if
it is already HD it does not need any update so it just passes.

> Please check out if the VM does not already have boot_devices set to hard
> disk.
>

> Martin Necas
>
> On Fri, May 14, 2021 at 1:36 PM Alessio B. <
> alessio.battaglia.1...@gmail.com> wrote:
>
>> 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/
>>
>
___
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/RQZJPBPRVXTTWO4JTY26JKAQBZWJBG47/


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

2021-05-14 Thread Martin Necas
 Hi Alessio,

I just tested it and it seems to be working without a problem.

To explain the examples which you sent, might help.

The `next_run: true` "prepares" the VM parameters and after reboot, the
parameters will be set.
I noticed that you did not set any parameter to the VM in that task, so it
has nothing to do.

And as for the second example, with `state: next_run`, this updates the
parameters and reboots automatically.
Please check out if the VM does not already have boot_devices set to hard
disk.

Martin Necas

On Fri, May 14, 2021 at 1:36 PM Alessio B. 
wrote:

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


[ovirt-users] Re: Ansible ovirt_disk module: how to attach disk without activation

2020-06-16 Thread Martin Necas
Hi Gianluca,

this looks like an issue in the module.
I have created PR which should fix the problem [1].
Please check it out. You can manually create an ansible library to which
you would copy the module and add the fix there or wait till it is added to
ansible 2.9.

Further issues/requests recommend to create on the repo.

[1] https://github.com/oVirt/ovirt-ansible-collection/pull/61

Martin Necas

On Mon, Jun 15, 2020 at 11:57 PM Gianluca Cecchi 
wrote:

> On Mon, Jun 15, 2020 at 11:47 PM Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>>
>>   register: disk_attach_info
>>
>> But going to see registered variable it contains "active: true":
>>
>> "disk_activate_info": {
>> "changed": false,
>> "id": "6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
>> "diskattachment": {
>> "href":
>> "/ovirt-engine/api/vms/b5c67c93-bd5d-42b6-a873-05f69cece2f1/diskattachments/6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
>> "id": "6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
>> "active": true,
>> "bootable": false,
>> "disk": {
>> 
>>
>>
> Unfortunately I copied two times the disk_activate_info registered value
> in the previous e-mail.
> Here below the correct disk_attach_info var contents that contains
> "active: true":
>
> "disk_attach_info": {
> "changed": true,
> "id": "6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
> "diskattachment": {
> "href":
> "/ovirt-engine/api/vms/b5c67c93-bd5d-42b6-a873-05f69cece2f1/diskattachments/6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
> "id": "6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
> "active": true,
> "bootable": false,
> "disk": {
> "href":
> "/ovirt-engine/api/disks/6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827",
> "id": "6f7cdf02-cf8b-4fa8-ac00-6b47f6e0c827"
> },
> ...
>
> Gianluca
> ___
> 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/ANQCN5GFPSWJG36LH7PJJU3BU477HBPM/
>
___
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/5ALPQ2KGXEHKEKCIZMGHZYLS5QGHPKCH/


[ovirt-users] Re: Ansible ovirt.hosts has no port setting

2020-06-15 Thread Martin Necas
Hi,

thank you for the request.
I have created PR on oVirt Ansible collection [1]
Because this is RFE I'll not be able to get it to Ansible 2.9 but only to the 
collection.
Further issues/requests on oVirt modules recommend opening on the GitHub repo.

[1] https://github.com/oVirt/ovirt-ansible-collection/pull/60

Martin Necas
___
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/4C2LRHNPXBNAACHAJUDAQIMMB6IJEIZP/


[ovirt-users] Re: Deploy Hosted Engine fails at "Set VLAN ID at datacenter level"

2020-01-29 Thread Martin Necas
Hi,

this issue was already submitted and I created the patch and already done
backport for it.
You can put the module from master to library until it's released with the
patch.

https://github.com/ansible/ansible/issues/66858

With regards,
Martin Nečas

Dne st 29. 1. 2020 10:07 uživatel Yedidyah Bar David 
napsal:

> On Wed, Jan 29, 2020 at 10:48 AM Guillaume Pavese <
> guillaume.pav...@interactiv-group.com> wrote:
>
>> so, greping for vm_network, I see
>> in 
>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-ansible-bootstrap_local_vm-20200129085524-jufqvt.log
>>
>> 2020-01-29 09:12:34,522+0100 DEBUG ansible on_any args TASK:
>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>> is_conditional:False
>> 2020-01-29 09:12:34,523+0100 DEBUG ansible on_any args localhostTASK:
>> ovirt.hosted_engine_setup : Set VLAN ID at datacenter level kwargs
>> 2020-01-29 09:12:36,388+0100 DEBUG var changed: host "localhost" var
>> "ansible_failed_result" type "" value: "{
>> "_ansible_no_log": false,
>> "_ansible_parsed": true,
>> "changed": false,
>> "exception": "Traceback (most recent call last):\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>> line 327, in main\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>> line 592, in create\nnew_entity = self.build_entity()\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py\",
>> line 175, in build_entity\n  File
>> \"/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/module_utils/ovirt.py\",
>> line 327, in get_id_by_name\nraise Exception(\"Entity '%s' was not
>> found.\" % name)\nException: Entity 'None' was not found.\n",
>> "failed": true,
>> "invocation": {
>> "module_args": {
>> "clusters": null,
>> "comment": null,
>> "data_center": "Default",
>> "description": null,
>> "external_provider": null,
>> "fetch_nested": false,
>> "id": null,
>> "label": null,
>> "mtu": null,
>> "name": "ovirtmgmt",
>> "nested_attributes": [],
>> "poll_interval": 3,
>> "state": "present",
>> "timeout": 180,
>> "vlan_tag": 8,
>> "vm_network": null,
>> "wait": true
>> }
>> },
>> "msg": "Entity 'None' was not found."
>> }"
>>
>
> Did you change anything in the engine? Or just let the deploy script setup
> a default engine?
>
> Also, please check/share relevant parts from engine.log and setup log
> (/var/log/ovirt-engine/setup/*)
> from the engine VM. If it's still running, you can ssh to it from the
> host, search the logs
> for 'local_vm_ip' to find it. You might also find these logs inside the
> hosted-engine-setup
> logs dir.
>
> Adding Martin. Martin, any idea what might have caused it to fail at this
> point?
> Seems like the failing line is (from ovirt_network.py):
>
> ons_service =
> self._connection.system_service().openstack_network_providers_service()
> on_service =
> ons_service.provider_service(get_id_by_name(ons_service,
> self.param('external_provider')))
>
> I have no idea how this might be affected by whether or not you manually
> configure or not, openstack/networks etc. .
>
> Best regards,
>
>
>>
>> Guillaume Pavese
>> Ingénieur Système et Réseau
>> Interactiv-Group
>>
>>
>> On Wed, Jan 29, 2020 at 5:33 PM Guillaume Pavese <
>> guillaume.pav...@interactiv-group.com> wrote:
>>
>>> Tried again on command line without using cockpit, it fails at the same
>>> spot
>>>
>>> less
>>>  
>>> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20200129084806-26ohxb.log
>>>
>>> 2020-01-29 09:12:33,966+0100 INFO
>>> otopi.ovirt_hosted_engine_setup.ansible_utils
>>> ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Set
>>> VLAN ID at datacenter level]
>>> 2020-01-29 09:12:35,871+0100 DEBUG
>>> otopi.ovirt_hosted_engine_setup.ansible_utils
>>> ansible_utils._process_output:103 {u'invocation': {u'module_args':
>>> {u'comment': None, u'external_prov
>>> ider': None, u'timeout': 180, u'description': None, u'name':
>>> u'ovirtmgmt', u'poll_interval': 3, u'state': u'present',
>>> u'nested_attributes': [], u'label': None, u'fetch_nested': False
>>> , u'vm_network': None, u'data_center': u'Default', u'clusters': None,
>>> u'vlan_tag': 8, u'mtu': None, u'id': None, u'wait': True}}, u'msg':
>>> u"Entity 'None' was not found.", u'exception
>>> ': u'Traceback (most recent call last):\n  File
>>> "/tmp/ansible_ovirt_network_payload_NFKIHX/ansible_ovirt_network_payload.zip/ansible/modules/cloud/ovirt/ovirt_network.py",
>>> line 327,
>>> in main\n  File
>>>