I have a PIPE action in our pqact.conf that was working...until it stopped.
I can't figure out what changed. Putting pqact in DEBUG yielded the
following log messages...
20260423T171759.226677Z pqact[3286699]
palt.c:processProduct:1332 INFO 928481a80643522717d70b2fa139c28e
35526969 20260423171755.509410 NOTHER 1130006 TICY70 KNES 231707
20260423T171759.226808Z pqact[3286699] palt.c:prodAction:1217
DEBUG pipe: {cmd: "-close
/usr/local/ldm/agents/storeAndIngestFile.py
/data_store/polar/20260423/17/TICY70_KNES_23170
7_1130006.2026042317 TICX99", ident: "TICY70 KNES 231707"}
20260423T171759.227206Z pqact[3286699] filel.c:pipe_open:1854
DEBUG 6 3295768
20260423T171759.227247Z pqact[3286699]
filel.c:pipe_prodput:2174 DEBUG 6 TICY70 KNES 231707
20260423T171759.227414Z pqact[3295768] filel.c:pipe_open:1819
INFO Executing decoder
"/usr/local/ldm/agents/storeAndIngestFile.py"
20260423T171759.292967Z pqact[3286699]
filel.c:fl_removeAndFree:421 DEBUG Deleting failed PIPE entry:
cmd="-close /usr/local/ldm/agents/storeAndIngestFile.py
/data_store/polar/20260423/
17/TICY70_KNES_231707_1130006.2026042317 TICX99", pid=3295768
20260423T171759.293001Z pqact[3286699] filel.c:pipe_close:1901
DEBUG 6, 3295768
20260423T171759.293050Z pqact[3286699] pbuf.c:pbuf_flush:111
ERROR Broken pipe
20260423T171759.293070Z pqact[3286699] pbuf.c:pbuf_flush:111
ERROR Couldn't write to pipe: fd=6, len=4096, cmd="-close
/usr/local/ldm/agents/storeAndIngestFile.py
/data_store/polar/20260423/17/TICY70_KNES_231707_1130006.2026042317 TICX99"
20260423T171759.293088Z pqact[3286699] palt.c:prodAction:1229
ERROR Couldn't process product: feedtype=NOTHER,
pattern="^(TICY70) (KNES) (..)(..)(..)", action=pipe, args="-close
/usr/local/ldm/agents/storeAndIngestFile.py
/data_store/polar/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H TICX99"
20260423T171759.293385Z pqact[3286699] filel.c:reap:3056
WARN Child 3295768 exited with status 1
The pqact.conf entry is...
ANY<TAB>^(TICY70) (KNES) (..)(..)(..)
<TAB>PIPE<TAB>-close /usr/local/ldm/agents/storeAndIngestFile.py
/data_store/polar/(\3:yyyy)(\3:mm)\3/\4/\1_\2_\3\4\5_(seq).%Y%m%d%H TICX99
I also ran the Python script from the command line, and it runs without
errors.
I'm thinking a clue might be the presence of "-close" in the cmd entries
above, but I can't see anything wrong with the pqact.conf entry.
Also, multiple products/patterns that use this PIPE action and script are
all failing with these errors.
I appreciate any input!
Matt
--
Matt Foster
Sr. Application Development Met.
NOAA Affiliate - KBR