Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

EOS-23626 : Create support.yaml for HA #548

Merged
merged 2 commits into from
Aug 20, 2021
Merged

Conversation

s-arya
Copy link
Contributor

@s-arya s-arya commented Aug 19, 2021

Problem Statement

  
  Story Ref (if any):
EOS-23626 : Create support.yaml for HA
  

Unit testing on RPM done

Yes, on single node and 3 node VM. Refer unit cases section for tests.
  

Problem Description

  
 With addition of upgrade related entries in setup.yaml, YAML parsing of setup.yaml is broken (but provisioner is capable of handling this).
Command for component specific support bundle generation is in setup.yaml
Due to broken parsing, support bundle generation is at risk and a quick remedy is required.
  

Solution

-Create support.yaml file which will have the "support_bundle" entry from setup.yaml 
-Install this support.yaml file at the same location where current setup.yaml file resides after installation.

Unit Test Cases


srvnode-1
----------
[root@ssc-vm-g2-rhev4-0626 ~]# rpm -qa | grep cortx-ha-
cortx-ha-2.0.0-2504_7e8381a.x86_64

[root@ssc-vm-g2-rhev4-0626 ~]# find /opt/seagate/cortx/ha/ -name *.yaml
/opt/seagate/cortx/ha/conf/setup.yaml
/opt/seagate/cortx/ha/conf/support.yaml

srvnode-2
----------
root@ssc-vm-g2-rhev4-0627 ~]# rpm -qa | grep cortx-ha-
cortx-ha-2.0.0-2504_7e8381a.x86_64

[root@ssc-vm-g2-rhev4-0627 ~]# find /opt/seagate/cortx/ha/ -name *.yaml
/opt/seagate/cortx/ha/conf/setup.yaml
/opt/seagate/cortx/ha/conf/support.yaml

srvnode-3 
---------
[root@ssc-vm-g2-rhev4-0628 ~]#  rpm -qa | grep cortx-ha-
cortx-ha-2.0.0-2504_7e8381a.x86_64

[root@ssc-vm-g2-rhev4-0628 ~]# find /opt/seagate/cortx/ha/ -name *.yaml
/opt/seagate/cortx/ha/conf/setup.yaml
/opt/seagate/cortx/ha/conf/support.yaml
  
 

    -Create support.yaml file which will have the "support_bundle" entry from setup.yaml and
    -Install this support.yaml file at the same location where current setup.yaml file resides after installation.

Signed-off-by: Subhash Arya <subhash.arya@seagate.com>
@welcome
Copy link

welcome bot commented Aug 19, 2021

Thanks for your contribution in opening this pull request! Now you can be rewarded with a CORTX sticker by requesting cortx sticker
In the meantime, please check out the contributing guidelines and explore other ways you can get involved.

@ajay-paratmandali
Copy link
Contributor

@sachinpunadikar Please review

    -Create support.yaml file which will have the "support_bundle" entry from setup.yaml and
    -Install this support.yaml file at the same location where current setup.yaml file resides after installation.

Signed-off-by: Subhash Arya <subhash.arya@seagate.com>
@s-arya
Copy link
Contributor Author

s-arya commented Aug 19, 2021

Updated the patch and re-ran all the unit tests in the "Unit tests section"
3-node deployment passed with latest build : http://eos-jenkins.colo.seagate.com/job/Cortx-Deployment/job/VM-Deployment-R2-3Node/760/

Copy link

@sachinpunadikar sachinpunadikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@ajaysrivas ajaysrivas merged commit fcf4197 into Seagate:main Aug 20, 2021
@welcome
Copy link

welcome bot commented Aug 20, 2021

Thanks for your contribution to CORTX! 🎉

@s-arya s-arya deleted the support-yaml branch August 20, 2021 07:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants