orange-box postinst uses ping to test connectivity to maas.ubuntu.com

Bug #1361714 reported by David Britton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Orange Box
Fix Released
Undecided
David Britton

Bug Description

If we need connectivity to complete the installation of the package, we should probably use a tcp connection to port 80, not icmp as that is commonly blocked by firewalls.

+ run-one-until-success ping -c 10 maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
ping: unknown host maas.ubuntu.com
PING maas.ubuntu.com (91.189.89.122) 56(84) bytes of data.

--- maas.ubuntu.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 27667ms

PING maas.ubuntu.com (91.189.90.19) 56(84) bytes of data.

--- maas.ubuntu.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9070ms

PING maas.ubuntu.com (91.189.89.122) 56(84) bytes of data.

--- maas.ubuntu.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9071ms

PING maas.ubuntu.com (91.189.90.19) 56(84) bytes of data.

--- maas.ubuntu.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9072ms

PING maas.ubuntu.com (91.189.90.19) 56(84) bytes of data.

--- maas.ubuntu.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9072ms

PING maas.ubuntu.com (91.189.89.122) 56(84) bytes of data.

--- maas.ubuntu.com ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9072ms

PING maas.ubuntu.com (91.189.89.122) 56(84) bytes of data.

Tags: landscape

Related branches

David Britton (dpb)
Changed in orange-box:
assignee: nobody → David Britton (davidpbritton)
tags: added: landscape
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

This is now fixed by using nc in the /usr/bin/orange-box-test-uplink script.

Changed in orange-box:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.