*** gzhai2 has joined #openstack-watcher | 00:03 | |
*** jwcroppe_ has quit IRC | 01:48 | |
*** jwcroppe has joined #openstack-watcher | 02:33 | |
*** jwcroppe has quit IRC | 03:39 | |
*** jwcroppe has joined #openstack-watcher | 04:25 | |
*** jwcroppe has quit IRC | 04:40 | |
*** danpawlik has joined #openstack-watcher | 07:01 | |
*** jed56 has joined #openstack-watcher | 07:10 | |
openstackgerrit | Merged openstack/watcher: Added filter operators https://review.openstack.org/325794 | 07:10 |
---|---|---|
*** dtardivel has joined #openstack-watcher | 07:13 | |
*** vincentfrancoise has joined #openstack-watcher | 07:31 | |
*** diga has joined #openstack-watcher | 07:51 | |
openstackgerrit | Jean-Emile DARTOIS proposed openstack/watcher-specs: Make default Planner generic https://review.openstack.org/337049 | 08:04 |
openstackgerrit | Jean-Emile DARTOIS proposed openstack/watcher-specs: Make default Planner generic https://review.openstack.org/337049 | 08:09 |
openstackgerrit | Jean-Emile DARTOIS proposed openstack/watcher-specs: Make default Planner generic https://review.openstack.org/337049 | 08:10 |
*** pkoniszewski_ has quit IRC | 08:14 | |
*** alexchadin has joined #openstack-watcher | 08:15 | |
alexchadin | jed56: hi | 08:15 |
jed56 | hi | 08:15 |
alexchadin | could I discuss with you cont-opt? | 08:16 |
jed56 | cont-opt ? | 08:19 |
jed56 | yes | 08:19 |
alexchadin | Edwin Zhai proposed to add job directly through the API, without calling launch_audits_periodically | 08:21 |
alexchadin | what if our service was in down state? | 08:21 |
alexchadin | then we need to add jobs back to apscheduler with the same periods | 08:21 |
vincentfrancoise | hi alexchadin | 08:22 |
alexchadin | hi vincentfrancoise | 08:22 |
alexchadin | https://review.openstack.org/#/c/321411/ | 08:23 |
vincentfrancoise | alexchadin: jed56 just left his desk so dunno when he'll get back | 08:24 |
alexchadin | vincentfrancoise: may I discuss it with you? | 08:25 |
vincentfrancoise | yeah | 08:26 |
vincentfrancoise | I'm looking at it right now | 08:26 |
jed56 | alexchadin: I don't see the point | 08:30 |
jed56 | what are the advantages ? | 08:30 |
vincentfrancoise | seems like his comment is linked to adding notifications into the mix | 08:32 |
alexchadin | jed56: IMHO we need to use launch_audits_periodically | 08:32 |
vincentfrancoise | but since we will do this later, I guess there's not much need for it | 08:32 |
vincentfrancoise | coffee time! | 08:33 |
jed56 | vincentfrancoise: +2 | 08:33 |
jed56 | coffee time | 08:33 |
danpawlik | jed56: +1 | 08:40 |
*** pkoniszewski has joined #openstack-watcher | 08:51 | |
openstackgerrit | Merged openstack/watcher: Enable strategy parameters https://review.openstack.org/297556 | 08:57 |
dtardivel | gzhai2: Hi Edwin, regarding your changeset https://review.openstack.org/#/c/297557/, I proposed to you in my last comment to use -P, --parameter command option for setting strategy parameters. What do you think ? | 09:00 |
vincentfrancoise | dtardivel: +1 | 09:01 |
openstackgerrit | Daniel Pawlik proposed openstack/puppet-watcher: Implement watcher-db-manage commands https://review.openstack.org/336939 | 09:05 |
diga | jed56: vincentfrancoise : I am getting error while running tox | 09:26 |
vincentfrancoise | hi diga | 09:26 |
diga | vincentfrancoise: hey | 09:26 |
vincentfrancoise | can you pastebin me your errors then? | 09:26 |
diga | Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "watcher/tests/db/test_audit.py", line 261, in test_get_audit_list_with_filters self.assertEqual([audit1['id']], [r.id for r in res]) File "/home/digambar/watcher/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 411, in assertEqual self.assertThat(observed, matcher, message) File "/hom | 09:27 |
diga | mismatch error at watcher/tests/db/test_audit.py +161 | 09:27 |
diga | FAKE_OLD_DATE = '2015-01-01T09:52:05.219414 | 09:28 |
diga | is there any problem with this | 09:28 |
diga | my problems are got resolved | 09:28 |
vincentfrancoise | is this the only error you have? | 09:28 |
diga | yes | 09:28 |
vincentfrancoise | did you fix the 'type' filters of this test to 'audit_type'? | 09:29 |
vincentfrancoise | line 259 and 264 | 09:29 |
diga | yes | 09:30 |
diga | vincentfrancoise: may be got the fix, let me try that way first | 09:36 |
openstackgerrit | Alexander Chadin proposed openstack/watcher: Add continuously optimization https://review.openstack.org/321411 | 09:36 |
vincentfrancoise | ok | 09:38 |
openstackgerrit | Digambar proposed openstack/watcher: Fix field type to audit_type https://review.openstack.org/336390 | 10:01 |
diga | vincentfrancoise: I tested above patch locally | 10:01 |
diga | vincentfrancoise: please take a look at it | 10:02 |
vincentfrancoise | I'm on something else right now | 10:04 |
vincentfrancoise | so I'll review it later | 10:04 |
diga | sure | 10:07 |
*** diga has quit IRC | 10:42 | |
*** Kevin_Zheng has quit IRC | 10:53 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/watcher: Updated from global requirements https://review.openstack.org/336256 | 11:43 |
*** alexchadin has quit IRC | 12:59 | |
*** alexchadin has joined #openstack-watcher | 13:00 | |
*** alexchadin has quit IRC | 13:03 | |
*** alexchadin has joined #openstack-watcher | 13:03 | |
*** diga has joined #openstack-watcher | 13:47 | |
diga | vincentfrancoise: jed56 : Hi | 13:53 |
vincentfrancoise | hi | 13:53 |
diga | vincentfrancoise: http://logs.openstack.org/90/336390/3/check/gate-watcher-python27/2e827f8/console.html | 13:56 |
diga | All the tests failed are related to strategy code | 13:56 |
diga | I didn't have any changes in that code, | 13:56 |
diga | vincentfrancoise: Error is - AttributeError: 'Strategy' object has no attribute 'parameters_spec | 13:57 |
diga | vincentfrancoise: The error is from earlier patch - commit 64903ce56c700d23a28d9056e6525ad754ad1027 | 13:58 |
diga | just checked | 13:58 |
vincentfrancoise | let me have a look at this | 13:58 |
diga | vincentfrancoise: | 13:59 |
diga | vincentfrancoise: got it | 13:59 |
diga | vincentfrancoise: strategy doesn't have paramaters_spec field in the db | 14:00 |
diga | vincentfrancoise: should I add that in separate patch ? | 14:00 |
diga | vincentfrancoise: let me open the | 14:01 |
diga | bug for | 14:01 |
diga | for that | 14:01 |
vincentfrancoise | Let me see for myself so I can answer you properly | 14:02 |
diga | sure | 14:02 |
diga | vincentfrancoise: Reported bug for that - https://bugs.launchpad.net/watcher/+bug/1598858 | 14:09 |
openstack | Launchpad bug 1598858 in watcher "strategy doesn't have paramaters_spec field in the db" [Undecided,New] | 14:09 |
vincentfrancoise | diga: the problem comes from your code | 14:12 |
diga | vincentfrancoise: didn't get you ? | 14:12 |
vincentfrancoise | the way you rebase your code onto master made you lose the changes that were introduced in the patchset you mentioned earlier | 14:13 |
diga | okay | 14:13 |
vincentfrancoise | for example https://review.openstack.org/#/c/336390/3/watcher/db/sqlalchemy/models.py | 14:13 |
vincentfrancoise | https://review.openstack.org/#/c/336390/3/watcher/db/sqlalchemy/models.py@127 to be more precise | 14:14 |
vincentfrancoise | you removed DB fields that were actually needed for the tests to pass | 14:14 |
diga | ohh | 14:14 |
diga | yeah, got it. | 14:14 |
jed56 | :) | 14:14 |
diga | :) | 14:15 |
diga | I think I did merge the code & then apply changes but didn't resolve conflict | 14:15 |
vincentfrancoise | I'll leave it to you then ;) | 14:16 |
diga | yep | 14:16 |
diga | I will resolve it | 14:16 |
diga | vincentfrancoise: Thank you! | 14:17 |
openstackgerrit | Vincent Françoise proposed openstack/watcher: Fix failing Tempest tests https://review.openstack.org/337247 | 14:20 |
alexchadin | vincentfrancoise: do we have shared resources in Watcher? | 14:23 |
alexchadin | vincentfrancoise: I mean, if I create audit as admin then switch to the demo user and list audits | 14:23 |
alexchadin | vincentfrancoise: I will see admin audit, right? | 14:23 |
*** alexchadin has quit IRC | 14:42 | |
*** alexchadin has joined #openstack-watcher | 14:43 | |
vincentfrancoise | hi alexchadin | 14:43 |
alexchadin | hi vincentfrancoise | 14:44 |
vincentfrancoise | I guess what you are referring to is what https://blueprints.launchpad.net/watcher/+spec/define-the-audit-scope will try to address | 14:44 |
vincentfrancoise | so for now, not really | 14:44 |
*** alexchadin has quit IRC | 14:58 | |
*** danpawlik has quit IRC | 15:09 | |
openstackgerrit | Vladimir Ostroverkhov proposed openstack/watcher-dashboard: Add support continuously-optimization https://review.openstack.org/327095 | 15:19 |
*** diga has quit IRC | 15:24 | |
*** vincentfrancoise has quit IRC | 16:29 | |
openstackgerrit | Digambar proposed openstack/watcher: Fix field type to audit_type https://review.openstack.org/336390 | 17:22 |
openstackgerrit | Daniel Pawlik proposed openstack/puppet-watcher: Implement watcher-db-manage commands https://review.openstack.org/336939 | 17:49 |
openstackgerrit | Daniel Pawlik proposed openstack/python-watcherclient: Add license file https://review.openstack.org/337347 | 18:05 |
*** danpawlik has joined #openstack-watcher | 18:05 | |
*** dtardivel has quit IRC | 18:47 | |
*** wootehfoot has joined #openstack-watcher | 18:58 | |
*** jed56 has quit IRC | 19:05 | |
*** wootehfoot has quit IRC | 19:33 | |
*** wootehfoot has joined #openstack-watcher | 19:42 | |
*** wootehfoot has quit IRC | 21:01 | |
*** danpawlik has quit IRC | 21:52 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!