Remove nameserver lookup dependency from Cisco ML2 CollectMacConfig.
authortiswanso <tiswanso@cisco.com>
Tue, 22 Sep 2015 20:57:20 +0000 (16:57 -0400)
committertiswanso <tiswanso@cisco.com>
Wed, 23 Sep 2015 02:51:05 +0000 (22:51 -0400)
commita0240e4e6ad9916641256e88eabf1d1e3e5c83a0
treeb9988a5c422935d5bbc1604bee3620341af93015
parent8e7a13ebe898a9f6a94bf77d095a681ec744e719
Remove nameserver lookup dependency from Cisco ML2 CollectMacConfig.

The collection of hostname to MAC mappings done in AllNodesPostDeploy
uses 'hostname -f' to get the FQDN for each node.  This form
of the command causes a nameserver lookup for the domain name.  A
timing issue has been seen where the hostname lookup fails due to
the nameserver not having the mapping yet.  The solution is to
hardcode the domain to 'localdomain' as is done in a few other
patches--ie. see controller-puppet.yaml.

Change-Id: Ibea50fcc6b9f22ca163ff063e0dc9ca69dff5f34
puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml