| | 38 | |
| | 39 | *TdB: Shortly after observing started, we noticed that processing was not proceeding at all, and an IPP hosed was called. Mark, Roger, John and myself met via zoom to solve the issue, around 21:00. |
| | 40 | We noticed the issues was related to missing detrend files, which was somewhat strange since nothing changed since last week, when we did open and data went through fine. Initially, we figured it was due to some machines being down, so we turned those back to repair (ipp057, ippb17,18,21,22) and set the exposures to revert. This did not help. |
| | 41 | |
| | 42 | Further digging into the log files revealed that there was a failed detselect command: |
| | 43 | {{{ |
| | 44 | detselect -search -inst GPC1 -det_type VIDEODARK -time 2019-01-02T06:40:20.575099 -dbserver ippdb08 -dbname gpc1 -dbuser XXXXX -dbpassword XXXXX |
| | 45 | }}} |
| | 46 | which did not return anything. Following this, we looked at: |
| | 47 | {{{ |
| | 48 | detselect -show -det_type VIDEODARK -dbname gpc1 -simple |
| | 49 | |
| | 50 | 981 0 chip VIDEODARK register 2013-05-25T01:15:22.000000 2011-11-01T00:00:00.000000 2019-04-01T00:00:00.000000 |
| | 51 | }}} |
| | 52 | This revealed an end_time for the videodark validity of 2019-04-01T00:00:00.000000, which was last night. hence, there was no videodark available to use. So, we had to reset the end_time of the file using: |
| | 53 | {{{ |
| | 54 | dettool -updatedetrun -dbname gpc1 -set_time_end 2099-04-01T00:00:00.000000 -det_id 981 |
| | 55 | }}} |
| | 56 | This solved most of the issue, but we found chip CY05 kept failing on each of the exposures. We inspected the actual file using ds9 and it looked ok. We inspected its replication and checksum using neb-stat -validate, which also looked ok. But then we realised this was in fact a DARKTEST file, which the processing was now using, which had no end_time at all. We stopped the stdscience pantasks while investigating, since this is not a good file to use in the nightly processing. |
| | 57 | |
| | 58 | The det_id of the file was 866, and we set its end_time to yesterday to prevent it from being grabbed in the future: |
| | 59 | {{{ |
| | 60 | dettool -updatedetrun -dbname gpc1 -set_time_end 2099-04-01T00:00:00.000000 -det_id 866 |
| | 61 | }}} |
| | 62 | The problem then shifted to the currently processed file being bad. So, we had to move the offending exposures to a broke label (OSS.20190402.baddet) and requeue it for processing from scratch, using: |
| | 63 | {{{ |
| | 64 | mysql -hippdb08 -uXXXXX -pXXXXX gpc1 -e "SELECT rawExp.exp_name,chipRun.chip_id,chipRun.state,chipRun.label FROM chipRun JOIN rawExp USING (exp_id) WHERE chipRun.data_group = 'OSS.20190402.baddet' " | grep -v chip_id | awk '{print "chiptool -dbname gpc1 -definebyquery -set_label OSS.nightlyscience -set_workdir neb://@HOST@.0/gpc1/OSS.nt/2019/04/02 -set_dist_group SweetSpot -set_tess_id RINGS.V3 -set_end_stage warp -set_reduction SWEETSPOT -set_data_group OSS.20190402 -exp_name "$1}' | tcsh |
| | 65 | }}} |
| | 66 | Then, we restarted the pantask just in case, and set it to run: |
| | 67 | {{{ |
| | 68 | pantask:shutdown now |
| | 69 | |
| | 70 | ./start_server.sh stdscience |
| | 71 | pantask:server input input |
| | 72 | pantask:setup |
| | 73 | pantask:run |
| | 74 | }}} |
| | 75 | Unfortunately, that re-added the update label for LAP.PV3 processing, so that need to be removed: |
| | 76 | {{{ |
| | 77 | del.label update.LAP.PV3 |
| | 78 | }}} |
| | 79 | |
| | 80 | Finally, things were running through fine. But, we were well behind, since it was close to midnight. So, we decided to add more nodes to the processing, to try to catch up. |
| | 81 | {{{ |
| | 82 | hosts add m0 |
| | 83 | hosts add m1 |
| | 84 | we do this 4 times for each |
| | 85 | |
| | 86 | set.poll 500 |
| | 87 | }}} |
| | 88 | We checked ganglia and things looked ok. So, we added 4 more sets of each. We kept an eye on: |
| | 89 | {{{ |
| | 90 | ~ipp/src/ipp-20141024/tools/checkexp --verbose |
| | 91 | }}} |
| | 92 | to see if this was causing any problems upstream, but things looked good. So, we added even more nodes |
| | 93 | {{{ |
| | 94 | hosts add c2 |
| | 95 | we did this 4 times |
| | 96 | }}} |
| | 97 | Finally,we removed the stuck exposures for ps_ud_MOPS (due to ipp127 being offline) to a broke label, to prevent them from taking up cycles: |
| | 98 | {{{ |
| | 99 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1281048 |
| | 100 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1284676 |
| | 101 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1284689 |
| | 102 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1391868 |
| | 103 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1392030 |
| | 104 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1392058 |
| | 105 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1392250 |
| | 106 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1413405 |
| | 107 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1413407 |
| | 108 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1414496 |
| | 109 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1414496 |
| | 110 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1414848 |
| | 111 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027567 |
| | 112 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027638 |
| | 113 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027645 |
| | 114 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027695 |
| | 115 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027697 |
| | 116 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027705 |
| | 117 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027711 |
| | 118 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027781 |
| | 119 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027785 |
| | 120 | warptool -dbname gpc1 -updaterun -set_label ps_ud_MOPS.broken -warp_id 1027828 |
| | 121 | }}} |
| | 122 | |
| | 123 | |