Bug 868777
Summary: | fail to install the system use vnc | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | lnie <lnie> |
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | awilliam, dwmw2, g.kaviyarasu, jonathan, kparal, mkovarik, robatino, twu, vanmeeuwen+fedora |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | RejectedBlocker | ||
Fixed In Version: | anaconda-18.38-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-01-31 13:59:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
lnie
2012-10-22 06:28:40 UTC
I reproduced it on DVD installation Fedora-18 x86-64 Beta TC6. Anaconda fell down with: Could not initialize the VNC server: No IP addresses found. on tty2: ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 52:54:00:29:44:38 brd ff:ff:ff:ff:ff:ff inet 192.168.100.233/24 brd 192.168.100.255 scope global eth0 inet6 fe80::5054:ff:fe29:4438/64 scope link valid_lft forever preferred_lft forever cat /proc/cmdline initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2018-Beta-TC6\x20x86_64 vnc BOOT_IMAGE=vmlinuz Created attachment 631306 [details]
anaconda.log
Created attachment 631307 [details]
syslog
It seems to me as race condition. It's only on media installation (dvd, netinst.iso). How reproducible: sometimes - depends on dhcp lease *** Bug 868791 has been marked as a duplicate of this bug. *** This should be nominated as a Beta blocker, Alpha criteria say " The installer must be able to complete an installation using the text, graphical and VNC installation interfaces". Discussed at 2012-10-22 QA meeting acting as a blocker review meeting: http://meetbot.fedoraproject.org/fedora-meeting/2012-10-22/fedora-qa.2012-10-22-15.00.html . We agreed we need a few more details on this before deciding on blocker status. It would be useful to know if it affects only media-based installs or if it also affects PXE installs, as we suspect PXE installs may be the main users of the VNC feature. It would also help to know whether using a static IP address is usable as a workaround for this. This issue affects only media-based installs with dhcp. PXE installation and media-based installation with static network configuration works as expected. Discussed at the 2012-10-24 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-24/f18beta-blocker-review-5.2012-10-24-16.01.log.txt . With our current understanding of the issue, that it works with PXE and/or static networking, this is rejected as a Beta blocker: it violates the criterion only under certain conditions, and we believe the most likely use cases are covered. It can be re-proposed if more data emerges (tflink says he had trouble with a PXE/dhcp test, but it may not have been this precise bug). It works fine on TC7 32bit, I have just verified it. Created attachment 639070 [details]
I have test the TC7 on my system,it failed ,but on Michal's system it passed
Created attachment 639071 [details]
I have test the TC7 on my system,it failed ,but on Michal's system it passed
I've tried again with Fedora-18-Beta-TC7(DVD) in KVM. For first time it failed with this issue, for next time it worked fine. Still happens in the Fedora-18-Final-TC1 X86_64 Yes, we race with slow dhcp NM's default auto connection is waiting for. Sending a patch to ML. anaconda-18.37.1-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/FEDORA-2012-19991/anaconda-18.37.1-1.fc18 Package anaconda-18.37.2-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.37.2-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-19991/anaconda-18.37.1-1.fc18 then log in and leave karma (feedback). anaconda-18.37.2-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. Radek, can you look at bug 832510 comment 3? Maybe this is not fixed? It looks like a call to network.wait_for_dhcp() was added. But that only waits for DHCP if the Ethernet driver has already loaded, and NM is *already* starting to connect. I suspect in my case it's all happening before NetworkManager notices the Ethernet device at all, so it's not in NM_STATE_CONNECTING. The underlying problem is still there and not fixed at all. We've just changed the parameters of the race condition a bit. The real bug is that there's absolutely no reason to *abort* the installation when this happens. As far as I can tell, the only reason you need to know the IP address is to tell the user which address they can connect to. But the user could probably work that out some other way, if you can't manage it. You should still start the server listening on [::]. It's suboptimal if the user has to work out the IP address for themselves, but it's better than an outright failure. There is *no* situation in which the outright failure is better than printing "No network yet; VNC installation may not work..." and going ahead anyway, surely? You could always add an asynchronous notification when an IP address *does* come along... but that's more work. Just avoiding the crash would be a good start. *** This bug has been marked as a duplicate of bug 832510 *** |