dgrove-oss 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-451159563
 
 
   @rredhatt -- next thing to check is to make sure the alarmprovider was 
actually deployed correctly.  Do `kubectl get pods -n openwhisk` and look for a 
pod called `alarmprovider-SOMEUID`.  If it exists, try getting its logs with 
`kubectl logs <POD_NAME> -n openwhisk` and see if it managed to create the 
alarm database correctly.  The start of the log file should look something like:
   ```
   [2019-01-02T22:39:37.881Z] [INFO] [??] [alarmsTrigger] [createDatabase] 
creating the trigger database
   [2019-01-02T22:39:37.916Z] [INFO] [??] [alarmsTrigger] [server.listen] 
Express server listening on port 8080
   [2019-01-02T22:39:38.022Z] [INFO] [??] [alarmsTrigger] [createDatabase] 
created trigger database: almalarmservice
   [2019-01-02T22:39:38.107Z] [INFO] [??] [alarmsTrigger] [initAllTriggers] 
resetting system from last state
   [2019-01-02T22:42:49.841Z] [INFO] [??] [alarmsTrigger] [setupFollow] got 
change for trigger xxxxxxxx/guest/five-mins-data
   [2019-01-02T22:42:49.845Z] [INFO] [??] [alarmsTrigger] [scheduleCronAlarm] 
xxxxxxxx/guest/five-mins-data starting cron job
   [2019-01-02T22:42:49.891Z] [INFO] [??] [alarmsTrigger] [setupFollow] 
xxxxxxxx/guest/five-mins-data created successfully
   [2019-01-02T22:45:00.005Z] [INFO] [??] [alarmsTrigger] [fireTrigger] Alarm 
fired for xxxxxxxx/guest/five-mins-data attempting to fire trigger
   [2019-01-02T22:45:00.058Z] [INFO] [??] [alarmsTrigger] [postTrigger] 
xxxxxxxx/guest/five-mins-data http post request, STATUS: 204
   [2019-01-02T22:45:00.058Z] [INFO] [??] [alarmsTrigger] [postTrigger] fired 
xxxxxxxx/guest/five-mins-data
   ```
   (You probably won't have the lines about the five-mins-data trigger...this 
log is from my openwhisk where the trigger create worked as expected).

----------------------------------------------------------------
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

Reply via email to