IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 8 and Version 9 of PS1_IPP_Czarlog_20190318


Ignore:
Timestamp:
Mar 20, 2019, 3:00:08 PM (7 years ago)
Author:
fairlamb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_IPP_Czarlog_20190318

    v8 v9  
    114114remove '-simple' to get some more information.
    115115
     116JRF (evening): Jobs approaching 100k, so restarting stdscience pantasks. A bunch of failed jobs are beginning to accumulate too, but I'll save that fun for the morning.
     117
     118
    116119=== Tuesday : 2019.03.19 ===
    117120
     121
     122JRF (morning): Jobs approaching 100k, so restarting stdscience pantasks. Flicked ippb04 and ippb05 to repair, from down, so that some files could be accessed to clear the backlog of tasks.
     123
     124
     125JRF (afternoon) - czar formation ft. MEH:
     126
     127
     128Maybe tomorrow ecliptic.RP
     129
     130
     131Weird warp fault where the state is full:
     132{{{
     133    o7071g0124o 875375  1530574 1497865 1471180 1477774 skycell.1618.088    full    update.OSS
     134}}}
     135Query the neb-workdir (note the wild card at the end):
     136{{{
     137    neb-ls -p -l neb://ipp069.0/gpc1/OSS.nt/2015/02/18//o7071g0124o.875375/o7071g0124o.875375.wrp.1477774.skycell.1618.088%
     138}}}
     139shows us that one of the mask files is in a funny state where is 0 size:
     140{{{
     141    -rw-rw-r-- 1 ippitc users 0 Mar  8 09:27 /data/ipp125.0/nebulous/9f/e9/11203362808.gpc1:OSS.nt:2015:02:18:o7071g0124o.875375:o7071g0124o.875375.wrp.1477774.skycell.1618.088.mask.fits
     142}}}
     143To solve this, we will have to put the warp to clean:
     144{{{
     145    warptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -warp_id 1477774
     146}}}
     147check that is has cleaned succesfully (query the database). Then set it to update:
     148{{{
     149warptool -dbname gpc1  -setskyfiletoupdate -set_label update.OSS -warp_id 1477774
     150}}}
     151
     152
     153'''Solving warp issues'''
     154Move the stuff that is currently broken under the label 'update.OSS' to the 'update.OSS.broke' label.
     155To figure out which ones need to be moved have a look at the state, fault, and skyfile
     156
     157Will need to add this new label to pantasks so it can get priority and actually work on them.
     158
     159The following shows the query used, and how to pipe it to 'awks' so that it can run the chiptool/warptool command to update the labels on the chip/warp id pairs.
     160{{{
     161mysql -uXXXXX -pXXXXX -hippdb08 gpc1 -B --skip-column-names -e
     162
     163'SELECT chip_id,
     164warp_id,
     165warpRun.label,
     166warpRun.state,
     167warpSkyfile.fault,
     168chipRun.label,
     169chipRun.state
     170 FROM warpRun
     171 JOIN warpSkyfile USING (warp_id)
     172 JOIN fakeRun USING (fake_id)
     173 JOIN camRun USING (cam_id)
     174 JOIN chipRun USING (chip_id)
     175 WHERE warpRun.label LIKE "update.OSS"
     176 AND warpSkyfile.fault > 0
     177 AND warpRun.state LIKE "update"
     178 GROUP BY warp_id;'
     179
     180| awk '{print"
     181 chiptool -dbname gpc1 -updaterun -chip_id "$1" -state update -set_label update.OSS.broke -pretend;
     182 warptool -dbname gpc1 -updaterun -warp_id "$2" -state update -set_label update.OSS.broke -pretend
     183 "}'
     184 | xargs -0 bash -c
     185
     186
     187}}}
     188Note: The above its formatted for readability, you'll have to squish it into one line, fill in the XXXXXs, and remove pretend.
     189
     190
     191Next, add the label to stdscience ({{{pantasks> add.label update.OSS.broke}}})
     192Then put the b nodes up to repair to help clear things out.
     193
     194JRF (late evening): Gave pantasks a restart as it was close to 100k jobs
     195
     196
    118197=== Wednesday : 2019.03.20 ===
    119198
     199
     200MEH moved across the remaining update.OSS.broke labels.
     201
     202The SVN server died!
     203
     204May want to figure out which exposures might have already been reprocessed too, as these ones do not need to be done.
     205we are going to add the LAP PV3 label
     206
     207
     208There are some broken stamps that Rob has requested.
     209
     210{{{
     211count   label   req_id  name                    timestamp                       fault   exp_id  dtime                   utc_timestamp()
     2121       MOPS    918829  weryk_5C92B8D3  2019-03-20 22:15:56     25      466358  00:04:05        2019-03-20 22:20:01
     2132       MOPS    918829  weryk_5C92B8D3  2019-03-20 22:15:56     25      466379  00:04:05        2019-03-20 22:20:01
     2142       MOPS    918829  weryk_5C92B8D3  2019-03-20 22:15:56     25      705006  00:04:05        2019-03-20 22:20:01
     2152       MOPS    918829  weryk_5C92B8D3  2019-03-20 22:15:56     25      705027  00:04:05        2019-03-20 22:20:01
     2161       MOPS    918829  weryk_5C92B8D3  2019-03-20 22:15:56     25      705045  00:04:05        2019-03-20 22:20:01
     2171       MOPS    918829  weryk_5C92B8D3  2019-03-20 22:15:56     25      705068  00:04:05        2019-03-20 22:20:01
     218}}}
     219
     220Time to take the exp_id and have a look:
     221{{{
     222SELECT rawExp.exp_name, rawExp.exp_id, chipRun.chip_id, chipRun.label, chipRun.state, camRun.cam_id, camRun.state, warpRun.warp_id, warpRun.label, warpRun.state  FROM rawExp JOIN chipRun USING (exp_id) JOIN camRun USING (chip_id) JOIN fakeRun USING (cam_id) JOIN warpRun USING (fake_id) WHERE exp_id IN (466358,466379,705006,705027,705045,705068);
     223}}}
     224
     225There are a bunch of cleaned ones but the most recent ones have the label '''update.hold20190318'''
     226
     227Moved them to the ps_ud_MOPS label e.g.
     228{{{
     229chiptool -dbname gpc1 -updaterun -chip_id 428036 -state update -set_label ps_ud_MOPS
     230warptool -dbname gpc1 -updaterun -warp_id 387740 -state update -set_label ps_ud_MOPS
     231}}}
     232
     233And then set them to update:
     234{{{
     235chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 428036
     236}}}
     237
    120238=== Thursday : 2019.03.21 ===
    121239