Wednesday, 2016-03-09

*** sridhar_ram has joined #senlin00:00
*** Qiming has quit IRC00:23
*** zzxwill has joined #senlin00:30
*** zzxwill has quit IRC00:30
*** zzxwill has joined #senlin00:31
*** zzxwill has quit IRC00:42
*** zzxwill has joined #senlin00:43
*** zzxwill has quit IRC00:52
*** zzxwill has joined #senlin00:56
*** zzxwill has quit IRC01:04
*** sridhar_ram has quit IRC01:10
*** sridhar_ram has joined #senlin01:10
*** zzxwill has joined #senlin01:11
*** sridhar_ram has quit IRC01:15
*** Qiming has joined #senlin01:19
*** zzxwill has quit IRC01:25
*** gongysh_ has joined #senlin01:46
*** gongysh_ has quit IRC01:50
*** elynn has joined #senlin01:52
*** elynn has quit IRC01:57
*** elynn has joined #senlin01:58
*** elynn_ has joined #senlin02:03
*** elynn has quit IRC02:03
*** gongysh_ has joined #senlin02:04
elynn_Morning02:05
Qimingmorning02:06
*** elynn__ has joined #senlin02:08
*** zzxwill has joined #senlin02:09
*** elynn_ has quit IRC02:11
*** zzxwill has quit IRC02:12
*** Yanyanhu has joined #senlin02:16
*** elynn_ has joined #senlin02:21
*** elynn__ has quit IRC02:23
*** zzxwill has joined #senlin02:35
*** shu-mutou-AFK is now known as shu-mutou02:40
*** sridhar_ram1 has joined #senlin02:41
*** sridhar_ram1 has quit IRC02:45
*** zzxwill has quit IRC02:53
*** elynn_ has quit IRC04:07
*** gmann has joined #senlin04:11
xuhaiweiHi Qiming04:12
xuhaiweiare you there?04:12
*** elynn_ has joined #senlin04:41
*** elynn_ has quit IRC04:46
*** elynn_ has joined #senlin04:46
*** zzxwill has joined #senlin04:48
*** zzxwill has quit IRC04:52
*** elynn__ has joined #senlin05:00
*** zzxwill has joined #senlin05:01
*** elynn_ has quit IRC05:02
Qimingxuhaiwei, yes, I'm back05:16
xuhaiweiwelcome05:16
xuhaiweiabout api, stress, sceranio test, I asked gmann who is a tempest core05:17
xuhaiweihe said we need to use tempest external plugin to do this05:17
Qimingand the code will live in senlin, right?05:17
xuhaiweithe details are like what we had in mid-cycle, Congress is an example05:17
xuhaiweiyes05:18
Qimingas part of functional tests05:18
*** Yanyanhu has quit IRC05:18
*** Yanyanhu has joined #senlin05:18
xuhaiweiyes, the source layer we can manage them by ourselves05:18
*** zzxwill has quit IRC05:18
xuhaiweihttps://github.com/openstack/congress/tree/master/congress_tempest_tests this is what congress does05:19
xuhaiweiif we want to user to run these tests from tempest, we can add this support05:19
xuhaiweibut if just ran from senlin side, that is not necessary IMO05:20
Qimingpartially understood05:21
Qiminghow would tempest know we have tests for it to run?05:21
xuhaiweigmann is in this channel, if you have questions05:21
xuhaiweithat is a good question, I think they don't know :)05:22
gmannQiming: xuhaiwei hi05:23
Qiminghi, gmann05:23
gmannactually if you implement tempest tests in senlin using tempest external plugin05:23
gmannand make entry of that plugin in setup.cfg05:24
gmannthen tempest will detect that plugin and set up all tests env as instructed by plugin05:24
gmannit will run same way as devstack plugin works05:24
Qimingokay, this line: https://github.com/openstack/congress/blob/master/setup.cfg#L3905:24
gmannand once tempest detect the plugin, you can run tests from tempst05:25
gmannQiming: yes05:25
Qimingtempest searches for the 'tempest.test_plugins' name space05:25
Qimingone more question05:25
gmannall detected plugin ca be seen by tempest list-plugins command05:25
gmannQiming: yea05:25
Qiminghow do we trigger tempest? is it supposed to be set up as a gate?05:26
*** zzxwill has joined #senlin05:26
gmannQiming: you can trigger tempest using tox env or directly with testr05:26
Qimingah, I see05:26
Qimingthank you very much, got it05:26
gmannhttp://docs.openstack.org/developer/tempest/overview.html#legacy-run-method05:27
gmannthere are multiple way to trigger05:27
gmanntox -eall-plugin senlin etc05:28
gmannQiming: this is detailed doc for plugin - http://docs.openstack.org/developer/tempest/plugin.html05:28
Qimingthat is helpful05:28
gmannand as example you can refer congress, Manila etc05:28
Qimingokay05:29
Qimingwill spend time on them05:29
Qimingjust curious about the role of tempest05:29
gmannQiming: cool, let me or any QA core know if you face any issue05:29
QimingI know defcore is using tempest for testing the api surface05:29
gmannQiming: yea05:29
Qimingfrom the README.rst file, I saw it is also about scenario tests and stress tests05:30
gmannQiming: Yea, along with API we can implement scenario tests etc also05:30
Qimingam I understanding this correctly?05:30
gmannQiming: stress tests framework is deprecated as of now but we will make it available in separate repo05:31
Qimingfor API tests, we will try find out if a specific API does its job correctly and fails gracefully as designed05:31
gmannQiming: yea you are right. and any scenario tests you can implement05:31
Qimingfor scenario tests, we will need to test much more complicated use cases05:31
gmannyea05:31
gmanntempest has lot of scenario tests with core projects - https://github.com/openstack/tempest/tree/master/tempest/scenario05:32
gmannQiming: mainly tempest is more for those tests  - integration tests05:32
Qimingso ... we will need to create tempest plugin, register them, add some/all api test cases, add scenario tests which can be based on api tests05:32
gmannAPI tests even can be just tested as functional tests in project repo itself05:33
gmannQiming: exactly05:33
Qimingmuch clearer about this now05:33
xuhaiweithanks, gmann05:34
Qimingany other things we should pay attention to before getting our hands dirty?05:34
gmannxuhaiwei: np!05:34
Qiminge.g. some common mistakes people make before?05:34
gmannQiming: I think that would be enough, its easy to implement and try with few tests in starting05:34
Qiminggood!05:34
Qimingmany thanks, gmann05:35
gmannQiming: np!05:35
gmannQiming: xuhaiwei take care about deprecated configuration cred option05:36
gmannQiming: xuhaiwei use dynamic cred option from tempest.05:36
gmannmany project still use those deprecated cred and will be broken in future :)05:37
Qimingokay05:39
*** zzxwill_ has joined #senlin05:42
*** zzxwill has quit IRC05:42
*** elynn_ has joined #senlin05:44
*** zzxwill_ has quit IRC05:44
*** zzxwill has joined #senlin05:46
*** elynn__ has quit IRC05:47
*** zzxwill has quit IRC05:53
*** zzxwill has joined #senlin06:00
*** zzxwill has quit IRC06:10
*** zzxwill has joined #senlin06:12
*** zzxwill has quit IRC06:23
*** zzxwill has joined #senlin06:31
openstackgerritxu-haiwei proposed openstack/senlin: A spec for container cluster service  https://review.openstack.org/28110206:31
*** zzxwill has quit IRC06:54
*** zzxwill has joined #senlin06:57
*** Yanyan has joined #senlin07:02
*** Yanyanhu has quit IRC07:03
xuhaiweihi all, for design summit session, I added a new one S7, which is about inviting  the non-senlin-created nodes to senlin, welcome to add comments about it07:08
xuhaiweihttps://etherpad.openstack.org/p/newton-senlin-sessions07:08
*** zzxwill has quit IRC07:13
*** zzxwill has joined #senlin07:14
*** zzxwill has quit IRC07:20
*** zzxwill has joined #senlin07:20
*** zzxwill has quit IRC07:25
*** zzxwill has joined #senlin07:34
*** zzxwill has quit IRC07:36
*** zzxwill has joined #senlin07:41
*** zzxwill has quit IRC08:05
*** zzxwill has joined #senlin08:06
*** zzxwill_ has joined #senlin08:09
*** zzxwill has quit IRC08:10
*** zzxwill_ has quit IRC08:20
*** zzxwill has joined #senlin08:26
*** zzxwill has quit IRC08:39
*** zzxwill has joined #senlin08:43
*** openstackgerrit has quit IRC08:47
*** zzxwill has quit IRC08:48
*** openstackgerrit has joined #senlin08:48
*** zzxwill has joined #senlin08:51
*** zzxwill has quit IRC09:00
lixinhuiQiming, Yanyan09:02
lixinhuithe problem of "pending t create", do you have similer things in your log:09:03
lixinhuiERROR oslo_messaging.rpc.dispatcher [-] Exception during message handling: Failed to build compute instance.09:03
lixinhui?09:03
Qimingdid you check nova log?09:09
lixinhuinothing there09:12
*** zzxwill has joined #senlin09:13
Qimingif a nova vm cannot be created, there must be something wrong09:13
Qimingcheck n-cpu09:13
Qimingn-sch09:14
elynn_https://github.com/openstack/octavia/blob/master/octavia/common/exceptions.py#L15409:14
elynn_I think this error throw from neutron lbaasv209:15
elynn_check octavia log?09:16
Qiming... octavia is doing compute create09:18
Qimingan ComputeBuildException will be thrown if the create() call returns a failure, or the wait task gets a ERROR status from the VM09:18
Qimingthe octavia exception is thrown here: https://github.com/openstack/octavia/blob/master/octavia/compute/drivers/nova_driver.py#L13809:19
elynn_Not so sure how it works, I'm still using haproxy backend...09:19
Qimingso I believe there must be a VM creation failure09:20
Qimingand that failure has to be checked from nova side09:20
Qimingalso this line is stupid:09:20
Qiminghttps://github.com/openstack/octavia/blob/master/octavia/compute/drivers/nova_driver.py#L13609:20
Qimingthey should log the exception content for debugging's purpose09:21
elynn_yes...09:21
Qiminggot to see the full log for diagnosis09:22
lixinhuieasy to reproduce09:23
lixinhuijust set up devtsack from the latest code09:23
QimingI cannot install devstack09:23
Qimingdevstack is broken on rhel709:23
Qimingit cost me 3 hours yesterday09:23
Qiminghttps://github.com/openstack/octavia/blob/master/octavia/controller/worker/tasks/compute_tasks.py#L176-L18409:24
Qimingthe above is the only other case where the exception is thrown, it also points to the VM creation error09:24
Qimingso ...09:24
lixinhuiyes09:25
lixinhuiI think so09:25
lixinhuijust nova boot can work pretty well09:25
Qiminghow did you do nova-boot?09:26
Qimingfrom command line?09:26
lixinhuisenlin node-create09:26
Qimingno09:26
lixinhuinova boot09:26
lixinhuicli09:26
Qimingoctavia is secretly creating a vm09:26
lixinhuisure09:27
Qimingand it maybe passing some weird parameters09:27
Qimingyou got to check the nova-compute log09:27
lixinhuiai09:27
lixinhuilast night09:27
lixinhuiyou told me you have met this beforew09:27
lixinhuiany experience there?09:27
Qimingyanyan has met some similar problems09:28
Qimingcan you please paste your nova log?09:28
Yanyanhi09:29
Yanyannova server creation failed?09:29
Qimingfrom the exception thrown, that is the only reason09:30
Yanyanhi, lixinhui, you mean the lbaas creation was pending there?09:31
lixinhuiyes09:32
lixinhuibut no error in nova log09:32
Qimingwhich process ?09:32
Yanyanis there any error message in lbaas's log?09:33
lixinhuino09:33
YanyanI could be caused by incorrect configuration of haproxy09:33
YanyanI recalled there are some driver related configure in lbaas configure file09:34
Qiming...09:34
Qimingsigh09:34
Qimingthis is not yet about haproxy based on the previous log pasted09:34
Yanyanyes... I met that before in lbaasv109:34
Yanyanoh09:34
YanyanI missed your discussion09:34
Yanyanthis one?09:35
Qimingcannot find the paste either09:35
YanyanERROR oslo_messaging.rpc.dispatcher [-] Exception during message handling: Failed to build compute instance.09:35
Qimingyes09:35
Qimingthere is a stack trace for that exception09:35
Yanyanlooks like nova's problem09:35
lixinhuithat is the only thing in o-cw09:36
Qimingbased on previous stack trace, I'm 100% sure it is a compute error: https://github.com/openstack/octavia/blob/master/octavia/controller/worker/tasks/compute_tasks.py#L176-L18409:36
Qimingwhat is o-cw?09:37
lixinhuihttp://paste.openstack.org/show/489793/09:37
lixinhuiI am using octavia provider service09:38
Qiminggreat, let's look at the log09:38
Qimingthat is the same thing you pasted me before09:39
Qimingit is a nova error09:39
lixinhuiyes09:40
Qimingneed your nova-compute log during 16:50 - 16:5409:40
lixinhuijust complete log of the error09:40
lixinhuiI have to leave soon for an urgent VIO thing09:41
lixinhuithanks for your help here09:41
lixinhuiI will get you tomorrow again09:41
Yanyanwill keep looking at it09:41
Yanyanttyl09:41
lixinhuiand get call logs need to continue09:41
lixinhuithanks and sorry again.09:41
*** zzxwill has quit IRC09:43
*** zzxwill has joined #senlin09:55
openstackgerritzzxwill proposed openstack/senlin: Refine Senlin manual install doc  https://review.openstack.org/29036709:55
zzxwillBesides, I wonder whether we need to add some verification step to check whether we successfully install Senlin server.09:57
zzxwillI checked all "senlin *-list", I found "senlin profile-type-list" can do the verification.09:58
Qimingokay, that is a good idea09:59
Qimingsenlin build-info can do the job10:00
*** zzxwill has quit IRC10:03
*** zzxwill has joined #senlin10:08
*** elynn_ has quit IRC10:10
*** zzxwill has quit IRC10:10
*** zzxwill has joined #senlin10:11
zzxwillOkay, i will add it to the doc. Thanks.10:17
*** Qiming has quit IRC10:32
*** gongysh_ has quit IRC10:34
*** Yanyan has quit IRC10:45
openstackgerritzzxwill proposed openstack/senlin: Refine Senlin manual install doc  https://review.openstack.org/29039611:10
*** Qiming has joined #senlin11:22
*** zzxwill has quit IRC12:30
*** zzxwill has joined #senlin12:56
*** cschulz has joined #senlin12:58
*** zzxwill has quit IRC14:20
*** zzxwill has joined #senlin14:24
*** zzxwill has quit IRC14:40
*** zzxwill has joined #senlin14:42
*** zzxwill has quit IRC15:21
*** zzxwill has joined #senlin15:23
*** zzxwill has quit IRC15:29
*** zzxwill has joined #senlin15:30
*** zzxwill has quit IRC15:36
*** zzxwill_ has joined #senlin15:36
*** zzxwill_ has quit IRC15:49
*** zzxwill has joined #senlin15:51
*** Qiming has quit IRC15:53
*** zzxwill has quit IRC16:13
*** zzxwill has joined #senlin16:14
*** sridhar_ram has joined #senlin16:34
*** zzxwill has quit IRC16:34
*** zzxwill has joined #senlin16:37
*** sridhar_ram has quit IRC17:25
*** zzxwill has quit IRC17:34
*** zzxwill has joined #senlin18:06
*** sridhar_ram has joined #senlin18:27
*** zzxwill has quit IRC18:37
*** zzxwill has joined #senlin19:12
*** zzxwill_ has joined #senlin19:14
*** zzxwill has quit IRC19:17
*** zzxwill_ has quit IRC19:40
*** sridhar_ram1 has joined #senlin19:58
*** sridhar_ram has quit IRC19:59
*** zzxwill has joined #senlin20:22
*** zzxwill has quit IRC20:42
*** zzxwill has joined #senlin20:42
*** sridhar_ram1 has quit IRC21:13
*** sridhar_ram has joined #senlin21:14
*** zzxwill has quit IRC21:42
*** sridhar_ram1 has joined #senlin22:02
*** cschulz has quit IRC22:02
*** zzxwill has joined #senlin22:03
*** sridhar_ram has quit IRC22:04
*** zzxwill has quit IRC22:40
*** sridhar_ram1 has quit IRC22:57

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