Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INF-241

[MultiOS][Yocto][EFI] bootstrap failed when Get grub default kernel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • F Release
    • E release, F Release
    • None

      In UEFI mode, bootstrap failed when Get grub default kernel

       

      ----------------
      TASK [bootstrap/persist-config : Get grub default kernel] ********************************************************************************************************************************
      task path: /usr/share/ansible/stx-ansible/playbooks/roles/bootstrap/persist-config/tasks/one_time_config_tasks.yml:130
      Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py
      Pipelining is enabled.
      <localhost> ESTABLISH LOCAL CONNECTION FOR USER: sysadmin
      <localhost> EXEC /bin/sh -c 'sudo -H -S -p "[sudo via ansible, key=nkrwpiyxgvkxyorwfsbqsmovfnowbzze] password:" -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-nkrwpiyxgvkxyorwfsbqsmovfnowbzze ; /usr/bin/python'"'"' && sleep 0'
      fatal: [localhost]: FAILED! => {
          "changed": true,
          "cmd": [
              "grubby",
              "--default-kernel"
          ],
          "delta": "0:00:00.017690",
          "end": "2021-10-08 06:51:19.610157",
          "invocation": {
              "module_args": {
                  "_raw_params": "grubby --default-kernel",
                  "_uses_shell": false,
                  "argv": null,
                  "chdir": null,
                  "creates": null,
                  "executable": null,
                  "removes": null,
                  "stdin": null,
                  "stdin_add_newline": true,
                  "strip_empty_ends": true,
                  "warn": true
              }
          },
          "msg": "non-zero return code",
          "rc": 1,
          "start": "2021-10-08 06:51:19.592467",
          "stderr": "error opening /boot/grub/grub.cfg for read: No such file or directory",
          "stderr_lines": [
              "error opening /boot/grub/grub.cfg for read: No such file or directory"
          ],
          "stdout": "",
          "stdout_lines": []
      }
      
      PLAY RECAP *******************************************************************************************************************************************************************************
      localhost : ok=160 changed=57 unreachable=0 failed=1 skipped=179 rescued=0 ignored=0
      
      

       

       

       

       

       

      Upstream defect:

      [Bug #1946441 “[MultiOS][Yocto][EFI] bootstrap failed when Get gr...” : Bugs : StarlingX (launchpad.net)|https://bugs.launchpad.net/starlingx/+bug/1946441]

       

       

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jackiehjm Jackie Huang
            jackiehjm Jackie Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: