Page MenuHomePhabricator

delete gwtoolset job by Hansmuller
Closed, ResolvedPublic

Description

See https://lists.wikimedia.org/pipermail/glamtools/2015-September/000520.html

Dear all,

Is there an admin among you who can kill my present GWT-job?

* Most files to be uploaded are not present in the source database
* Latest 2 files uploaded had unexplainable.. wrong metadata (speedy
deletion requested), so this looks bad for further upcoming files.

I am a bit ashamed to have to ask this...

Compare
https://commons.wikimedia.org/w/index.php?title=Special:Log&limit=500&type=gwtoolset&user=Hansmuller

Thank you very much,

https://commons.wikimedia.org/wiki/User:Hansmuller

Gwtoolset has no built in cancel support, so the only way to cancel a job, is to actually remove things from the job queue. Note that other users are currently using gwtoolset too, so we don't want to cancel their jobs.

Last time jobs were deleted from gwtoolset was around Jan 22 (see https://phabricator.wikimedia.org/T87040#984282 ). @Krenair and @Tgr I think know details

Event Timeline

Bawolff created this task.Sep 17 2015, 1:26 PM
Bawolff raised the priority of this task from to Needs Triage.
Bawolff updated the task description. (Show Details)
Bawolff added projects: Commons, acl*sre-team.
Bawolff added subscribers: Bawolff, Hansmuller, Krenair, Tgr.
Restricted Application added subscribers: Steinsplitter, Matanya, Aklapper. · View Herald TranscriptSep 17 2015, 1:26 PM
Dzahn added a subscriber: Dzahn.Sep 17 2015, 3:51 PM

I tried to follow the instructions linked above. I can get a redis-cli shell and found the password.

I saw /home/tgr/redis-gwtoolset-list.txt and ran redis-cli -a <password> -h rdb1001 < /home/tgr/redis-gwtoolset-list.txt

The content of the file is:

lrange commonswiki:jobqueue:gwtoolsetUploadMetadataJob:l-unclaimed 0 10
zrange commonswiki:jobqueue:gwtoolsetUploadMetadataJob:z-claimed 0 10
zrange commonswiki:jobqueue:gwtoolsetUploadMetadataJob:z-abandoned 0 10
zrange commonswiki:jobqueue:gwtoolsetUploadMetadataJob:z-delayed 0 10

the result is:

1) "44452bb56b844d62ae78b880381c05b2"
(empty list or set)
(empty list or set)
(empty list or set)

Is that it?

Bawolff updated the task description. (Show Details)Sep 17 2015, 6:19 PM
Bawolff set Security to None.

What about now?

Tgr added a comment.Sep 17 2015, 6:57 PM

The job delete commands are in redis-gwtoolset-clear.txt, not redis-gwtoolset-list.txt. I ran them a couple minutes ago, but it looks like the uploads have stopped an hour ago anyway.

Dzahn added a comment.Sep 17 2015, 6:59 PM

Yes, i wanted to just list the jobs and confirm it's the right thing. Thanks, @Tgr for running it.

Dzahn triaged this task as Normal priority.Sep 17 2015, 7:21 PM
Tgr closed this task as Resolved.Sep 17 2015, 10:14 PM
Tgr claimed this task.

Seems to be stopped for good.

See T100972 for the long-term handling of such problems.

Hansmuller added a comment.EditedSep 18 2015, 12:59 PM

Thank you cancelling my job! I just panicked.

In the future i will keep cool and keep checking things beforehand.
I hope this incident will not affect my ability to upload speedily.
Apologies and thanks,

User:Hansmuller
https://commons.wikimedia.org/wiki/User:Hansmuller

I hope this incident will not affect my ability to upload speedily.

No worry. Thanks for your volunteer work! It is appreciated. Please let me know if you need help with cleaning up stuff on commons.

A stop button as described in T100972 would be very helpful.