Skip to content

Bug 2077162: Can not provision SNOs in a disconnected environment - #3700

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
eranco74:Bug-2077162
Apr 24, 2022
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
eranco74:Bug-2077162

Conversation

@eranco74

@eranco74 eranco74 commented Apr 24, 2022 •

Copy link
Copy Markdown
Contributor

Recent updates to the oc client used by the assisted-service seems to break ICSP in disconnected environment.
This PR revert these changes:

  1. Revert "NO-ISSUE: Add a retry when fetching oc with curl (NO-ISSUE: Add a retry when fetching oc with curl #3687)"
    This reverts commit 0da8d38.

  2. Revert "MGMT-5442: assisted-service should use official oc client (MGMT-5442: assisted-service should use official oc client #3657)"
    This reverts commit cdbb65b.

  3. Revert "Bug 2069976: Error with oc-mirror using an old outdated unsupported oc client in AI (Bug 2069976: Error with oc-mirror using an old outdated unsupported oc client in AI #3598)"
    This reverts commit 5361608.

  • Should this PR be tested by the reviewer?
  • Is this PR relying on CI for an e2e test run? Yes
  • Should this PR be tested in a specific environment? Disconnected env
  • Any logs, screenshots, etc that can help with the review process?
    Running:
    ./oc adm -v=5 release extract --command=openshift-install --to=./ --insecure=false --registry-config=/tmp/registry.json 2>&1 >/dev/null | grep "Will extract"
    and checking where it's extracting from (should be from an image in the mirror registry and not quay.io...)

-->

List all the issues related to this PR

  • New Feature
  • Enhancement
  • Bug fix
  • Tests
  • Documentation
  • CI/CD

What environments does this code impact?

  • Automation (CI, tools, etc)
  • Cloud
  • Operator Managed Deployments
  • None

How was this code tested?

  • assisted-test-infra environment
  • dev-scripts environment
  • Reviewer's test appreciated
  • Waiting for CI to do a full test run
  • Manual (Elaborate on how it was tested)
  • No tests needed

Assignees

/cc @
/cc @

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • Reviewers have been listed
  • This change does not require a documentation update (docstring, docs, README, etc)
  • Does this change include unit-tests (note that code changes require unit-tests)

Reviewers Checklist

  • Are the title and description (in both PR and commit) meaningful and clear?
  • Is there a bug required (and linked) for this change?
  • Should this PR be backported?

Revert oc client changes
1. Revert "NO-ISSUE: Add a retry when fetching oc with curl (openshift#3687)"
This reverts commit 0da8d38.

2. Revert "MGMT-5442: assisted-service should use official oc client (openshift#3657)"
This reverts commit cdbb65b.

3. Revert "Bug 2069976: Error with oc-mirror using an old outdated unsupported oc client in AI (openshift#3598)"
This reverts commit 5361608.
@openshift-ci openshift-ci Bot added bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Apr 24, 2022
@openshift-ci

openshift-ci Bot commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

@eranco74: This pull request references Bugzilla bug 2077162, which is invalid:

  • expected the bug to target the "rhacm-2.6" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 2077162: Can not provision SNOs in a disconnected environment

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

1 similar comment
@openshift-ci

openshift-ci Bot commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

@eranco74: This pull request references Bugzilla bug 2077162, which is invalid:

  • expected the bug to target the "rhacm-2.6" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 2077162: Can not provision SNOs in a disconnected environment

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci Bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Apr 24, 2022
@openshift-ci
openshift-ci Bot requested review from carbonin and nmagnezi April 24, 2022 10:39
@openshift-ci openshift-ci Bot added kind/dependency-change Categorizes issue or PR as related to changing dependencies approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 24, 2022
@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Apr 24, 2022
@openshift-ci

openshift-ci Bot commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eranco74, filanov

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

The pull request process is described here

Details 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

@eranco74

Copy link
Copy Markdown
Contributor Author

/bugzilla refresh

@openshift-ci openshift-ci Bot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Apr 24, 2022
@openshift-ci

openshift-ci Bot commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

@eranco74: This pull request references Bugzilla bug 2077162, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (rhacm-2.6) matches configured target release for branch (rhacm-2.6)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)
Details

In response to this:

/bugzilla refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@codecov

codecov Bot commented Apr 24, 2022

Copy link
Copy Markdown

Codecov Report

Merging #3700 (d66a4ae) into master (63c0e24) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3700   +/-   ##
=======================================
  Coverage   65.89%   65.89%           
=======================================
  Files         174      174           
  Lines       24716    24716           
=======================================
  Hits        16286    16286           
  Misses       6829     6829           
  Partials     1601     1601           

@eranco74

Copy link
Copy Markdown
Contributor Author

/test e2e-metal-assisted-operator-disconnected
/hold

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 24, 2022
@eranco74

Copy link
Copy Markdown
Contributor Author

/unhold

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 24, 2022
@openshift-ci

openshift-ci Bot commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

@eranco74: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@openshift-merge-robot
openshift-merge-robot merged commit 16809ba into openshift:master Apr 24, 2022
@openshift-ci

openshift-ci Bot commented Apr 24, 2022

Copy link
Copy Markdown
Contributor

@eranco74: All pull requests linked via external trackers have merged:

Bugzilla bug 2077162 has been moved to the MODIFIED state.

Details

In response to this:

Bug 2077162: Can not provision SNOs in a disconnected environment

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@eranco74

Copy link
Copy Markdown
Contributor Author

/cherry-pick release-ocm-2.5

@openshift-cherrypick-robot

Copy link
Copy Markdown

@eranco74: new pull request could not be created: failed to create pull request against openshift/assisted-service#release-ocm-2.5 from head openshift-cherrypick-robot:cherry-pick-3700-to-release-ocm-2.5: status code 422 not one of [201], body: {"message":"Validation Failed","errors":[{"resource":"PullRequest","code":"custom","message":"No commits between openshift:release-ocm-2.5 and openshift-cherrypick-robot:cherry-pick-3700-to-release-ocm-2.5"}],"documentation_url":"https://docs.github.com/rest/reference/pulls#create-a-pull-request"}

Details

In response to this:

/cherry-pick release-ocm-2.5

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@eranco74

Copy link
Copy Markdown
Contributor Author

No need to cherry-pick the revert because the cherry-pick never merged into release-ocm-2.5
#3634

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. bugzilla/severity-urgent Referenced Bugzilla bug's severity is urgent for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. kind/dependency-change Categorizes issue or PR as related to changing dependencies lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants