Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[System Test] verify cluster-wide-encryption key at clusterfull, noobaa rebuild and after noobaa db recovery #10082

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
45274e9
[System Test] verify cluster-wide-encryption key in different scenarios
nagendra202 Jul 12, 2024
923e2bb
removed empty lines
nagendra202 Jul 12, 2024
6b2c183
minor changes implemented in the code and included osd resize.
nagendra202 Sep 12, 2024
dc393b1
Merge branch 'red-hat-storage:master' into systemtest1
nagendra202 Sep 19, 2024
b08ab44
Update tests/cross_functional/system_test/test_cluster_wide_key_rotat…
nagendra202 Sep 23, 2024
4e4d500
Update tests/cross_functional/system_test/test_cluster_wide_key_rotat…
nagendra202 Sep 23, 2024
4e392e7
minor changes
nagendra202 Sep 25, 2024
c85b0e8
Bumps ACM and Submariner version for OCP 4.17 and later (#10535)
sidhant-agrawal Sep 20, 2024
b8bc833
Set cluster_kubeconfig based on the type of resource available in pro…
jilju Sep 20, 2024
e2baf00
Reduce backoff time when looking for Serviceexport (#10539)
prsurve Sep 23, 2024
0fde9e1
Revert "Remove Bluestore-rdr check (#10323)" (#10529)
prsurve Sep 23, 2024
09c3e9d
Fixes incorrect comparision for bucket metric test (#10536)
udaysk23 Sep 23, 2024
964eab7
ODF4.17 UI deployment, add 'data protection' page
OdedViner Sep 23, 2024
22ffbbd
use ocp-network-split from red-hat-storage org fork (#10505)
dahorak Sep 24, 2024
fba2685
Add multi-zone deployment for ROKS IBM Cloud
petr-balogh Sep 16, 2024
68305a6
increase timeout for MCP incase of more nodes
vavuthu Sep 24, 2024
c1971d3
Update python version requirement in doc
clacroix12 Sep 19, 2024
83ccaf7
Change acm ctx switch order (#10574)
shylesh Sep 26, 2024
937b019
Infra and tests for ODF CLI (#10277)
AviadP Sep 26, 2024
bb59a8c
Add new conf file for 'openshift-storage' cluster namespace (#10589)
yitzhak12 Sep 29, 2024
91259aa
reformatted the code in test file
nagendra202 Sep 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This is the config for IBM cloud ROKS deployment
# for 3 AZ setup.
---
ENV_DATA:
platform: 'ibm_cloud'
deployment_type: 'managed'
region: 'eu-de'
zone: 'eu-de-3'
provider: "vpc-gen2"
worker_instance_type: "bx2.16x64"
master_replicas: 0
worker_replicas: 3
worker_availability_zones:
- 'eu-de-1'
- 'eu-de-2'
- 'eu-de-3'
rhel_workers: true
# Following values needs to be set in separate config and passed to ocs-ci in
# order to deploy OCP/OCS cluster on IBM Cloud
# vpc_id: VPC ID PLACEHOLDER
# subnet_id: SUBNET ID PLACEHOLDER
# cos_instance: COS INSTANCE PLACEHOLDER
#AUTH:
# ibmcloud:
# api_key: IBM CLOUD API KEY PLACEHOLDER
# account_id: ACCOUNT ID PLACEHOLDER
# ibm_cos_access_key_id: KEY PLACEHOLDER
# ibm_cos_secret_access_key: SECRET PLACEHOLDER
#DEPLOYMENT:
# ocs_secret_dockerconfigjson: BASE64 OF QUAY SECRET PLACEHOLDER
2 changes: 2 additions & 0 deletions conf/deployment/ibmcloud/ibm_cloud_vpc_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ ENV_DATA:
worker_instance_type: "bx2.16x64"
master_replicas: 0
worker_replicas: 3
worker_availability_zones:
- 'eu-de-3'
rhel_workers: true
# Following values needs to be set in separate config and passed to ocs-ci in
# order to deploy OCP/OCS cluster on IBM Cloud
Expand Down
2 changes: 1 addition & 1 deletion conf/examples/acm_hub_unreleased_image.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
ENV_DATA:
acm_unreleased_image: "2.11.0-DOWNSTREAM-2024-05-09-04-23-50"
acm_unreleased_image: "2.12.0-DOWNSTREAM-2024-09-06-20-41-34"
2 changes: 1 addition & 1 deletion conf/examples/submariner_unreleased_image.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
ENV_DATA:
submariner_unreleased_image: "722673"
submariner_unreleased_image: "815324"
2 changes: 2 additions & 0 deletions conf/ocsci/cluster_namespace_openshift_storage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ENV_DATA:
cluster_namespace: "openshift-storage"
2 changes: 1 addition & 1 deletion conf/ocsci/submariner_downstream.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ENV_DATA:
submariner_source: "downstream"
subctl_version: "subctl-rhel9:v0.17"
subctl_version: "subctl-rhel9:v0.18"
2 changes: 1 addition & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Prerequisites

1. Python version >= 3.9.18
1. Python version >= 3.9.18 < 3.12
2. Following dependency packages for fedora/centos for successfully installing modules in virtualenv
- gcc, git, openssl-devel, python3-devel or python specific version packages
depends on Python version installed e.g. python39-devel (or similar packages for ubuntu).
Expand Down
7 changes: 7 additions & 0 deletions docs/supported_platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ But an example is pasted also here:
ENV_DATA:
vpc_id: VPC ID PLACEHOLDER
subnet_id: SUBNET ID PLACEHOLDER
# Subnet id from dict below will be used if user defines worker_availability_zones
# This is for multi zone deployment support. So If you have worker_availability_zones and
# subnet_ids_per_zone defined in credential conf it will be used instead of subnet_id.
subnet_ids_per_zone:
"eu-de-1": "PLACEHOLDER_SUBNET_ID"
"eu-de-2": "PLACEHOLDER_SUBNET_ID"
"eu-de-3": "PLACEHOLDER_SUBNET_ID"
cos_instance: COS INSTANCE PLACEHOLDER
AUTH:
ibmcloud:
Expand Down
18 changes: 5 additions & 13 deletions ocs_ci/deployment/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -1550,13 +1550,9 @@ def deploy_ocs_via_operator(self, image=None):
performance_profile = config.ENV_DATA.get("performance_profile")
if performance_profile:
cluster_data["spec"]["resourceProfile"] = performance_profile
# Bluestore-rdr for RDR greenfield deployments: 4.14 onwards until 4.16
# Bluestore-rdr for RDR greenfield deployments: 4.14 onwards
if (
(
version.VERSION_4_14
<= version.get_semantic_ocs_version_from_config()
<= version.VERSION_4_16
)
(version.get_semantic_ocs_version_from_config() >= version.VERSION_4_14)
and config.multicluster
and (config.MULTICLUSTER.get("multicluster_mode") == "regional-dr")
and config.ENV_DATA.get("rdr_osd_deployment_mode")
Expand Down Expand Up @@ -2068,13 +2064,9 @@ def deploy_ocs(self):
update_ntp_compute_nodes()
assert ceph_health_check(namespace=self.namespace, tries=60, delay=10)

# In case of RDR, check for bluestore-rdr on osds: 4.14 onwards until 4.16
# In case of RDR, check for bluestore-rdr on osds: 4.14 onwards
if (
(
version.VERSION_4_14
<= version.get_semantic_ocs_version_from_config()
<= version.VERSION_4_16
)
(version.get_semantic_ocs_version_from_config() >= version.VERSION_4_14)
and config.multicluster
and (config.MULTICLUSTER.get("multicluster_mode") == "regional-dr")
and config.ENV_DATA.get("rdr_osd_deployment_mode")
Expand Down Expand Up @@ -3750,8 +3742,8 @@ def deploy(self):
logger.info("Creating Resource DataProtectionApplication")
run_cmd(f"oc create -f {constants.DPA_DISCOVERED_APPS_PATH}")
# Only on the active hub enable managedserviceaccount-preview
acm_version = get_acm_version()
config.switch_acm_ctx()
acm_version = get_acm_version()
logger.info("Getting S3 Secret name from Ramen Config")
secret_names = self.meta_obj.get_s3_secret_names()
for secret_name in secret_names:
Expand Down
3 changes: 3 additions & 0 deletions ocs_ci/framework/conf/default_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ ENV_DATA:
multus_destination_route: "192.168.252.0/24"
multus_delete_csi_holder_pods: False

#RDR Green field
rdr_osd_deployment_mode: "greenfield"

# Assisted Installer related settings

# This section is related to upgrade
Expand Down
6 changes: 3 additions & 3 deletions ocs_ci/framework/conf/ocp_version/ocp-4.17-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ DEPLOYMENT:
ENV_DATA:
# TODO: replace with 4.17 once template is available
vm_template: "rhcos-417.94.202405291927-0-vmware.x86_64"
acm_hub_channel: release-2.11
acm_version: "2.11"
submariner_version: "0.17.0"
acm_hub_channel: release-2.12
acm_version: "2.12"
submariner_version: "0.19.0"
6 changes: 3 additions & 3 deletions ocs_ci/framework/conf/ocp_version/ocp-4.18-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ DEPLOYMENT:
ENV_DATA:
# TODO: replace with 4.18 once template is available
vm_template: "rhcos-417.94.202407010929-0-vmware.x86_64"
acm_hub_channel: release-2.11
acm_version: "2.11"
submariner_version: "0.17.0"
acm_hub_channel: release-2.12
acm_version: "2.12"
submariner_version: "0.19.0"
Loading
Loading