jasonbrooks / byo-atomic

29 stars 19 forks source link

Unable to build qcow2 image on Fedora 21 Beta #3

Closed CuriousA62A2A closed 9 years ago

CuriousA62A2A commented 10 years ago

After following the README on https://github.com/jasonbrooks/byo-atomic (Optional: Create your own Atomic image to be exact). Instead of shiny new images I get the error message below and a 512K f21-atomic.qcow2.tmp

$ rpm-ostree-toolbox create-vm-disk /srv/rpm-ostree/repo fedora-atomic-host fedora-atomic/f21/x86_64/docker-host f21-atomic.qcow2 Formatting '/root/byo-atomic/fedora-atomic/f21-atomic.qcow2.tmp', fmt=qcow2 size=8589934592 compat='0.10' encryption=off cluster_size=65536 lazy_refcounts=off

(gjs:13836): Gjs-WARNING **: JS ERROR: ReferenceError: Format is not defined createDisk@/usr/share/rpm-ostree-toolbox/js/libqa.js:132 CreateVmDisk<.execute@/usr/share/rpm-ostree-toolbox/js/builtins/create_vm_disk.js:62 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 Builtin<.main@/usr/share/rpm-ostree-toolbox/js/builtin.js:41 wrapper@resource:///org/gnome/gjs/modules/lang.js:169 @/usr/share/rpm-ostree-toolbox/js/main.js:85 @/usr/share/rpm-ostree-toolbox/js/main.js:92

damaestro commented 9 years ago

This is a bug that was resolved upstream with this commit: https://github.com/projectatomic/rpm-ostree-toolbox/commit/8259b24798486258ea7521ad4edfb69ad7a78696

There are updated builds in Koji, but an update/build has not been pushed for f21 yet. http://koji.fedoraproject.org/koji/packageinfo?packageID=18594 2014.107 and later contains the fix.

damaestro commented 9 years ago

https://bugzilla.redhat.com/show_bug.cgi?id=1174070

jasonbrooks commented 9 years ago

Fixed? Also, I'll soon be updating the image-building part of this to work w/ the updated rpm-ostree-toolbox.