_get_my_ip in flags.py should not try to contact 8.8.8.8

Bug #714928 reported by Ryan Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Some networks do not allow connectivity to the outside world. In fact, services trying to contact the outside world are flagged for security review in some networks.

Trying to connect to 8.8.8.8 is a really bad idea. Trying network_node, or some other configurable item is likely a better idea.

Revision history for this message
Soren Hansen (soren) wrote :

It shouldn't try to connect to it all. It's a semi-randomly chosen, non-private IP used to find the public facing interface of the box. No network should be generated to that IP. Have you seen actual traffic or did you just stumble upon it in the code?

Changed in nova:
status: New → Incomplete
Revision history for this message
Ryan Lane (rlane) wrote :

Stumbled upon it when I ran into a bug, where a network unavailable exception wasn't being caught.

I'm now seeing that this is being opened as UDP, and as such, doesn't require an actual connection. I'll mark this as invalid :).

Changed in nova:
status: Incomplete → Invalid
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.