Bug 947570 - anaconda runs out of memory with 768mb guests with the default software selection
Summary: anaconda runs out of memory with 768mb guests with the default software selec...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-02 18:27 UTC by Reartes Guillermo
Modified: 2013-04-04 15:27 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-04 15:27:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda-tb-xxx file (611.53 KB, text/plain)
2013-04-02 18:27 UTC, Reartes Guillermo
no flags Details
anaconda.log (6.69 KB, text/plain)
2013-04-02 18:27 UTC, Reartes Guillermo
no flags Details
program.log (11.76 KB, text/plain)
2013-04-02 18:28 UTC, Reartes Guillermo
no flags Details
storage.log (37.64 KB, text/plain)
2013-04-02 18:28 UTC, Reartes Guillermo
no flags Details
syslog file (76.49 KB, text/plain)
2013-04-02 18:29 UTC, Reartes Guillermo
no flags Details
anaconda.log, no cash with slub_debug=- (6.59 KB, text/plain)
2013-04-04 15:01 UTC, Reartes Guillermo
no flags Details
syslog file, works, same as above. (87.17 KB, text/plain)
2013-04-04 15:04 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2013-04-02 18:27:30 UTC
Created attachment 730928 [details]
anaconda-tb-xxx file

Description of problem:

When using 768mb ram size on KVM guests, anaconda crashes most of the time. 

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

How reproducible:
most of the time

Steps to Reproduce:

0. Reach the Main Hub, leave defaults at the Welcome Screen
1. Enter Keyboard and change it to Spanish.
2. Enter Date & Time and select America/Argentina/Buenos_Aires
2. Wait i nthe Main Hub to the default Software Selection dependencies to be resolved.
3. Anaconda will crash. (most of the time)

Actual results:
anaconda crashes

Expected results:
no crash, or a notification that the avaiable ram is not enough

Additional info:
anaconda 19.14 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/subprocess.py", line 1143, in _execute_child
    self.pid = os.fork()
  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 81, in _run_program
    preexec_fn=chroot, cwd=root, env=env)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 116, in execWithRedirect
    return _run_program(argv, stdin=stdin, stdout=stdout, root=root, env_prune=env_prune)[0]
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 317, in _run_systemctl
    ret = execWithRedirect("systemctl", [command, service_name])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 331, in service_running
    ret = _run_systemctl("status", service)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 1218, in setup
    if not iutil.service_running(NTP_SERVICE) and \
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/datetime_spoke.py", line 410, in execute
    self.data.timezone.setup(self.data)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 121, in _runSpoke
    action.execute()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 386, in _on_spoke_clicked
    self._runSpoke(spoke)
OSError: [Errno 12] Cannot allocate memory

Comment 1 Reartes Guillermo 2013-04-02 18:27:53 UTC
Created attachment 730929 [details]
anaconda.log

Comment 2 Reartes Guillermo 2013-04-02 18:28:22 UTC
Created attachment 730931 [details]
program.log

>> 15:19:39,724 INFO program: Running... systemctl status chronyd.service
>> 15:19:40,144 ERR program: Error running systemctl: Cannot allocate memory

Comment 3 Reartes Guillermo 2013-04-02 18:28:45 UTC
Created attachment 730932 [details]
storage.log

Comment 4 Reartes Guillermo 2013-04-02 18:29:31 UTC
Created attachment 730934 [details]
syslog file

Comment 5 Reartes Guillermo 2013-04-02 18:33:21 UTC
I put the first time i encounter it, because the error is in Spanish (translated). I do not believe that it is a good thing to localize the anaconda exceptions. When ABRT is repaired and start working again, how will it handle these different bug-reports of the same issue but in different languages?

anaconda 19.14 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/subprocess.py", line 1143, in _execute_child
    self.pid = os.fork()
  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 81, in _run_program
    preexec_fn=chroot, cwd=root, env=env)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 116, in execWithRedirect
    return _run_program(argv, stdin=stdin, stdout=stdout, root=root, env_prune=env_prune)[0]
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 317, in _run_systemctl
    ret = execWithRedirect("systemctl", [command, service_name])
  File "/usr/lib64/python2.7/site-packages/pyanaconda/iutil.py", line 331, in service_running
    ret = _run_systemctl("status", service)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/datetime_spoke.py", line 442, in refresh
    ntp_working = has_active_network and iutil.service_running(NTP_SERVICE)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 104, in _runSpoke
    action.refresh()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 386, in _on_spoke_clicked
    self._runSpoke(spoke)
OSError: [Errno 12] No se pudo asignar memoria

Comment 6 Chris Lumens 2013-04-04 13:58:33 UTC
What happens if you boot with slub_debug=- ?

Comment 7 Reartes Guillermo 2013-04-04 15:01:58 UTC
Created attachment 731640 [details]
anaconda.log, no cash with slub_debug=-

I did not crash.
So most likely beta will work (i will re-test, just to be sure).

Comment 8 Reartes Guillermo 2013-04-04 15:04:14 UTC
Created attachment 731641 [details]
syslog file, works, same as above.

Comment 9 Chris Lumens 2013-04-04 15:27:36 UTC
Okay, great.  We've got other bugs tracking OOM conditions in anaconda in general, so I'm going to close this one.


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