New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 598441 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature

Blocking:
issue 864588



Sign in to add a comment

GS Cleanup: Monitoring

Project Member Reported by dgarr...@chromium.org, Mar 28 2016

Issue description

We have two GCE builders which run the purge_gs.sh script to repeatedly cleanup old GS content.

However, we currently have no monitoring of this script, other than to log into the servers by hand. We need something to help record progress, as well as alert on success or failures.

The easiest path might be possible to do this via Google Cloud Logging.
 
Labels: -Pri-3 Pri-2
Cc: pho...@chromium.org
Paul, any suggestions on how to approach this?
Status: Assigned (was: Untriaged)

Comment 4 by pho...@chromium.org, Mar 30 2016

Well, if you put the Monarch credentials on those machines then it's pretty easy to use Monarch for this task.  I'm not sure if you want to wait until the new GCE image is already baked.
This two machines aren't using the standard builder image.

I just created clean Ubuntu images, installed git, and started the script in question.
Labels: -current-issue

Comment 7 by benhenry@google.com, Apr 26 2016

Components: Infra>Client>ChromeOS
Labels: -Infra-ChromeOS
Owner: pho...@chromium.org
Paul, we can easily add stuff to chromite/bin/purge_gs.sh.... or something.

What's the best approach?

Comment 9 by pho...@chromium.org, Jun 20 2017

Labels: -Type-Bug Type-Feature
This is still relevant. The best approach for this is to add the Monarch credentials into the Ubuntu images, then use chromite's ts-mon wrapper.
Status: Archived (was: Assigned)
Owner: jclinton@chromium.org
Status: Untriaged (was: Archived)
Actually, let's hand it over.

go/cros-gs-cleanup-design
go/cros-purge-servers
Owner: mikenichols@chromium.org
Status: Assigned (was: Untriaged)
Mike, can you take a look at this? 
Cc: jclinton@chromium.org
Components: -Infra>Client>ChromeOS Infra>Client>ChromeOS>CI
Blocking: 864588

Sign in to add a comment