| | 123 | * TdB: We (Roger, Mark, John and myself) met up after coffee to go through some issues. First off, due to rack i.13 being down for repairs, we set chip and warp reverts to off, to prevent error pile-ups: |
| | 124 | {{{ |
| | 125 | chip.revert.off |
| | 126 | warp.revert.off |
| | 127 | }}} |
| | 128 | That rack also contains other machines, namely ippx077-084, which are used by ipppss stdscience pantasks.So, set them to off for now, even though they will come back on after the daily restart. Go the ~ippp2/stdscience pantask and do: |
| | 129 | {{{ |
| | 130 | controller host off ippx077 |
| | 131 | controller host off ippx078 |
| | 132 | controller host off ippx079 |
| | 133 | controller host off ippx080 |
| | 134 | controller host off ippx081 |
| | 135 | controller host off ippx082 |
| | 136 | controller host off ippx083 |
| | 137 | controller host off ippx084 |
| | 138 | }}} |
| | 139 | Next, we went into the regular gpc1 stdscience pantask and removed all the extra machines that were added by doing hosts off m0, etc and until all mahcines are off. We also set the poll back to 300: |
| | 140 | {{{ |
| | 141 | hosts off m0 (8 times) |
| | 142 | hosts off m1 (8 times) |
| | 143 | hosts off c2 (4 times) |
| | 144 | set.poll 300 |
| | 145 | }}} |
| | 146 | |
| | 147 | On IPPmonitor, two exposures were stuck for ps_ud_MOPS. We had a look at them to find out what the problem was: |
| | 148 | {{{ |
| | 149 | mysql -hippdb08 -uXXXXX -pXXXXX gpc1 -e "SELECT chipRun.chip_id,chipRun.state,camRun.cam_id,fakeRun.fake_id,warpRun.warp_id,warpRun.state,warpRun.label,warpRun.data_group FROM warpRun JOIN fakeRun using (fake_id) JOIN camRun using (cam_id) JOIN chipRun using (chip_id) WHERE warpRun.label like 'ps_ud_MOPS' AND warpRun.state = 'update'" |
| | 150 | |
| | 151 | +---------+--------+---------+---------+---------+--------+------------+---------------------------+ |
| | 152 | | chip_id | state | cam_id | fake_id | warp_id | state | label | data_group | |
| | 153 | +---------+--------+---------+---------+---------+--------+------------+---------------------------+ |
| | 154 | | 1192618 | update | 1160583 | 1135857 | 1142465 | update | ps_ud_MOPS | LAP.PV3.20140730.20141029 | |
| | 155 | | 1359800 | update | 1323930 | 1300281 | 1306944 | update | ps_ud_MOPS | LAP.PV3.20140730.20141224 | |
| | 156 | | 1359803 | update | 1323939 | 1300286 | 1306953 | update | ps_ud_MOPS | LAP.PV3.20140730.20141224 | |
| | 157 | | 1829092 | update | 1796609 | 1769133 | 1775748 | update | ps_ud_MOPS | OSS.20161016 | |
| | 158 | | 1829109 | update | 1796626 | 1769150 | 1775765 | update | ps_ud_MOPS | OSS.20161016 | |
| | 159 | | 1829126 | update | 1796643 | 1769167 | 1775782 | update | ps_ud_MOPS | OSS.20161016 | |
| | 160 | | 1829143 | update | 1796660 | 1769188 | 1775803 | update | ps_ud_MOPS | OSS.20161016 | |
| | 161 | | 1884134 | update | 1851648 | 1823771 | 1830386 | update | ps_ud_MOPS | ThreePi.20170111 | |
| | 162 | | 1902599 | update | 1870113 | 1842164 | 1848779 | update | ps_ud_MOPS | OSS.20170216 | |
| | 163 | +---------+--------+---------+---------+---------+--------+------------+---------------------------+ |
| | 164 | }}} |
| | 165 | They were stuck in update. We then looked at their data_states using: |
| | 166 | {{{ |
| | 167 | mysql -hippdb08 -uXXXXX -pXXXXX gpc1 -e "SELECT chipRun.chip_id,chipRun.state,camRun.cam_id,fakeRun.fake_id,warpRun.warp_id,warpRun.state,warpRun.label,warpRun.data_group,chipProcessedImfile.data_state,warpSkyfile.data_state FROM warpRun join warpSkyfile using (warp_id) JOIN fakeRun using (fake_id) JOIN camRun using (cam_id) JOIN chipRun using (chip_id) JOIN chipProcessedImfile using (chip_id) WHERE warpRun.label like 'ps_ud_MOPS' AND warpRun.state = 'update'" |
| | 168 | }}} |
| | 169 | This showed that the data_state for the warps were partially full and partially update. So, the full warp_id was set to update, but the chips are not set to update, and stuck in clean. |
| | 170 | To solve that, set the chips to update again: |
| | 171 | {{{ |
| | 172 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1192618 |
| | 173 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1359800 |
| | 174 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1359803 |
| | 175 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1829092 |
| | 176 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1829109 |
| | 177 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1829126 |
| | 178 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1829143 |
| | 179 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1884134 |
| | 180 | chiptool -dbname gpc1 -setimfiletoupdate -set_label ps_ud_MOPS -chip_id 1902599 |
| | 181 | }}} |
| | 182 | Finally, there was one more detrend file that has the same issue as last night, namely a VIDEMASK file with end_time set to 2021. It's det_id is found through: |
| | 183 | {{{ |
| | 184 | detselect -show -det_type VIDEOMASK -dbname gpc1 -simple |
| | 185 | |
| | 186 | 956 0 chip VIDEOMASK register 2012-05-26T00:01:23.000000 2011-08-02T00:00:00.000000 2021-05-01T00:00:00.000000 |
| | 187 | 955 0 chip VIDEOMASK register 2012-05-26T00:01:13.000000 2011-03-09T00:00:00.000000 2011-03-10T23:59:59.000000 |
| | 188 | 954 0 chip VIDEOMASK register 2012-05-26T00:01:04.000000 2011-01-06T00:00:00.000000 NULL |
| | 189 | 953 0 chip VIDEOMASK register 2012-05-26T00:00:55.000000 2010-01-01T00:00:00.000000 NULL |
| | 190 | 952 0 chip VIDEOMASK register 2012-05-26T00:00:47.000000 2009-12-09T00:00:00.000000 NULL |
| | 191 | 951 0 chip VIDEOMASK register 2012-05-26T00:00:39.000000 2009-01-01T00:00:00.000000 NULL |
| | 192 | }}} |
| | 193 | and the fixed using: |
| | 194 | {{{ |
| | 195 | dettool -updatedetrun -dbname gpc1 -set_time_end 2099-04-01T00:00:00.000000 -det_id 956 |
| | 196 | }}} |