utopic uefi bootx64.efi not loading grubx64.efi

Bug #1387191 reported by Blake Rouse on 2014-10-29
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Critical
Blake Rouse
1.7
Critical
Blake Rouse

Bug Description

Booting a UEFI machine on 1.7beta8 on Utopic fails to load the grubx64.efi image. The TFTP server complains about unknown error code 8. If you deploy 1.7beta8 on trusty it works as expected.

2014-10-28 15:34:19-0400 [TFTP (UDP)] Datagram received from ('192.168.122.10', 1284): <RRQDatagram(filename=bootx64.efi, mode=octet, options={'tsize': '0', 'blksize': '1468'})>
2014-10-28 15:34:19-0400 [TFTP (UDP)] Datagram received from ('192.168.122.10', 1284): <RRQDatagram(filename=bootx64.efi, mode=octet, options={'tsize': '0', 'blksize': '1468'})>
2014-10-28 15:34:19-0400 [-] RemoteOriginReadSession starting on 57963
2014-10-28 15:34:19-0400 [-] RemoteOriginReadSession starting on 57963
2014-10-28 15:34:19-0400 [-] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fc06c14c3b0>
2014-10-28 15:34:19-0400 [-] Starting protocol <tftp.bootstrap.RemoteOriginReadSession instance at 0x7fc06c14c3b0>
2014-10-28 15:34:19-0400 [RemoteOriginReadSession (UDP)] Unhandled Error
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 73, in callWithContext
     return context.call({ILogContext: newCtx}, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
     return func(*args,**kw)
   File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
     why = selectable.doRead()
 --- <exception caught here> ---
   File "/usr/lib/python2.7/dist-packages/twisted/internet/udp.py", line 246, in doRead
     self.protocol.datagramReceived(data, addr)
   File "/usr/lib/python2.7/dist-packages/tftp/bootstrap.py", line 171, in datagramReceived
     datagram = TFTPDatagramFactory(*split_opcode(datagram))
   File "/usr/lib/python2.7/dist-packages/tftp/datagram.py", line 394, in __call__
     return datagram_class.from_wire(payload)
   File "/usr/lib/python2.7/dist-packages/tftp/datagram.py", line 323, in from_wire
     raise InvalidErrorcodeError(errorcode)
 tftp.errors.InvalidErrorcodeError: Unknown error code: 8

Related branches

tags: added: reg
tags: added: regression
removed: reg
Blake Rouse (blake-rouse) wrote :

Okay the actual issue is that the shim now requests the path for grub as "\grubx64.efi" instead of "/grubx64.efi
". We need to handle this on the tftp service.

Changed in maas:
milestone: 1.7.0 → none
status: Triaged → In Progress
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released

Hello Blake, or anyone else affected,

Accepted maas into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/maas/1.7.5+bzr3369-0ubuntu1~14.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Andres Rodriguez (andreserl) wrote :

This issue has been verified to work both on upgrade and fresh install, and has been QA'd. Marking verification-done.

tags: added: verification-done
removed: verification-needed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers