taped server dies when configuring PGSCHED as a backend
Currently when trying to start up the taped daemon, it fails. We need to fix this.
[cta@jaro-dev-cc7 CTA (603-pgsched-design-scheduler-db-structure-for-archive-job-queue)]$ kubectl logs tpsrv01 --namespace nsdev taped | tail -n 30
Configuring mhvtl library
DRIVESLOT is set using its value
export LIBRARYTYPE=mhvtl
export LIBRARYNAME=VLSTK10
export LIBRARYDEVICE=sg2
export DRIVENAMES=(VDSTK11 VDSTK12 VDSTK13)
export DRIVEDEVICES=(nst1 nst0 nst2)
export TAPES=(V01001 V01002 V01003 V01004 V01005 V01006 V01007)
export driveslot=0
Configuring postgres database
Objectstore configmap is not defined.
database.postgres.database
database.postgres.password
database.postgres.path
database.postgres.server
database.postgres.username
database.type
Configuring database
Configuring postgres database
Feb 19 08:54:55.255649 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="6" traceFrame="/usr/bin/cta-taped() [0x49cf1a]"
Feb 19 08:54:55.255663 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="7" traceFrame="/usr/bin/cta-taped() [0x4a117c]"
Feb 19 08:54:55.255677 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="8" traceFrame="/usr/bin/cta-taped() [0x4a0d34]"
Feb 19 08:54:55.255687 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="9" traceFrame="/usr/bin/cta-taped() [0x45f3ff]"
Feb 19 08:54:55.255701 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="10" traceFrame="/usr/bin/cta-taped() [0x45f06a]"
Feb 19 08:54:55.255711 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="11" traceFrame="/usr/bin/cta-taped() [0x45e9f3]"
Feb 19 08:54:55.255724 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="12" traceFrame="/usr/bin/cta-taped() [0x458c72]"
Feb 19 08:54:55.255738 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="13" traceFrame="/usr/bin/cta-taped() [0x4592a3]"
Feb 19 08:54:55.255752 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="14" traceFrame="/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fab14721555]"
Feb 19 08:54:55.255766 tpsrv01 cta-taped: LVL="INFO" PID="294" TID="294" MSG="Stack trace" traceFrameNumber="15" traceFrame="/usr/bin/cta-taped() [0x458969]"
taped died
Edited by Jaroslav Guenther