You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/01 20:39:14 UTC
[GitHub] hsane2001 commented on issue #51: how to get this into my current install of openwhisk
hsane2001 commented on issue #51: how to get this into my current install of openwhisk
URL: https://github.com/apache/incubator-openwhisk-package-alarms/issues/51#issuecomment-319489838
I am on a local ubuntu setup. Can you outline what each parameter to the installCatalog script mean or how to find them out?. this is what I used:
authkey = `cat ansible/files/auth.guest`
dburl = http://10.23.233.195:5984 (not sure what this should be?)
dbprefix = whisk
api_host = 10.23.233.195:5984
edgehost = $API_HOST
I get the api host using: "wsk property get"
whisk auth 23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
whisk API host http://10.23.233.195:10001
whisk API version v1
whisk namespace _
whisk CLI version 2017-07-21T16:42:25+00:00
Next: gradlew :distDocker (works)
wsk trigger create every-20-seconds (works)
BUT wsk trigger create every-20-seconds --feed /whisk.system/alarms/alarm results in an error.
wsk avtivation poll output:
Activation: alarm (087ada02d9454e55a85cf10a9affcb24)
[
"2017-08-01T12:28:42.096738658Z stdout: alarm: Error invoking whisk action: { Error: tunneling socket could not be established, cause=socket hang up",
"2017-08-01T12:28:42.096768284Z stdout: at ClientRequest.onError (/nodejsAction/node_modules/tunnel-agent/index.js:176:17)",
"2017-08-01T12:28:42.096775005Z stdout: at ClientRequest.g (events.js:291:16)",
"2017-08-01T12:28:42.096780437Z stdout: at emitOne (events.js:96:13)",
"2017-08-01T12:28:42.096785546Z stdout: at ClientRequest.emit (events.js:188:7)",
"2017-08-01T12:28:42.096790724Z stdout: at TLSSocket.socketErrorListener (_http_client.js:310:9)",
"2017-08-01T12:28:42.09679563Z stdout: at emitOne (events.js:96:13)",
"2017-08-01T12:28:42.096800828Z stdout: at TLSSocket.emit (events.js:188:7)",
"2017-08-01T12:28:42.096805641Z stdout: at emitErrorNT (net.js:1276:8)",
"2017-08-01T12:28:42.096810624Z stdout: at _combinedTickCallback (internal/process/next_tick.js:74:11)",
"2017-08-01T12:28:42.096815518Z stdout: at process._tickCallback (internal/process/next_tick.js:98:9) code: 'ECONNRESET' }"
]
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services