v0.4.47 cloud-init for ssh key injection at instance-scenario-create

Change-Id: I8e7410b5952ec54f7eeaf49d6c43234a2c8cf4ff
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/httpserver.py b/httpserver.py
index 771ff1b..ce164f3 100644
--- a/httpserver.py
+++ b/httpserver.py
@@ -975,7 +975,8 @@
         #parse input data
         http_content,used_schema = format_in( instance_scenario_create_schema_v01)
         r = utils.remove_extra_items(http_content, used_schema)
-        if r is not None: print "http_post_instances: Warning: remove extra items ", r
+        if r is not None:
+            logger.warning("http_post_instances: Warning: remove extra items %s", str(r))
         data = nfvo.create_instance(mydb, tenant_id, http_content["instance"])
         return format_out(data)
     except (nfvo.NfvoException, db_base_Exception) as e: