minor change to increase log information 50/1950/2
authorPablo Montes Moreno <pablo.montesmoreno@telefonica.com>
Tue, 20 Jun 2017 08:49:58 +0000 (10:49 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 23 Jun 2017 08:56:37 +0000 (10:56 +0200)
Change-Id: Icbb252efd959f7accfd44401c8db7fa24f4981d8
Signed-off-by: Pablo Montes Moreno <pablo.montesmoreno@telefonica.com>
osm_ro/vimconn_openstack.py

index 3182dbe..195d7bb 100644 (file)
@@ -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'),