*** spatel has joined #senlin | 00:46 | |
*** spatel has quit IRC | 00:52 | |
*** sapd1 has joined #senlin | 01:30 | |
*** spatel has joined #senlin | 02:26 | |
*** spatel has quit IRC | 02:28 | |
*** sapd1_x has joined #senlin | 04:39 | |
*** sapd1 has quit IRC | 04:43 | |
*** sapd1_x has quit IRC | 05:38 | |
*** sapd1_x has joined #senlin | 05:57 | |
*** sapd1_x has quit IRC | 06:51 | |
*** sapd1_x has joined #senlin | 07:06 | |
*** sapd1_x has quit IRC | 07:59 | |
*** sapd1 has joined #senlin | 12:24 | |
*** sapd1 has quit IRC | 13:19 | |
*** spatel has joined #senlin | 14:15 | |
spatel | dtruong: morning | 14:48 |
---|---|---|
spatel | I saw your comments and i did try to use exception to trigger error but somehow its throwing nasty error in logs and failing to create LB - https://review.opendev.org/c/openstack/senlin/+/768296/10/senlin/policies/lb_policy.py#344 | 14:48 |
spatel | I will give it a try again and will ask you to see if i missed or did something wrong | 14:49 |
*** sapd1 has joined #senlin | 15:20 | |
dtruong | If you see the error again, can you post it? | 16:43 |
*** sapd1 has quit IRC | 17:07 | |
spatel | sure | 17:08 |
*** sapd1 has joined #senlin | 17:21 | |
*** sapd1 has quit IRC | 17:47 | |
spatel | dtruong: there? | 21:02 |
spatel | This is what i am trying - http://paste.openstack.org/show/801465/ | 21:02 |
spatel | look like its not going inside try: | 21:02 |
spatel | This is the error i am getting when trying to create policy with bad flavor_id | 21:03 |
spatel | ResourceNotFound: 404: Client Error for url: http://10.65.0.121:8778/v1/policies, The policy_type 'senlin.policy.loadbalance-1.1' could not be found. | 21:03 |
*** jmlowe has quit IRC | 21:33 | |
spatel | I have indented 4 space in try: block and look like it works but seeing this error in logs - http://paste.openstack.org/show/801467/ | 21:40 |
spatel | It should print msg = _() block but it doesn't going there. can you verify if anything wrong in my snippet | 21:42 |
*** spatel has quit IRC | 22:40 | |
dtruong | You are calling the openstacksdk method directly using oc.conn. In order for it to return an InternalError exception, you need to wrap the call to openstacksdk in this file: https://github.com/openstack/senlin/blob/master/senlin/drivers/os/octavia_v2.py | 23:02 |
dtruong | I.e. create a method called flavor_get in that file | 23:03 |
dtruong | using the @sdk.translate_exception decorator, then the correct exception will be returned | 23:04 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!