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

Tested and added name to tested by section #257

Merged
merged 3 commits into from
May 27, 2022
Merged

Conversation

hessio
Copy link
Contributor

@hessio hessio commented May 20, 2022

Signed-off-by: Patrick Hession [email protected]

Description

Tested the guide to make it is working after new release.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds new functionality)
  • Breaking change (bug fix or new feature that breaks existing functionality)
  • Third-party dependency update
  • Documentation additions or improvements
  • Code quality improvements to existing code or test additions/updates

Applicable issues

  • This change fixes an issue: #
  • This change is related to an issue: #

How was this tested?

Checklist

  • The change is tested and works locally.
  • New or changed settings in the solution YAML are documented clearly in the README.md file.
  • All commits are signed off and are in agreement with the CORTX Community DCO and CLA policy.

If this change addresses a CORTX Jira issue:

  • The title of the PR starts with the issue ID (e.g. CORTX-XXXXX:)

View rendered doc/cortx-minikube-k8s-installation.md

@hessio hessio requested a review from a team as a code owner May 20, 2022 11:38
@walterlopatka
Copy link
Contributor

Hi @hessio , I know this is just a minor update to a minor section of a document, but please get in the habit of filling out the PR template. In the case of a change like this this would include:

  • one line description
  • check the "documentation and improvements" box
  • check the "All commits are signed off" box
  • And I think you can delete all the other sections.

@hessio
Copy link
Contributor Author

hessio commented May 23, 2022

Hi @hessio , I know this is just a minor update to a minor section of a document, but please get in the habit of filling out the PR template. In the case of a change like this this would include:

  • one line description
  • check the "documentation and improvements" box
  • check the "All commits are signed off" box
  • And I think you can delete all the other sections.

Ya sure no problem.

rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Selva Nambi <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Create cluster.conf in config phase

Signed-off-by: Selvakumar <[email protected]>

* remove cluster.conf in cleanup phase

Signed-off-by: Selvakumar <[email protected]>

* Alter exception message

Signed-off-by: Selvakumar <[email protected]>

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>
Signed-off-by: Selvakumar <[email protected]>

* fix multiple imports and consmetic changes

Signed-off-by: Selvakumar <[email protected]>

* fix cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* fix cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Add config file dir in cleanup phase

Signed-off-by: Selvakumar <[email protected]>

* Remove only utils relevant conf files

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Updated template file

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
…gate#313)

* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* start and stop Messagebus rest service

Signed-off-by: Selvakumar <[email protected]>

* Shift rc by 8 bits

Signed-off-by: Selvakumar <[email protected]>

* Using SimpleProcess instead of os.system()

Signed-off-by: Selvakumar <[email protected]>

* run as sudo user

Signed-off-by: Selvakumar <[email protected]>

* Utils always runs as root, removing sudo

Signed-off-by: Selvakumar <[email protected]>

* Hadle exceptions in SimpleProcess

Signed-off-by: Selvakumar <[email protected]>

* validate root user

Signed-off-by: Selvakumar <[email protected]>

* Change single line comment

Signed-off-by: Selvakumar <[email protected]>

* Resolve codacy issue

Signed-off-by: Selvakumar <[email protected]>

* Check status of service

Signed-off-by: Selvakumar <[email protected]>

* Alter variable names

Signed-off-by: Selvakumar <[email protected]>

* Change error message

Signed-off-by: Selvakumar <[email protected]>

* Resolve codacy issue

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Add subscribe interface

Signed-off-by: Selvakumar <[email protected]>

* Resolve codacy issue

Signed-off-by: Selvakumar <[email protected]>

* Resolve codacy issue

Signed-off-by: Selvakumar <[email protected]>

* Add +1 test case to validate subscribe

Signed-off-by: Selvakumar <[email protected]>

* validate if consumer is subscribed

Signed-off-by: Selvakumar <[email protected]>

* validate producer initialisation

Signed-off-by: Selvakumar <[email protected]>

* modify ArrtibuteError to EventMessageError

Signed-off-by: Selvakumar <[email protected]>

* Add detailed multiline comments and use ConfStore skip_reload params

Signed-off-by: Selvakumar <[email protected]>

* Add testcases to validate optional params

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* CLI framework movement to pyutils: initial commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Cortxcli framework movement modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Code cleanup and Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli entry to setup.py

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli/schema files entry datafiles

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolving codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update liscence

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add common validators to pyutils

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update cli_validators.py

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changing dir name cli -> cli_framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Changing ArgumentError->CliError

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Move cli_validators to validator directory

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding provider classes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding unit testcases for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolvinf comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Rename test cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue  resolve

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* codacy iissue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor change

* Test commit

Signed-off-by: root <[email protected]>

* Update users.json

* Adding v_format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Added unittestcases for Format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Removed format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
Co-authored-by: Selva Nambi <[email protected]>
Co-authored-by: root <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Resolve merge conflicts

Signed-off-by: Selvakumar <[email protected]>

* Implement rest interface for IEM

Signed-off-by: Selvakumar <[email protected]>

* Alter MessageBus Rest interface

Signed-off-by: Selvakumar <[email protected]>

* import relative paths

Signed-off-by: Selvakumar <[email protected]>

* Initialise status_code on exception

Signed-off-by: Selvakumar <[email protected]>

* Resolve init conflict

Signed-off-by: Selvakumar <[email protected]>

* Changed to standard indendation

Signed-off-by: Selvakumar <[email protected]>

* Include script for test cases

Signed-off-by: Selvakumar <[email protected]>

* Revert .service file changes

Signed-off-by: Selvakumar <[email protected]>

* Revert .service file changes

Signed-off-by: Selvakumar <[email protected]>

* path to start utils server

Signed-off-by: Selvakumar <[email protected]>

* Rename test script

Signed-off-by: Selvakumar <[email protected]>

* Change rest_server to utils_server

Signed-off-by: Selvakumar <[email protected]>

* Change rest_server to utils_server

Signed-off-by: Selvakumar <[email protected]>

* Change rest_server to utils_server

Signed-off-by: Selvakumar <[email protected]>

* Change RestHandler to RequestHandler

Signed-off-by: Selvakumar <[email protected]>

* Change RestHandler to RequestHandler

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
rohit-k-dwivedi pushed a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* CLI framework movement to pyutils: initial commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Cortxcli framework movement modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Code cleanup and Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli entry to setup.py

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli/schema files entry datafiles

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolving codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update liscence

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add common validators to pyutils

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update cli_validators.py

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changing dir name cli -> cli_framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Changing ArgumentError->CliError

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Move cli_validators to validator directory

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding provider classes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding unit testcases for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolvinf comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Rename test cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue  resolve

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* codacy iissue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor change

* Test commit

Signed-off-by: root <[email protected]>

* Update users.json

* Adding v_format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Added unittestcases for Format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Revert "Addressing comments"

This reverts commit 45d5830e16939360293512e6f41f13d364ce06ae.

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Supportbundle movement to pyutils:First commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor changes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification in utils-post-install script

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Improved logic for replacing instapath to build script

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding rsyslog config for support bundle

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding supportbundle rsyslog config

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changed support-bundle->support and other PR comments fixes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Copy sample file to cluster.conf and modify main file

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix for getting install path

Signed-off-by: Udayan Yaragattikar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
Co-authored-by: Selva Nambi <[email protected]>
Co-authored-by: root <[email protected]>
rohit-k-dwivedi added a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
…(#387)

* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Resolve merge conflicts

Signed-off-by: Selvakumar <[email protected]>

* Resolve merge conflicts

Signed-off-by: Selvakumar <[email protected]>

* resolve conflict in errors.py

Signed-off-by: Selvakumar <[email protected]>

* Providing IEM CLI interface (Seagate#296)

implented iem to be utilized by CLI

Signed-off-by: rohit-k-dwivedi <[email protected]>

* EOS-20937: Discovery Lib - Add store url argument support, Handle Static store url and Move mocked data to test package (Seagate#339)

* EOS-20937: Add store url argument in generate node health

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Move mocked health data under test package

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Add unittests

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Solution based resource health provider

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Handling file persmission exception and renaming dm reference

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Resolve module import issue

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Use errno.ENOENT for module not found

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Rename lr_r2 to LR2

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Update README.md: Correcting RPM version (Seagate#348)

This existing README has this following line: `./jenkins/build.sh -v 2.0.0 -b 2` which will generate these following rpms:
```sh
cortx-py-utils-2.0.0-2_4e0eede.src.rpm
cortx-py-utils-2.0.0-2_4e0eede.noarch.rpm
cortx-py-utils-2.0.0.tar.gz
```

However, when installing the RPM, the current script will look for version 1.0.0: `yum install -y cortx-py-utils-1.0.0-1.noarch.rpm`, which does not exist. Also, installing rpm should be executed by root. Therefore, the updated script should be: `sudo yum install -y cortx-py-utils-*.noarch.rpm`

Noted that this new input arg is utilizing `*` regex so that it can install any RPM regardless of the future version that will be generated.

Signed-off-by: Daniar Kurniawan <[email protected]>

Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-20963 - Updated conf_cli.py for diff of all the keys between two files (Seagate#324)

* Updated conf_cli.py for diff of all the keys between two files

Signed-off-by: Balaji Ramachandran <[email protected]>

* Removed white space

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated as per Ujjwal instructions

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated test_conf_cli.py for diff keys

Signed-off-by: -admin <[email protected]>

* Corrected the whitespace test_conf_cli.py

Signed-off-by: -admin <[email protected]>

* Updated test_conf_cli.py

Signed-off-by: -admin <[email protected]>

* Updated with index correction

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated conf_cli.pypwd

Signed-off-by: Balaji Ramachandran <[email protected]>

* Resolved Conflicts

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated with index in conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated string2 value

Signed-off-by: Balaji Ramachandran <[email protected]>

* Fixed codacy conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated test_conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

Co-authored-by: -admin <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* Added root permission for build, install and uninstall (Seagate#350)

* Updated README.md

Signed-off-by: Parayya Vastrad <[email protected]>

* Updated README.md

Signed-off-by: Parayya Vastrad <[email protected]>

* Revert "Added root permission for build, install and uninstall (Seagate#350)" (Seagate#354)

This reverts commit 9a4bbb2.

* EOS-20346: Support Bundle Movement to Pyutils (Seagate#333)

* CLI framework movement to pyutils: initial commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Cortxcli framework movement modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Code cleanup and Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli entry to setup.py

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli/schema files entry datafiles

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolving codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update liscence

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add common validators to pyutils

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update cli_validators.py

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changing dir name cli -> cli_framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Changing ArgumentError->CliError

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Move cli_validators to validator directory

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding provider classes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding unit testcases for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolvinf comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Rename test cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue  resolve

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* codacy iissue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor change

* Test commit

Signed-off-by: root <[email protected]>

* Update users.json

* Adding v_format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Added unittestcases for Format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Revert "Addressing comments"

This reverts commit 45d5830e16939360293512e6f41f13d364ce06ae.

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Supportbundle movement to pyutils:First commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor changes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification in utils-post-install script

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Improved logic for replacing instapath to build script

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding rsyslog config for support bundle

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding supportbundle rsyslog config

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changed support-bundle->support and other PR comments fixes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Copy sample file to cluster.conf and modify main file

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix for getting install path

Signed-off-by: Udayan Yaragattikar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
Co-authored-by: Selva Nambi <[email protected]>
Co-authored-by: root <[email protected]>

* Bugfix for main build failure (Seagate#355)

* Bugfix for main build failure

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Bug fix for main build failure

* EOS-20261: Rest server, IEM | Logging - Message server and IEM should log all its activities. (Seagate#329)

* Added log to IEM server

Signed-off-by: Parayya Vastrad <[email protected]>

* Modified log for IEM

Signed-off-by: Parayya Vastrad <[email protected]>

* removed debug testing

Signed-off-by: Parayya Vastrad <[email protected]>

* Reduced logs- moved to debug

Signed-off-by: Parayya Vastrad <[email protected]>

* Conflict cortx.conf.sample

Signed-off-by: Parayya Vastrad <[email protected]>

* Worked on comments

Signed-off-by: Parayya Vastrad <[email protected]>

Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-20902: SimpleProcess().run() produces incorrect output/ does not split the cmd string correctly (Seagate#338)

* Split using shlex for correct splitting

Signed-off-by: Parayya Vastrad <[email protected]>

* Codecy issue

Signed-off-by: Parayya Vastrad <[email protected]>

* Added shlex splitting to PipedProcess

Signed-off-by: Parayya Vastrad <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-20737 get_keys should iterate in lists to get complete key structure (Seagate#322)

* EOS-20737 get_keys iteration in lists

This is an add-on requirement for get_keys method in confstore.
Previously the get_keys method was not iterating through the
lists due to which the key structre generated by get_method was
limited till the parent of the list.

Signed-off-by: Rahul Tripathi <[email protected]>

* Update kv_payload.py

* EOS-20737 get_keys iteration in lists

This is an add-on requirement for get_keys method in confstore.
Previously the get_keys method was not iterating through the
lists due to which the key structre generated by get_method was
limited till the parent of the list.

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Sachin Punadikar <[email protected]>

* temp

Signed-off-by: Selvakumar <[email protected]>

* change timeout of blocking call to reduce cpu utilization

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflict

Signed-off-by: Selvakumar <[email protected]>

* Add sapces as per Coding standard

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
Co-authored-by: rohit-k-dwivedi <[email protected]>
Co-authored-by: mariyappanp <[email protected]>
Co-authored-by: Daniar Heri Kurniawan <[email protected]>
Co-authored-by: Balaji Ramachandran <[email protected]>
Co-authored-by: -admin <[email protected]>
Co-authored-by: Parayya Vastrad <[email protected]>
Co-authored-by: root <[email protected]>
rohit-k-dwivedi added a commit to rohit-k-dwivedi/cortx-k8s that referenced this pull request May 24, 2022
* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Resolve merge conflicts

Signed-off-by: Selvakumar <[email protected]>

* Resolve merge conflicts

Signed-off-by: Selvakumar <[email protected]>

* resolve conflict in errors.py

Signed-off-by: Selvakumar <[email protected]>

* Providing IEM CLI interface (Seagate#296)

implented iem to be utilized by CLI

Signed-off-by: rohit-k-dwivedi <[email protected]>

* EOS-20937: Discovery Lib - Add store url argument support, Handle Static store url and Move mocked data to test package (Seagate#339)

* EOS-20937: Add store url argument in generate node health

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Move mocked health data under test package

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Add unittests

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Solution based resource health provider

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Handling file persmission exception and renaming dm reference

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Resolve module import issue

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Use errno.ENOENT for module not found

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Rename lr_r2 to LR2

Signed-off-by: MARIYAPPAN PONNUSAMY <[email protected]>

* Update README.md: Correcting RPM version (Seagate#348)

This existing README has this following line: `./jenkins/build.sh -v 2.0.0 -b 2` which will generate these following rpms:
```sh
cortx-py-utils-2.0.0-2_4e0eede.src.rpm
cortx-py-utils-2.0.0-2_4e0eede.noarch.rpm
cortx-py-utils-2.0.0.tar.gz
```

However, when installing the RPM, the current script will look for version 1.0.0: `yum install -y cortx-py-utils-1.0.0-1.noarch.rpm`, which does not exist. Also, installing rpm should be executed by root. Therefore, the updated script should be: `sudo yum install -y cortx-py-utils-*.noarch.rpm`

Noted that this new input arg is utilizing `*` regex so that it can install any RPM regardless of the future version that will be generated.

Signed-off-by: Daniar Kurniawan <[email protected]>

Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-20963 - Updated conf_cli.py for diff of all the keys between two files (Seagate#324)

* Updated conf_cli.py for diff of all the keys between two files

Signed-off-by: Balaji Ramachandran <[email protected]>

* Removed white space

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated as per Ujjwal instructions

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated test_conf_cli.py for diff keys

Signed-off-by: -admin <[email protected]>

* Corrected the whitespace test_conf_cli.py

Signed-off-by: -admin <[email protected]>

* Updated test_conf_cli.py

Signed-off-by: -admin <[email protected]>

* Updated with index correction

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated conf_cli.pypwd

Signed-off-by: Balaji Ramachandran <[email protected]>

* Resolved Conflicts

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated with index in conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated string2 value

Signed-off-by: Balaji Ramachandran <[email protected]>

* Fixed codacy conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

* Updated test_conf_cli.py

Signed-off-by: Balaji Ramachandran <[email protected]>

Co-authored-by: -admin <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* Added root permission for build, install and uninstall (Seagate#350)

* Updated README.md

Signed-off-by: Parayya Vastrad <[email protected]>

* Updated README.md

Signed-off-by: Parayya Vastrad <[email protected]>

* Revert "Added root permission for build, install and uninstall (Seagate#350)" (Seagate#354)

This reverts commit 9a4bbb2.

* EOS-20346: Support Bundle Movement to Pyutils (Seagate#333)

* CLI framework movement to pyutils: initial commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Cortxcli framework movement modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Code cleanup and Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli entry to setup.py

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding cli/schema files entry datafiles

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolving codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update liscence

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add common validators to pyutils

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Update cli_validators.py

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Add RestCLient class consumable for Rest calls

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changing dir name cli -> cli_framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* MessageBus: Rest Interface using aiohttp (Seagate#257)

* EOS-20462: Adding rsyslog service restart. (Seagate#286)

* Adding rsyslog service restart

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix service handler

Signed-off-by: Udayan Yaragattikar <[email protected]>

* reverting the change

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

* Resolving codacy issue

Co-authored-by: Sachin Punadikar <[email protected]>

* MessageBus: Rest Interface using aiohttp

This commit incorporated all the changes of PR 254.
And a few modifications as well.

Signed-off-by: Rahul Tripathi <[email protected]>

* Creating error class

Signed-off-by: Rahul Tripathi <[email protected]>

* Revert "Creating error class"

This reverts commit e7675f6a3add2c4d5935e08bb30812e373846bcd.

* Fixes with some cosmetic changes

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-16256: Instantiation of Event message and its attributes (Seagate#278)

* Implementation of Iem set and print method

Signed-off-by: Selvakumar <[email protected]>

* Change copyright year

Signed-off-by: Selvakumar <[email protected]>

* Change in class interfaces

Signed-off-by: Selvakumar <[email protected]>

* Cosmetic changes

Signed-off-by: Selvakumar <[email protected]>

* Implemented send and receive

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Change hex values to string and method parameters

Signed-off-by: Selvakumar <[email protected]>

* Initialise client in init by a bool parameter

Signed-off-by: Selvakumar <[email protected]>

* Remove unneccesary validation

Signed-off-by: Selvakumar <[email protected]>

* Added test code and Derived Error from UtilsError

Signed-off-by: Selvakumar <[email protected]>

* Update Multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Defined Alert schema and added more testcases

Signed-off-by: Selvakumar <[email protected]>

* Modify BaseError to UtilsError

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* fix codacy issues

Signed-off-by: Selvakumar <[email protected]>

* change multiline comments

Signed-off-by: Selvakumar <[email protected]>

* Make alert schema consistent

Signed-off-by: Selvakumar <[email protected]>

* Resolve conflicting files

Signed-off-by: Selvakumar <[email protected]>

* Changing ArgumentError->CliError

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Move cli_validators to validator directory

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding provider classes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding unit testcases for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolvinf comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Rename test cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing  comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue  resolve

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modificattions for cli framework

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* codacy iissue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* minor change

* Test commit

Signed-off-by: root <[email protected]>

* Update users.json

* Adding v_format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Added unittestcases for Format validator

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Resolve codacy issue

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issue resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Revert "Addressing comments"

This reverts commit 45d5830e16939360293512e6f41f13d364ce06ae.

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Supportbundle movement to pyutils:First commit

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor changes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modification in utils-post-install script

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Improved logic for replacing instapath to build script

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Minor modifications

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding rsyslog config for support bundle

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Adding supportbundle rsyslog config

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Changed support-bundle->support and other PR comments fixes

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Addressing comments

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Copy sample file to cluster.conf and modify main file

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Codacy issues resolved

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Fix for getting install path

Signed-off-by: Udayan Yaragattikar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
Co-authored-by: Selva Nambi <[email protected]>
Co-authored-by: root <[email protected]>

* Bugfix for main build failure (Seagate#355)

* Bugfix for main build failure

Signed-off-by: Udayan Yaragattikar <[email protected]>

* Bug fix for main build failure

* EOS-20261: Rest server, IEM | Logging - Message server and IEM should log all its activities. (Seagate#329)

* Added log to IEM server

Signed-off-by: Parayya Vastrad <[email protected]>

* Modified log for IEM

Signed-off-by: Parayya Vastrad <[email protected]>

* removed debug testing

Signed-off-by: Parayya Vastrad <[email protected]>

* Reduced logs- moved to debug

Signed-off-by: Parayya Vastrad <[email protected]>

* Conflict cortx.conf.sample

Signed-off-by: Parayya Vastrad <[email protected]>

* Worked on comments

Signed-off-by: Parayya Vastrad <[email protected]>

Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-20902: SimpleProcess().run() produces incorrect output/ does not split the cmd string correctly (Seagate#338)

* Split using shlex for correct splitting

Signed-off-by: Parayya Vastrad <[email protected]>

* Codecy issue

Signed-off-by: Parayya Vastrad <[email protected]>

* Added shlex splitting to PipedProcess

Signed-off-by: Parayya Vastrad <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>

* EOS-20737 get_keys should iterate in lists to get complete key structure (Seagate#322)

* EOS-20737 get_keys iteration in lists

This is an add-on requirement for get_keys method in confstore.
Previously the get_keys method was not iterating through the
lists due to which the key structre generated by get_method was
limited till the parent of the list.

Signed-off-by: Rahul Tripathi <[email protected]>

* Update kv_payload.py

* EOS-20737 get_keys iteration in lists

This is an add-on requirement for get_keys method in confstore.
Previously the get_keys method was not iterating through the
lists due to which the key structre generated by get_method was
limited till the parent of the list.

Signed-off-by: Rahul Tripathi <[email protected]>

Co-authored-by: Sachin Punadikar <[email protected]>

* Add host_id and cluster_id to IEM alert message

Signed-off-by: Selvakumar <[email protected]>

* resolve conflict

Signed-off-by: Selvakumar <[email protected]>

* change cluster_id to problem_cluster_id

Signed-off-by: Selvakumar <[email protected]>

* fix indendation

Signed-off-by: Selvakumar <[email protected]>

* Move host_id from location to source

Signed-off-by: Selvakumar <[email protected]>

* Maintain chronological order

Signed-off-by: Selvakumar <[email protected]>

* Add cluster entries in TMPL files

Signed-off-by: Selvakumar <[email protected]>

* Accept host as a parameter

Signed-off-by: Selvakumar <[email protected]>

* change host_id to host

Signed-off-by: Selvakumar <[email protected]>

* change dict key to problem_host

Signed-off-by: Selvakumar <[email protected]>

* change type of cluster_id to str

Signed-off-by: Selvakumar <[email protected]>

* coding standard

Signed-off-by: Selvakumar <[email protected]>

Co-authored-by: rahul-tripathi-git <[email protected]>
Co-authored-by: Udayan Yaragattikar <[email protected]>
Co-authored-by: Sachin Punadikar <[email protected]>
Co-authored-by: rohit-k-dwivedi <[email protected]>
Co-authored-by: mariyappanp <[email protected]>
Co-authored-by: Daniar Heri Kurniawan <[email protected]>
Co-authored-by: Balaji Ramachandran <[email protected]>
Co-authored-by: -admin <[email protected]>
Co-authored-by: Parayya Vastrad <[email protected]>
Co-authored-by: root <[email protected]>
@cla-bot cla-bot bot added the cla-signed label May 26, 2022
Copy link
Contributor

@osowski osowski left a comment

Choose a reason for hiding this comment

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

lgtm

@keithpine keithpine merged commit 98d5353 into integration May 27, 2022
@osowski osowski deleted the hessio-patch-1 branch June 2, 2022 15:00
walterlopatka pushed a commit that referenced this pull request Jun 3, 2022
Signed-off-by: Patrick Hession <[email protected]>

Co-authored-by: Rick O <[email protected]>
@keithpine keithpine modified the milestone: v0.7.0 Jun 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants