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

CORTX-34012: Query deployment modification with new design #893

Merged
merged 14 commits into from
Aug 26, 2022

Conversation

Pranali04796
Copy link
Contributor

@Pranali04796 Pranali04796 commented Aug 23, 2022

Signed-off-by: Pranali Ugale pranali.ugale@seagate.com

Pull Request

Problem Statement

  • Query deployment modification with new design
  • JIRA : CORTX-34012

Design

Coding

Checklist for Author

  • Coding conventions are followed and code is consistent

Testing

Checklist for Author

  • Unit and System Tests are added
  • Test Cases cover Happy Path, Non-Happy Path and Scalability
  • Testing was performed with RPM
  • Build details
    image
  • Deployment Details
    image
  1. GET TOPLOLGY:
    curl --location --request GET 'https://ssc-vm-g4-rhev4-1916.colo.seagate.com:31169/api/v2/system/topology'

{
"topology": {
"cluster_id": "b39c55a2-479e-411a-8cc0-83c5694a6718",
"version": "2.0.0-7640",
"nodes": [
{
"id": "7ba8990a85d38508ca9bac4ff516d3ea",
"version": "2.0.0-7640",
"services": [
"io"
],
"type": "data_node/0",
"storage_set": "storage-set-1",
"deployment_time": "1661333744",
"hostname": "cortx-data-g0-0.cortx-data-headless.cortx.svc.cluster.local",
"storage": [
{
"devices": {
"data": [
"/dev/sdd",
"/dev/sde"
],
"metadata": [
"/dev/sdc"
]
},
"name": "cvg-01",
"type": "ios"
}
]
},
{
"id": "7d9ee991ae6ce628a0e10294bdebaa6b",
"version": "2.0.0-7640",
"type": "ha_node",
"storage_set": "storage-set-1",
"deployment_time": "1661333716",
"hostname": "cortx-ha-headless"
},
{
"id": "aa378e768a2ba5291d786b3dc48d5650",
"version": "2.0.0-7640",
"services": [
"io"
],
"type": "data_node/1",
"storage_set": "storage-set-1",
"deployment_time": "1661333749",
"hostname": "cortx-data-g1-0.cortx-data-headless.cortx.svc.cluster.local",
"storage": [
{
"devices": {
"data": [
"/dev/sdg",
"/dev/sdh"
],
"metadata": [
"/dev/sdf"
]
},
"name": "cvg-02",
"type": "ios"
}
]
},
{
"id": "ac2f9656e38a92990522025e1f3ccaef",
"version": "2.0.0-7640",
"services": [
"rgw_s3"
],
"type": "server_node",
"storage_set": "storage-set-1",
"deployment_time": "1661333780",
"hostname": "cortx-server-0.cortx-server-headless.cortx.svc.cluster.local"
},
{
"id": "ecabccb4bced858e282f568d6bf04558",
"version": "2.0.0-7640",
"services": [
"agent"
],
"type": "control_node",
"storage_set": "storage-set-1",
"deployment_time": "1661333725",
"hostname": "cortx-control"
}
],
"storage_sets": [
{
"id": "storage-set-1",
"durability": {
"data": "1+0+0",
"metadata": "1+0+0"
}
}
],
"certificates": [
{
"subject": {
"countryName": "IN",
"stateOrProvinceName": "MH",
"localityName": "Pune",
"organizationName": "Seagate Technology",
"commonName": "seagate.com"
},
"issuer": {
"countryName": "IN",
"stateOrProvinceName": "MH",
"localityName": "Pune",
"organizationName": "Seagate Technology",
"commonName": "seagate.com"
},
"not_valid_after": "2032-03-05 09:47:00",
"not_valid_before": "2022-03-08 09:47:00",
"serial_number": 641940933613535422020029400965858427869994973022,
"version": "Version.v3",
"name": "s3.seagate.com.pem",
"type": "SSL Certificate"
}
]
}
}
image
image

image
image
image

Impact Analysis

Checklist for Author/Reviewer/GateKeeper

  • Interface change (if any) are documented
  • Side effects on other features (deployment/upgrade)
  • Dependencies on other component(s)

Review Checklist

Checklist for Author

  • JIRA number/GitHub Issue added to PR
  • PR is self reviewed
  • Jira and state/status is updated and JIRA is updated with PR link
  • Check if the description is clear and explained

Documentation

Checklist for Author

FS: CORTX K8s Deployment for LR Reference Config - Private-Cortx - Confluence (atlassian.net)

Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
@cla-bot cla-bot bot added the cla-signed label Aug 23, 2022
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
csm/conf/etc/csm/csm.conf Outdated Show resolved Hide resolved
csm/conf/etc/csm/csm.conf Outdated Show resolved Hide resolved
csm/core/agent/csm_agent.py Outdated Show resolved Hide resolved
csm/core/agent/csm_agent.py Outdated Show resolved Hide resolved
csm/core/controllers/information.py Show resolved Hide resolved
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
csm/common/certificate.py Outdated Show resolved Hide resolved
csm/conf/etc/csm/csm.conf Outdated Show resolved Hide resolved
csm/core/controllers/information.py Outdated Show resolved Hide resolved
csm/core/controllers/information.py Outdated Show resolved Hide resolved
csm/core/services/query_deployment/topology_factory.py Outdated Show resolved Hide resolved
csm/core/blogic/const.py Outdated Show resolved Hide resolved
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Copy link
Contributor

@rohitkolapkar rohitkolapkar left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
Signed-off-by: Pranali Ugale <pranali.ugale@seagate.com>
@kupranay kupranay merged commit 4ab4165 into Seagate:main Aug 26, 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.

6 participants