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

Provider mode deployment with Hosted clusters #10120

Merged

Conversation

DanielOsypenko
Copy link
Contributor

@DanielOsypenko DanielOsypenko commented Jul 16, 2024

Changes:

clusters: 
   hcp416-bm2-a:
     hosted_odf_version: "latest-4.16" 

@DanielOsypenko DanielOsypenko requested a review from dahorak July 16, 2024 09:15
@DanielOsypenko DanielOsypenko self-assigned this Jul 16, 2024
@DanielOsypenko DanielOsypenko requested a review from a team as a code owner July 16, 2024 09:15
@DanielOsypenko DanielOsypenko requested a review from a team as a code owner July 16, 2024 13:06
@pull-request-size pull-request-size bot added size/M PR that changes 30-99 lines and removed size/XS labels Jul 16, 2024
@DanielOsypenko
Copy link
Contributor Author

It required some syntax changes around mathematic operators

flake8...................................................................Failed

  • hook id: flake8
  • exit code: 1

ocs_ci/ocs/scale_lib.py:340:39: E226 missing whitespace around arithmetic operator
ocs_ci/ocs/scale_lib.py:359:43: E226 missing whitespace around arithmetic operator
ocs_ci/ocs/scale_lib.py:365:55: E226 missing whitespace around arithmetic operator
ocs_ci/ocs/scale_lib.py:1305:59: E226 missing whitespace around arithmetic operator
ocs_ci/ocs/scale_lib.py:1878:64: E226 missing whitespace around arithmetic operator

@pull-request-size pull-request-size bot added size/L PR that changes 100-499 lines and removed size/M PR that changes 30-99 lines labels Jul 18, 2024
@DanielOsypenko DanielOsypenko changed the title get_compute_node_names - add hci_baremetal platform Provider mode deployment with Hosted clusters Jul 23, 2024
@DanielOsypenko
Copy link
Contributor Author

ebondare
ebondare previously approved these changes Jul 23, 2024
ocs_ci/deployment/metallb.py Outdated Show resolved Hide resolved
ocs_ci/deployment/metallb.py Outdated Show resolved Hide resolved
ocs_ci/deployment/metallb.py Outdated Show resolved Hide resolved
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
Signed-off-by: Daniel Osypenko <[email protected]>
@openshift-ci openshift-ci bot added the lgtm label Jul 24, 2024
Copy link

openshift-ci bot commented Jul 24, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dahorak, DanielOsypenko, ebondare

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

@dahorak dahorak merged commit ea173fb into red-hat-storage:master Jul 24, 2024
5 of 6 checks passed
amr1ta pushed a commit to amr1ta/ocs-ci that referenced this pull request Jul 25, 2024
Changes:
    fix leftover, to prevent issues such as https://ocs4-jenkins-csb-odf-qe.apps.ocp-c1.prod.psi.redhat.com/job/qe-deploy-ocs-cluster/39701/consoleFull (metallb installation and latest OCP fetch from release notes)
    changed made ODF and Hosted cluster installation done by completing jenkins stage 1. Deploy OCP cluster stage 2. Install OD, dependencies and Hosted Cluster
    clean ODF provider and native client validation. Fixed some issues failing on waiting just deployed resources
    ODF with "latest-4.16" now can be a version, set in

clusters:
   hcp416-bm2-a:
     hosted_odf_version: "latest-4.16"

"--olm-disable-default-sources" parametrization added
FIXES
prevent failures on converged deployment Provider and Hosted cluster red-hat-storage#10160

Signed-off-by: Daniel Osypenko <[email protected]>
petr-balogh added a commit to petr-balogh/ocs-ci that referenced this pull request Aug 2, 2024
This PR: red-hat-storage#10120

Broke original condition:
if config.ENV_DATA.get("platform") != constants.BAREMETAL_PLATFORM:

and changed to:
if config.ENV_DATA.get("platform") in [
            constants.BAREMETAL_PLATFORM,
            constants.HCI_BAREMETAL,
        ]:

There should be `not in`. Which is fixed in this commit.

Signed-off-by: Petr Balogh <[email protected]>
petr-balogh added a commit to petr-balogh/ocs-ci that referenced this pull request Aug 2, 2024
This PR: red-hat-storage#10120

Broke original condition:
if config.ENV_DATA.get("platform") != constants.BAREMETAL_PLATFORM:

and changed to:
if config.ENV_DATA.get("platform") in [
            constants.BAREMETAL_PLATFORM,
            constants.HCI_BAREMETAL,
        ]:

There should be `not in`. Which is fixed in this commit.

Signed-off-by: Petr Balogh <[email protected]>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/ocs-ci that referenced this pull request Aug 2, 2024
This PR: red-hat-storage#10120

Broke original condition:
if config.ENV_DATA.get("platform") != constants.BAREMETAL_PLATFORM:

and changed to:
if config.ENV_DATA.get("platform") in [
            constants.BAREMETAL_PLATFORM,
            constants.HCI_BAREMETAL,
        ]:

There should be `not in`. Which is fixed in this commit.

Signed-off-by: Petr Balogh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm size/L PR that changes 100-499 lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prevent failures on converged deployment Provider and Hosted cluster
3 participants