_get_my_ip in flags.py should not try to contact 8.8.8.8
Bug #714928 reported by
Ryan Lane
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.
To post a comment you must log in.
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?