<div dir="ltr"><div dir="ltr"><div>Hi Jeffrey,</div><div><br></div><div>Different
firmware may have different search path, ironic takes a simple path to
have a main grub.cfg to distribute a request to the correct
configuration file with grub built-in variables, you can get detailed
steps here [1].</div><div><br></div><div>[1] <a href="https://docs.openstack.org/ironic/latest/install/configure-pxe.html#uefi-pxe-grub-setup" target="_blank">https://docs.openstack.org/ironic/latest/install/configure-pxe.html#uefi-pxe-grub-setup</a></div><div><br></div><div>// kaifeng<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 11, 2020 at 9:39 PM Jeffrey Zhang <<a href="mailto:zhang.lei.fly@gmail.com">zhang.lei.fly@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">hey guys,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I am testing a standalone ironic node on arm64 node through centos 7. Then dnsmasq is configured as following</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">```<br>enable-tftp<br>tftp-root=/var/lib/ironic/public/boot/tftp<br><br># dhcp-option=option:router,192.168.122.1<br># use static<br>dhcp-range=10.0.0.167,static,60s<br>log-queries<br>log-dhcp<br>dhcp-match=set:efi-arm64,option:client-arch,11<br>dhcp-boot=tag:efi-arm64,grubaa64.efi<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">```</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">the grubaa64.efi file come from `/boot/efi/EFI/centos/grubaa64.efi` on centos 7</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">But seems grubaa64.efi file are trying different grub.cfg filename like `grub.cfg-xx-xx-xx-xx`( check bellow)</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Whereas ironic generate filename like `xx:xx:xx:xx:xx.conf`. Is this a bug in ironic? or I made something wrong?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">```</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">dnsmasq-dhcp[1]: 140425456 vendor class: PXEClient:Arch:00011:UNDI:003000<br>dnsmasq-dhcp[1]: 140425456 DHCPREQUEST(eth1) 10.0.0.171 52:54:00:ea:56:f2 <br>dnsmasq-dhcp[1]: 140425456 tags: known, efi-arm64, eth1<br>dnsmasq-dhcp[1]: 140425456 DHCPACK(eth1) 10.0.0.171 52:54:00:ea:56:f2 pxe-uefi<br>dnsmasq-dhcp[1]: 140425456 requested options: 1:netmask, 2:time-offset, 3:router, 4, 5, <br>dnsmasq-dhcp[1]: 140425456 requested options: 6:dns-server, 12:hostname, 13:boot-file-size, <br>dnsmasq-dhcp[1]: 140425456 requested options: 15:domain-name, 17:root-path, 18:extension-path, <br>dnsmasq-dhcp[1]: 140425456 requested options: 22:max-datagram-reassembly, 23:default-ttl, <br>dnsmasq-dhcp[1]: 140425456 requested options: 28:broadcast, 40:nis-domain, 41:nis-server, <br>dnsmasq-dhcp[1]: 140425456 requested options: 42:ntp-server, 43:vendor-encap, 50:requested-address, <br>dnsmasq-dhcp[1]: 140425456 requested options: 51:lease-time, 54:server-identifier, 58:T1, <br>dnsmasq-dhcp[1]: 140425456 requested options: 59:T2, 60:vendor-class, 66:tftp-server, 67:bootfile-name, <br>dnsmasq-dhcp[1]: 140425456 requested options: 97:client-machine-id, 128, 129, 130, 131, <br>dnsmasq-dhcp[1]: 140425456 requested options: 132, 133, 134, 135<br>dnsmasq-dhcp[1]: 140425456 next server: 10.0.0.167<br>dnsmasq-dhcp[1]: 140425456 broadcast response<br>dnsmasq-dhcp[1]: 140425456 sent size: 1 option: 53 message-type 5<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 54 server-identifier 10.0.0.167<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 51 lease-time 2m<br>dnsmasq-dhcp[1]: 140425456 sent size: 13 option: 67 bootfile-name grubaa64.efi<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 58 T1 1m<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 59 T2 1m45s<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 1 netmask 255.255.255.0<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 28 broadcast 10.0.0.255<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 3 router 10.0.0.167<br>dnsmasq-dhcp[1]: 140425456 sent size: 4 option: 6 dns-server 10.0.0.167<br>dnsmasq-dhcp[1]: 140425456 sent size: 8 option: 12 hostname pxe-uefi<br>dnsmasq-tftp[1]: error 8 User aborted the transfer received from 10.0.0.171<br>dnsmasq-tftp[1]: failed sending /var/lib/ironic/public/boot/tftp/grubaa64.efi to 10.0.0.171<br>dnsmasq-tftp[1]: sent /var/lib/ironic/public/boot/tftp/grubaa64.efi to 10.0.0.171<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-01-52-54-00-ea-56-f2 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A0000AB not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A0000A not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A0000 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A000 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A00 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A0 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0A not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg-0 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/grub.cfg not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-01-52-54-00-ea-56-f2 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A0000AB not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A0000A not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A0000 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A000 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A00 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A0 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0A not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg-0 not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/grub.cfg not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/arm64-efi/command.lst not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/arm64-efi/fs.lst not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/arm64-efi/crypto.lst not found<br>dnsmasq-tftp[1]: file /var/lib/ironic/public/boot/tftp/EFI/centos/arm64-efi/terminal.lst not found<br></div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:13px;border-collapse:collapse"><font face="arial, helvetica, sans-serif"><span class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">```</span><br></font></span></div><div><span style="font-size:13px;border-collapse:collapse"><font face="arial, helvetica, sans-serif">---</font></span></div><div><span style="font-size:13px;border-collapse:collapse"><font face="arial, helvetica, sans-serif">Regards,</font></span></div><div><span style="font-size:13px;border-collapse:collapse"><font face="arial, helvetica, sans-serif">Jeffrey Zhang</font></span></div><div><font face="arial, helvetica, sans-serif"><span style="font-size:12.8px">Blog: </span><a href="http://xcodest.me/" style="font-size:12.8px" target="_blank">http://xcodest.me</a></font><font face="monospace, monospace"><br></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div>