-
Notifications
You must be signed in to change notification settings - Fork 357
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
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. |
@@ -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") |
There was a problem hiding this comment.
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
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
docs/release-notes/
.See Release Note for details.
Ticket
RM-125