<!-- 
RSS generated by JIRA (9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1) at Sat Feb 10 06:04:36 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>[REC-39] Storage check</title>
                <link>https://jira.akraino.org/browse/REC-39</link>
                <project id="10202" key="REC">Radio Edge Cloud</project>
                    <description>&lt;p&gt;&lt;b&gt;Testing Resiliency of PVC using&lt;/b&gt; &lt;b&gt;Ceph&lt;/b&gt; &lt;b&gt;RBD PV&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Create a Ceph RBD PV&lt;br/&gt;
 Bind that PV to POD with the PVC&lt;br/&gt;
 Verify the POD is consuming a block storage Ceph RBD PV&lt;br/&gt;
 Kill the POD&lt;br/&gt;
 Reattach the Ceph RBD PV to the newly recreated POD with the PVC&lt;br/&gt;
 Delete the PV (ensuring that the underling RBD image goes away)&lt;br/&gt;
 Kill and restart the POD and check for the resiliency of the PVC&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.akraino.org/browse/REC-34&quot; title=&quot;test registry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;REC-34&quot;&gt;REC-34&lt;/a&gt; is testing &lt;b&gt;Ceph Object Store Back-end&lt;/b&gt; by&lt;/p&gt;

&lt;p&gt;1. .Storing Docker image&lt;/p&gt;

&lt;p&gt;2. Retrieving Docker image&lt;/p&gt;

&lt;p&gt;3. Deleting Docker image&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="10608">REC-39</key>
            <summary>Storage check</summary>
                <type id="10003" iconUrl="https://jira.akraino.org/secure/viewavatar?size=xsmall&amp;avatarId=10316&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="10600">REC-31</parent>
                                    <priority id="3" iconUrl="https://jira.akraino.org/images/icons/priorities/medium.svg">Medium</priority>
                        <status id="3" iconUrl="https://jira.akraino.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ns156u">Naga Sugguna</assignee>
                                    <reporter username="dd7022">Deepak Kataria</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Aug 2019 18:19:48 +0000</created>
                <updated>Tue, 22 Oct 2019 15:56:58 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="10813" author="ns156u" created="Tue, 22 Oct 2019 15:56:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://gerrit.akraino.org/r/c/ta/cloudtaf/+/1809/2/testcases/basic_func_tests/tc_008_storage_check.py&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.akraino.org/r/c/ta/cloudtaf/+/1809/2/testcases/basic_func_tests/tc_008_storage_check.py&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10711" author="dd7022" created="Fri, 18 Oct 2019 17:49:08 +0000"  >&lt;p&gt;Naga is waiting for review.&lt;/p&gt;</comment>
                            <comment id="10704" author="ns156u" created="Thu, 17 Oct 2019 16:42:46 +0000"  >&lt;p&gt;&lt;a href=&quot;https://gerrit.akraino.org/r/c/ta/cloudtaf/+/1800&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.akraino.org/r/c/ta/cloudtaf/+/1800&lt;/a&gt; &lt;/p&gt;</comment>
                            <comment id="10703" author="ns156u" created="Thu, 17 Oct 2019 15:14:56 +0000"  >&lt;p&gt;Can I assume Ceph is already installed?&lt;br/&gt;
Can I assume RBD is also installed as part of Ceph?&lt;br/&gt;
Can I assume Retain/Delete StorageClass(s) provisioned with RBD? If TestCase has to create, how to get credentials and pool details of Ceph?&lt;/p&gt;</comment>
                            <comment id="10700" author="dd7022" created="Wed, 16 Oct 2019 17:44:53 +0000"  >&lt;p&gt;Naga is working on the patch. He will commit when it is completed.&lt;/p&gt;</comment>
                            <comment id="10692" author="dd7022" created="Tue, 15 Oct 2019 17:48:22 +0000"  >&lt;p&gt;Naga is working on this to-day.&lt;/p&gt;</comment>
                            <comment id="10680" author="dd7022" created="Mon, 14 Oct 2019 17:47:21 +0000"  >&lt;p&gt;Naga did not have time to work on this; he will work on test automation to complete this item&lt;/p&gt;</comment>
                            <comment id="10648" author="dd7022" created="Wed, 9 Oct 2019 18:42:42 +0000"  >&lt;p&gt;Naga working to automate these test cases.&lt;/p&gt;</comment>
                            <comment id="10642" author="ns156u" created="Tue, 8 Oct 2019 20:43:14 +0000"  >&lt;ol&gt;
	&lt;li&gt;These are the manual steps to test the ask.&lt;/li&gt;
	&lt;li&gt;&lt;/li&gt;
	&lt;li&gt;Following yaml can be used to create a PVC.&lt;br/&gt;
$ cat pvc.yaml&lt;br/&gt;
kind: PersistentVolumeClaim&lt;br/&gt;
apiVersion: v1&lt;br/&gt;
metadata:&lt;br/&gt;
  name: ceph-claim&lt;br/&gt;
spec:&lt;br/&gt;
  accessModes:     &lt;/li&gt;
&lt;/ol&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;ReadWriteOnce&lt;br/&gt;
  resources:&lt;br/&gt;
    requests:&lt;br/&gt;
      storage: 2Gi&lt;/li&gt;
&lt;/ul&gt;
&lt;ol&gt;
	&lt;li&gt;Get the persitent volument name&lt;br/&gt;
$ kubectl get pvc ceph-claim | awk &apos;NR==2
{print $3}
&lt;p&gt;&apos; &lt;/p&gt;&lt;/li&gt;
	&lt;li&gt;Describe PV to get Reclaim Policy, RBDImage, RBDPool&lt;br/&gt;
$ kubectl describe pv pvc-e6aad6b5-ffb6-422c-ae9b-0d547a9a4685&lt;br/&gt;
$ sudo rbd list -p &amp;lt;RBDPool&amp;gt; | grep &amp;lt;RBDImage&amp;gt;&lt;/li&gt;
	&lt;li&gt;Incase of Reclaim Policy:  Retain rbd list should return the image.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;This is tested on a environment where Ceph is intstalled from its packages ( not docker container or k8s pods)&lt;/p&gt;</comment>
                            <comment id="10640" author="dd7022" created="Tue, 8 Oct 2019 17:41:28 +0000"  >&lt;p&gt;Naga is working to manually test RBD installation and RBD+K8s integration. He will finalize the manual steps to-day.&lt;/p&gt;</comment>
                            <comment id="10573" author="dd7022" created="Fri, 27 Sep 2019 16:52:14 +0000"  >&lt;p&gt;In this case, we can modify the test case as follows:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Delete the PV&lt;/li&gt;
	&lt;li&gt;If the RBD image still exists:&lt;br/&gt;
 &#160;&#160;&#160; a. Check if the StorageClass mandates retention,&#160;pass TC&lt;br/&gt;
 &#160;&#160;&#160; b. Check if the StorageClass does not mandate retention, fail TC&lt;/li&gt;
	&lt;li&gt;Alternatively, if the RBD image does not exist:&lt;br/&gt;
 &#160;&#160;&#160; a. Check if the StorageClass mandates retention,&#160;fail TC&lt;br/&gt;
 &#160;&#160;&#160; b. Check if the StorageClass does not mandate retention, pass TC&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;cc: &lt;a href=&quot;https://jira.akraino.org/secure/ViewProfile.jspa?name=Levovar&quot; class=&quot;user-hover&quot; rel=&quot;Levovar&quot;&gt;Levovar&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10572" author="klengyel" created="Fri, 27 Sep 2019 11:02:39 +0000"  >&lt;p&gt;By default requested PVs retained in REC. It&apos;s controlled by the StorageClass object: &lt;a href=&quot;https://gerrit.akraino.org/r/gitweb?p=ta/caas-kubernetes.git;a=blob;f=ansible/roles/kubernetes_ceph/templates/ceph-storageclass.yaml.j2;h=d6988730ca27b7267cd17b0e4e2a5a4853c5645c;hb=HEAD#l35&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.akraino.org/r/gitweb?p=ta/caas-kubernetes.git;a=blob;f=ansible/roles/kubernetes_ceph/templates/ceph-storageclass.yaml.j2;h=d6988730ca27b7267cd17b0e4e2a5a4853c5645c;hb=HEAD#l35&lt;/a&gt;&#160;So this TC will surely fail. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.akraino.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;cc: &lt;a href=&quot;https://jira.akraino.org/secure/ViewProfile.jspa?name=Levovar&quot; class=&quot;user-hover&quot; rel=&quot;Levovar&quot;&gt;Levovar&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="10544" author="dd7022" created="Fri, 20 Sep 2019 01:35:23 +0000"  >&lt;p&gt;Thanks for your feedback. Please see clarifications below.&lt;/p&gt;

&lt;p&gt;Delete the PV (ensuring that the underling RBD image goes away) - The idea of this test is that when you delete a Ceph-backed PV, the deletion should cascade to the Ceph RBD image that implements the PV in Ceph. This is an important test because if RBD images do not go away on PV deletion, we may end up with slowly-accumulating wasted space in Ceph instance.&lt;/p&gt;

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

&lt;p&gt;&lt;a href=&quot;https://jira.akraino.org/browse/REC-34&quot; title=&quot;test registry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;REC-34&quot;&gt;REC-34&lt;/a&gt; in not related to Ceph, docker registry uses different storage backend (swift) - Thank you very much. We will provide a swift test for docker registry.&lt;/p&gt;

&lt;p&gt;&lt;font color=&quot;#000000&quot;&gt;&#160;&lt;/font&gt;&lt;/p&gt;

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

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="10542" author="klengyel" created="Thu, 19 Sep 2019 19:51:03 +0000"  >&lt;p&gt;Some points about the test case:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;About
&lt;blockquote&gt;&lt;p&gt;Delete the PV (ensuring that the underling RBD image goes away)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I am not 100% sure will work, I think deletion of a bound PV won&apos;t trigger a new PV provisioning.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.akraino.org/browse/REC-34&quot; title=&quot;test registry&quot; class=&quot;issue-link&quot; data-issue-key=&quot;REC-34&quot;&gt;REC-34&lt;/a&gt; in not related to Ceph, docker registry uses different storage backend (swift).&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|i001g7:</customfieldvalue>

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