*** thorst has joined #openstack-watcher | 00:47 | |
*** thorst has quit IRC | 01:06 | |
*** thorst has joined #openstack-watcher | 01:29 | |
openstackgerrit | junjie.huang proposed openstack/watcher-specs: outlet Temperature based migration strategy spec https://review.openstack.org/252268 | 02:03 |
---|---|---|
*** wootehfoot has quit IRC | 02:11 | |
*** thorst_ has joined #openstack-watcher | 02:13 | |
*** thorst has quit IRC | 02:17 | |
*** thorst_ has quit IRC | 02:25 | |
*** thorst has joined #openstack-watcher | 02:25 | |
*** thorst has quit IRC | 02:30 | |
*** thorst has joined #openstack-watcher | 03:30 | |
*** thorst has quit IRC | 03:31 | |
*** thorst has joined #openstack-watcher | 03:31 | |
*** thorst has quit IRC | 03:39 | |
*** mordred has quit IRC | 07:32 | |
*** jwcroppe has joined #openstack-watcher | 08:03 | |
*** vincentfrancoise has joined #openstack-watcher | 08:27 | |
openstackgerrit | Merged openstack/watcher: Move Audit-template management in DefaultStrategyContext https://review.openstack.org/260056 | 08:29 |
jed56 | alexstav: yes | 08:38 |
*** openstackgerrit has quit IRC | 08:47 | |
*** openstackgerrit has joined #openstack-watcher | 08:47 | |
*** gabor_antal has quit IRC | 09:51 | |
*** mordred has joined #openstack-watcher | 12:06 | |
*** openstackgerrit has quit IRC | 12:17 | |
*** openstackgerrit has joined #openstack-watcher | 12:17 | |
sballe | All just a reminder that we decided not to have a weekly IRC meeting today | 12:28 |
*** thorst has joined #openstack-watcher | 13:07 | |
*** mordred has quit IRC | 13:10 | |
*** thorst has quit IRC | 13:29 | |
*** alexstav has joined #openstack-watcher | 13:32 | |
alexstav | Hi, guys! May somebody help me with watcher errors fix? :) | 13:33 |
*** thorst has joined #openstack-watcher | 13:46 | |
*** thorst has quit IRC | 13:54 | |
jed56 | 5:57 PM <jed56> alexstav: can look at rabbitmq and check if the decision engine is connected to the topic watcher.decision.control | 14:02 |
alexstav | jed56: i found error in keystone. It can't find 'default' domain. | 14:03 |
alexstav | But it exists. | 14:03 |
alexstav | Maybe problem is in auth_uri version? | 14:03 |
alexstav | v3? | 14:04 |
alexstav | But when I execute commands like 'audit-list' watcher authorise successfully. | 14:05 |
jed56 | yes audit-list is querying watcher-api | 14:05 |
jed56 | but the decision-engine is querying nova | 14:06 |
jed56 | maybe the problem is https://github.com/openstack/watcher/blob/master/watcher/decision_engine/strategy/context/default.py#L55 | 14:07 |
jed56 | alexstav : can you try : http://pastebin.com/CtEXgWbZ | 14:10 |
jed56 | This will allow us to check if you can call nova api we your parameters | 14:14 |
jed56 | This will allow us to check if you can call nova api with your parameters | 14:14 |
alexstav | jed56: it stack on getting wrapper | 14:19 |
jed56 | line 16 ? | 14:19 |
alexstav | Yep | 14:20 |
jed56 | ok good news I think we have isolated the problem. | 14:20 |
jed56 | so we need now to figure out what is the problem :) | 14:21 |
alexstav | So in /watcher/metrics_engine/cluster_model_collector/manager.py it can't get wrapper = NovaClient() | 14:21 |
alexstav | Because keystone can't find 'default' domain with current creds. | 14:22 |
alexstav | And I can't understand why, cause 'default'-domain exists :) | 14:22 |
alexstav | 'openstack domain list' show it to me | 14:22 |
jed56 | to be sure that the problem is with keystone | 14:23 |
jed56 | can just try keystone.get_session() | 14:23 |
alexstav | No, keystone.get_session() executes. | 14:25 |
alexstav | I execute this http://pastebin.com/UPgT9wUL | 14:26 |
jed56 | do you have a token ? | 14:26 |
jed56 | http://pastebin.com/v7eBgBRB | 14:26 |
alexstav | And see | 14:26 |
alexstav | before keystone | 14:26 |
alexstav | after keystone, before get_session() | 14:26 |
alexstav | after keystone.get_session(), before wrapper | 14:26 |
alexstav | No, i can't get token. | 14:27 |
jed56 | so it's why :) | 14:28 |
jed56 | I think to need to take a look to the logger of keystone | 14:28 |
jed56 | I think you need to take a look to the log of your keystone$ | 14:28 |
jed56 | https://www.irccloud.com/pastebin/RNI9QcnD/ | 14:30 |
jed56 | with this code | 14:30 |
jed56 | you have to retrieve the list of your hypervisors | 14:31 |
alexstav | jed56: thanks a lot for your time! Here are my logs of keystone and engine, whene audit triggered fails: https://glot.io/snippets/eaalowok1k | 14:36 |
jed56 | are you using LDAP with keysyone ? | 14:37 |
alexstav | jed56: no, i need?) | 14:38 |
jed56 | no | 14:39 |
jed56 | :) | 14:39 |
alexstav | jed56: i have the same problem: keystoneauth1.exceptions.http.Unauthorized: Could not find domain: default (Disable debug mode to suppress these details.) (HTTP 401) (Request-ID: req-5f9222de-f012-44f4-8bb5-5e39964a5736) | 14:39 |
alexstav | I forget to change IP in yours code. :D | 14:40 |
jed56 | lol | 14:40 |
alexstav | So, after I change it, it became to raise this exception. | 14:40 |
jed56 | ok so here https://github.com/openstack/keystone/blob/master/keystone/auth/controllers.py#L185 | 14:41 |
alexstav | So, I'm seriously can't understand, why it doesn't see 'default'-domain. | 14:41 |
alexstav | Here https://github.com/openstack/keystone/blob/master/keystone/resource/backends/sql.py#L213 :) | 14:44 |
alexstav | Keystone raises from here. | 14:45 |
*** thorst_ has joined #openstack-watcher | 14:52 | |
jed56 | alexstav: okay I'm sorry I think the trouble is in the configuration of your Keystone not in watcher | 14:53 |
alexstav | jed56: ok, thanks again for your time, i'll try to fix it. :) | 14:54 |
jed56 | alexstav : you are welcome | 14:55 |
jed56 | let me know if you find the error :) | 14:55 |
alexstav | Yep, of course. | 14:56 |
jed56 | Where are you living in russia ? | 14:57 |
*** thorst_ has quit IRC | 14:59 | |
alexstav | Moscow :) | 15:02 |
alexstav | The capital of Russia. | 15:02 |
*** jwcroppe has quit IRC | 15:03 | |
*** jwcroppe has joined #openstack-watcher | 15:04 | |
alexstav | I'm from Servionica Ltd team. My | 15:04 |
alexstav | My colleagues talked about our Nova-LB project at Tokyo summit. | 15:05 |
*** jwcroppe has quit IRC | 15:08 | |
jed56 | yes I remember! | 15:15 |
jed56 | alexstav : tu parles français ! :) | 15:21 |
alexstav | jed56: Très mauvais. :( | 15:23 |
alexstav | I learned it at school and, unfortunately, did not achieve great success. But the language is very beautiful. :) | 15:24 |
jed56 | :) | 15:24 |
jed56 | coffe time | 15:24 |
alexstav | Bon appétit! :) | 15:25 |
*** alexstav has quit IRC | 16:15 | |
*** alexstav has joined #openstack-watcher | 16:20 | |
*** alexstav has quit IRC | 16:24 | |
*** thorst_ has joined #openstack-watcher | 16:30 | |
*** thorst_ has quit IRC | 16:33 | |
*** mordred has joined #openstack-watcher | 16:42 | |
*** jwcroppe has joined #openstack-watcher | 16:43 | |
*** vincentfrancoise has quit IRC | 17:15 | |
*** wootehfoot has joined #openstack-watcher | 17:34 | |
*** wootehfoot has quit IRC | 17:52 | |
*** jed56 has quit IRC | 18:13 | |
*** alexstav has joined #openstack-watcher | 18:41 | |
*** thorst_ has joined #openstack-watcher | 18:44 | |
*** thorst_ has quit IRC | 18:45 | |
*** thorst_ has joined #openstack-watcher | 18:45 | |
*** thorst_ has quit IRC | 18:48 | |
*** thorst_ has joined #openstack-watcher | 18:51 | |
*** thorst_ has quit IRC | 18:59 | |
*** jwcroppe has quit IRC | 19:00 | |
*** thorst_ has joined #openstack-watcher | 19:33 | |
*** thorst_ has quit IRC | 19:34 | |
*** thorst_ has joined #openstack-watcher | 19:34 | |
*** thorst_ has quit IRC | 19:43 | |
*** alexstav has quit IRC | 19:58 | |
*** alexstav has joined #openstack-watcher | 20:16 | |
*** openstack has joined #openstack-watcher | 22:21 | |
*** openstack has joined #openstack-watcher | 22:36 | |
alexstav | jed56: R u here? | 23:07 |
*** alexstav has quit IRC | 23:19 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!