Bug 1221878 - livemedia-creator --resultdir tracebacks for --make-ostree-live
Summary: livemedia-creator --resultdir tracebacks for --make-ostree-live
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 06:53 UTC by Radek Vykydal
Modified: 2015-06-24 16:05 UTC (History)
2 users (show)

Fixed In Version: lorax-22.12-1.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-24 16:05:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Radek Vykydal 2015-05-15 06:53:17 UTC
version: 22.11-1

If I run:

$ sudo livemedia-creator --make-ostree-live --iso=/var/lib/libvirt/images/atomic-installer.iso --ks=fedora-atomic-pxe-live.ks  --live-rootfs-keep-size --ram=1500 --vnc=spice --resultdir=/var/tmp/pxetolive

or:

$ sudo livemedia-creator --make-disk --image-name=atomic.disk --iso=/var/lib/libvirt/images/atomic-installer.iso --ks=fedora-atomic-pxe-live.ks --ram=1500 --vnc=spice
$ sudo livemedia-creator --make-ostree-live --disk-image=/var/tmp/atomic.disk  --live-rootfs-keep-size --resultdir=pxetolive

it ends up with:

Traceback (most recent call last):
  File "/sbin/livemedia-creator", line 1498, in <module>
    main()
  File "/sbin/livemedia-creator", line 1483, in main
    shutil.copytree(result_dir, opts.result_dir)
  File "/usr/lib64/python2.7/shutil.py", line 177, in copytree
    os.makedirs(dst)
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/rvykydal/pxetolive'

Perhaps related to:
https://github.com/rhinstaller/lorax/commit/229759f411f1fa60e9fe2510480259cd56fd718c

Comment 1 Brian Lane 2015-05-26 20:52:36 UTC
https://github.com/rhinstaller/lorax/pull/21 should fix it.

Comment 2 Fedora Update System 2015-05-28 01:03:12 UTC
lorax-22.12-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/lorax-22.12-1.fc22

Comment 3 Fedora Update System 2015-05-30 15:38:14 UTC
Package lorax-22.12-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lorax-22.12-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-9066/lorax-22.12-1.fc22
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2015-06-24 16:05:14 UTC
lorax-22.12-1.fc22 has been pushed to the Fedora 22 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.