Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test extracted baremetal layout #1140

Closed

Conversation

lewisdenny
Copy link
Collaborator

@lewisdenny lewisdenny commented Feb 13, 2024

As a pull request owner and reviewers, I checked that:

  • Appropriate testing is done and actually running
  • Appropriate documentation exists and/or is up-to-date:
    • README in the role
    • Content of the docs/source is reflecting the changes

JIRA: OSPRH-5112

Copy link
Contributor

openshift-ci bot commented Feb 13, 2024

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

openshift-ci bot commented Feb 13, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from lewisdenny. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@lewisdenny lewisdenny changed the title [] [WIP] Convert nested baremetal to extracted layout Feb 13, 2024

This comment was marked as outdated.

This comment was marked as outdated.

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch 2 times, most recently from 600103e to 0ebd0ab Compare February 22, 2024 03:59
@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 0ebd0ab to 20bce66 Compare March 12, 2024 02:53
@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 20bce66 to 9d02866 Compare March 26, 2024 04:48
@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 9d02866 to b111ef3 Compare March 26, 2024 04:55
@lewisdenny lewisdenny changed the title [WIP] Convert nested baremetal to extracted layout [WIP] Test extracted baremetal layout Mar 26, 2024
@lewisdenny lewisdenny force-pushed the extracted_baremetal branch 11 times, most recently from 8aad91c to 71f2aa1 Compare April 2, 2024 11:31
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/e1903f7d0a3549fa90b8c1eb971a1ea6

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 06m 57s
podified-multinode-edpm-deployment-crc MERGE_CONFLICT in 3s
cifmw-crc-podified-edpm-baremetal FAILURE in 47m 37s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 46m 48s
cifmw-data-plane-adoption-osp-17-to-extracted-crc RETRY_LIMIT in 4s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 41s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 41s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 57s
cifmw-baremetal-nested-crc FAILURE in 38m 45s
podified-multinode-edpm-deployment-crc-baremetal FAILURE in 39m 49s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 4m 40s
cifmw-molecule-libvirt_manager FAILURE in 10m 14s
✔️ cifmw-molecule-reproducer SUCCESS in 12m 57s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 11m 50s

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch 3 times, most recently from 44ad7f2 to f09c3ae Compare May 14, 2024 04:32
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/0c218ef1cb5e45ab9a3681b4841ce903

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 40m 07s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 40s
cifmw-crc-podified-edpm-baremetal FAILURE in 41m 40s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 42m 31s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 20m 59s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 04s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 51s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 09s
cifmw-baremetal-nested-crc FAILURE in 37m 12s
podified-multinode-edpm-deployment-crc-baremetal FAILURE in 35m 06s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 5m 54s
cifmw-molecule-libvirt_manager FAILURE in 13m 11s
✔️ cifmw-molecule-reproducer SUCCESS in 16m 54s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 15m 01s

@danpawlik
Copy link
Contributor

recheck

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/98c1edac48b54a6eafb939dcbf23dbe8

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 46m 16s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 20m 33s
cifmw-crc-podified-edpm-baremetal FAILURE in 43m 11s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 43m 40s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 25m 11s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 26s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 32s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 27s
cifmw-baremetal-nested-crc FAILURE in 37m 47s
podified-multinode-edpm-deployment-crc-baremetal FAILURE in 27m 45s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 4m 51s
cifmw-molecule-libvirt_manager FAILURE in 13m 21s
cifmw-molecule-reproducer FAILURE in 11m 40s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 16m 57s

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from f09c3ae to 72ec060 Compare May 14, 2024 23:58
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/d08ac8e6d862435fb9117647372813d1

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 52m 16s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 48s
cifmw-crc-podified-edpm-baremetal FAILURE in 47m 56s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 43m 41s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 32m 59s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 45s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 29s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 09s
cifmw-baremetal-nested-crc FAILURE in 40m 03s
podified-multinode-edpm-deployment-crc-baremetal FAILURE in 42m 12s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 4m 55s
cifmw-molecule-libvirt_manager FAILURE in 10m 26s
✔️ cifmw-molecule-reproducer SUCCESS in 12m 54s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 13m 25s

@lewisdenny
Copy link
Collaborator Author

recheck

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/c091f275ee9346a6b0f00a9fcdacddd2

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 11m 45s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 26m 17s
cifmw-crc-podified-edpm-baremetal FAILURE in 58m 29s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 51m 15s
cifmw-data-plane-adoption-osp-17-to-extracted-crc FAILURE in 1h 18m 40s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 16s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 54s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 02s
cifmw-baremetal-nested-crc FAILURE in 43m 59s
podified-multinode-edpm-deployment-crc-baremetal FAILURE in 52m 13s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 4m 55s
cifmw-molecule-libvirt_manager FAILURE in 10m 18s
✔️ cifmw-molecule-reproducer SUCCESS in 13m 05s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 13m 37s

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 72ec060 to 1d58d32 Compare May 16, 2024 04:51
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/a1ba5b2f0b4a440e887180cd1ac68d38

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 46m 54s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 18m 51s
cifmw-crc-podified-edpm-baremetal FAILURE in 42m 58s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 46m 38s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 27m 44s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 00s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 40s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 54s
cifmw-baremetal-nested-crc FAILURE in 39m 19s
podified-multinode-edpm-deployment-crc-baremetal FAILURE in 41m 50s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 4m 52s
✔️ cifmw-molecule-libvirt_manager SUCCESS in 12m 17s
✔️ cifmw-molecule-reproducer SUCCESS in 16m 30s
cifmw-molecule-sushy_emulator FAILURE in 12m 28s

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 1d58d32 to 92e548a Compare May 20, 2024 12:55
Copy link

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging github.com/openstack-k8s-operators/ci-framework for 1140,92e548ae12f24fd35438eb3ee760019dee3499da

This patch enables Redfish BMC control of VMs deployed via the reproducer
layout.

Sushy Emulator is deployed onto the Ansible controller as a Podman Pod
and access' the hypervisor's libvirt socket via SSH.

- `cifmw_use_sushy_emulator` parameter is added to control the
deployment of Sushy Emulator in the reproducer and set to true.
- `cifmw_use_vbmc` parameter is added to control the
deployment of Virtual BMC in the reproducer and behavoir changed to
default to false.
- sushy_emulator role now creates and uses it's own ssh keypair to
to communicate with the hypervisor
- `baremetal-info.yml` creation has now been extracted into it's own
task file and enhanced to support adding new baremetal hosts entries
resulting from scaling or additional hosts for baremetal instances.
- Sushy Emulator verification has now moved to it's own task file and
tests both Sushy Emulator connection and connection to each host.
- sushy_emulator role now uses the `cifmw_libvirt_manager_uuids` fact
to filter vms rather than using an additional `virsh` call. This means
`libvirt-client` can be removed from the packages list to install.
- Add `cifmw_sushy_redfish_bmc_protocol` param to control the bmc protocol Sushy Emulator uses.

Jira: OSPRH-6497
@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 92e548a to 85e749a Compare May 20, 2024 12:57
Copy link

Zuul encountered a syntax error while parsing its configuration in the
repo openstack-k8s-operators/ci-framework on branch main. The error was:

found duplicate anchor; first occurrence
in "openstack-k8s-operators/ci-framework/zuul.d/edpm_multinode.yaml@main", line 234, column 17
second occurrence
in "openstack-k8s-operators/ci-framework/zuul.d/edpm_multinode.yaml@main", line 375, column 17

Copy link

Zuul encountered a syntax error while parsing its configuration in the
repo openstack-k8s-operators/ci-framework on branch main. The error was:

found undefined alias
in "openstack-k8s-operators/ci-framework/zuul.d/edpm_multinode.yaml@main", line 234, column 17

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from c7fd2a4 to 26808a5 Compare May 20, 2024 13:20
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/a82862a4cfb64dc0bfec70306ed888c2

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 39m 40s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 18m 12s
cifmw-crc-podified-edpm-baremetal FAILURE in 42m 10s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 57m 30s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 21m 27s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 8m 05s
✔️ cifmw-pod-pre-commit SUCCESS in 7m 24s
✔️ cifmw-pod-zuul-files SUCCESS in 4m 57s
cifmw-baremetal-nested-crc FAILURE in 41m 01s
podified-multinode-edpm-deployment-crc-baremetal RETRY_LIMIT in 8m 00s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 4m 55s
✔️ cifmw-molecule-libvirt_manager SUCCESS in 12m 31s
✔️ cifmw-molecule-reproducer SUCCESS in 12m 48s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 15m 23s

@lewisdenny lewisdenny force-pushed the extracted_baremetal branch from 26808a5 to 967d126 Compare May 20, 2024 23:22
@lewisdenny
Copy link
Collaborator Author

recheck

1 similar comment
@lewisdenny
Copy link
Collaborator Author

recheck

Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://review.rdoproject.org/zuul/buildset/e330bf8214f34ea0b9efd60e48027a81

✔️ openstack-k8s-operators-content-provider SUCCESS in 2h 49m 51s
✔️ podified-multinode-edpm-deployment-crc SUCCESS in 1h 19m 11s
cifmw-crc-podified-edpm-baremetal FAILURE in 45m 15s
✔️ podified-multinode-hci-deployment-crc SUCCESS in 1h 41m 27s
✔️ cifmw-data-plane-adoption-osp-17-to-extracted-crc SUCCESS in 2h 30m 03s
✔️ noop SUCCESS in 0s
✔️ cifmw-pod-ansible-test SUCCESS in 9m 50s
✔️ cifmw-pod-pre-commit SUCCESS in 8m 08s
✔️ cifmw-pod-zuul-files SUCCESS in 5m 22s
cifmw-baremetal-nested-crc FAILURE in 38m 37s
podified-multinode-edpm-deployment-crc-baremetal RETRY_LIMIT in 10m 16s
✔️ cifmw-molecule-edpm_deploy_baremetal SUCCESS in 5m 33s
✔️ cifmw-molecule-libvirt_manager SUCCESS in 13m 22s
✔️ cifmw-molecule-reproducer SUCCESS in 13m 59s
✔️ cifmw-molecule-sushy_emulator SUCCESS in 11m 38s

@lewisdenny lewisdenny closed this Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants