Bug 1523650
| Summary: | virt-builder: wrong architecture for caching templates when using --cache-all-templates | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Pino Toscano <ptoscano> |
| Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.5 | CC: | mtessun, ptoscano, xchen |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libguestfs-1.36.10-4.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 09:20:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pino Toscano
2017-12-08 14:11:45 UTC
This was just fixed upstream with https://github.com/libguestfs/libguestfs/commit/b34f457cf2dd66626abf743c90881bfe6532ec9b which is in libguestfs >= 1.37.35. Can reproduce it with: libguestfs-1.36.3-6.el7_4.2.x86_64 Steps: 1. Have a clean cache: # rm -rf ~/.cache/virt-builder 2. Cache all the templates: # virt-builder --cache-all-templates 3. List all the caches: # ls -lh ~/.cache/virt-builder total 8.4G -rw-r--r--. 1 root root 191M Dec 11 12:25 centos-6.x86_64.6 -rw-r--r--. 1 root root 204M Dec 11 12:37 centos-7.0.x86_64.1 -rw-r--r--. 1 root root 228M Dec 11 12:52 centos-7.1.x86_64.1 -rw-r--r--. 1 root root 237M Dec 11 13:09 centos-7.2.x86_64.1 -rw-r--r--. 1 root root 281M Dec 11 13:28 centos-7.3.x86_64.2 -rw-r--r--. 1 root root 296M Dec 11 13:47 centos-7.4.x86_64.1 -rw-r--r--. 1 root root 11M Dec 11 13:48 cirros-0.3.1.x86_64.1 -rw-r--r--. 1 root root 11M Dec 11 13:49 cirros-0.3.5.x86_64.1 -rw-r--r--. 1 root root 134M Dec 11 13:58 debian-6.x86_64.2 -rw-r--r--. 1 root root 92M Dec 11 14:08 debian-7.x86_64.1 -rw-r--r--. 1 root root 191M Dec 11 14:20 debian-7.x86_64.3 -rw-r--r--. 1 root root 222M Dec 11 14:35 debian-8.x86_64.2 -rw-r--r--. 1 root root 186M Dec 11 14:51 debian-9.x86_64.2 -rw-r--r--. 1 root root 143M Dec 11 15:04 fedora-18.x86_64.1 -rw-r--r--. 1 root root 162M Dec 11 15:30 fedora-19.x86_64.2 -rw-r--r--. 1 root root 173M Dec 11 15:55 fedora-20.x86_64.2 -rw-r--r--. 1 root root 178M Dec 11 16:08 fedora-21.x86_64.1 -rw-r--r--. 1 root root 223M Dec 11 16:32 fedora-21.x86_64.3 -rw-r--r--. 1 root root 206M Dec 11 17:03 fedora-22.x86_64.1 -rw-r--r--. 1 root root 207M Dec 11 17:35 fedora-23.x86_64.1 -rw-r--r--. 1 root root 308M Dec 11 18:18 fedora-23.x86_64.2 -rw-r--r--. 1 root root 303M Dec 11 18:51 fedora-23.x86_64.3 -rw-r--r--. 1 root root 275M Dec 11 19:30 fedora-24.x86_64.1 -rw-r--r--. 1 root root 281M Dec 11 20:36 fedora-25.x86_64.1 -rw-r--r--. 1 root root 322M Dec 11 22:08 fedora-25.x86_64.3 -rw-r--r--. 1 root root 315M Dec 11 23:56 fedora-26.x86_64.2 -rw-r--r--. 1 root root 330M Dec 12 00:43 fedora-26.x86_64.3 -rw-r--r--. 1 root root 319M Dec 12 01:04 fedora-27.x86_64.1 -rw-r--r--. 1 root root 383M Dec 12 01:29 freebsd-11.1.x86_64.1 -rw-r--r--. 1 root root 322M Dec 11 11:03 opensuse-13.1.x86_64.232 -rw-r--r--. 1 root root 287M Dec 11 11:14 opensuse-13.2.x86_64.262 -rw-r--r--. 1 root root 291M Dec 11 11:38 opensuse-42.1.x86_64.119 -rw-r--r--. 1 root root 356M Dec 11 12:11 opensuse-tumbleweed.x86_64.2351 -rw-r--r--. 1 root root 183M Dec 12 01:40 scientificlinux-6.x86_64.5 -rw-r--r--. 1 root root 143M Dec 12 01:47 ubuntu-10.04.x86_64.1 -rw-r--r--. 1 root root 161M Dec 12 01:59 ubuntu-12.04.x86_64.1 -rw-r--r--. 1 root root 197M Dec 12 02:58 ubuntu-14.04.x86_64.1 -rw-r--r--. 1 root root 223M Dec 12 03:50 ubuntu-16.04.x86_64.1 Only x86_64 templates are listed. Verified with package: libguestfs-1.36.10-4.el7.x86_64 Steps: 1. Have a clean cache: # rm -rf ~/.cache/virt-builder 2. Cache all the templates: # virt-builder --cache-all-templates 3. List all the caches: # ls -lh ~/.cache/virt-builder total 16G -rw-r--r--. 1 root root 191M Dec 14 10:29 centos-6.x86_64.6 -rw-r--r--. 1 root root 204M Dec 14 10:39 centos-7.0.x86_64.1 -rw-r--r--. 1 root root 228M Dec 14 10:48 centos-7.1.x86_64.1 -rw-r--r--. 1 root root 237M Dec 14 10:58 centos-7.2.aarch64.1 -rw-r--r--. 1 root root 241M Dec 14 11:06 centos-7.2.x86_64.1 -rw-r--r--. 1 root root 281M Dec 14 11:21 centos-7.3.x86_64.2 -rw-r--r--. 1 root root 296M Dec 14 11:39 centos-7.4.x86_64.1 -rw-r--r--. 1 root root 11M Dec 14 11:39 cirros-0.3.1.x86_64.1 -rw-r--r--. 1 root root 11M Dec 14 11:40 cirros-0.3.5.x86_64.1 -rw-r--r--. 1 root root 134M Dec 14 11:46 debian-6.x86_64.2 -rw-r--r--. 1 root root 92M Dec 14 11:51 debian-7.sparc64.1 -rw-r--r--. 1 root root 191M Dec 14 11:58 debian-7.x86_64.3 -rw-r--r--. 1 root root 222M Dec 14 12:09 debian-8.x86_64.2 -rw-r--r--. 1 root root 186M Dec 14 12:16 debian-9.x86_64.2 -rw-r--r--. 1 root root 143M Dec 14 12:21 fedora-18.x86_64.1 -rw-r--r--. 1 root root 162M Dec 14 12:27 fedora-19.x86_64.2 -rw-r--r--. 1 root root 173M Dec 14 12:35 fedora-20.x86_64.2 -rw-r--r--. 1 root root 178M Dec 14 12:43 fedora-21.aarch64.1 -rw-r--r--. 1 root root 191M Dec 14 12:49 fedora-21.armv7l.1 -rw-r--r--. 1 root root 223M Dec 14 12:57 fedora-21.ppc64.3 -rw-r--r--. 1 root root 223M Dec 14 13:05 fedora-21.ppc64le.3 -rw-r--r--. 1 root root 200M Dec 14 13:13 fedora-21.x86_64.1 -rw-r--r--. 1 root root 206M Dec 14 13:22 fedora-22.aarch64.1 -rw-r--r--. 1 root root 232M Dec 14 13:36 fedora-22.armv7l.1 -rw-r--r--. 1 root root 215M Dec 14 13:50 fedora-22.i686.1 -rw-r--r--. 1 root root 218M Dec 14 14:05 fedora-22.x86_64.1 -rw-r--r--. 1 root root 207M Dec 14 14:29 fedora-23.aarch64.1 -rw-r--r--. 1 root root 231M Dec 14 14:40 fedora-23.armv7l.1 -rw-r--r--. 1 root root 308M Dec 14 14:52 fedora-23.i686.2 -rw-r--r--. 1 root root 268M Dec 14 15:02 fedora-23.ppc64.1 -rw-r--r--. 1 root root 266M Dec 14 15:12 fedora-23.ppc64le.2 -rw-r--r--. 1 root root 303M Dec 14 15:31 fedora-23.x86_64.3 -rw-r--r--. 1 root root 275M Dec 14 15:57 fedora-24.aarch64.1 -rw-r--r--. 1 root root 310M Dec 14 16:17 fedora-24.armv7l.1 -rw-r--r--. 1 root root 305M Dec 14 16:35 fedora-24.i686.1 -rw-r--r--. 1 root root 307M Dec 14 17:01 fedora-24.x86_64.1 -rw-r--r--. 1 root root 281M Dec 14 17:23 fedora-25.aarch64.1 -rw-r--r--. 1 root root 258M Dec 14 17:39 fedora-25.armv7l.1 -rw-r--r--. 1 root root 236M Dec 14 17:49 fedora-25.i686.1 -rw-r--r--. 1 root root 322M Dec 14 18:03 fedora-25.ppc64.3 -rw-r--r--. 1 root root 325M Dec 14 18:22 fedora-25.ppc64le.3 -rw-r--r--. 1 root root 322M Dec 14 18:39 fedora-25.x86_64.1 -rw-r--r--. 1 root root 315M Dec 14 19:14 fedora-26.aarch64.2 -rw-r--r--. 1 root root 328M Dec 14 19:29 fedora-26.armv7l.2 -rw-r--r--. 1 root root 331M Dec 14 19:59 fedora-26.i686.2 -rw-r--r--. 1 root root 330M Dec 14 20:25 fedora-26.ppc64.3 -rw-r--r--. 1 root root 329M Dec 14 20:44 fedora-26.ppc64le.3 -rw-r--r--. 1 root root 342M Dec 14 21:02 fedora-26.x86_64.2 -rw-r--r--. 1 root root 319M Dec 14 21:27 fedora-27.aarch64.1 -rw-r--r--. 1 root root 351M Dec 14 21:39 fedora-27.armv7l.1 -rw-r--r--. 1 root root 338M Dec 14 21:56 fedora-27.i686.1 -rw-r--r--. 1 root root 329M Dec 14 22:13 fedora-27.ppc64.1 -rw-r--r--. 1 root root 330M Dec 14 22:34 fedora-27.ppc64le.1 -rw-r--r--. 1 root root 348M Dec 14 22:57 fedora-27.x86_64.1 -rw-r--r--. 1 root root 383M Dec 14 23:19 freebsd-11.1.x86_64.1 -rw-r--r--. 1 root root 322M Dec 14 10:07 opensuse-13.1.x86_64.232 -rw-r--r--. 1 root root 287M Dec 14 10:12 opensuse-13.2.x86_64.262 -rw-r--r--. 1 root root 291M Dec 14 10:16 opensuse-42.1.x86_64.119 -rw-r--r--. 1 root root 356M Dec 14 10:23 opensuse-tumbleweed.x86_64.2351 -rw-r--r--. 1 root root 183M Dec 14 23:25 scientificlinux-6.x86_64.5 -rw-r--r--. 1 root root 143M Dec 14 23:30 ubuntu-10.04.x86_64.1 -rw-r--r--. 1 root root 161M Dec 14 23:37 ubuntu-12.04.x86_64.1 -rw-r--r--. 1 root root 197M Dec 14 23:52 ubuntu-14.04.x86_64.1 -rw-r--r--. 1 root root 223M Dec 15 00:02 ubuntu-16.04.x86_64.1 Same as "virt-builder --list", so verified. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0677 |