From b7490b5bd885a1b2f5d872d7e2c4cd0c126e94e8 Mon Sep 17 00:00:00 2001 From: Pablo Montes Moreno Date: Tue, 20 Jun 2017 10:49:58 +0200 Subject: [PATCH] minor change to increase log information Change-Id: Icbb252efd959f7accfd44401c8db7fa24f4981d8 Signed-off-by: Pablo Montes Moreno --- osm_ro/vimconn_openstack.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osm_ro/vimconn_openstack.py b/osm_ro/vimconn_openstack.py index 3182dbe8..195d7bbc 100644 --- a/osm_ro/vimconn_openstack.py +++ b/osm_ro/vimconn_openstack.py @@ -892,6 +892,11 @@ class vimconnector(vimconn.vimconnector): raise vimconn.vimconnException('Timeout creating volumes for instance ' + name, http_code=vimconn.HTTP_Request_Timeout) + self.logger.debug("nova.servers.create({}, {}, {}, nics={}, meta={}, security_groups={}," \ + "availability_zone={}, key_name={}, userdata={}, config_drive={}, " \ + "block_device_mapping={})".format(name, image_id, flavor_id, net_list_vim, + metadata, security_groups, self.config.get('availability_zone'), + self.config.get('keypair'), userdata, config_drive, block_device_mapping)) server = self.nova.servers.create(name, image_id, flavor_id, nics=net_list_vim, meta=metadata, security_groups=security_groups, availability_zone=self.config.get('availability_zone'), -- 2.25.1