added support for configuring heartbeat on datastores
SUMMARY
This adds support for configuring the datastores to heartbeat as well as setting the heartbeat datastore selection policy.
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
vmware_cluster_ha
Build failed.
- ansible-test-cloud-integration-govcsim-python38_1_of_3 : FAILURE in 9m 14s
- ansible-test-cloud-integration-govcsim-python38_2_of_3 : SUCCESS in 8m 26s
- ansible-test-cloud-integration-govcsim-python38_3_of_3 : SUCCESS in 10m 19s
- ansible-tox-linters : SUCCESS in 5m 04s
- build-ansible-collection : SUCCESS in 4m 02s
- ansible-test-sanity-docker-devel : FAILURE in 9m 43s (non-voting)
- ansible-test-sanity-docker-milestone : FAILURE in 9m 56s
- ansible-test-sanity-docker-stable-2.11 : FAILURE in 9m 51s
- ansible-test-sanity-docker-stable-2.12 : FAILURE in 11m 23s
- ansible-test-units-community-vmware-python27 : RETRY_LIMIT in 6m 35s
- ansible-test-units-community-vmware-python36 : RETRY_LIMIT in 3m 49s
- ansible-test-units-community-vmware-python37 : RETRY_LIMIT in 3m 30s
- ansible-test-units-community-vmware-python38 : SUCCESS in 5m 26s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 18m 58s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : SUCCESS in 21m 44s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : SUCCESS in 59m 37s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : SUCCESS in 51m 20s
- ansible-galaxy-importer : SUCCESS in 4m 55s
Build failed.
- ansible-test-cloud-integration-govcsim-python38_1_of_3 : SUCCESS in 8m 56s
- ansible-test-cloud-integration-govcsim-python38_2_of_3 : SUCCESS in 7m 46s
- ansible-test-cloud-integration-govcsim-python38_3_of_3 : SUCCESS in 7m 45s
- ansible-tox-linters : SUCCESS in 4m 56s
- build-ansible-collection : SUCCESS in 3m 16s
- ansible-test-sanity-docker-devel : SUCCESS in 10m 30s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 9m 27s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 24s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 9m 14s
- ansible-test-units-community-vmware-python27 : RETRY_LIMIT in 4m 44s
- ansible-test-units-community-vmware-python36 : RETRY_LIMIT in 18m 13s
- ansible-test-units-community-vmware-python37 : RETRY_LIMIT in 3m 33s
- ansible-test-units-community-vmware-python38 : SUCCESS in 5m 58s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 17m 06s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : SUCCESS in 21m 28s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : SUCCESS in 56m 34s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : SUCCESS in 55m 53s
- ansible-galaxy-importer : SUCCESS in 4m 40s
Any thoughts why this test would fail but other succeed? prepare_vmware_tests/tasks/main.yml:17 Seems like this one isn't loading all the same infrastructure as the other ones. Namely the datastores are undefined.
@willt We have a general problem in our CI at the moment. Some of the unit tests run into RETRY_LIMIT. We're working on this at the moment. When this is fixed, we'll have a look at why ansible-test-cloud-integration-vcenter7_only-python36-stable211 fails here. Please be patient.
recheck
Is there a way to trigger the build process again without another commit ?
Is there a way to trigger the build process again without another commit ?
I'm not sure what you mean with build process, but you can trigger an new CI run by adding a comment with the word recheck.
New CI run is what I meant. I'm still drinking my first cup of coffee :) Thanks!
Build failed.
- ansible-test-cloud-integration-govcsim-python38_1_of_3 : SUCCESS in 8m 51s
- ansible-test-cloud-integration-govcsim-python38_2_of_3 : SUCCESS in 8m 09s
- ansible-test-cloud-integration-govcsim-python38_3_of_3 : SUCCESS in 7m 53s
- ansible-tox-linters : SUCCESS in 8m 08s
- build-ansible-collection : SUCCESS in 3m 46s
- ansible-test-sanity-docker-devel : SUCCESS in 10m 39s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 12m 20s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 13s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 9m 32s
- ansible-test-units-community-vmware-python27 : SUCCESS in 6m 39s
- ansible-test-units-community-vmware-python36 : SUCCESS in 6m 26s
- ansible-test-units-community-vmware-python37 : SUCCESS in 10m 08s
- ansible-test-units-community-vmware-python38 : SUCCESS in 6m 43s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 17m 39s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : FAILURE in 23m 08s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : SUCCESS in 55m 38s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : SUCCESS in 56m 19s
- ansible-galaxy-importer : SUCCESS in 5m 02s
recheck
Build failed.
- ansible-test-cloud-integration-govcsim-python38_1_of_3 : SUCCESS in 9m 51s
- ansible-test-cloud-integration-govcsim-python38_2_of_3 : SUCCESS in 7m 24s
- ansible-test-cloud-integration-govcsim-python38_3_of_3 : SUCCESS in 8m 24s
- ansible-tox-linters : SUCCESS in 4m 43s
- build-ansible-collection : SUCCESS in 3m 24s
- ansible-test-sanity-docker-devel : SUCCESS in 9m 04s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 8m 55s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 10m 46s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 9m 48s
- ansible-test-units-community-vmware-python27 : SUCCESS in 6m 32s
- ansible-test-units-community-vmware-python36 : SUCCESS in 6m 36s
- ansible-test-units-community-vmware-python37 : SUCCESS in 5m 11s
- ansible-test-units-community-vmware-python38 : SUCCESS in 7m 01s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 19m 19s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : FAILURE in 26m 03s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : SUCCESS in 1h 03m 21s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : SUCCESS in 54m 49s
- ansible-galaxy-importer : SUCCESS in 4m 52s
recheck
Build failed.
- ansible-tox-linters : SUCCESS in 4m 54s
- build-ansible-collection : SUCCESS in 3m 44s
- ansible-test-sanity-docker-devel : SUCCESS in 9m 46s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 9m 57s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 11m 01s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 9m 50s
- ansible-test-units-community-vmware-python27 : SUCCESS in 5m 29s
- ansible-test-units-community-vmware-python36 : SUCCESS in 6m 40s
- ansible-test-units-community-vmware-python37 : SUCCESS in 6m 58s
- ansible-test-units-community-vmware-python38 : SUCCESS in 7m 19s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 16m 56s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : SUCCESS in 22m 53s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : SUCCESS in 59m 59s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : SUCCESS in 54m 51s
- ansible-galaxy-importer : SUCCESS in 4m 45s
2022-04-13 17:33:12.325364 | controller | TASK [vmware_cluster_ha : Change Heartbeat Datastores] *************************
2022-04-13 17:33:12.325446 | controller | task path: /home/zuul/.ansible/collections/ansible_collections/community/vmware/tests/integration/targets/vmware_cluster_ha/tasks/main.yml:305
2022-04-13 17:33:12.358245 | controller | fatal: [testhost]: FAILED! => {
2022-04-13 17:33:12.358279 | controller | "msg": "The task includes an option with an undefined variable. The error was: 'ro_datastore' is undefined\n\nThe error appears to be in '/home/zuul/.ansible/collections/ansible_collections/community/vmware/tests/integration/targets/vmware_cluster_ha/tasks/main.yml': line 305, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: Change Heartbeat Datastores\n ^ here\n"
2022-04-13 17:33:12.358287 | controller | }
You need to start tests/integration/targets/vmware_cluster_ha/tasks/main.yml with this to be sure the datastores are mounted:
- import_role:
name: prepare_vmware_tests
vars:
setup_attach_host: true
setup_datastore: true
All tests pass in my lab. I'm not sure why it's failing in CI here.
Build failed.
- ansible-tox-linters : SUCCESS in 5m 27s
- build-ansible-collection : SUCCESS in 7m 35s
- ansible-test-sanity-docker-devel : SUCCESS in 9m 33s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 22s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 9m 41s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 10m 57s
- ansible-test-units-community-vmware-python27 : SUCCESS in 7m 44s
- ansible-test-units-community-vmware-python36 : SUCCESS in 6m 50s
- ansible-test-units-community-vmware-python37 : SUCCESS in 7m 59s
- ansible-test-units-community-vmware-python38 : SUCCESS in 7m 47s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 18m 17s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : FAILURE in 18m 52s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : SUCCESS in 58m 34s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : SUCCESS in 57m 38s
- ansible-galaxy-importer : FAILURE in 4m 37s
recheck
Build failed.
- ansible-tox-linters : SUCCESS in 5m 21s
- build-ansible-collection : SUCCESS in 7m 38s
- ansible-test-sanity-docker-devel : SUCCESS in 12m 19s (non-voting)
- ansible-test-sanity-docker-milestone : SUCCESS in 11m 42s
- ansible-test-sanity-docker-stable-2.11 : SUCCESS in 11m 30s
- ansible-test-sanity-docker-stable-2.12 : SUCCESS in 10m 44s
- ansible-test-units-community-vmware-python27 : SUCCESS in 12m 44s
- ansible-test-units-community-vmware-python36 : SUCCESS in 6m 58s
- ansible-test-units-community-vmware-python37 : SUCCESS in 10m 38s
- ansible-test-units-community-vmware-python38 : SUCCESS in 8m 50s
- ansible-test-cloud-integration-vcenter7_only-python36-stable211 : FAILURE in 23m 52s
- ansible-test-cloud-integration-vcenter7_2esxi-python36-stable211 : SUCCESS in 23m 23s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_1_of_2 : FAILURE in 24m 36s
- ansible-test-cloud-integration-vcenter7_1esxi-python36-stable211_2_of_2 : FAILURE in 21m 11s
- ansible-galaxy-importer : FAILURE in 6m 30s
There hasn't been any activity on this PR for quite some time, so I'll close it for now. Feel free to re-open it or open a new one if you think it's important.