Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ++ source /opt/partition/partitionPV.sh
- +++ source /opt/eap/bin/launch/launch-common.sh
- +++ source /opt/eap/bin/launch/logging.sh
- +++++ type -t log_warning
- ++++ '[' -z function ']'
- +++ '[' xtrue = xtrue ']'
- +++ DEBUG_QUERY_API_PARAM='-l debug'
- +++ IS_SPLIT_DATA_DEFINED=false
- +++ '[' '' = TRUE ']'
- +++ IS_TX_SQL_BACKEND=false
- +++ '[' -n testtx-postgresql=TESTTX ']'
- +++ IS_TX_SQL_BACKEND=true
- +++ '[' x = xtrue ']'
- +++ false
- +++ '[' x = xtrue ']'
- +++ [[ '' =~ ^[0-9]+$ ]]
- +++ TX_JDBC_RECOVERY_CONNECTION_RETRY=3
- ++ DATA_DIR=/opt/eap/standalone/data
- ++ startApplicationServer /opt/eap/standalone/data 30
- ++ local podsDir=/opt/eap/standalone/data
- ++ init_pod_name
- ++ '[' -n '' ']'
- ++ '[' -n '' ']'
- ++ '[' -z '' ']'
- ++ POD_NAME=
- ++ '[' -z '' ']'
- ++ POD_NAME=18c2f173bc07
- ++ '[' -z 18c2f173bc07 ']'
- ++ local applicationPodDir=/opt/eap/standalone/data/18c2f173bc07
- ++ '[' xfalse '!=' xtrue ']'
- ++ true
- ++ initJdbcRecoveryMarkerProperties
- ++ tx_backend=testtx-postgresql=TESTTX
- ++ service_name=testtx-postgresql
- ++ service=TESTTX-POSTGRESQL
- ++ service=TESTTX_POSTGRESQL
- ++ db=POSTGRESQL
- ++ prefix=TESTTX
- +++ find_env TESTTX_POSTGRESQL_SERVICE_HOST
- +++ var=mylocaltxhost
- +++ echo mylocaltxhost
- ++ JDBC_RECOVERY_DB_HOST=mylocaltxhost
- +++ find_env TESTTX_POSTGRESQL_SERVICE_PORT
- +++ var=1999
- +++ echo 1999
- ++ JDBC_RECOVERY_DB_PORT=1999
- +++ find_env TESTTX_DATABASE
- +++ var=
- +++ echo ''
- ++ JDBC_RECOVERY_DATABASE=
- +++ find_env TESTTX_USERNAME
- +++ var=txuser
- +++ echo txuser
- ++ JDBC_RECOVERY_USER=txuser
- +++ find_env TESTTX_PASSWORD
- +++ var=txpwd
- +++ echo txpwd
- ++ JDBC_RECOVERY_PASSWORD=txpwd
- +++ cat /var/run/secrets/kubernetes.io/serviceaccount/namespace
- cat: /var/run/secrets/kubernetes.io/serviceaccount/namespace: No such file or directory
- ++ JDBC_RECOVERY_NAMESPACE=
- ++ JDBC_INFO=mylocaltxhost:1999/
- ++ local jdbcTableSuffix=
- ++ '[' x '!=' x ']'
- ++ JDBC_RECOVERY_TABLE=recmark
- ++ JDBC_PODNAME_REGISTRY_TABLE=recpodreg
- ++ case "$db" in
- ++ JDBC_RECOVERY_DB_TYPE=postgresql
- +++ dirname /opt/partition/partitionPV.sh
- ++ LOGGING_PROPERTIES=-Djava.util.logging.config.file=/opt/partition/logging.properties
- ++ '[' xtrue = xtrue ']'
- ++ LOGGING_PROPERTIES=
- ++ local add_modules=
- ++ '[' 1.8.0 = 11.0 ']'
- ++ local 'jdbcCommand=java -jar /opt/eap/jboss-modules.jar -mp /opt/eap/modules/ io.narayana.openshift-recovery -y postgresql -o mylocaltxhost -p 1999 -d -u txuser -s txpwd'
- ++ JDBC_COMMAND_RECOVERY_MARKER='java -jar /opt/eap/jboss-modules.jar -mp /opt/eap/modules/ io.narayana.openshift-recovery -y postgresql -o mylocaltxhost -p 1999 -d -u txuser -s txpwd -t recmark -c'
- ++ JDBC_COMMAND_PODNAME_REGISTRY='java -jar /opt/eap/jboss-modules.jar -mp /opt/eap/modules/ io.narayana.openshift-recovery -y postgresql -o mylocaltxhost -p 1999 -d -u txuser -s txpwd -t recpodreg -c'
- +++ date
- ++ log_info '[Wed May 8 16:55:20 UTC 2019] Using database transaction recovery marker to be saved at mylocaltxhost:1999/'
- ++ local 'message=[Wed May 8 16:55:20 UTC 2019] Using database transaction recovery marker to be saved at mylocaltxhost:1999/'
- ++ echo -e 'INFO [Wed May 8 16:55:20 UTC 2019] Using database transaction recovery marker to be saved at mylocaltxhost:1999/'
- INFO [Wed May 8 16:55:20 UTC 2019] Using database transaction recovery marker to be saved at mylocaltxhost:1999/
- ++ local loopCount=0
- ++ createRecoveryDatabaseSchema
- ++ java -jar /opt/eap/jboss-modules.jar -mp /opt/eap/modules/ io.narayana.openshift-recovery -y postgresql -o mylocaltxhost -p 1999 -d -u txuser -s txpwd -t recmark -c create
- Unknown argument 'txuser'
- txn-recovery-marker-jdbc: creating and storing transaction recovery markers in database. Available command line arguments are:
- -y/--type_db : Database type the script will be working with
- -i/--hibernate_dialect : Hibernate dialect to be used
- -j/--jdbc_driver_class : Fully classified JDBC Driver class
- -l/--url : JDBC url which has precedence over configured host/port/database information
- -o/--host : Hostname where the database runs
- -p/--port : Port where the database runs
- -d/--database : Database name to connect to at the host and port
- -u/--user : Username at the database to connect to
- -s/--password : Password for the username at the database to connect to
- -t/--table_name : Table name to be working with
- -c/--command : Command to run in database available options are to create db schema to insert a record to delete the record and list recovery pod names
- -a/--application_pod_name : Application pod name which will be either inserted/deleted onto database or by which query will be filtered
- -r/--recovery_pod_name : Recovery pod name which will be either inserted/deleted onto database or by which query will be filtered
- -f/--format : Output format
- -v/--verbose : Enable verbose logging
- -h/--help : Printing this help
- ++ '[' 1 -ne 0 ']'
- ++ return 1
- ++ '[' 0 -ge 3 ']'
- +++ date
- ++ log_error '[Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.'
- ++ local 'message=[Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.'
- ++ echo -e '\033[0;31mERROR [Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.\033[0m'
- ERROR [Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.
- ++ log_error 'mylocaltxhost:1999/ is probably not available.'
- ++ local 'message=mylocaltxhost:1999/ is probably not available.'
- ++ echo -e '\033[0;31mERROR mylocaltxhost:1999/ is probably not available.\033[0m'
- ERROR mylocaltxhost:1999/ is probably not available.
- ++ loopCount=1
- ++ createRecoveryDatabaseSchema
- ++ java -jar /opt/eap/jboss-modules.jar -mp /opt/eap/modules/ io.narayana.openshift-recovery -y postgresql -o mylocaltxhost -p 1999 -d -u txuser -s txpwd -t recmark -c create
- Unknown argument 'txuser'
- txn-recovery-marker-jdbc: creating and storing transaction recovery markers in database. Available command line arguments are:
- -y/--type_db : Database type the script will be working with
- -i/--hibernate_dialect : Hibernate dialect to be used
- -j/--jdbc_driver_class : Fully classified JDBC Driver class
- -l/--url : JDBC url which has precedence over configured host/port/database information
- -o/--host : Hostname where the database runs
- -p/--port : Port where the database runs
- -d/--database : Database name to connect to at the host and port
- -u/--user : Username at the database to connect to
- -s/--password : Password for the username at the database to connect to
- -t/--table_name : Table name to be working with
- -c/--command : Command to run in database available options are to create db schema to insert a record to delete the record and list recovery pod names
- -a/--application_pod_name : Application pod name which will be either inserted/deleted onto database or by which query will be filtered
- -r/--recovery_pod_name : Recovery pod name which will be either inserted/deleted onto database or by which query will be filtered
- -f/--format : Output format
- -v/--verbose : Enable verbose logging
- -h/--help : Printing this help
- ++ '[' 1 -ne 0 ']'
- ++ return 1
- ++ '[' 1 -ge 3 ']'
- +++ date
- ++ log_error '[Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.'
- ++ local 'message=[Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.'
- ++ echo -e '\033[0;31mERROR [Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.\033[0m'
- ERROR [Wed May 8 16:55:20 UTC 2019] Cannot create schema of database transaction recovery records. Will be retrying.
- ++ log_error 'mylocaltxhost:1999/ is probably not available.'
- ++ local 'message=mylocaltxhost:1999/ is probably not available.'
- ++ echo -e '\033[0;31mERROR mylocaltxhost:1999/ is probably not available.\033[0m'
- ERROR mylocaltxhost:1999/ is probably not available.
- ++ loopCount=2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement