-
Notifications
You must be signed in to change notification settings - Fork 103
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
Add baremeral support for reboot from iso images. #2606
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: bkopilov 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 |
Hi @bkopilov. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@adriengentil , @lalon4 , @eliorerz , @eifrach , @AlonaKaplan , @danmanor |
/ok-to-test |
Allow to test infra run test on baremetal managed by redfish (Dell) The redfish API allows to boot from iso and reboot the node. The management allows us to run test-infra code on physical boxes Added : - RedfishController code to manage the nodes and allow boot from iso, reboot. Each node managed by kfish plugin, it may support other vendors too. - AdpaterController code used to add additional support based on cluster inverntoy Example get info about disk or get ip address for sshing to baremetal nodes - We have to enable NFS share from CI in order to run /tmp/test_images The redfish support booting from NFS , all nodes use the same ISO. Example of test @pytest.mark.parametrize("redfish_machines", [["10.6.49.60", "10.6.49.61", "10.6.49.63", "10.6.49.64 ", "10.6.49.65"]]) @pytest.mark.parametrize("redfish_user", ["root"]) @pytest.mark.parametrize("redfish_enabled", [True]) @pytest.mark.parametrize("redfish_password", ["calvin"]) @pytest.mark.regression3 def test_baremetal_redfish_operators( self, cluster, record_property, redfish_machines, redfish_user, redfish_password, redfish_enabled, ): record_property("polarion-testcase-id", "OCP-XXXX") cluster.generate_and_download_infra_env() # NFS mount - > jumpbox address cluster.nodes.controller.set_nfs_mount_path("10.9.76.8", cluster._infra_env._config.iso_download_path) # Adapter will add support for list disks ,ip's for ssh node based on cluster inventory cluster.nodes.controller.set_adapter_controller(cluster) cluster.nodes.prepare_nodes() cluster.wait_until_hosts_are_discovered()
/test e2e-metal-assisted-static-ip-suite-4-18 |
@bkopilov: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Attaching example of running test in kni-test-infra based on this code. https://gitlab.cee.redhat.com/ocp-edge-qe/kni-assisted-installer-auto/-/merge_requests/1427 |
Allow to test infra run test on baremetal managed by redfish (Dell) The redfish API allows to boot from iso and reboot the node. The management allows us to run test-infra code on physical boxes
Added :
RedfishController code to manage the nodes and allow boot from iso, reboot. Each node managed by kfish plugin, it may support other vendors too.
AdpaterController code used to add additional support based on cluster inverntoy Example get info about disk or get ip address for sshing to baremetal nodes
We have to enable NFS share from CI in order to run /tmp/test_images The redfish support booting from NFS , all nodes use the same ISO.
Example of test