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-14769: Enable upgrade agent by default #5276

Conversation

jhernand
Copy link
Contributor

@jhernand jhernand commented Jun 5, 2023

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.

This is a revival of #4655.

Related: https://issues.redhat.com/browse/MGMT-14769
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?

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-14769
Related: https://issues.redhat.com/browse/MGMT-10678
Signed-off-by: Juan Hernandez <jhernand@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 5, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jun 5, 2023

@jhernand: This pull request references MGMT-14769 which is a valid jira issue.

In response to this:

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.

This is a revival of #4655.

Related: https://issues.redhat.com/browse/MGMT-14769
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?

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/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 5, 2023
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 5, 2023
@codecov
Copy link

codecov bot commented Jun 5, 2023

Codecov Report

Merging #5276 (f5cbadb) into master (f55e7db) will increase coverage by 1.65%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5276      +/-   ##
==========================================
+ Coverage   67.49%   69.14%   +1.65%     
==========================================
  Files         221      221              
  Lines       33016    35248    +2232     
==========================================
+ Hits        22283    24372    +2089     
- Misses       8723     8830     +107     
- Partials     2010     2046      +36     

see 10 files with indirect coverage changes

@jhernand
Copy link
Contributor Author

jhernand commented Jun 5, 2023

/test e2e-agent-compact-ipv4

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 15, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jun 15, 2023

[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

@jhernand
Copy link
Contributor Author

Thanks @filanov!

@openshift-ci
Copy link

openshift-ci bot commented Jun 15, 2023

@jhernand: all tests passed!

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.

@openshift-merge-robot openshift-merge-robot merged commit 430b86e into openshift:master Jun 15, 2023
14 checks passed
@jhernand jhernand deleted the enable_agent_upgrade_by_default branch June 15, 2023 14:23
danielerez pushed a commit to danielerez/assisted-service that referenced this pull request Oct 15, 2023
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-14769
Related: https://issues.redhat.com/browse/MGMT-10678

Signed-off-by: Juan Hernandez <jhernand@redhat.com>
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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. 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

4 participants