Bug 947120 - IOError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/network-scripts/ifcfg-eth0' (anaconda crashes at "writing network configuration" because one can remove the only network card in the network spoke)
Summary: IOError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/ne...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Radek Vykydal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-01 17:18 UTC by Reartes Guillermo
Modified: 2013-04-09 03:38 UTC (History)
5 users (show)

Fixed In Version: anaconda-19.16-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-09 03:38:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda-tb-xxx file (1.02 MB, text/plain)
2013-04-01 17:18 UTC, Reartes Guillermo
no flags Details
anaconda.log (13.24 KB, text/plain)
2013-04-01 17:18 UTC, Reartes Guillermo
no flags Details
program.log (38.45 KB, text/plain)
2013-04-01 17:19 UTC, Reartes Guillermo
no flags Details
storage.log (137.56 KB, text/plain)
2013-04-01 17:19 UTC, Reartes Guillermo
no flags Details
ifcfg log (812 bytes, text/plain)
2013-04-01 17:19 UTC, Reartes Guillermo
no flags Details
syslog file (92.59 KB, text/plain)
2013-04-01 17:20 UTC, Reartes Guillermo
no flags Details
X.log (52.48 KB, text/plain)
2013-04-01 17:20 UTC, Reartes Guillermo
no flags Details
packaging.log (709.50 KB, text/x-log)
2013-04-01 17:21 UTC, Reartes Guillermo
no flags Details
screen-shot showing the dialog in which you could remove the eth0 device (61.59 KB, image/png)
2013-04-01 17:22 UTC, Reartes Guillermo
no flags Details
screen-shot of the crash (56.61 KB, image/png)
2013-04-01 17:22 UTC, Reartes Guillermo
no flags Details

Description Reartes Guillermo 2013-04-01 17:18:13 UTC
Created attachment 730352 [details]
anaconda-tb-xxx file

Description of problem:

It is possible to remove the only network card in the Network Spoke and then start installing. but anaconda does still think that the removed device it is there, so if crashes at the end of the installation.


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

How reproducible:
always

Steps to Reproduce:

1. Reach the Main Hub
2. Enter the Network Spoke
3. Press '+' to add an element
4. Select Bond
5. In the Network Connections Dialog, select eth0 and delete it
6. Press Close, then Done to return to the Network Spoke
7. In Software Selection, change to Minimal to save time.
8. In Storage: Installation Destination, select automatic partitioning deleting whatever there is.
9. Begin Installation
10. Set the root password
11. Wait for anaconda to crash, it will crash after post-installation tasks, in the "writing network configuration" part.
  
Actual results:
anaconda crashes at the end of the installation

Expected results:
no crash

Additional info:

anaconda 19.14 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/simpleconfig.py", line 77, in read
    with open(filename) as f:
  File "/usr/lib64/python2.7/site-packages/pyanaconda/simpleconfig.py", line 187, in read
    SimpleConfigFile.read(self, self.path)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 251, in loadIfcfgFile
    IfcfgFile.read(self)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/installclasses/fedora.py", line 134, in setNetworkOnbootDefault
    dev.loadIfcfgFile()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/network.py", line 764, in write_network_config
    instClass.setNetworkOnbootDefault(ksdata)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/kickstart.py", line 764, in execute
    network.write_network_config(storage, ksdata, instClass, ROOT_PATH)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 72, in doConfiguration
    ksdata.network.execute(storage, ksdata, instClass)
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 141, in run
    threading.Thread.run(self, *args, **kwargs)
IOError: [Errno 2] No such file or directory: '/mnt/sysimage/etc/sysconfig/network-scripts/ifcfg-eth0'

Comment 1 Reartes Guillermo 2013-04-01 17:18:42 UTC
Created attachment 730353 [details]
anaconda.log

Comment 2 Reartes Guillermo 2013-04-01 17:19:06 UTC
Created attachment 730354 [details]
program.log

Comment 3 Reartes Guillermo 2013-04-01 17:19:28 UTC
Created attachment 730355 [details]
storage.log

Comment 4 Reartes Guillermo 2013-04-01 17:19:50 UTC
Created attachment 730356 [details]
ifcfg log

Comment 5 Reartes Guillermo 2013-04-01 17:20:08 UTC
Created attachment 730357 [details]
syslog file

Comment 6 Reartes Guillermo 2013-04-01 17:20:36 UTC
Created attachment 730358 [details]
X.log

Comment 7 Reartes Guillermo 2013-04-01 17:21:10 UTC
Created attachment 730359 [details]
packaging.log

Comment 8 Reartes Guillermo 2013-04-01 17:22:17 UTC
Created attachment 730360 [details]
screen-shot showing the dialog in which you could remove the eth0 device

Comment 9 Reartes Guillermo 2013-04-01 17:22:42 UTC
Created attachment 730361 [details]
screen-shot of the crash

Comment 10 Radek Vykydal 2013-04-03 08:34:16 UTC
This should be fixed in anaconda-19.16-1. You shouldn't be able to see the dialog form comment #8 at all.

Comment 11 Fedora Update System 2013-04-05 00:51:09 UTC
anaconda-19.16-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/anaconda-19.16-2.fc19

Comment 12 Fedora Update System 2013-04-06 05:16:40 UTC
Package anaconda-19.16-2.fc19, python-meh-0.22-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-19.16-2.fc19 python-meh-0.22-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5019/python-meh-0.22-1.fc19,anaconda-19.16-2.fc19
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2013-04-09 03:38:41 UTC
anaconda-19.16-2.fc19, python-meh-0.22-1.fc19 has been pushed to the Fedora 19 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.