<!-- 
RSS generated by JIRA (9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1) at Sat Feb 10 06:02:23 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Akraino JIRA</title>
    <link>https://jira.akraino.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.5</version>
        <build-number>940005</build-number>
        <build-date>11-04-2023</build-date>
    </build-info>


<item>
            <title>[IEC-43] [IEC][SEBA] Create helm repository for combined release charts</title>
                <link>https://jira.akraino.org/browse/IEC-43</link>
                <project id="10201" key="IEC">Integrated Edge Cloud</project>
                    <description>&lt;p&gt;With the new SEBA version we have ported recently, based on CORD Platform 7.0, we have switched to using SEBA-in-a-Box from the very beginning, since it made more sense from a CI perspective.&lt;/p&gt;

&lt;p&gt;However, it&apos;s still a good idea to create and make available proper helm charts for deploying SEBA using the helm charts only, the same way Opencord releases them on &lt;a href=&quot;https://charts.opencord.org/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://charts.opencord.org/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here we are talking about creating the combined charts for cord-platform, seba and att-workflow and a corresponding helm repository. The last piece we needed to be able to do this was porting a series of images for logging and nem-monitoring, which is covered in &lt;a href=&quot;https://jira.akraino.org/browse/IEC-40&quot; title=&quot;[IEC][SEBA] Port remaining images for combined charts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;IEC-40&quot;&gt;&lt;del&gt;IEC-40&lt;/del&gt;&lt;/a&gt;. With this occasion, two helm repositories were also created using github pages, in &lt;a href=&quot;https://iecedge.github.io/helm-k8s-charts/stable/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://iecedge.github.io/helm-k8s-charts/stable/index.yaml&lt;/a&gt;&#160;and &lt;a href=&quot;https://iecedge.github.io/helm-k8s-charts/stable/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://iecedge.github.io/helm-k8s-charts/incubator/&lt;/a&gt;index.yaml, as described in &lt;a href=&quot;https://jira.akraino.org/browse/IEC-40&quot; title=&quot;[IEC][SEBA] Port remaining images for combined charts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;IEC-40&quot;&gt;&lt;del&gt;IEC-40&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;My proposal for now is to do the same thing for the &lt;a href=&quot;https://github.com/iecedge/helm-charts,&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/iecedge/helm-charts,&lt;/a&gt;&#160;and place the charts there.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11324">IEC-43</key>
            <summary>[IEC][SEBA] Create helm repository for combined release charts</summary>
                <type id="10002" iconUrl="https://jira.akraino.org/secure/viewavatar?size=xsmall&amp;avatarId=10318&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.akraino.org/images/icons/priorities/medium.svg">Medium</priority>
                        <status id="10001" iconUrl="https://jira.akraino.org/" description="">Done</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ciprian.barbu.enea">Ciprian Barbu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 27 Apr 2020 11:57:13 +0000</created>
                <updated>Thu, 14 May 2020 13:05:38 +0000</updated>
                            <resolved>Wed, 13 May 2020 09:46:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="11251" author="ciprian.barbu.enea" created="Thu, 14 May 2020 13:05:24 +0000"  >&lt;p&gt;I&apos;ve added a spreadsheet indicating the versions and structure of the combined &quot;release&quot; charts. This can be used as a reference for comparing against the older version, as indicated by the counterpart spreadsheets in &lt;a href=&quot;https://jira.akraino.org/browse/IEC-24&quot; title=&quot;[IEC][SEBA] Change SEBA deployment method to replicate upstream Opencord SIAB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;IEC-24&quot;&gt;&lt;del&gt;IEC-24&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="11247" author="ciprian.barbu.enea" created="Wed, 13 May 2020 09:17:37 +0000"  >&lt;p&gt;After making the helm repo available, I naturally went on to test that everything is ok. This means adding the corresponding helm repo and then installing the cord-platform, seba and att-workflow charts.&lt;/p&gt;

&lt;p&gt;For this I used one of the internal PODs in the ENEA lab, which was deployed with IEC Type2 platform using the Fuel Installer. The exact same thing as the deployment process in the Akraino IEC CI:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.akraino.org/job/iec-type2-deploy-fuel-baremetal-ubuntu1804-daily-master/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.akraino.org/job/iec-type2-deploy-fuel-baremetal-ubuntu1804-daily-master/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are useful step-by-step instructions in the Akraino SEBA R2 installation guide, although tailored to REC/TA:&lt;br/&gt;
&lt;a href=&quot;https://jenkins.akraino.org/job/iec-type2-deploy-fuel-baremetal-ubuntu1804-daily-master/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jenkins.akraino.org/job/iec-type2-deploy-fuel-baremetal-ubuntu1804-daily-master/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;But more to the point this meant:&lt;br/&gt;
helm repo add cord &lt;a href=&quot;https://iecedge.github.io/helm-charts/cord/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://iecedge.github.io/helm-charts/cord/&lt;/a&gt;&lt;br/&gt;
helm repo update&lt;br/&gt;
helm install -n cord-platform cord/cord-platform --version 7.2.3-dev-arm64&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Wait for all 3 CRDs to come up&lt;br/&gt;
kubectl get crd | grep -i etcd | wc -l&lt;/li&gt;
	&lt;li&gt;Also wait until all 3 kafka pods come up&lt;br/&gt;
kubectl get pods | grep -i kafka | wc -l&lt;br/&gt;
helm install -n seba cord/seba --version 2.0.0-dev-arm64&lt;/li&gt;
	&lt;li&gt;Wait until the tosca-loader pods are Completed&lt;br/&gt;
kubectl get pods --all-namespaces | grep -i tosca-loader&lt;br/&gt;
helm install -n att-workflow cord/att-workflow --version 1.3.0&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I also wanted to do some verification tests to be sure everything works fine, so I decided to install PONSim and run the tests.&lt;/p&gt;

&lt;p&gt;This is a little tricky, because PONSim is designed to work with SEBA-in-a-Box, but opencord has a guide here:&lt;br/&gt;
&lt;a href=&quot;https://guide.opencord.org/cord-7.0/profiles/seba/siab.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://guide.opencord.org/cord-7.0/profiles/seba/siab.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In my case, I used a shortcut, and used our forked automation-tools git repo:&lt;br/&gt;
&lt;a href=&quot;https://github.com/iecedge/automation-tools/tree/cord-7.0-arm64&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/iecedge/automation-tools/tree/cord-7.0-arm64&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I won&apos;t go into all the nitty-gritty details, I will upload a log file of the steps performed, but just very quick, this means faking some of the siab milestones from /tmp/milestones and then calling make stable.&lt;/p&gt;

&lt;p&gt;Finally, I called &quot;make run-tests&quot; which executed the robot tests.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;The tests were successful, 10 out of 10, so I&apos;m confident the charts are working and I will be closing this Jira issue.&lt;/p&gt;</comment>
                            <comment id="11246" author="ciprian.barbu.enea" created="Wed, 13 May 2020 08:59:34 +0000"  >&lt;p&gt;One useful thing I want to mention is that I made some errors when I first started this task and I needed to delete the release archives, but unfortunately the chart-releaser (cr) tool does not have such option. So instead I found and used this tool:&lt;a href=&quot;https://github.com/cheton/github-release-cli&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&#160;https://github.com/cheton/github-release-cli&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;But also important, after deleting the release there will still be a tag in the github repo, which must be delete otherwise when uploading a new archive, the old content will appear.&lt;/p&gt;

&lt;p&gt;Deleting a tag is as simple as &quot;git push origin --delete &amp;lt;tag&amp;gt;&quot;, where &amp;lt;tag&amp;gt; is the name of the chart uploaded, minus the .tgz extension.&lt;/p&gt;</comment>
                            <comment id="11245" author="ciprian.barbu.enea" created="Wed, 13 May 2020 08:56:45 +0000"  >&lt;p&gt;Making a helm repository in github is described nicely in this tutorial:&lt;br/&gt;
&lt;a href=&quot;https://tech.paulcz.net/blog/creating-a-helm-chart-monorepo-part-1/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tech.paulcz.net/blog/creating-a-helm-chart-monorepo-part-1/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I started out by creating a branch called gh-pages and removed all the content to get a clean, empty view.&lt;/p&gt;

&lt;p&gt;I then started creating the required charts for the cord-platform and seba set of charts, using the information in &lt;a href=&quot;https://jira.akraino.org/browse/IEC-24&quot; title=&quot;[IEC][SEBA] Change SEBA deployment method to replicate upstream Opencord SIAB&quot; class=&quot;issue-link&quot; data-issue-key=&quot;IEC-24&quot;&gt;&lt;del&gt;IEC-24&lt;/del&gt;&lt;/a&gt; to determine the outer-most dependency charts.&lt;/p&gt;

&lt;p&gt;For example, for cord-platform, this means creating the charts for onos, logging, nem-monitoring and xos-core. The other two, kafka and etcd-operator, are hosted on the helm-k8s-charts repo created as part of &lt;a href=&quot;https://jira.akraino.org/browse/IEC-40&quot; title=&quot;[IEC][SEBA] Port remaining images for combined charts&quot; class=&quot;issue-link&quot; data-issue-key=&quot;IEC-40&quot;&gt;&lt;del&gt;IEC-40&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;All the chart requirements need to be pushed to the newly created helm repo, before attempting to create the cord-platform or seba charts, because this time we ensure that the requirements.yaml file in these set of charts point to the helm repo just created. Also important, before calling &quot;helm package &amp;lt;chart&amp;gt; &amp;lt;destination&amp;gt;&quot;, the chart requirements must be solved by calling &quot;helm dep update&quot;, so this is why I first pushed the requirements and then created the combined charts.&lt;/p&gt;

&lt;p&gt;This is also visible by looking at the commit history on the gh-pages branch:&#160;&lt;br/&gt;
&lt;a href=&quot;https://github.com/iecedge/helm-charts/commits/gh-pages&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/iecedge/helm-charts/commits/gh-pages&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;As described in the the guide I first mentioned, the helm repo comes into effect first by pushing the chart archives to the repo release archive and then by creating the index.yaml and pushing it to the gh-pages branch.&lt;/p&gt;

&lt;p&gt;So, after creating the 3 set of charts and pushing all the required files to the github, the final form of the index.yaml can be seen on the github.io page:&lt;br/&gt;
&lt;a href=&quot;https://iecedge.github.io/helm-charts/cord/index.yaml&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://iecedge.github.io/helm-charts/cord/index.yaml&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="10416" name="IEC-43-logs.txt" size="957669" author="ciprian.barbu.enea" created="Wed, 13 May 2020 09:17:08 +0000"/>
                            <attachment id="10420" name="charts-release-cord-7.0-arm64.xlsx" size="19278" author="ciprian.barbu.enea" created="Thu, 14 May 2020 13:03:52 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10105" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0040c:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>