Log the network configuration
To better troubleshooting networking issues, it is better to log the configuration of the network that is going to be created. We should have a debug statement to show at least the "options" and "ipam_options". Change-Id: Ibcf9731eb1b8b2e9c09a93a22b1af6bbdc86d528 Closes-Bug: #1695779
This commit is contained in:
@@ -82,7 +82,8 @@ class KuryrNetwork(network.Network):
|
||||
options['neutron.pool.uuid'] = v4_subnet.get('subnetpool_id')
|
||||
if v6_subnet:
|
||||
options['neutron.pool.v6.uuid'] = v6_subnet.get('subnetpool_id')
|
||||
|
||||
LOG.debug("Calling docker.create_network to create network %s, "
|
||||
"ipam_options %s, options %s", name, ipam_options, options)
|
||||
docker_network = self.docker.create_network(
|
||||
name=name,
|
||||
driver='kuryr',
|
||||
|
||||
Reference in New Issue
Block a user