From 2222fc776f797202058f4fba5ed6d643bb706d1c Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Wed, 29 Nov 2023 11:41:41 +0000 Subject: [PATCH 1/2] Docs: Mention broken pxe boot_interface --- doc/source/operations/rocky-linux-9.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/source/operations/rocky-linux-9.rst b/doc/source/operations/rocky-linux-9.rst index bf65181f8..c1835c6b7 100644 --- a/doc/source/operations/rocky-linux-9.rst +++ b/doc/source/operations/rocky-linux-9.rst @@ -110,6 +110,29 @@ The error from NetworkManager was: [1697192659.9611] keyfile: ipv4.routing-rules: invalid value for "routing-rule1": invalid value for "table" +Switching to iPXE +----------------- + +The ``pxe`` boot_interface is currently broken. When provisioning, you will see an error similar to: + + .. code-block:: shell + + Failed to prepare to deploy: Could not link image http://192.168.1.1:8080/ipa.vmlinuz from /httpboot/master_images/99d5b4b4-0420-578a-a327-acd88c1f1ff6.converted to /tftpboot/d6673eaa-17a4-4cd4-a4e7-8e8cbd4fca31/deploy_kernel, error: [Errno 18] Invalid cross-device link: '/httpboot/master_images/99d5b4b4-0420-578a-a327-acd88c1f1ff6.converted' -> '/tftpboot/d6673eaa-17a4-4cd4-a4e7-8e8cbd4fca31/deploy_kernel' + +It is suggested that you migrate to iPXE. + +.. code-block:: yaml + :caption: ``$KAYOBE_CONFIG_PATH/kolla/config/bifrost/bifrost.yml`` + + enabled_boot_interfaces: "ipxe,pxe" + ipxe_efi_binary: "ipxe-snponly-x86_64.efi" + +After deprovisioning a node, switch the boot interface to iPXE: + + .. code-block:: shell + + openstack baremetal node set --boot-interface ipxe + Prerequisites ============= From 0fb938d75b2dab8dac3379b40e0e1954551b6e33 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Wed, 6 Dec 2023 10:01:43 +0000 Subject: [PATCH 2/2] Remove piece about setting boot_interfaces --- doc/source/operations/rocky-linux-9.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/doc/source/operations/rocky-linux-9.rst b/doc/source/operations/rocky-linux-9.rst index c1835c6b7..42a3e0120 100644 --- a/doc/source/operations/rocky-linux-9.rst +++ b/doc/source/operations/rocky-linux-9.rst @@ -119,14 +119,6 @@ The ``pxe`` boot_interface is currently broken. When provisioning, you will see Failed to prepare to deploy: Could not link image http://192.168.1.1:8080/ipa.vmlinuz from /httpboot/master_images/99d5b4b4-0420-578a-a327-acd88c1f1ff6.converted to /tftpboot/d6673eaa-17a4-4cd4-a4e7-8e8cbd4fca31/deploy_kernel, error: [Errno 18] Invalid cross-device link: '/httpboot/master_images/99d5b4b4-0420-578a-a327-acd88c1f1ff6.converted' -> '/tftpboot/d6673eaa-17a4-4cd4-a4e7-8e8cbd4fca31/deploy_kernel' -It is suggested that you migrate to iPXE. - -.. code-block:: yaml - :caption: ``$KAYOBE_CONFIG_PATH/kolla/config/bifrost/bifrost.yml`` - - enabled_boot_interfaces: "ipxe,pxe" - ipxe_efi_binary: "ipxe-snponly-x86_64.efi" - After deprovisioning a node, switch the boot interface to iPXE: .. code-block:: shell