<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:957757228;
mso-list-type:hybrid;
mso-list-template-ids:340142532 750407744 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:%1-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I’m executing on of the test cases of the `automated-pytest-suite` [1] (testcases/functional/z_containers/test_custom_containers.py::test_upload_charts_via_helm_upload) to test uploading helm charts and deploy
an application. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> First time I executed failed due was not able to download images from <b>Image gwaines/hellokitty:v1.0</b>, that is normal due we don’t have access to the internet, so I modified the values on
the chart to point to our local registry delete the application and re executed the test, but still failing, is still searching at <b>Image gwaines/hellokitty:v1.0 </b>and not taking the changes that I made to the chart. Someone can help on this, why are
the changes not being applied? </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">Note: If I do a `<b>sudo docker pull : <REGISTRY_IP>/gwaines/hellokitty:v1.0</b>` image is pulled correctly so I’m not sure why on the chart is not taking the changes that I made adding the REGISTRY_IP</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#2F5597">---- Modification on the chart (on values.yaml) on both tgz files -----</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">images:</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> pullPolicy: IfNotPresent</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> tags:</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> hellokitty: <REGISTRY_IP>/gwaines/hellokitty:v1.0</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> </span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#2F5597"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#2F5597">---- original values.yaml file
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"># Default values for hello-kitty.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"># This is a YAML-formatted file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"># Declare variables to be passed into your templates.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">replicaCount: 1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">images:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> pullPolicy: IfNotPresent<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> tags:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> hellokitty: gwaines/hellokitty:v1.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">service:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> name: hellokitty<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> type: NodePort<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> externalPort: 55555<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> internalPort: 80<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">resources:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> limits:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> cpu: 100m<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> memory: 128Mi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> requests:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> cpu: 100m<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> memory: 128Mi<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:red">---- ERROR -----</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.518 1889368 INFO sysinv.helm.manifest_base [req-c06a3066-303f-42ea-91db-f8e989efbec4 admin admin] Delete manifest file /opt/platform/armada/19.08/hello-kitty/1.0/hello-kitty-manifest-del.yaml
generated</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.519 1889368 INFO sysinv.conductor.kube_app [-] Application overrides generated.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.631 1889368 INFO sysinv.conductor.kube_app [-] Image gwaines/hellokitty:v1.0 download started from public/private registry</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.633 1889368 ERROR sysinv.conductor.kube_app [-] Image gwaines/hellokitty:v1.0 download failed from public/private registry: 'module' object has no attribute 'SERVICE_PARAM_NAME_DOCKER_DOCKER_REGISTRY'</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 ERROR sysinv.conductor.kube_app [-] Deployment of application hello-kitty (1.0) failed: failed to download one or more image(s).</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app Traceback (most recent call last):</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app File "/usr/lib64/python2.7/site-packages/sysinv/conductor/kube_app.py", line 1812, in perform_app_apply</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app self._download_images(app)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app File "/usr/lib64/python2.7/site-packages/sysinv/conductor/kube_app.py", line 763, in _download_images</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app reason=reason)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app KubeAppApplyFailure: Deployment of application hello-kitty (1.0) failed: failed to download one or more image(s).</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.634 1889368 TRACE sysinv.conductor.kube_app</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.910 1889368 ERROR sysinv.conductor.kube_app [-] Application apply aborted!.</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 INFO sysinv.conductor.kube_app [-] Deregister the abort status of app hello-kitty</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 ERROR sysinv.openstack.common.rpc.amqp [req-c06a3066-303f-42ea-91db-f8e989efbec4 admin admin] Exception during message handling</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp Traceback (most recent call last):</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp File "/usr/lib64/python2.7/site-packages/sysinv/openstack/common/rpc/amqp.py", line 438, in _process_data</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp **args)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp File "/usr/lib64/python2.7/site-packages/sysinv/openstack/common/rpc/dispatcher.py", line 172, in dispatch</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp File "/usr/lib64/python2.7/site-packages/sysinv/conductor/manager.py", line 10172, in perform_app_apply</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp app_applied = self._app.perform_app_apply(rpc_app, mode)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp File "/usr/lib64/python2.7/site-packages/sysinv/conductor/kube_app.py", line 1812, in perform_app_apply</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp self._download_images(app)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp File "/usr/lib64/python2.7/site-packages/sysinv/conductor/kube_app.py", line 763, in _download_images</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp reason=reason)</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp KubeAppApplyFailure: Deployment of application hello-kitty (1.0) failed: failed to download one or more image(s).</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:black">2019-09-11 12:04:15.911 1889368 TRACE sysinv.openstack.common.rpc.amqp</span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1"><a href="https://opendev.org/starlingx/test/src/branch/master/automated-pytest-suite">https://opendev.org/starlingx/test/src/branch/master/automated-pytest-suite</a><o:p></o:p></li></ol>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Regards<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Jose<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-- <o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>