On 29 Mar 2019, at 11:01, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Fri, Mar 29, 2019 at 11:56 AM Callum Smith <callum@well.ox.ac.uk> wrote:
Dear Simone,
It doesn't seem to want to work:
# Settingshe_fqdn: "he.virt.in.bmrc.ox.ac.uk"he_ansible_host_name: "virthyp04.virt.in.bmrc.ox.ac.uk"he_admin_password: <snip>he_appliance_password: <snip>
# Resourceshe_mem_size_MB: "4096"
# Storagehe_domain_type: "nfs"he_storage_domain_addr: <snip>he_storage_domain_path: <snip>
# Networkhe_vm_ip_addr: "10.141.31.240"he_vm_ip_prefix: "20"he_dns_addr: ["10.141.31.251","10.141.31.252","10.141.31.253"]he_default_gateway_4: "10.141.31.254"he_gateway: he_default_gateway_4he_force_ip4: truehe_bridge_if: bond0.910#he_just_collect_network_interfaces: true
he_smtp_port: 25he_smtp_server: smtp.ox.ac.ukhe_dest_email: rescomp-ops@well.ox.ac.ukhe_source_email: ovirt@bmrc.ox.ac.uk
# Ansible Stuffansible_ssh_user: rootansible_become: false
host_key_checking: false
I've attached the output of the ansible command as a log file, this is what happens when the IF bond0.910 is assigned the IP and `ovirtmgmt` is not defined on the host.
TASK [ovirt.hosted_engine_setup : debug] *******************************************************************************************************************************************ok: [virthyp04.virt.in.bmrc.ox.ac.uk] => {"target_address_v4": {"changed": true,"cmd": "ip addr show ovirtmgmt | grep 'inet ' | cut -d' ' -f6 | cut -d'/' -f1","delta": "0:00:00.008744","end": "2019-03-29 10:26:07.510481","failed": false,"rc": 0,"start": "2019-03-29 10:26:07.501737","stderr": "","stderr_lines": [],"stdout": "","stdout_lines": []}}
according to the logs ovirtmgmt is still there.
can you please share the output of 'ip a'?
Regards,Callum
--
Callum SmithResearch Computing Core
On 28 Mar 2019, at 16:23, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Thu, Mar 28, 2019 at 1:44 PM Callum Smith <callum@well.ox.ac.uk> wrote:
Dear Simone,
This is my experience too, but I'm now hitting this error on the hosted-engine install at the part where it registers the hypervisor as the first host in the engine:
2019-03-28 12:40:50,025Z INFO [org.ovirt.engine.core.bll.host.HostConnectivityChecker] (EE-ManagedThreadFactory-engine-Thread-1) [49f371c1] Engine managed to communicate with VDSMagent on host 'virthyp04.virt.in.bmrc.ox.ac.uk' with address 'virthyp04.virt.in.bmrc.ox.ac.uk' ('db571f8a-fc85-40d3-b86f-c0038e3cd7e7')2019-03-28 12:40:53,111Z WARN [org.ovirt.engine.core.bll.network.NetworkConfigurator] (EE-ManagedThreadFactory-engine-Thread-1) [49f371c1] Failed to find a valid interface for themanagement network of host virthyp04.virt.in.bmrc.ox.ac.uk. If the interface ovirtmgmt is a bridge, it should be torn-down manually.2019-03-28 12:40:53,111Z ERROR [org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] (EE-ManagedThreadFactory-engine-Thread-1) [49f371c1] Exception: org.ovirt.engine.core.bll.network.NetworkConfigurator$NetworkConfiguratorException: Interface ovirtmgmt is invalid for management network
The host's ovirtmgmt network connection is a statically assigned IP on a VLAN on a bond, how should I be configuring this if not manually?
If you need to deploy over vlan 123 over bond0 simply configure a device exactly called bond0.123 and statically configure your IP address there.
Choose it for hosted-engine deployment, nothing more: ovirtmgmt will be automatically created over that device and the vlan ID will be set at engine level for the whole management network.
Regards,Callum
--
Callum SmithResearch Computing Core
On 27 Mar 2019, at 17:09, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Wed, Mar 27, 2019 at 4:27 PM Callum Smith <callum@well.ox.ac.uk> wrote:
It's ok, migrating to 4.3.2 on the oVirt node (from 4.3.0) did the job of fixing it.
It is a bug if you intend on using the ovirtmgmt network to deploy your ansible from
This is a bit tricky: when the engine brings up the host it also creates the management bridge and this could lead to a temporary network down on the selected interface for the bridge creation time (a couple of seconds?)I tried it on a LAN and ansible ssh connection always survived but I 'm not sure it's always true., and you need it to have an IP address already on that range! But - it works as expected with the ovirtmgmt bridge setup so nothing to worry about.
Regards,Callum
--
Callum SmithResearch Computing Core
On 27 Mar 2019, at 14:57, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Wed, Mar 27, 2019 at 3:24 PM Callum Smith <callum@well.ox.ac.uk> wrote:
Dear All,
We're trying to deploy our hosted engine remotely using the ansible hosted engine playbook, which has been a rocky road but we're now at the point where it's installing, and failing. We've got a pre-defined bond/VLAN setup for our interface which has the correct bond0 bond0.123 and ovirtmgmt bridge on top but we're hitting the classic error:
Failed to find a valid interface for the management network of host virthyp04.virt.in.bmrc.ox.ac.uk. If the interface ovirtmgmt is a bridge, it should be torn-down manually.
Does this bug still exist in the latest (4.3) version, and is installing using ansible with this network configuration impossible?I don't think it's a bug; please avoid manually creating ovirtmgmt and simply set:
he_bridge_if: "bond0.123", in ansible variable file and the management bridge will be created for you at host-deploy time._______________________________________________
Regards,Callum
--
Callum SmithResearch Computing Core
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@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/SBOZ6FRBRQKE7FMTEHT6FBKHOW3PIPHK/