uefi_ipxe_bootfile_name config option in /etc/ironic/ironic.conf is missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Ironic Conductor Charm |
Triaged
|
Medium
|
Unassigned |
Bug Description
ironic-conductor channel: yoga/stable
ironic-conductor revision: 21
`uefi_ipxe_
```
11:57:29.405148 fa:16:3e:06:9f:aa > ff:ff:ff:ff:ff:ff, ethertype IPv4 (0x0800), length 421: (tos 0xc0, ttl 64, id 28364, offset 0, flags [none], proto UDP (17), length 407)
10.9.174.64.67 > 255.255.255.255.68: BOOTP/DHCP, Reply, length 379, xid 0xa86b21e1, Flags [Broadcast]
Your-IP 10.9.174.150
Server-IP 10.9.174.24
Magic Cookie 0x63825363
RN Option 58, length 4: 43200
RB Option 59, length 4: 75600
BR Option 28, length 4: 10.9.175.255
BF Option 67, length 12: "snponly.efi^@"
TFTP Option 66, length 12: "10.9.174.24^@"
MTU Option 26, length 2: 1500
```
As `snponly.efi` file is not present in `/tftpboot` directory, the PXE booting process fails with:
```
NBP filename is snponly.efi
NBP filesize is 0 Bytes
PXE-E23: Client received TFTP error from server
```
I observed this problem with `use-ipxe` charm config option set to be `true`.
Workaround:
```
juju run --unit ironic-conductor/0 'echo "uefi_ipxe_
juju run --unit ironic-conductor/0 hooks/config-
```
Changed in charm-ironic-conductor: | |
status: | New → Triaged |
importance: | Undecided → Medium |
According to upstream snponly.efi is better - https:/ /opendev. org/openstack/ ironic/ commit/ 4d13da9cc7b8f8f a9ee428731f88d5 723eddeffa
$ apt-file search snponly.efi ipxe/snponly. efi
ipxe: /usr/lib/
maybe the charm should be copying the file into /tftpboot.