aquarist-labs / aquarium

Project Aquarium is a SUSE-sponsored open source project aiming at becoming an easy to use, rock solid storage appliance based on Ceph.
https://aquarist-labs.io/
Other
71 stars 23 forks source link

tools: bump `kiwi-boxed-plugin` to 0.2.17 #778

Closed falcon78921 closed 2 years ago

falcon78921 commented 2 years ago

When attempting to build aquarium on Ubuntu 20.04, I received the following during build-image.sh:

+ tee /home/tech/aquarium/images/build/aquarium/_logs/aquarium-build.log
[ INFO    ]: 22:58:16 | Reading box plugin config file: /home/tech/aquarium/tools/venv/lib/python3.8/site-packages/kiwi_boxed_plugin/config/kiwi_boxed_plugin.yml
[ DEBUG   ]: 22:58:16 | EXEC: [mkdir -p /home/tech/.kiwi_boxes/tumbleweed]
[ INFO    ]: 22:58:16 | Validating kiwi_build_command_args:
    ['system', 'build', '--description', '/home/tech/aquarium/images/build/aquarium', '--target-dir', '/home/tech/aquarium/images/build/aquarium/_out']
[ INFO    ]: 22:58:16 | Building with:
    ['--type', 'oem', '--profile', 'ContainerHost-Vagrant', 'system', 'build', '--description', '/home/tech/aquarium/images/build/aquarium', '--target-dir', '/home/tech/aquarium/images/build/aquarium/_out']
[ ERROR   ]: 22:58:16 | KiwiUriOpenError: HTTPError: HTTP Error 404: Not Found http://download.opensuse.org/repositories/Virtualization:/Appliances:/SelfContained:/tumbleweed/images//TumbleWeed-Box.x86_64-1.42.1-System-BuildBox.report
+ '[' 1 -eq 0 ']'
+ error_exit 'Kiwi build failed'
+ echo 'error: Kiwi build failed'
error: Kiwi build failed
+ exit 1

Bumping kiwi-boxed-plugin to 0.2.17 resolved the issue:

(venv) tech@aquarium:~/aquarium$ kiwi-ng --debug --profile=ContainerHost-Vagrant --type oem system boxbuild --box tumbleweed -- --description /home/tech/aquarium/images/build/aquarium --target-dir /home/tech/aquarium/images/build/aquarium/_out
[ INFO    ]: 23:07:58 | Reading box plugin config file: /home/tech/aquarium/tools/venv/lib/python3.8/site-packages/kiwi_boxed_plugin/config/kiwi_boxed_plugin.yml
[ INFO    ]: 23:07:58 | Validating kiwi_build_command_args:
    ['system', 'build', '--description', '/home/tech/aquarium/images/build/aquarium', '--target-dir', '/home/tech/aquarium/images/build/aquarium/_out']
[ INFO    ]: 23:07:58 | Building with:
    ['--type', 'oem', '--profile', 'ContainerHost-Vagrant', 'system', 'build', '--description', '/home/tech/aquarium/images/build/aquarium', '--target-dir', '/home/tech/aquarium/images/build/aquarium/_out']
[ INFO    ]: 23:08:00 | Downloading TumbleWeed-Box.x86_64-1.42.2-Kernel-BuildBox.tar.xz
Loading: 100% [#######################################################################################################################################################################] Time:  0:00:06   8.7 MiB/s
[ INFO    ]: 23:08:07 | Downloading TumbleWeed-Box.x86_64-1.42.2-System-BuildBox.qcow2
Loading: 100% [#######################################################################################################################################################################] Time:  0:01:06   9.3 MiB/s
[ DEBUG   ]: 23:09:15 | EXEC: [mkdir -p /home/tech/.kiwi_boxes/tumbleweed.tmp]
[ DEBUG   ]: 23:09:15 | EXEC: [bash -c cp -a /home/tech/.kiwi_boxes/tumbleweed/* /home/tech/.kiwi_boxes/tumbleweed.tmp]
[ DEBUG   ]: 23:09:15 | EXEC: [mv /tmp/tmp5ijbuvcd /home/tech/.kiwi_boxes/tumbleweed.tmp/TumbleWeed-Box.x86_64-1.42.2-System-BuildBox.report]
[ DEBUG   ]: 23:09:15 | EXEC: [mv /tmp/tmpx7fej755 /home/tech/.kiwi_boxes/tumbleweed.tmp/TumbleWeed-Box.x86_64-1.42.2-System-BuildBox.report.sha256]
[ DEBUG   ]: 23:09:15 | EXEC: [mv /tmp/tmp695i5u5r /home/tech/.kiwi_boxes/tumbleweed.tmp/TumbleWeed-Box.x86_64-1.42.2-Kernel-BuildBox.tar.xz]
[ DEBUG   ]: 23:09:15 | EXEC: [mv /tmp/tmpjmx0t35w /home/tech/.kiwi_boxes/tumbleweed.tmp/TumbleWeed-Box.x86_64-1.42.2-System-BuildBox.qcow2]
[ DEBUG   ]: 23:09:15 | EXEC: [mv /home/tech/.kiwi_boxes/tumbleweed /home/tech/.kiwi_boxes/tumbleweed.wipe]
[ DEBUG   ]: 23:09:15 | EXEC: [mv /home/tech/.kiwi_boxes/tumbleweed.tmp /home/tech/.kiwi_boxes/tumbleweed]
[ DEBUG   ]: 23:09:15 | EXEC: [rm -rf /home/tech/.kiwi_boxes/tumbleweed.wipe]

See: https://groups.google.com/g/kiwi-images/c/QxHGuO3JdM4 See: https://github.com/OSInside/kiwi-boxed-plugin/pull/46

Signed-off-by: James McClune jmcclune@mcclunetechnologies.net

Checklist


Show available Jenkins commands - `jenkins run tumbleweed` - `jenkins run leap` - `jenkins run ubuntu`
susebot commented 2 years ago

Can one of the admins verify this patch?

codecov-commenter commented 2 years ago

Codecov Report

Merging #778 (79daabb) into main (ff6c735) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #778   +/-   ##
=======================================
  Coverage   59.38%   59.38%           
=======================================
  Files          31       31           
  Lines        3767     3767           
=======================================
  Hits         2237     2237           
  Misses       1530     1530           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ff6c735...79daabb. Read the comment docs.