[Bug 1898550] Re: FAIL: installing grub to target devices

David van der Spek 1898550 at bugs.launchpad.net
Tue Jan 26 16:09:32 UTC 2021


** Project changed: grub => grub (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub in Ubuntu.
https://bugs.launchpad.net/bugs/1898550

Title:
  FAIL: installing grub to target devices

Status in MAAS:
  New

Bug description:
  MAAS: 2.6.2

  Today deployment is constantly failing. I've tried recommissioning and
  went through a live DVD of Gparted and wiped the storages to be sure.
  Still, I can't get past this:

  start: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: installing grub to target devices
  setup grub on target /tmp/tmplwfmv7xv/target
  Found primary UEFI ESP: sda-part1
  finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/install-grub: FAIL: installing grub to target devices
  finish: cmd-install/stage-curthooks/builtin/cmd-curthooks/configuring-bootloader: FAIL: configuring target system bootloader
  finish: cmd-install/stage-curthooks/builtin/cmd-curthooks: FAIL: curtin command curthooks
  Traceback (most recent call last):
    File "/curtin/curtin/commands/main.py", line 202, in main
      ret = args.func(args)
    File "/curtin/curtin/commands/curthooks.py", line 1770, in curthooks
      builtin_curthooks(cfg, target, state)
    File "/curtin/curtin/commands/curthooks.py", line 1736, in builtin_curthooks
      setup_grub(cfg, target, osfamily=osfamily)
    File "/curtin/curtin/commands/curthooks.py", line 623, in setup_grub
      for dev_id in uefi_find_grub_device_ids(storage_cfg_odict)])
    File "/curtin/curtin/commands/curthooks.py", line 560, in uefi_find_grub_device_ids
      if item['type'] == 'mount' and item['path'] == '/boot/efi':
  KeyError: 'path'
  'path'
  Stderr: ''

  Previous deployment that worked used: curtin: Installation started. (19.3-26-g82f23e3d-0ubuntu1~18.04.1)
  This failing one uses: curtin: Installation started. (20.1-2-g42a9667f-0ubuntu1~18.04.1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1898550/+subscriptions



More information about the foundations-bugs mailing list