*** vishalmanchanda has joined #openstack-monasca | 04:40 | |
*** mbindlish has joined #openstack-monasca | 07:18 | |
mbindlish | Hi All, I am getting a error in monasca-alarm service. Can anybody suggest where should I check/debug? | 07:22 |
---|---|---|
mbindlish | Here is the error: http://paste.openstack.org/show/794990/ | 07:22 |
*** witek has joined #openstack-monasca | 07:30 | |
*** dougsz has joined #openstack-monasca | 07:33 | |
chaconpiza | Hi mbindsh, it seems that the problem is with the connection to Keystone. May I know how are you deploying Monasca? | 08:45 |
mbindlish | @chaconpiza I am deploying it using k8s. I have taken images, files from monasca-docker repo(https://github.com/monasca/monasca-docker) | 09:26 |
mbindlish | Using external keystone | 09:27 |
mbindlish | Working fine for all other services but failing only for monasca-alarm | 09:27 |
mbindlish | As far as I have checked, data set in environment for monasca alarm is matching with my keystone credentilas(openrc) | 09:28 |
*** nikparasyr has joined #openstack-monasca | 09:35 | |
dougsz | mbindlish: have you got a log entry for the auth fail on that container? | 09:44 |
mbindlish | @dougsz No, only have that exception during running of "python monasca_alarm_definition.py --verbose --definitions-file /config/definitions.yml" | 09:46 |
dougsz | Ah, that is some way of automating alarms? Sorry I haven't used it before | 09:47 |
mbindlish | :) | 09:47 |
dougsz | We use this which might be useful: https://github.com/stackhpc/monasca-default-alarms | 09:48 |
chaconpiza | This is the automating service that mbindlish is using, right? https://github.com/monasca/monasca-docker/tree/master/monasca-alarms | 09:51 |
dougsz | Yeah, looks like it. | 09:51 |
mbindlish | @chaconpiza yups, using this one | 09:51 |
dougsz | What is the exception out of interest? | 09:52 |
mbindlish | @dougsz http://paste.openstack.org/show/794990/ | 09:53 |
dougsz | Hmm. My approach would be to dump the failing request via rpdb, or an extra log line, and then compare with one from `monasca notification-create blah -vvv` | 09:56 |
dougsz | Is osc_lib pinned to a version which supports py27? | 09:56 |
mbindlish | I don't think osc_lib is pined with py27. I have also installed using docker compose once. It was working fine. | 10:00 |
mbindlish | monasca alarm service is not able to start, so I think creating notification might not help. As the service is getting stop at initial point. I think rpdb will work when service is able to receive request in this case. Not sure! | 10:04 |
witek | from what I recall, monasca-alarm was run only once to create alarm definitions | 10:05 |
mbindlish | @witek , yes, let me debug in that way, might be helpful. | 10:12 |
chaconpiza | Yes, monasca-alarms runs once to create alarm-definitions and 1 notification, then exits. | 10:19 |
chaconpiza | With docker-compose: | 10:19 |
chaconpiza | Monasca API is ready | 10:19 |
chaconpiza | Processing notification "default" | 10:19 |
chaconpiza | Creating Notification "default" | 10:19 |
chaconpiza | 1 Notifications Processed 1 Notifications Changed | 10:19 |
chaconpiza | Processing Alarm Definition "Host Status" | 10:19 |
chaconpiza | ...etc. | 10:19 |
*** k_mouza has joined #openstack-monasca | 10:32 | |
mbindlish | checked that way, monasca alarm job is failing. Error somewhere in connection with keystone.(keystoneauth1.exceptions.http.BadRequest: Bad Request (HTTP 400)) | 11:02 |
mbindlish | It is working fine till "Creating Notification "default"" but failing for keystone afterwards. | 11:02 |
*** dougsz has quit IRC | 11:33 | |
*** k_mouza has quit IRC | 12:24 | |
*** k_mouza has joined #openstack-monasca | 12:41 | |
*** Dobroslaw has joined #openstack-monasca | 14:02 | |
*** Dobroslaw has left #openstack-monasca | 14:02 | |
*** KeithMnemonic has joined #openstack-monasca | 14:23 | |
*** nikparasyr has quit IRC | 15:32 | |
*** nikparasyr has joined #openstack-monasca | 15:32 | |
*** mbindlish has quit IRC | 15:54 | |
*** witek has quit IRC | 16:36 | |
*** nikparasyr has quit IRC | 16:57 | |
*** k_mouza has quit IRC | 17:05 | |
*** gmann is now known as gmann_afk | 17:13 | |
*** k_mouza has joined #openstack-monasca | 17:49 | |
*** k_mouza has quit IRC | 17:54 | |
*** sum12 has quit IRC | 18:13 | |
*** sum12 has joined #openstack-monasca | 18:27 | |
*** chaconpiza has quit IRC | 19:42 | |
*** KeithMnemonic has quit IRC | 19:59 | |
*** gmann_afk is now known as gmann | 20:15 | |
*** vishalmanchanda has quit IRC | 20:40 | |
*** zijlboot_ has joined #openstack-monasca | 22:21 | |
*** zijlboot has quit IRC | 22:24 | |
*** k_mouza has joined #openstack-monasca | 23:12 | |
*** k_mouza has quit IRC | 23:16 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!