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

Provision for installing submariner downstream unreleased build #8716

Merged

Conversation

shylesh
Copy link
Contributor

@shylesh shylesh commented Oct 19, 2023

No description provided.

@shylesh shylesh requested a review from a team as a code owner October 19, 2023 19:47
@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines label Oct 19, 2023
@shylesh shylesh added DR Metro and Regional DR related PRs team/ecosystem Ecosystem team related issues/PRs labels Oct 19, 2023
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from 4c5cbd0 to 6f1b21f Compare October 19, 2023 19:52
@shylesh shylesh self-assigned this Oct 20, 2023
@shylesh shylesh requested a review from a team as a code owner October 20, 2023 20:57
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from ead53ef to 869c8bd Compare October 23, 2023 08:44
@shylesh
Copy link
Contributor Author

shylesh commented Oct 23, 2023

Rebased on latest master

@shylesh shylesh changed the title WIP: Provision for installing submariner downstream unreleased build Provision for installing submariner downstream unreleased build Oct 24, 2023
@shylesh shylesh added the Needs Testing Run tests and provide logs link label Oct 24, 2023
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from 402a9b3 to aa1509a Compare October 24, 2023 13:19
conf/ocsci/enable_globalnet.yaml Outdated Show resolved Hide resolved
ocs_ci/deployment/acm.py Show resolved Hide resolved
ocs_ci/ocs/acm/acm.py Outdated Show resolved Hide resolved
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch 4 times, most recently from 4c5ba73 to c21d921 Compare October 26, 2023 09:10
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from c21d921 to 9364544 Compare October 26, 2023 09:49
@shylesh
Copy link
Contributor Author

shylesh commented Oct 26, 2023

Rebased on latest master

Simplify build tag extraction for submariner

Signed-off-by: Shylesh Kumar Mohan <[email protected]>
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from 9364544 to e2e87ce Compare October 26, 2023 11:30
petr-balogh
petr-balogh previously approved these changes Oct 27, 2023
dahorak
dahorak previously approved these changes Oct 27, 2023
@shylesh shylesh dismissed stale reviews from dahorak and petr-balogh via 2bc663a October 31, 2023 17:08
@openshift-ci openshift-ci bot removed the lgtm label Oct 31, 2023
@@ -351,6 +352,43 @@ def do_deploy_ocs(self):
"ocs_registry_image", None
)
ocs_install_verification(ocs_registry_image=ocs_registry_image)
# if we have Globalnet enabled in case of submariner with RDR
# we need to add a flag to storagecluster
if config.ENV_DATA.get("enable_globalnet", None):
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if config.ENV_DATA.get("enable_globalnet", None):
if config.ENV_DATA.get("enable_globalnet", True):

ENV_DATA:
submariner_source: "downstream"
submariner_release_type: "unreleased"
submariner_version: "0.16.0"
Copy link
Member

Choose a reason for hiding this comment

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

Do we support only one specific unreleased DS version? Or we do support also previous unreleased DS versions, like we do in ODF? E.g. 4.13.5.

If so , then maybe we can move to the ODF or OCP configuration file - depends on to which is's more relevant.
If only one unreleased version, we can keep it here in the file. She same Q for the channel.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@keesturam , @prsurve @sidhant-agrawal , could you please provide your inputs here so that we can create OCP/ODF specific submariner versions?

Copy link
Member

Choose a reason for hiding this comment

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

For ODF's y stream releases, we will mostly support one unreleased submariner version until GA. However, after the GA we will have to support future versions.
For eg., all the while with 4.14, we have been using submariner 0.16.0.
I hope this helps.

conf/README.md Outdated Show resolved Hide resolved
Validation for serviceexports

Addressed few review comments

Signed-off-by: Shylesh Kumar Mohan <[email protected]>
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from 7c420de to 125b1bf Compare November 6, 2023 13:19
Signed-off-by: Shylesh Kumar Mohan <[email protected]>
@shylesh shylesh force-pushed the submariner-unreleased-downstream branch from 125b1bf to 8a5356f Compare November 6, 2023 15:37
@shylesh
Copy link
Contributor Author

shylesh commented Nov 6, 2023

conf/ocsci/enable_globalnet.yaml Outdated Show resolved Hide resolved
conf/README.md Outdated
@@ -256,6 +256,10 @@ higher priority).
* `nb_nfs_mount` - NFS mount point used specifically for testing noobaa db NFS mount test
* `custom_default_storageclass_names` - Set to true if custom storageclass names use instead of default one.
* `storageclassnames` - Under this key, custom storage class names for `cephFilesystems`, `cephObjectStores`, `cephBlockPools`, `cephNonResilientPools`, `nfs` and for `encryption` are defined.
* `submariner_source` - Source from which we take submariner build, ex: upstream, downstream, downstream_unreleased
* `submariner_release_type` - Released OR Unreleased submariner build
* `enable_globalnet` - enable or disable globalnet for submariner
Copy link
Contributor Author

Choose a reason for hiding this comment

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

explain default value for enable_globalnet

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

ENV_DATA:
submariner_source: "downstream"
submariner_release_type: "unreleased"
submariner_version: "0.16.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@keesturam , @prsurve @sidhant-agrawal , could you please provide your inputs here so that we can create OCP/ODF specific submariner versions?

conf/README.md Outdated Show resolved Hide resolved
ocs_ci/deployment/deployment.py Show resolved Hide resolved
conf/README.md Outdated Show resolved Hide resolved
Copy link

openshift-ci bot commented Nov 7, 2023

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: am-agrawa, petr-balogh, prsurve, shylesh, sidhant-agrawal

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@petr-balogh petr-balogh merged commit 6f459a8 into red-hat-storage:master Nov 7, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DR Metro and Regional DR related PRs lgtm size/L PR that changes 100-499 lines team/ecosystem Ecosystem team related issues/PRs Verified Mark when PR was verified and log provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants