Bug 1174070 - rpm-ostree-toolbox create-vm-disk Failing
Summary: rpm-ostree-toolbox create-vm-disk Failing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm-ostree-toolbox
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Colin Walters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-15 04:23 UTC by Jonathan Steffan
Modified: 2014-12-20 08:36 UTC (History)
2 users (show)

Fixed In Version: rpm-ostree-toolbox-2014.109-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-20 08:36:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jonathan Steffan 2014-12-15 04:23:28 UTC
Description of problem:
`rpm-ostree-toolbox create-vm-disk` commands fail due to a missing const definition.

Version-Release number of selected component (if applicable):
rpm-ostree-toolbox-2014.100-3.fc21.x86_64


How reproducible:
Always.

Steps to Reproduce:
1. Install rpm-ostree-toolbox
2. Attempt to use as described here https://github.com/jasonbrooks/byo-atomic#optional-create-your-own-atomic-image

Actual results:
Traceback, image is not created.

$ 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


Expected results:
Image is created.


Additional info:
Issue is fixed upstream in https://github.com/projectatomic/rpm-ostree-toolbox/commit/8259b24798486258ea7521ad4edfb69ad7a78696 a package just needs to be built and released for F21.

Comment 1 Fedora Update System 2014-12-19 01:15:48 UTC
rpm-ostree-toolbox-2014.109-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/rpm-ostree-toolbox-2014.109-2.fc21

Comment 2 Colin Walters 2014-12-19 01:15:54 UTC
Note that you want to be using the "imagefactory" command now.

Comment 3 Fedora Update System 2014-12-20 08:36:53 UTC
rpm-ostree-toolbox-2014.109-2.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.