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

MGMT-10678: Enable upgrade agent by default #4655

Closed

Conversation

jhernand
Copy link
Contributor

The upgrade agent feature has been explicitly enabled in the SaaS environments. This patch enables it by default in all the other environments. It will still be possible to disable it setting the ENABLE_UPGRADE_AGENT environment variable to false.

Related: https://issues.redhat.com/browse/MGMT-10678

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

Checklist

  • Title and description added to both, commit and PR.
  • Relevant issues have been associated (see CONTRIBUTING guide)
  • 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?

@openshift-ci openshift-ci bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 22, 2022
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 22, 2022
@codecov
Copy link

codecov bot commented Nov 22, 2022

Codecov Report

Merging #4655 (4efed61) into master (9ce4e3c) will decrease coverage by 0.06%.
The diff coverage is n/a.

❗ Current head 4efed61 differs from pull request most recent head 751cdaf. Consider uploading reports for the commit 751cdaf to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4655      +/-   ##
==========================================
- Coverage   67.02%   66.95%   -0.07%     
==========================================
  Files         200      200              
  Lines       28559    28436     -123     
==========================================
- Hits        19141    19040     -101     
+ Misses       7679     7662      -17     
+ Partials     1739     1734       -5     
Impacted Files Coverage Δ
...rnal/controller/controllers/infraenv_controller.go 61.79% <0.00%> (-1.71%) ⬇️
internal/ignition/ignition.go 58.05% <0.00%> (-0.58%) ⬇️
internal/host/validator.go 80.10% <0.00%> (-0.47%) ⬇️
...oller/controllers/agentserviceconfig_controller.go 84.85% <0.00%> (-0.13%) ⬇️
internal/bminventory/inventory.go 69.25% <0.00%> (-0.05%) ⬇️
internal/oc/release.go 78.36% <0.00%> (+0.90%) ⬆️
internal/cluster/validations/validations.go 45.18% <0.00%> (+1.54%) ⬆️
internal/versions/versions.go 92.20% <0.00%> (+2.33%) ⬆️

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 22, 2022
@openshift-ci
Copy link

openshift-ci bot commented Nov 22, 2022

[APPROVALNOTIFIER] This PR is APPROVED

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

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

The pull request process is described 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

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD a85c336 and 2 for PR HEAD f0ffedf in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 4efed61 and 1 for PR HEAD f0ffedf in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD feadbb0 and 0 for PR HEAD f0ffedf in total

@openshift-ci-robot
Copy link

/hold

Revision f0ffedf was retested 3 times: holding

@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 Nov 22, 2022
The upgrade agent feature has been explicitly enabled in the SaaS
environments. This patch enables it by default in all the other
environments. It will still be possible to disable it setting the
`ENABLE_UPGRADE_AGENT` environment variable to `false`.

Related: https://issues.redhat.com/browse/MGMT-10678
Signed-off-by: Juan Hernandez <jhernand@redhat.com>
@jhernand jhernand force-pushed the enable_agent_upgrade_by_default branch from f0ffedf to 751cdaf Compare November 24, 2022 12:29
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Nov 24, 2022
@openshift-ci
Copy link

openshift-ci bot commented Nov 24, 2022

New changes are detected. LGTM label has been removed.

@jhernand
Copy link
Contributor Author

The tests were failing because the mock agent wasn't sending the agent version. I have fixed that.

@jhernand
Copy link
Contributor Author

/test edge-e2e-ai-operator-ztp

@filanov
Copy link
Contributor

filanov commented Dec 12, 2022

Can it be unhold?

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 17, 2022
@openshift-merge-robot
Copy link

@jhernand: PR needs rebase.

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-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 17, 2023
@openshift-bot
Copy link
Contributor

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-ci openshift-ci bot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 21, 2023
@openshift-ci
Copy link

openshift-ci bot commented Apr 24, 2023

@jhernand: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-agent-compact 751cdaf link true /test e2e-agent-compact
ci/prow/e2e-agent-compact-ipv4 751cdaf link true /test e2e-agent-compact-ipv4

Full PR test history. Your PR dashboard.

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.

@jhernand jhernand closed this May 3, 2023
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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants