Friday, 2016-04-01

*** thorst has joined #openstack-watcher00:44
*** thorst has quit IRC00:51
*** thorst has joined #openstack-watcher01:17
*** thorst has quit IRC01:23
*** Kevin_Zheng has joined #openstack-watcher01:35
*** thorst has joined #openstack-watcher01:42
*** sauvik has joined #openstack-watcher01:42
*** sauvik has joined #openstack-watcher01:43
*** thorst has quit IRC01:43
*** sauvik has quit IRC01:48
*** sauvik has joined #openstack-watcher01:56
*** sauvik has quit IRC02:10
*** sauvik has joined #openstack-watcher02:17
openstackgerritjunjie.huang proposed openstack/watcher: Workload balance migration strategy implementation  https://review.openstack.org/29218803:11
*** wootehfoot has quit IRC03:32
*** vtech has quit IRC04:42
openstackgerritjunjie.huang proposed openstack/watcher: Workload balance migration strategy implementation  https://review.openstack.org/29218805:11
*** tpeoples is now known as tpeoples_vacatio05:23
*** tpeoples_vacatio is now known as tpeoplesvacation05:24
*** apoorv has joined #openstack-watcher06:07
*** vmahe has joined #openstack-watcher06:08
*** vtech has joined #openstack-watcher06:28
*** vtech has quit IRC06:44
*** apoorv has quit IRC06:58
*** apoorv has joined #openstack-watcher06:59
*** sauvik has joined #openstack-watcher07:06
*** vtech has joined #openstack-watcher07:07
*** vtech has quit IRC07:07
*** vtech has joined #openstack-watcher07:08
*** sauvik has quit IRC07:11
*** vincentfrancoise has joined #openstack-watcher07:27
*** vincentfrancoise has quit IRC07:34
*** vincentfrancoise has joined #openstack-watcher07:35
vtechGood morning guys, jed56, vincentfrancoise, so I suggest removing watcher_non_live_migrate_instance and adding cold_migrate_instance in nova_helper.py. The implementation of cold_migrate_instance will be similar to implementation of built_in_non_live_migrate_instance in nova_wrapper.py. What I don't understand is what is the NovaWrapper class used for. And why are the same functions implemented in nova_wrapper.py and nova_helper.py07:39
jed56hello vtech07:40
jed56nova_wrapper is the ancestor of nova_helper07:40
jed56I think during the refactoring we removed the wrong version of the cold migration07:41
jed56I'm not sure that we can specify the destination of VM during a cold migraiton07:41
jed56It was maybe the reason of our cold migration07:42
vtechit's possible for sure07:42
vtechok, now it's clear07:42
jed56great!07:43
*** apoorv has quit IRC07:45
vtechjed56, it seems you are right, there is now way how to specify destinatation hypervisor in cold_migration - this is strange.08:03
vtechhttps://github.com/openstack/python-novaclient/blob/master/novaclient/v2/servers.py#L29108:05
*** brunograz has joined #openstack-watcher08:07
vtechjed56, was the watcher_non_live_migrate_instance previously working as expected? your implementation seems to be fine, although I think it worth to give a shout to nova guys to add an option to choose destination hypervisor in cold migration as implementing this in watcher is IMO ugly solution.08:22
*** apoorv has joined #openstack-watcher08:26
*** brunograz has quit IRC08:44
*** brunograz has joined #openstack-watcher08:44
jed56vtech, yes i was working on our infrastructure not sure on "real life"09:20
jed56we can maybe ask the nova team09:20
jed56I agree it is ugly :)09:20
jed56i was the only solution i found09:20
jed56on the previous version of openstack09:21
vtechI asked already09:50
vtechand it went huge :D09:50
*** vincentfrancoise has quit IRC10:22
*** sauvik has joined #openstack-watcher10:43
*** sauvik has quit IRC10:48
*** aspiers_ is now known as aspiers10:54
*** thorst has joined #openstack-watcher11:35
jed56NP-Hard !11:50
jed56vtech :)11:51
*** apoorv has quit IRC11:51
vtechjed56, heh?12:03
*** vincentfrancoise has joined #openstack-watcher12:06
jed56you said that went huge => https://en.wikipedia.org/wiki/NP-hardness :)12:08
*** brunograz has quit IRC12:35
*** brunograz has joined #openstack-watcher12:36
*** edleafe is now known as figleaf13:01
*** sauvik has joined #openstack-watcher13:07
vtechjed56, so the conclusion is that cold migration currently doesn't support target hypervisor specification. Nevertheless this will be added to nova eventually. Until then I would just go with your solution.13:19
*** sauvik has quit IRC13:25
*** sauvik has joined #openstack-watcher13:26
*** openstackgerrit has quit IRC13:33
*** openstackgerrit has joined #openstack-watcher13:33
*** vtech has quit IRC13:36
*** vtech has joined #openstack-watcher13:36
jed56vtech, okay could you please verify that everything is working ?13:42
jed56this code was design for Icehouse13:43
jed56i think :)13:43
vtechright, I will give it a spin.13:43
jed56great, thanks a lot13:48
*** openstack has quit IRC13:58
*** openstack has joined #openstack-watcher13:58
*** sauvik has quit IRC14:02
*** sauvik has joined #openstack-watcher14:09
*** sauvik has quit IRC14:14
*** sauvik has joined #openstack-watcher14:27
*** wootehfoot has joined #openstack-watcher14:29
*** dtardivel has joined #openstack-watcher14:32
*** thorst has quit IRC15:01
*** thorst has joined #openstack-watcher15:02
*** esberglu has joined #openstack-watcher15:05
*** sauvik has quit IRC15:11
*** anem0ne has joined #openstack-watcher15:12
anem0neHello15:14
anem0nei have a question about unit tests15:14
anem0nei've pulled master yesterday, and from that i have such errors in tests:15:14
anem0neoslo_config.cfg.NoSuchOptError: no such option in group DEFAULT: watcher_clients_auth15:14
anem0nedo you know what is wrong ?15:14
anem0nebug ? wrong conf option ?15:15
vincentfrancoiseHi anem0ne15:16
vincentfrancoiselooks a bit odd15:17
anem0nevincentfrancoise: hello15:17
vincentfrancoisehow many tests are failing?15:17
anem0nevincentfrancoise: I'm writing my own strategy, and all my tests are failing, but before pulling master, everything was ok, tests was passing15:18
anem0nebut there is more errors15:19
anem0neexample:15:19
anem0netesttools.matchers._impl.MismatchError: 'SUCCEEDED' != u'FAILED'15:19
anem0nein watcher.tests.decision_engine.audit.test_default_audit_handler.TestDefaultAuditHandler.test_trigger_audit_state_success15:19
anem0neBad response: 400 Bad Request (not 200 OK or 3xx redirect for http://localhost/v1/audit_templates)15:19
anem0nein watcher.tests.api.v1.test_audit_templates.TestPost.test_create_audit_template_generate_uuid15:20
anem0neat least 10 tests from upstream is failing15:20
anem0neon my side15:20
anem0neit's a bit strange for me, because everything was working, have you pushed changes that could break things ?15:22
vincentfrancoiseit can't be15:22
*** thorst has quit IRC15:22
vincentfrancoisethe merge process goes through running all the tests15:22
vincentfrancoiseyou can try cloning once again  (say in /tmp) and run the tests in there to compare15:23
vincentfrancoisebut the tests you are pointing out clearly shouldn't be breaking15:26
anem0nevincentfrancoise: hmm... could be that, i have something broken on my side (some requirements)15:26
anem0neoki, checking15:26
anem0nevincentfrancoise: just to be sure, can you tell me how you run all unit test s?15:27
anem0netests*15:27
vincentfrancoisehttps://factory.b-com.com/www/watcher/doc/watcher/dev/testing.html#unit-tests15:28
vincentfrancoiseso basically you just need to run "tox"15:28
openstackgerritVincent Mahe proposed openstack/watcher-specs: Provide efficacy indicators  https://review.openstack.org/28344915:29
*** thorst has joined #openstack-watcher15:30
anem0nevincentfrancoise:  - Failed: 14 :/15:35
anem0nevincentfrancoise: you want see it ?15:36
*** pav0 has quit IRC15:36
anem0nevincentfrancoise: http://pastebin.com/XAwYkEAK15:37
anem0nevincentfrancoise: sorry, need to go, I will be deeply checking this problem. Maybe it's something on my side15:40
vincentfrancoiseanem0ne: sorry I'm back15:45
*** vmahe has quit IRC15:53
vincentfrancoiseanem0ne: so did you run these tests from a clean clone?15:56
vincentfrancoiseanem0ne: ok so I did clone and run the tests on my machine16:02
vincentfrancoiseon master16:03
vincentfrancoiseand everything's fine for me16:03
*** openstackgerrit has quit IRC16:31
*** openstackgerrit has joined #openstack-watcher16:45
*** sauvik has joined #openstack-watcher17:15
*** harlowja has quit IRC18:02
*** jed56 has quit IRC18:03
*** dtardivel has quit IRC18:08
*** wootehfoot has quit IRC19:09
*** sauvik has quit IRC19:27
*** harlowja has joined #openstack-watcher19:37
*** wootehfoot has joined #openstack-watcher19:59
*** wootehfoot has quit IRC20:40
*** wootehfoot has joined #openstack-watcher20:53
*** thorst has quit IRC21:17
*** vtech has quit IRC21:19
*** thorst has joined #openstack-watcher21:38
*** thorst has quit IRC21:42
*** wootehfoot has quit IRC22:04
*** figleaf is now known as edleafe22:11
*** wootehfoot has joined #openstack-watcher22:57
*** harlowja has quit IRC23:36

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!