Closed Bug 858033 Opened 11 years ago Closed 11 years ago

Reduce aws cron noisiness

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

(Whiteboard: [aws])

Attachments

(1 file, 1 obsolete file)

Attached patch don't panic (obsolete) — Splinter Review
It would be great to reduce aws cron noisiness so we can see important messages only.
Attachment #733285 - Flags: review?(catlee)
Comment on attachment 733285 [details] [diff] [review]
don't panic

Review of attachment 733285 [details] [diff] [review]:
-----------------------------------------------------------------

::: aws/aws_watch_pending.py
@@ +234,5 @@
>          # Check for stopped instances in the given regions and start them if there are any
>          started = aws_resume_instances(instance_type, count, regions, secrets, region_priorities, dryrun)
>          count -= started
> +        if count:
> +            log.info("%s - started %i instances; need %i", instance_type, started, count)

sometimes it is useful for me to see qty of started instances, can we at least do a log.debug in the "no more to start" case, enumerating the qty of newly started instances in each region.
Attached patch don't panic v2Splinter Review
sure!
Attachment #733285 - Attachment is obsolete: true
Attachment #733285 - Flags: review?(catlee)
Attachment #733525 - Flags: review?(catlee)
Comment on attachment 733525 [details] [diff] [review]
don't panic v2

Review of attachment 733525 [details] [diff] [review]:
-----------------------------------------------------------------

::: aws/aws_stop_idle.py
@@ +228,3 @@
>                          i.stop()
> +                    else:
> +                        log.info("%s - not stopping, graceful shutdown required" % name)

change to "not stopping, waiting for graceful shutdown" or something similar? we've already initiated the shutdown at this point.
Attachment #733525 - Flags: review?(catlee) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: