Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1026079 - Crashes with "error: [Errno 101] Network is unreachable" in NTP server query with IPv6-only network connection
Summary: Crashes with "error: [Errno 101] Network is unreachable" in NTP server query ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Martin Kolman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:69d27c825a05e1d425eeda963c4...
: 1017167 1043064 (view as bug list)
Depends On:
Blocks: F20FinalFreezeException 1040131
TreeView+ depends on / blocked
 
Reported: 2013-11-03 13:16 UTC by A.J. Werkman
Modified: 2013-12-16 13:33 UTC (History)
8 users (show)

Fixed In Version: anaconda-20.25.15-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1040131 (view as bug list)
Environment:
Last Closed: 2013-12-13 05:34:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: anaconda.log (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: environ (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: lsblk_output (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: nmcli_dev_list (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: os_info (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: program.log (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: storage.log (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: syslog (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: ifcfg.log (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details
File: packaging.log (deleted)
2013-11-03 13:16 UTC, A.J. Werkman
no flags Details

Description A.J. Werkman 2013-11-03 13:16:15 UTC
Version-Release number of selected component:
anaconda-20.25.5-1

The following was filed automatically by anaconda:
anaconda 20.25.5-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/ntplib.py", line 279, in request
    s.sendto(query_packet.to_data(), sockaddr)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ntp.py", line 61, in ntp_server_working
    client.request(server)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/gui/spokes/datetime_spoke.py", line 189, in _set_server_ok_nok
    server_working = ntp.ntp_server_working(self._serversStore[itr][0])
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
error: [Errno 101] Network is unreachable

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz noipv4 ip=[2001:838:3ab:1::70]::[2001:838:3ab:1::1]:64:cfl.digifarma.nl::off nameserver=2001:838:3ab:1::1 inst.stage2=hd:UUID=3cd4da1d-ffdf-4320-afb0-b375dc0d0fb8
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.6-300.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20-Beta

Comment 1 A.J. Werkman 2013-11-03 13:16:21 UTC
Created attachment 818747 [details]
File: anaconda-tb

Comment 2 A.J. Werkman 2013-11-03 13:16:24 UTC
Created attachment 818748 [details]
File: anaconda.log

Comment 3 A.J. Werkman 2013-11-03 13:16:27 UTC
Created attachment 818749 [details]
File: environ

Comment 4 A.J. Werkman 2013-11-03 13:16:31 UTC
Created attachment 818750 [details]
File: lsblk_output

Comment 5 A.J. Werkman 2013-11-03 13:16:34 UTC
Created attachment 818751 [details]
File: nmcli_dev_list

Comment 6 A.J. Werkman 2013-11-03 13:16:37 UTC
Created attachment 818752 [details]
File: os_info

Comment 7 A.J. Werkman 2013-11-03 13:16:41 UTC
Created attachment 818753 [details]
File: program.log

Comment 8 A.J. Werkman 2013-11-03 13:16:45 UTC
Created attachment 818754 [details]
File: storage.log

Comment 9 A.J. Werkman 2013-11-03 13:16:49 UTC
Created attachment 818755 [details]
File: syslog

Comment 10 A.J. Werkman 2013-11-03 13:16:52 UTC
Created attachment 818756 [details]
File: ifcfg.log

Comment 11 A.J. Werkman 2013-11-03 13:16:55 UTC
Created attachment 818757 [details]
File: packaging.log

Comment 12 A.J. Werkman 2013-11-03 13:41:35 UTC
This error happens when NIC is only configured with IPv6 and without IPv4

Comment 13 Adam Williamson 2013-12-08 23:35:27 UTC
Looks like the geoip stuff fails in this case, but it shouldn't bring down the installer with it...

Comment 14 A.J. Werkman 2013-12-09 08:36:41 UTC
*** Bug 1017167 has been marked as a duplicate of this bug. ***

Comment 15 Adam Williamson 2013-12-09 16:08:09 UTC
possibly worth an FE.

Comment 16 Kevin Fenzi 2013-12-09 16:30:52 UTC
Note that the fedora infrastructure provided geoip service is deliberately ipv4 only. Maxmind does not provide a free ipv6 geoip-lite-city. 

So, likely in an ipv6 only env, anaconda should just skip the geoip check (since it can't reach it via ipv6 only and even if it could, it wouldn't have any ipv6 data).

Comment 17 Mike Ruckman 2013-12-09 18:35:49 UTC
Discussed in 2013-12-09 Blocker Review meeting [1]. Voted an AcceptedFreezeException. There is some sentiment that it could be promoted to a blocker if 'geoloc=0' does not work around the issue, we should ask the reporter to check.

[1] http://meetbot.fedoraproject.org/fedora-blocker-review/2013-12-09/

Comment 18 A.J. Werkman 2013-12-09 19:15:48 UTC
Crash after suggestion made in bug 1026079 comment #17. I used geoloc=0.
With a kickstart I see the crash report screen, but after a little hassitation anaconda progresses. Without a kickstart thios crash comes up.

cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz ip=[2001:838:3ab:1::70]::[2001:838:3ab:1::1]:64:cfl.digifarma.nl::off geoloc=0 nameserver=2001:838:3ab:1::1 inst.stage2=hd:UUID=39a4e5f4-19ec-4bb0-8e24-c748085ae986
hashmarkername: anaconda
kernel:         3.11.10-300.fc20.x86_64
package:        anaconda-20.25.14-1
product:        Fedora
reason:         error: [Errno 101] Network is unreachable
release:        Cannot get release name.
version:        20-TC5

Comment 19 Martin Kolman 2013-12-10 13:57:32 UTC
(In reply to A.J. Werkman from comment #18)
> Crash after suggestion made in bug 1026079 comment #17. I used geoloc=0.
> With a kickstart I see the crash report screen, but after a little
> hassitation anaconda progresses. Without a kickstart thios crash comes up.
> 
> cmdline:        /usr/bin/python  /sbin/anaconda
> cmdline_file:   BOOT_IMAGE=/images/pxeboot/vmlinuz
> ip=[2001:838:3ab:1::70]::[2001:838:3ab:1::1]:64:cfl.digifarma.nl::off
> geoloc=0 nameserver=2001:838:3ab:1::1
> inst.stage2=hd:UUID=39a4e5f4-19ec-4bb0-8e24-c748085ae986
> hashmarkername: anaconda
> kernel:         3.11.10-300.fc20.x86_64
> package:        anaconda-20.25.14-1
> product:        Fedora
> reason:         error: [Errno 101] Network is unreachable
> release:        Cannot get release name.
> version:        20-TC5

The exception is actually raised when querying NTP servers and is not related to geolocation at all. That's why even if you disable geolocation, it still crashes.

Comment 20 Kevin Fenzi 2013-12-10 14:18:08 UTC
The orig report was about geoloc... the later test was to see if geoloc=0 worked around the issue, which it did but hit the ntp thing. 

So, I think it would still be desireable to fix the geoloc issue on a ipv6 only network? Or are we assuming we want to ask all ipv6 only users to pass geoloc=0?

Comment 21 Martin Kolman 2013-12-10 14:55:03 UTC
(In reply to Kevin Fenzi from comment #20)
> The orig report was about geoloc... the later test was to see if geoloc=0
> worked around the issue, which it did but hit the ntp thing. 
> 
> So, I think it would still be desireable to fix the geoloc issue on a ipv6
> only network? Or are we assuming we want to ask all ipv6 only users to pass
> geoloc=0?

Yes, it was reported against geoloc, but incorrectly. Quoting the traceback from first comment:

<snip>
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/ntplib.py", line 279, in request
    s.sendto(query_packet.to_data(), sockaddr)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ntp.py", line 61, in ntp_server_working
</snip>

As you can see, the exception is being raised during a NTP server query.

BTW, I've also checked how geolocation behaves if the network interface has only a IPv6 address it works fine - just logs an error (which is correct according to comment 16), no crash or any other unexpected behavior.

Comment 22 Kevin Fenzi 2013-12-10 15:08:15 UTC
Ah, quite right. Sorry for the digression and thanks for the prompt fix. ;)

Comment 23 Adam Williamson 2013-12-10 16:43:32 UTC
yeah, looking back at the original backtrace, there is a 'Network is unreachable' error while it's doing geoloc, but the crash handler isn't invoked till 8 seconds later, right when NTP happens. So the same error is fatal to NTP but not geoloc...

Comment 24 Fedora Update System 2013-12-11 22:48:40 UTC
anaconda-20.25.15-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/anaconda-20.25.15-1.fc20

Comment 25 Fedora Update System 2013-12-12 16:31:32 UTC
Package anaconda-20.25.15-1.fc20, python-blivet-0.23.9-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing anaconda-20.25.15-1.fc20 python-blivet-0.23.9-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-23257/python-blivet-0.23.9-1.fc20,anaconda-20.25.15-1.fc20
then log in and leave karma (feedback).

Comment 26 Fedora Update System 2013-12-13 05:34:09 UTC
anaconda-20.25.15-1.fc20, python-blivet-0.23.9-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 27 Martin Kolman 2013-12-16 13:33:16 UTC
*** Bug 1043064 has been marked as a duplicate of this bug. ***


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