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

chore: change log level for multirm messages [RM-125] #9080

Merged
merged 1 commit into from
Apr 1, 2024

Conversation

carolinaecalderon
Copy link
Contributor

@carolinaecalderon carolinaecalderon commented Apr 1, 2024

Description

Change the multirm logs from info level to debug level

Test Plan

Start a new experiment, on a multiRM cluster & define it to run on a resource pool 'XYZ' (or whatever other name). Then, after starting the experiment, check that your logs contain
DEBU[2024-04-01T13:28:57-04:00] RM defined as <the-rm-name-where-the-pool-lives>, <the-pool-name> component=resource-router
If you test with a pool/pool name that doesn't exist, then you should see the default RM and pool name being used, with the message at the debug level.
If you test with a blank pool name (so don't define a resource pool in your experiment yaml), you should see "RM undefined, routing to default resource manager" at the debug level.

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.

Ticket

RM-125

@cla-bot cla-bot bot added the cla-signed label Apr 1, 2024
Copy link

netlify bot commented Apr 1, 2024

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit e530dfb
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/660af3cadfbd5500087e9370

@carolinaecalderon carolinaecalderon marked this pull request as ready for review April 1, 2024 17:51
@carolinaecalderon carolinaecalderon requested a review from a team as a code owner April 1, 2024 17:51
Copy link

codecov bot commented Apr 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.06%. Comparing base (5031807) to head (e530dfb).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9080      +/-   ##
==========================================
- Coverage   47.06%   47.06%   -0.01%     
==========================================
  Files        1154     1154              
  Lines      142374   142374              
  Branches     2423     2423              
==========================================
- Hits        67009    67005       -4     
- Misses      75175    75179       +4     
  Partials      190      190              
Flag Coverage Δ
backend 42.90% <ø> (-0.01%) ⬇️
harness 64.07% <ø> (ø)
web 38.95% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

see 2 files with indirect coverage changes

@@ -378,7 +378,7 @@ func (m *MultiRMRouter) DisableSlot(req *apiv1.DisableSlotRequest) (*apiv1.Disab
func (m *MultiRMRouter) getRM(rpName rm.ResourcePoolName) (string, error) {
// If not given RP name, route to default RM.
if rpName == "" {
m.syslog.Infof("RM undefined, routing to default resource manager")
m.syslog.Debugf("RM undefined, routing to default resource manager")
Copy link
Contributor

@NicholasBlaskey NicholasBlaskey Apr 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe would change the title of the PR to chore: ...

so release party doesn't need to test this

@carolinaecalderon carolinaecalderon changed the title fix: change log level for multirm messages [RM-125] chore: change log level for multirm messages [RM-125] Apr 1, 2024
@carolinaecalderon carolinaecalderon merged commit a3834ac into main Apr 1, 2024
78 of 90 checks passed
@carolinaecalderon carolinaecalderon deleted the carolinac/rm-125 branch April 1, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants