Also, here is my upgrade.yml playbook:
---
- name: oVirt Cluster Upgrade
hosts: localhost
connection: local
gather_facts: false
vars_files:
- engine_vars.yml
- passwords.yml
roles:
- oVirt.cluster-upgrade
and hosts file:
[host_names]
host0
host1
host2
Prior to running ansible the ovirt engine was upgraded/rebooted an all
three hosts were showing updates available.
On Fri, Jan 25, 2019 at 3:26 PM Jayme wrote:
> I have a three node HCI setup, running 4.2.7 and want to upgrade to
> 4.2.8. When I use ansible to perform the host updates for some reason it
> fully updates one host then stops without error, it does not continue
> upgrading the remaining two hosts. If I run it again it will proceed to
> upgrade the next host. Is there something wrong with the ansible plays I
> am using or perhaps the command I'm using to run ansible needing to specify
> all hosts to run against. I don't understand why it's not upgrading all
> hosts in one single run. Here is the complete ansible output of the last
> run, in this example it fully updated and rebooted host0 with no errors but
> did not proceed to upgrade host1 or host2:
>
>
> $ cat ovirt-upgrade
> # ansible-playbook --ask-vault-pass upgrade.yml
> Vault password:
>
> PLAY [oVirt Cluster Upgrade]
> *
>
> TASK [oVirt.cluster-upgrade : set_fact]
> **
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Login to oVirt]
>
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Get hosts]
> *
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Check if there are hosts to be updated]
>
> skipping: [localhost]
>
> TASK [oVirt.cluster-upgrade : include_tasks]
> *
> included:
> /usr/share/ansible/roles/ovirt.cluster-upgrade/tasks/cluster_policy.yml for
> localhost
>
> TASK [oVirt.cluster-upgrade : Get cluster facts]
> *
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Get name of the original scheduling policy]
>
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Remember the cluster scheduling policy]
>
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Remember the cluster scheduling policy
> properties]
> *
> ok: [localhost]
>
> TASK [oVirt.cluster-upgrade : Get API facts]
> *