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-321376775 @jasonpet -> Thanks for your scripts, it installed successfully. I am getting error creating a trigger using the feed, should I be starting a container for an alarm? I dont see any documentation. I assumed: 1. Install your alarms package which I can see. 2. Create and action 3. Create trigger: "wsk trigger create every-20-seconds --feed /whisk.system/alarms/alarm --param cron '*/20 * * * * *' --param maxTriggers 15 -v -d" OUTPUT: Response body received: { "activationId": "c57e22f0ffe64dd391b96b00971b7b72" } [-whisk/whisk.(*Client).Do]:262:[Inf] Response body received (ASCII quoted string): "{\n \"activationId\": \"c57e22f0ffe64dd391b96b00971b7b72\"\n}" [k.IsResponseResultSuccess]:474:[Wrn] IsResponseResultSuccess: failed to parse response result: <nil> [hisk.parseSuccessResponse]:399:[Inf] Parsing HTTP response into struct type: *map[string]interface {} [hisk.parseSuccessResponse]:408:[Inf] Successful parse of HTTP response into struct type: *map[string]interface {} [k.(*ActionService).Invoke]:258:[Err] s.client.Do() error - HTTP req http://10.23.233.114:10001/api/v1/namespaces/whisk.system/actions/alarms/alarm?blocking=true&result=false; error 'Request accepted, but processing not completed yet.' ok: invoked /whisk.system/alarms/alarm, but the request has not yet finished, with id c57e22f0ffe64dd391b96b00971b7b72 [li/commands.configureFeed]:470:[Err] Invoke of action '/whisk.system/alarms/alarm' failed: Request accepted, but processing not completed yet. [k-cli/commands/trigger.go]:394:[Err] configureFeed(every-20-seconds, /whisk.system/alarms/alarm) failed: Unable to invoke trigger 'every-20-seconds' feed action '/whisk.system/alarms/alarm'; feed is not configured: Request accepted, but processing not completed yet. [k.(*Client).addAuthHeader]:203:[Inf] Adding basic auth header; using authkey ---------------------------------------------------------------- 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: [email protected]
With regards, Apache Git Services
