Project

General

Profile

Bug #7664

jobsub_preen not removing symlinks to directories (under uploads area) that it cleans up

Added by Neha Sharma almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/20/2015
Due date:
% Done:

0%

Estimated time:
First Occurred:
Occurs In:
Stakeholders:
Duration:

Description

While debugging disk usage on /fife/local/scratch/uploads area on fifebatch1, found broken symlinks ( the directories pointed to by these symlinks have been removed by jobsub_preen). These should be removed aswell.

[root@fifebatch1 local]# rpm -qa | grep jobsub
jobsub-1.0.4-1.noarch
[root@fifebatch1 local]#

Example:
[root@fifebatch1 local]# ll /fife/local/scratch/uploads/darkside/aldenf/
total 28
lrwxrwxrwx 1 rexbatch fife 29 Dec 6 10:59 138298.0 -> 2014-12-06_105954.495480_4021
lrwxrwxrwx 1 rexbatch fife 29 Dec 6 10:59 -> 2014-12-06_105954.495480_4021
lrwxrwxrwx 1 rexbatch fife 29 Dec 6 13:29 138299.0 -> 2014-12-06_132951.901700_7027
lrwxrwxrwx 1 rexbatch fife 29 Dec 6 13:29 -> 2014-12-06_132951.901700_7027
lrwxrwxrwx 1 rexbatch fife 29 Dec 6 13:30 138300.0 -> 2014-12-06_133005.840995_7430
lrwxrwxrwx 1 rexbatch fife 29 Dec 6 13:30 -> 2014-12-06_133005.840995_7430
lrwxrwxrwx 1 rexbatch fife 29 Dec 7 00:56 138310.0 -> 2014-12-07_005608.567886_9114
lrwxrwxrwx 1 rexbatch fife 29 Dec 7 00:56 -> 2014-12-07_005608.567886_9114
lrwxrwxrwx 1 rexbatch fife 29 Dec 7 11:46 138319.0 -> 2014-12-07_114637.033036_5894
lrwxrwxrwx 1 rexbatch fife 29 Dec 7 11:46 -> 2014-12-07_114637.033036_5894
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 161830.0 -> 2014-12-11_121940.664419_7523
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 -> 2014-12-11_121940.664419_7523
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 161831.0 -> 2014-12-11_121943.681944_9299
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 -> 2014-12-11_121943.681944_9299
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 161832.0 -> 2014-12-11_121946.933883_3614
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 -> 2014-12-11_121946.933883_3614
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 161833.0 -> 2014-12-11_121950.109465_8051
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 -> 2014-12-11_121950.109465_8051
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 161834.0 -> 2014-12-11_121954.132524_7123
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 12:19 -> 2014-12-11_121954.132524_7123
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 163687.0 -> 2014-12-11_234918.491696_2499
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 -> 2014-12-11_234918.491696_2499
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 163688.0 -> 2014-12-11_234924.689102_1724
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 -> 2014-12-11_234924.689102_1724
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 163689.0 -> 2014-12-11_234933.454361_5249
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 -> 2014-12-11_234933.454361_5249
lrwxrwxrwx 1 rexbatch fife 28 Dec 11 23:49 163690.0 -> 2014-12-11_234940.424658_907
lrwxrwxrwx 1 rexbatch fife 28 Dec 11 23:49 -> 2014-12-11_234940.424658_907
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 163691.0 -> 2014-12-11_234947.530026_6742
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 -> 2014-12-11_234947.530026_6742
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 163692.0 -> 2014-12-11_234953.684479_9779
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:49 -> 2014-12-11_234953.684479_9779
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:50 163693.0 -> 2014-12-11_234958.944500_1239
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:50 -> 2014-12-11_234958.944500_1239
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:50 163694.0 -> 2014-12-11_235007.517297_6762
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:50 -> 2014-12-11_235007.517297_6762
lrwxrwxrwx 1 rexbatch fife 28 Dec 11 23:50 163695.0 -> 2014-12-11_235014.493479_162
lrwxrwxrwx 1 rexbatch fife 28 Dec 11 23:50 -> 2014-12-11_235014.493479_162
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 163696.0 -> 2014-12-11_235630.643362_4292
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 -> 2014-12-11_235630.643362_4292
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 163697.0 -> 2014-12-11_235638.327681_9152
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 -> 2014-12-11_235638.327681_9152
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 163698.0 -> 2014-12-11_235646.167211_3276
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 -> 2014-12-11_235646.167211_3276
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 163699.0 -> 2014-12-11_235653.813053_8187
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:56 -> 2014-12-11_235653.813053_8187
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 163700.0 -> 2014-12-11_235701.410115_4795
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 -> 2014-12-11_235701.410115_4795
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 163701.0 -> 2014-12-11_235707.889874_7084
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 -> 2014-12-11_235707.889874_7084
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 163702.0 -> 2014-12-11_235715.463948_8964
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 -> 2014-12-11_235715.463948_8964
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 163703.0 -> 2014-12-11_235723.272748_4661
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 -> 2014-12-11_235723.272748_4661
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 163704.0 -> 2014-12-11_235731.087072_1993
lrwxrwxrwx 1 rexbatch fife 29 Dec 11 23:57 -> 2014-12-11_235731.087072_1993
lrwxrwxrwx 1 rexbatch fife 29 Dec 14 15:22 172066.0 -> 2014-12-14_152215.515677_8270
lrwxrwxrwx 1 rexbatch fife 29 Dec 14 15:22 -> 2014-12-14_152215.515677_8270
lrwxrwxrwx 1 rexbatch fife 28 Dec 19 13:16 199362.0 -> 2014-12-19_131639.130349_880
lrwxrwxrwx 1 rexbatch fife 28 Dec 19 13:16 -> 2014-12-19_131639.130349_880
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 13:18 -> 2014-12-19_131830.721662_7416
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:20 201108.0 -> 2014-12-19_142033.283466_3998
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:20 -> 2014-12-19_142033.283466_3998
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:30 201109.0 -> 2014-12-19_143023.547069_2761
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:30 -> 2014-12-19_143023.547069_2761
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:37 201110.0 -> 2014-12-19_143745.102682_1939
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:37 -> 2014-12-19_143745.102682_1939
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:45 201112.0 -> 2014-12-19_144520.612494_2928
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:45 -> 2014-12-19_144520.612494_2928
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:56 201113.0 -> 2014-12-19_145604.127914_1234
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 14:56 -> 2014-12-19_145604.127914_1234
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 15:02 201115.0 -> 2014-12-19_150234.266337_1396
lrwxrwxrwx 1 rexbatch fife 29 Dec 19 15:02 -> 2014-12-19_150234.266337_1396
lrwxrwxrwx 1 rexbatch fife 29 Dec 22 23:27 201226.0 -> 2014-12-22_232755.460610_4841
lrwxrwxrwx 1 rexbatch fife 29 Dec 22 23:27 -> 2014-12-22_232755.460610_4841
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 15:46 201260.0 -> 2014-12-23_154632.684240_3656
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 15:46 -> 2014-12-23_154632.684240_3656
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 15:51 201262.0 -> 2014-12-23_155125.345033_3299
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 15:51 -> 2014-12-23_155125.345033_3299
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 16:14 201264.0 -> 2014-12-23_161403.973481_4252
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 16:14 -> 2014-12-23_161403.973481_4252
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 16:23 201267.0 -> 2014-12-23_162329.408476_2615
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 16:23 -> 2014-12-23_162329.408476_2615
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 16:39 201270.0 -> 2014-12-23_163912.897610_8795
lrwxrwxrwx 1 rexbatch fife 29 Dec 23 16:39 -> 2014-12-2

History

#1 Updated by Dennis Box almost 5 years ago

  • Category deleted (JobSub Server RPM)
  • Status changed from New to Feedback
  • Target version set to v1.1

I accidentally merged my changes to jobsub_preen.py and krbrefresh.sh to master instead of branch 7664.
They are tested, sorry for the breach in merge protocol

#2 Updated by Dennis Box almost 5 years ago

  • Assignee changed from Dennis Box to Parag Mhashilkar

#3 Updated by Parag Mhashilkar almost 5 years ago

  • Status changed from Feedback to Assigned
  • Assignee changed from Parag Mhashilkar to Dennis Box

Hi Dennis,

The changes are ok. I have couple of changes to request but will open a different ticket.

#4 Updated by Parag Mhashilkar almost 5 years ago

  • Status changed from Assigned to Resolved

#5 Updated by Parag Mhashilkar almost 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF