image build failure - dpkg: error processing package grub-efi-amd64-signed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
charm-octavia-diskimage-retrofit |
Invalid
|
Undecided
|
Unassigned | ||
snap-octavia-diskimage-retrofit |
Fix Released
|
High
|
James Page |
Bug Description
The symptom is pretty close to the previous bug:
https:/
With yoga deployment, the Octavia retrofitting process started failing this week. I'm not sure if it's the root cause, but I see one update was released for jammy on 2023-09-29 for grub-efi-
https:/
[/var/log/
[ 63.1] Running: pre-install.
[ 63.2] Running: pre-install.
[ 65.2] Running: pre-install.
[ 65.3] Installing: initramfs-tools
[ 66.0] Running: install.
[ 66.8] Running: install.
virt-dib: error: libguestfs error: sh: Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
grub-
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2980 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://
grub-efi-
Get:2 http://
grub-efi-amd64-bin amd64 2.06-2ubuntu14.2 [1591 kB]
Fetched 2980 kB in 2s (1573 kB/s)
(Reading database ...
...
(Reading database
... 64309 files and directories currently installed.)
Preparing to unpack
.../grub-
Unpacking grub-efi-
(1.187.
Preparing to unpack .../grub-
Unpacking grub-efi-amd64-bin (2.06-2ubuntu14.2) over (2.06-2ubuntu14.1)
...
Setting up grub-efi-amd64-bin (2.06-2ubuntu14.2) ...
Setting up grub-efi-
Trying to migrate /boot/efi into esp config
dpkg: error processing package grub-efi-
installed grub-efi-
subprocess returned error exit status 1
Errors were encountered while processing:
grub-efi-
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
If reporting bugs, run virt-dib with debugging enabled and include the
complete output:
virt-dib -v -x [...]
"
2023-10-02 04:05:06 ERROR unit.octavia-
File "/var/lib/
action(args)
File "/var/lib/
instance.
File "/var/lib/
output = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
raise CalledProcessEr
subprocess.
Attaching ~field-critical as a workaround is not known yet.