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-14040: Add log that shows event upload is running #5054

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

CrystalChun
Copy link
Contributor

MGMT-14040
If event uploading was disabled when assisted-service starts running then the only log that shows is "Event uploading is not enabled". This is confusing if event uploading is eventually enabled without restarting the service and the user won't know that the event upload is running.

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-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 21, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Mar 21, 2023

@CrystalChun: This pull request references MGMT-14040 which is a valid jira issue.

In response to this:

MGMT-14040
If event uploading was disabled when assisted-service starts running then the only log that shows is "Event uploading is not enabled". This is confusing if event uploading is eventually enabled without restarting the service and the user won't know that the event upload is running.

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

codecov bot commented Mar 21, 2023

Codecov Report

Merging #5054 (c22a1c0) into master (5c790a3) will increase coverage by 2.29%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5054      +/-   ##
==========================================
+ Coverage   67.35%   69.65%   +2.29%     
==========================================
  Files         214      214              
  Lines       31709    33858    +2149     
==========================================
+ Hits        21359    23584    +2225     
+ Misses       8447     8344     -103     
- Partials     1903     1930      +27     
Impacted Files Coverage Δ
internal/cluster/cluster.go 66.47% <100.00%> (+0.03%) ⬆️

... and 6 files with indirect coverage changes

https://issues.redhat.com/browse/MGMT-14040
If event uploading was disabled when assisted-service starts
running then the only log that shows is "Event uploading is
not enabled". This is confusing if event uploading is eventually
enabled without restarting the service and the user won't
know that the event upload is running.
@filanov
Copy link
Contributor

filanov commented Mar 22, 2023

if it will spam the log we can think of a different solution later

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

openshift-ci bot commented Mar 22, 2023

[APPROVALNOTIFIER] This PR is APPROVED

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

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:
  • OWNERS [CrystalChun,filanov]

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 806960b and 2 for PR HEAD c22a1c0 in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 7df2d9f and 1 for PR HEAD c22a1c0 in total

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 6a53c99 and 0 for PR HEAD c22a1c0 in total

@openshift-ci-robot
Copy link

/hold

Revision c22a1c0 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 Mar 23, 2023
@CrystalChun
Copy link
Contributor Author

/retest-required

@CrystalChun
Copy link
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 Mar 23, 2023
@openshift-ci
Copy link

openshift-ci bot commented Mar 24, 2023

@CrystalChun: 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 5641d7f into openshift:master Mar 24, 2023
danielerez pushed a commit to danielerez/assisted-service that referenced this pull request Oct 15, 2023
https://issues.redhat.com/browse/MGMT-14040
If event uploading was disabled when assisted-service starts
running then the only log that shows is "Event uploading is
not enabled". This is confusing if event uploading is eventually
enabled without restarting the service and the user won't
know that the event upload is running.
@CrystalChun CrystalChun deleted the fix-log branch January 29, 2024 23:45
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/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