| | 121 | |
| | 122 | JRF (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 | |
| | 125 | JRF (afternoon) - czar formation ft. MEH: |
| | 126 | |
| | 127 | |
| | 128 | Maybe tomorrow ecliptic.RP |
| | 129 | |
| | 130 | |
| | 131 | Weird warp fault where the state is full: |
| | 132 | {{{ |
| | 133 | o7071g0124o 875375 1530574 1497865 1471180 1477774 skycell.1618.088 full update.OSS |
| | 134 | }}} |
| | 135 | Query 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 | }}} |
| | 139 | shows 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 | }}} |
| | 143 | To 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 | }}} |
| | 147 | check that is has cleaned succesfully (query the database). Then set it to update: |
| | 148 | {{{ |
| | 149 | warptool -dbname gpc1 -setskyfiletoupdate -set_label update.OSS -warp_id 1477774 |
| | 150 | }}} |
| | 151 | |
| | 152 | |
| | 153 | '''Solving warp issues''' |
| | 154 | Move the stuff that is currently broken under the label 'update.OSS' to the 'update.OSS.broke' label. |
| | 155 | To figure out which ones need to be moved have a look at the state, fault, and skyfile |
| | 156 | |
| | 157 | Will need to add this new label to pantasks so it can get priority and actually work on them. |
| | 158 | |
| | 159 | The 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 | {{{ |
| | 161 | mysql -uXXXXX -pXXXXX -hippdb08 gpc1 -B --skip-column-names -e |
| | 162 | |
| | 163 | 'SELECT chip_id, |
| | 164 | warp_id, |
| | 165 | warpRun.label, |
| | 166 | warpRun.state, |
| | 167 | warpSkyfile.fault, |
| | 168 | chipRun.label, |
| | 169 | chipRun.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 | }}} |
| | 188 | Note: The above its formatted for readability, you'll have to squish it into one line, fill in the XXXXXs, and remove pretend. |
| | 189 | |
| | 190 | |
| | 191 | Next, add the label to stdscience ({{{pantasks> add.label update.OSS.broke}}}) |
| | 192 | Then put the b nodes up to repair to help clear things out. |
| | 193 | |
| | 194 | JRF (late evening): Gave pantasks a restart as it was close to 100k jobs |
| | 195 | |
| | 196 | |
| | 199 | |
| | 200 | MEH moved across the remaining update.OSS.broke labels. |
| | 201 | |
| | 202 | The SVN server died! |
| | 203 | |
| | 204 | May want to figure out which exposures might have already been reprocessed too, as these ones do not need to be done. |
| | 205 | we are going to add the LAP PV3 label |
| | 206 | |
| | 207 | |
| | 208 | There are some broken stamps that Rob has requested. |
| | 209 | |
| | 210 | {{{ |
| | 211 | count label req_id name timestamp fault exp_id dtime utc_timestamp() |
| | 212 | 1 MOPS 918829 weryk_5C92B8D3 2019-03-20 22:15:56 25 466358 00:04:05 2019-03-20 22:20:01 |
| | 213 | 2 MOPS 918829 weryk_5C92B8D3 2019-03-20 22:15:56 25 466379 00:04:05 2019-03-20 22:20:01 |
| | 214 | 2 MOPS 918829 weryk_5C92B8D3 2019-03-20 22:15:56 25 705006 00:04:05 2019-03-20 22:20:01 |
| | 215 | 2 MOPS 918829 weryk_5C92B8D3 2019-03-20 22:15:56 25 705027 00:04:05 2019-03-20 22:20:01 |
| | 216 | 1 MOPS 918829 weryk_5C92B8D3 2019-03-20 22:15:56 25 705045 00:04:05 2019-03-20 22:20:01 |
| | 217 | 1 MOPS 918829 weryk_5C92B8D3 2019-03-20 22:15:56 25 705068 00:04:05 2019-03-20 22:20:01 |
| | 218 | }}} |
| | 219 | |
| | 220 | Time to take the exp_id and have a look: |
| | 221 | {{{ |
| | 222 | SELECT 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 | |
| | 225 | There are a bunch of cleaned ones but the most recent ones have the label '''update.hold20190318''' |
| | 226 | |
| | 227 | Moved them to the ps_ud_MOPS label e.g. |
| | 228 | {{{ |
| | 229 | chiptool -dbname gpc1 -updaterun -chip_id 428036 -state update -set_label ps_ud_MOPS |
| | 230 | warptool -dbname gpc1 -updaterun -warp_id 387740 -state update -set_label ps_ud_MOPS |
| | 231 | }}} |
| | 232 | |
| | 233 | And then set them to update: |
| | 234 | {{{ |
| | 235 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 428036 |
| | 236 | }}} |
| | 237 | |