Bug 1352970 - livemedia-creator f25 "No space left on device"
Summary: livemedia-creator f25 "No space left on device"
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: rawhide
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: 2016-07-05 15:47 UTC by satellitgo
Modified: 2016-07-08 18:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-08 18:13:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description satellitgo 2016-07-05 15:47:07 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 satellitgo 2016-07-05 15:54:00 UTC
(In reply to satellitgo from comment #0)
> Description of problem:
> new install of Fedora-Workstation-Live-x86_64-Rawhide-20160704.n.0.iso
Default install with thunderbird, xchat installed
to 512GB ssd bios boot laptop
install using https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Live_CD
> 
> Version-Release number of selected component (if applicable):
> 
> 
> How reproducible:
> 
> 
> Steps to Reproduce:
> 1.
> 2.
> 3.
> 
> Actual results:
> after most of install 990 files: "No space left on device"
> 
> Expected results:
> Build live.iso
> 
> Additional info:

Comment 2 satellitgo 2016-07-05 19:49:32 UTC
did a build with the change of not using /tmp and no logging

https://wiki.sugarlabs.org/go/Fedora_25#livemedia-creator

Comment 3 Brian Lane 2016-07-07 16:55:25 UTC
1. Is this happening while trying to build the live iso with lmc? If so, please include the logs and the kickstart as individual text/plain attachments.

2. Is this happening during installation using a live iso built with lmc? If so  please include the logs from /tmp/*log as individual text/plain attachments.

Try to describe, in detail, the steps you have taken.

Comment 4 satellitgo 2016-07-08 10:07:59 UTC
See wiki pages for details:

f24: https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Live_CD

     works well; NUC i5 16 GB memory 1 TB HD

f25: https://wiki.sugarlabs.org/go/Fedora_25#livemedia-creator

   "do not use  /tmp/lmc as root file system runs out of room"

     also no logging to / as it also fills root directory in f25
     (bios boot; f25 workstation in 512 GB ssd default install

Comment 5 satellitgo 2016-07-08 16:45:22 UTC
terminal output in f25:

----snip----

OSError: [Errno 28] No space left on device
Call stack:
  File "/usr/sbin/livemedia-creator", line 1476, in <module>
    main()
  File "/usr/sbin/livemedia-creator", line 1393, in main
    disk_img = make_image(opts, ks)
  File "/usr/sbin/livemedia-creator", line 1080, in make_image
    novirt_install(opts, disk_img, disk_size)
  File "/usr/sbin/livemedia-creator", line 780, in novirt_install
    log.info(line)
Message: 'File "/usr/lib64/python3.5/logging/__init__.py", line 1487, in callHandlers'
Arguments: ()
2016-07-08 09:03:48,341: hdlr.handle(record)
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.5/logging/__init__.py", line 984, in emit
    self.flush()
  File "/usr/lib64/python3.5/logging/__init__.py", line 964, in flush
    self.stream.flush()
OSError: [Errno 28] No space left on device
Call stack:
  File "/usr/sbin/livemedia-creator", line 1476, in <module>
    main()
  File "/usr/sbin/livemedia-creator", line 1393, in main
    disk_img = make_image(opts, ks)
  File "/usr/sbin/livemedia-creator", line 1080, in make_image
    novirt_install(opts, disk_img, disk_size)
  File "/usr/sbin/livemedia-creator", line 780, in novirt_install
    log.info(line)
Message: 'hdlr.handle(record)'
Arguments: ()
2016-07-08 09:03:48,342: File "/usr/lib64/python3.5/site-packages/pyanaconda/anaconda_log.py", line 72, in handle
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib64/python3.5/logging/__init__.py", line 984, in emit
    self.flush()
  File "/usr/lib64/python3.5/logging/__init__.py", line 964, in flush
    self.stream.flush()
OSError: [Errno 28] No space left on device

----snip----

Call stack:
  File "/usr/sbin/livemedia-creator", line 1476, in <module>
    main()
  File "/usr/sbin/livemedia-creator", line 1393, in main
    disk_img = make_image(opts, ks)
  File "/usr/sbin/livemedia-creator", line 1080, in make_image
    novirt_install(opts, disk_img, disk_size)
  File "/usr/sbin/livemedia-creator", line 780, in novirt_install
    log.info(line)
Message: 'Error occurred during writing of a log message: No space left on device'
Arguments: ()

Comment 6 Brian Lane 2016-07-08 17:01:31 UTC
That's not enough information to tell what's going on. If you're using /tmp/lmc you need to make sure you have enough RAM available (assuming it is mounted using tmpfs).

But without at least the cmdline and kickstart you are using I cannot even try to reproduce this.

Comment 7 satellitgo 2016-07-08 17:15:09 UTC
I repeat:look at
https://wiki.sugarlabs.org/go/Fedora_25#livemedia-creator

from pagure:

ksflatten -v, --config fedora-live-soas.ks -o flat-fedora-live-soas.ks --version F25

livemedia-creator --ks /home/(user)/Downloads/pagure/flat-fedora-live-soas.ks --no-virt --resultdir /home/(user)/lmc/ --project Fedora-soas-Live --make-iso --volid Fedora-SoaS-f25-live --iso-only --iso-name Fedora-SoaS-f25-live.iso --releasever 25 --title Fedora-SoaS-f25-live --macboot

intel i3 64 bit 3.8 GB memory

Comment 8 satellitgo 2016-07-08 17:16:04 UTC
(In reply to satellitgo from comment #7)
> I repeat:look at
> https://wiki.sugarlabs.org/go/Fedora_25#livemedia-creator
> 
> from pagure:
> 
> ksflatten -v, --config fedora-live-soas.ks -o flat-fedora-live-soas.ks
> --version F25
> 
> livemedia-creator --ks
> /home/(user)/Downloads/pagure/flat-fedora-live-soas.ks --no-virt --resultdir
> /home/(user)/lmc/ --project Fedora-soas-Live --make-iso --volid
> Fedora-SoaS-f25-live --iso-only --iso-name Fedora-SoaS-f25-live.iso
> --releasever 25 --title Fedora-SoaS-f25-live --macboot
> 
> intel i3 64 bit 3.8 GB memory

f25 workstation install to 512 GB ssd

Comment 9 satellitgo 2016-07-08 17:18:46 UTC
(In reply to satellitgo from comment #8)
> (In reply to satellitgo from comment #7)
> > I repeat:look at
> > https://wiki.sugarlabs.org/go/Fedora_25#livemedia-creator
> > 
> > from pagure:
> > 
> > ksflatten -v, --config fedora-live-soas.ks -o flat-fedora-live-soas.ks
> > --version F25
> > 
> > livemedia-creator --ks
> > /home/(user)/Downloads/pagure/flat-fedora-live-soas.ks --no-virt --resultdir
> > /home/(user)/lmc/ --project Fedora-soas-Live --make-iso --volid
> > Fedora-SoaS-f25-live --iso-only --iso-name Fedora-SoaS-f25-live.iso
> > --releasever 25 --title Fedora-SoaS-f25-live --macboot
> > 
> > intel i3 64 bit 3.8 GB memory
> 
> f25 workstation install to 512 GB ssd

this works ^ but 

livemedia-creator --ks /home/(user)/Downloads/pagure/flat-fedora-live-soas.ks  --logfile /tmp/lmc-logs/livemedia-out.log --no-virt --resultdir /tmp/lmc --project Fedora-soas-Live --make-iso --volid Fedora-SoaS-flat-live --iso-only --iso-name Fedora-SoaS-flat-live.iso --releasever 25 --title Fedora-SoaS-flat-live --macboot

fails if use "--logfile /tmp/lmc-logs/livemedia-out.log --no-virt --resultdir /tmp/lmc "

Comment 10 Brian Lane 2016-07-08 18:13:31 UTC
Right, if you only have 3.8G then 50% will be assigned to tmpfs and it's likely you'll run out of ram when using /tmp/ for the resultdir.


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