Bug 1270874
Summary: | Ironic should not be enabling PXE Boot on all VM interfaces | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jason Montleon <jmontleo> |
Component: | openstack-ironic | Assignee: | Lucas Alvares Gomes <lmartins> |
Status: | CLOSED WONTFIX | QA Contact: | Toure Dunnon <tdunnon> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 (Kilo) | CC: | dtantsur, mburns, mchappel, rhel-osp-director-maint, srevivo |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | 8.0 (Liberty) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-06 15:21:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1273561 |
Description
Jason Montleon
2015-10-12 14:59:25 UTC
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/chap-Requirements.html#sect-Environment_Requirements "It is recommended to use bare metal systems for all nodes. At minimum, the Compute nodes require bare metal systems." https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/7/html/Director_Installation_and_Usage/sect-Networking_Requirements.html "Set all Overcloud systems to PXE boot off the Provisioning NIC and disable PXE boot on the External NIC and any other NICs on the system. Also ensure PXE boot for Provisioning NIC is at the top of the boot order, ahead of hard disks and CD/DVD drives." @Jason, Just for clarification, Ironic is deploying a VM so it's using the pxe_ssh driver, right? Cause this driver is just a testing driver for Ironic (not really meant for production) But anyway, with pxe_ssh Ironic will change the virsh XML of that VM to boot it from "network", it doesn't specify any MAC address or anything like that, all it does is create a "<boot dev='network'/>" in the "<os>" XML node. e.g: <os> <type arch='x86_64' machine='pc-1.0'>hvm</type> <boot dev='network'/> <bootmenu enable='no'/> <bios useserial='yes'/> </os> When you said you properly configured the VM to PXE boot only in the provisioning network, can you give me an example of that virsh XML please? Cheers, Lucas When I add a single interface to the boot order (via virt-manager) it does so like this: ... <os> <type arch='x86_64' machine='pc-i440fx-2.3'>hvm</type> <bootmenu enable='no'/> </os> ... ... <interface type='bridge'> <mac address='52:54:00:bb:e4:22'/> <source bridge='br-osp-d'/> <virtualport type='openvswitch'> <parameters interfaceid='8cf44b67-f259-4eaf-b5f1-da07da587efb'/> </virtualport> <model type='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <interface type='bridge'> <mac address='52:54:00:2f:d1:1d'/> <source bridge='br-osp'/> <virtualport type='openvswitch'> <parameters interfaceid='4d0fe863-e588-4acb-ba7b-2bfe99aa8730'/> </virtualport> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> ... Hello! The problem here is that SSH drivers are not meant for production, so they don't cover all possible cases. To top it all, SSH drivers are going away in the next release, so even if we fix it now, it will regress soon. We will use ipmitool drivers with a service called virtualbmc: https://github.com/openstack/virtualbmc, that translates IPMI protocol into libvirt calls. You may want to ensure that this project has the necessary fixes and open an upstream bug against it. The SSH driver is unlikely to receive any updates now. |