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

Issue 693235 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

clean_staged_images.py is not found on devserver

Project Member Reported by semenzato@chromium.org, Feb 16 2017

Issue description

This graph:

https://viceroy.corp.google.com/chromeos/machines?hostname=chromeos4-devserver7&duration=4388815&refresh=-1&utc_end=1486381073

suggests that the /home/chromeos-test/images is full.  Is this a problem?  If not, should we even show it?  (So I guess I am saying that it's a problem either way :)

Also we might want some kind of notification to be delivered when this happens, because I noticed by chance.
 
Labels: -Pri-2 Pri-1
Actually this is bad.  It filled up around Feb 5, and has probably failed the health check since then, so it's not been used.

On the other hand, it's interesting to find out that the other devservers were enough...
Cc: pho...@chromium.org
We should add alerting from this.

I suspect this is from switching over to use the SSD for the images and perhaps there's some issue with detecting when the FS is full and things need to be cleaned?
Owner: ayatane@chromium.org
Summary: clean_staged_images.py is not found on devserver (was: chromeos4-devserver7 image partition is full)
There is a cron job on the devserver to clean staged images every 30 mins. I manually ran the job, and it failed:

chromeos-test@chromeos4-devserver7:~$ /home/chromeos-test/chromiumos/src/third_party/autotest/files/site_utils/admin/clean_staged_images.py --max-age 16 --max-paladin-age 16 /home/chromeos-test/images
-bash: /home/chromeos-test/chromiumos/src/third_party/autotest/files/site_utils/admin/clean_staged_images.py: No such file or directory

Then I manually searched for the file, but not found it.

Allen, any puppet change recently?
Cc: xixuan@chromium.org

Comment 5 by xixuan@chromium.org, Feb 16 2017

chromeos4-devserver7 doesn't run repo sync when crbug.com/687237 is fixed.

Now it has, I'm running clean_staged_images.py . We should check all devserver and force them them to run repo sync to avoid such cases.
Sorry #5, could you clarify this sentence:

"chromeos4-devserver7 doesn't run repo sync when crbug.com/687237 is fixed."

Do you mean "will not run repo sync until issue 687237 is fixed"?  (I took a quick look at the bug but it was too much work to understand what was going on.)

Thanks!

Comment 7 by xixuan@chromium.org, Feb 17 2017

Re #6,

Devserver itself always contain the autotest repo. One day we remove it, but find devserver still need to use this 'clean_staged_images' to clean images. Then we add it back. It's the whole story in crbug.com/687237.

But after we add it back in xml, we need to run repo sync to let devserver sync the autotest repo back. In crbug.com/687237 deputy (Aviv) said he already kicked off repo sync to all devservers. But for some unknown reasons, chromeos4-devserver7 missed this step, and it still doesn't contain autotest package. So it cannot run its normal clean script :( 
#7 Thanks!  So what you meant in #5 was:

"chromeos-devserver7 didn't run repo sync after issue 687237 was fixed"

or even better:

"after issue 687237 was fixed, we updated the code on the devservers (with repo sync) but somehow that operation failed on chromeos4-devserver7"

(Also note that if you use "issue ###" or "bug ###" instead of crbug.com/###, you get clickable links which also show the open/closed status of the bug.)

Sorry, I don't mean to be a nitpick, I was really not understanding.

Comment 9 by xixuan@chromium.org, Feb 17 2017

oh, skill learned! thanks :) 
Owner: ----
Status: Fixed (was: Untriaged)

Comment 11 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 12 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 14 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment