Make the vnf images public 79/40679/1
authorAlex Yang <yangyang1@zte.com.cn>
Wed, 30 Aug 2017 09:06:59 +0000 (17:06 +0800)
committerAlex Yang <yangyang1@zte.com.cn>
Wed, 30 Aug 2017 09:06:59 +0000 (17:06 +0800)
Openims and clearwaterims use the same ubuntu image. If the image
was createed by the openims without 'public', clearwaterims won't
create it again but cannot use the image and report 'Not Found'
error [1].

Change-Id: Ib691af2992b1de2a13f54bfa46754afba6152fd9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py
functest/opnfv_tests/vnf/ims/orchestra_openims.py

index a540599..5154dea 100644 (file)
@@ -234,7 +234,8 @@ class ClearwaterImsVnf(vnf.VnfOnBoarding):
                     ImageSettings(name=image_name,
                                   image_user='cloud',
                                   img_format='qcow2',
-                                  image_file=image_file))
+                                  image_file=image_file,
+                                  public=True))
                 image.create()
                 # self.created_resources.append(image);
 
index f8acada..4544070 100644 (file)
@@ -231,7 +231,8 @@ class OpenImsVnf(vnf.VnfOnBoarding):
                     ImageSettings(name=image_name,
                                   image_user='cloud',
                                   img_format='qcow2',
-                                  image_file=image_file))
+                                  image_file=image_file,
+                                  public=True))
                 image.create()
                 # self.created_resources.append(image);