Bug 849012

Summary: IOError: [Errno 2] No such file or directory: '/etc/sysconfig/network-scripts/ifcfg-p2p1'
Product: [Fedora] Fedora Reporter: Pratyush Sahay <pratyush.a.sahay>
Component: anacondaAssignee: Radek Vykydal <rvykydal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, german.rios.gonzalez, g.kaviyarasu, jonathan, jreiser, jreznik, kparal, robatino, rtguille, rvykydal, twu, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:61675058b13f7c5bf75fac869b69c86d0571ec61973723b119bcbf3a3db8d10e AcceptedBlocker
Fixed In Version: anaconda-18.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-06 16:23:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 752654    
Attachments:
Description Flags
File: program.log
none
Anaconda error screenshot - 1
none
Anaconda error screenshot - 2 none

Description Pratyush Sahay 2012-08-17 04:49:08 UTC
Description of problem:


Version-Release number of selected component:
anaconda-18.6

Additional info:
libreport version: 2.0.12
cmdline:        initrd=initrd.img  quiet BOOT_IMAGE=vmlinuz 
kernel:         3.6.0-0.rc1.git6.1.fc18.x86_64

Comment 1 Pratyush Sahay 2012-08-17 04:49:11 UTC
Created attachment 605072 [details]
File: program.log

Comment 2 Pratyush Sahay 2012-08-17 04:57:02 UTC
This was triggered by switching off ethernet in F18 Alpha TC3 installer option. Screenshot attached.

Comment 3 Pratyush Sahay 2012-08-17 04:59:35 UTC
Created attachment 605074 [details]
Anaconda error screenshot - 1

Comment 4 Pratyush Sahay 2012-08-17 05:00:09 UTC
Created attachment 605075 [details]
Anaconda error screenshot - 2

Comment 5 Jaroslav Reznik 2012-08-17 07:46:08 UTC
It's enough to enter "Network Configuration" not changing anything and clicking "Back".

Comment 6 Radek Vykydal 2012-08-17 09:09:55 UTC
Yeah, we are missing default ifcfg files.
I have a patch as part of set being reviewed/discussed.
https://lists.fedorahosted.org/pipermail/anaconda-patches/2012-July/000290.html
I'll rework the patchset a bit and post it.

Quick fix:

diff --git a/anaconda b/anaconda
index a6bb720..1f12a21 100755
--- a/anaconda
+++ b/anaconda
@@ -935,6 +935,7 @@ if __name__ == "__main__":
     from pyanaconda.storage import storageInitialize
     from pyanaconda.packaging import payloadInitialize
     from pyanaconda.threads import initThreading, threadMgr, AnacondaThread
+    from pyanaconda.network import Network
 
     if anaconda.rescue:
         from pyanaconda.rescue import doRescue
@@ -943,6 +944,7 @@ if __name__ == "__main__":
     initThreading()
     threadMgr.add(AnacondaThread(name="AnaStorageThread", target=storageInitialize, args=(anaconda.storage, ksdata, anaconda.protected)))
     threadMgr.add(AnacondaThread(name="AnaPayloadThread", target=payloadInitialize, args=(anaconda.storage, ksdata, anaconda.payload)))
+    Network()
 
     atexit.register(exitHandler, ksdata.reboot, anaconda.storage)

Comment 7 Jaroslav Reznik 2012-08-17 13:36:15 UTC
Proposing as Alpha Blocker as not properly configured network may break "The installer must be able to use at least one of the HTTP or FTP remote package source options" and "The installer must be able to download and use an installer update image from an HTTP server ".

Btw. thanks Radek.

Comment 8 Jesse Keating 2012-08-18 20:22:53 UTC
*** Bug 849360 has been marked as a duplicate of this bug. ***

Comment 9 Radek Vykydal 2012-08-20 08:44:46 UTC
*** Bug 849467 has been marked as a duplicate of this bug. ***

Comment 10 Radek Vykydal 2012-08-20 10:29:54 UTC
We also need to adapt to change of SimpleConfigFile behaviour caused by commit 16a7c6e7af3df4816323a007f785155d307869bf, patch coming soon.

Comment 11 Radek Vykydal 2012-08-20 13:22:05 UTC
*** Bug 849090 has been marked as a duplicate of this bug. ***

Comment 12 Adam Williamson 2012-08-20 23:31:32 UTC
Discussed at 2012-08-20 QA meeting, acting as a blocker review meeting: http://meetbot.fedoraproject.org/fedora-meeting/2012-08-20/fedora-qa.2012-08-20-15.00.html . Accepted as a blocker as, in many cases, this may violate criterion "The installer must be able to use at least one of the HTTP or FTP remote package source options" (it would be impossible to do so if your network connection required any kind of configuration at all, as entering the network configuration dialog is sufficient to cause the installer ultimately to crash).

Comment 13 Fedora Update System 2012-08-22 22:58:49 UTC
anaconda-18.6.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/anaconda-18.6.1-1.fc18

Comment 14 Fedora Update System 2012-08-23 04:36:23 UTC
Package anaconda-18.6.1-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-18.6.1-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12550/anaconda-18.6.1-1.fc18
then log in and leave karma (feedback).

Comment 15 Radek Vykydal 2012-08-28 07:17:30 UTC
*** Bug 852255 has been marked as a duplicate of this bug. ***

Comment 16 Kamil Páral 2012-09-03 09:15:21 UTC
With F18 Alpha TC5 I can enter Network spoke and leave it just fine. I can also switch off the ethernet connection. I understand this is the reproducer, so I'm setting this to verified.

Comment 17 Adam Williamson 2012-09-06 16:23:00 UTC
18.6.5-1 was pushed stable, so closing.