[ovirt-users] Re: Error deploy hostsed engine on Centos7 at [ovirt.hosted_engine_setup : Fetch IPv4 CIDR for virbr0]

2019-03-05 Thread shanep
Thanks Simone,

That fixed it.

Issuing the command 'virsh net-destroy default' removed the virbr0 and then 
'systemctl restart libvirtd' followed by  'virsh net-start default' brought it 
back with a valid IP address. 

The other commands seemed to fail, I suspect as the bridge was already gone 
after the first command.  
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AOOQK775QSHSXTADKAXWNUGP5XSVEC5D/


[ovirt-users] Re: Error deploy hostsed engine on Centos7 at [ovirt.hosted_engine_setup : Fetch IPv4 CIDR for virbr0]

2019-03-04 Thread Simone Tiraboschi
On Fri, Mar 1, 2019 at 10:18 PM  wrote:

> Okay,
>
> Tried copying the file as suggested. The ran clean-up and re-install but
> failed with the same problem.
>
> XML filed contains the following data
>
> 
>   default
>   ff26a6fe-c29c-433c-a99f-2d22724a73d4
>   
>   
>   
>   
>

So the IP address is definitively there now.
Can you please share the whole log file?


> 
>   
> 
>   
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/5DYWLAI4L5GSGJYNMFWOLVDXGEL6QV6E/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WPO6DXOAFSFZLD66FM3LCNGMM5SJRNLK/


[ovirt-users] Re: Error deploy hostsed engine on Centos7 at [ovirt.hosted_engine_setup : Fetch IPv4 CIDR for virbr0]

2019-03-01 Thread shanep
Okay,

Tried copying the file as suggested. The ran clean-up and re-install but failed 
with the same problem.

XML filed contains the following data


  default
  ff26a6fe-c29c-433c-a99f-2d22724a73d4
  
  
  
  

  

  

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5DYWLAI4L5GSGJYNMFWOLVDXGEL6QV6E/


[ovirt-users] Re: Error deploy hostsed engine on Centos7 at [ovirt.hosted_engine_setup : Fetch IPv4 CIDR for virbr0]

2019-03-01 Thread Simone Tiraboschi
On Fri, Mar 1, 2019 at 1:55 PM  wrote:

> Trying to install oVirt hosted engine on a dedicated host in Data Centre.
> But it keeps failing at what looks to be the point where it is trying to
> get an IP if virbr0, which has been created successfully during setup, but
> does not appear to have an ip address.
>
> Any idea what could be going worng?
>
> System is running Centos 7.6.1810
> Interface: em1 (public ip)
> Interface: em2 management network.
>
> This is the error in the log
>
> [ INFO  ] TASK [ovirt.hosted_engine_setup : Fetch IPv4 CIDR for virbr0]
> [ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task includes an
> option with an undefined variable. The error was: 'dict object' has no
> attribute 'ipv4'\n\nThe error appears to have been in
> '/usr/share/ansible/roles/ovirt.hosted_engine_setup/tasks/bootstrap_local_vm/01_prepare_routing_rules.yml':
> line 57, column 5, but may\nbe elsewhere in the file depending on the exact
> syntax problem.\n\nThe offending line appears to be:\n\ntags:
> ['skip_ansible_lint']\n  - name: Fetch IPv4 CIDR for {{ virbr_default }}\n
>   ^ here\nWe could be wrong, but this one looks like it might be an issue
> with\nmissing quotes.  Always quote template expression brackets when
> they\nstart a value. For instance:\n\nwith_items:\n  - {{ foo
> }}\n\nShould be written as:\n\nwith_items:\n  - \"{{ foo }}\"\n"}
> [ ERROR ] Failed to execute stage 'Closing up': Failed executing
> ansible-playbook
>

It seams that default libvirt network has no IPv4 address.
This could happen due to leftovers on hosts where in the past, voluntary or
not, you tries to deploy with IPv6.

https://github.com/oVirt/ovirt-ansible-hosted-engine-setup/commit/f434bb0044834053e0a1b5a035ede90241496c6f
is going to address that but it will come with the next release.

In the meanwhile, can you please try to manually restore
/usr/share/libvirt/networks/default.xml over
/etc/libvirt/qemu/networks/default.xml before trying again in order to get
back an IPv4 subnet on the default libvirt network?


> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/B33HGH75TP4UB2NOL4KQBNRBFMT5TGNW/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y6M2SCAK4KJKCIVZMHLUPY7I4VTTHQY2/