UPSTREAM: 40763: reduce log noise when aws cannot find public-ip4 metadata
@@ -27,7 +27,7 @@ import (
"sync"
"time"
- "gopkg.in/gcfg.v1"
+ gcfg "gopkg.in/gcfg.v1"
"github.com/aws/aws-sdk-go/aws"
"github.com/aws/aws-sdk-go/aws/awserr"
@@ -894,7 +894,7 @@ func (c *Cloud) NodeAddresses(name types.NodeName) ([]api.NodeAddress, error) {
if err != nil {
//TODO: It would be nice to be able to determine the reason for the failure,
// but the AWS client masks all failures with the same error description.
- glog.V(2).Info("Could not determine public IP from AWS metadata.")
+ glog.V(4).Info("Could not determine public IP from AWS metadata.")
} else {
addresses = append(addresses, api.NodeAddress{Type: api.NodeExternalIP, Address: externalIP})
}
