Friday, 2015-08-28

*** jruano has quit IRC00:10
*** lkarm has joined #senlin00:48
*** lkarm has quit IRC00:52
*** zhenguo has joined #senlin00:57
*** LiuWei has joined #senlin01:01
*** LiuWei has quit IRC01:01
*** Qiming has joined #senlin01:03
*** lawrance_ has joined #senlin01:36
*** mathspanda has joined #senlin01:52
openstackgerritxu-haiwei proposed stackforge/senlin: Handle exception in neutron_v2 module
openstackgerritMerged stackforge/senlin-dashboard: Updated from global requirements
openstackgerritxu-haiwei proposed stackforge/senlin: Handle SDK exception of sdk module
*** elynn has joined #senlin02:05
*** Yanyanhu has joined #senlin02:06
*** lawranc__ has joined #senlin02:10
*** Yanyanhu has quit IRC02:11
*** lawrance_ has quit IRC02:13
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile
*** Yanyanhu has joined #senlin02:25
Qimingzhenguo, I was trying the dashboard02:37
QimingI can see the clusters panel listed once I logged in02:37
Qimingbut when I click "clusters", I am getting "connection refused" message02:38
*** wizardYVE has joined #senlin02:47
*** lkarm has joined #senlin02:48
QimingYanyanhu, you patch 21754602:49
xuhaiwei_hi guys, when I tried to create a node, I got this error, is this related to delete the context in drivers layer??
QimingDon't understand why we are emphasizing this "this property is only available for node creation."02:49
Qimingxuhaiwei_, could be02:50
Qimingplease LOG.error() self.conn_params02:50
YanyanhuQiming, since user shouldn't specify the fixed-ip or port in profile spec when they want to use this profile to create cluster02:50
Yanyanhuhi, xuhaiwei_, can you also paste your operations to produce this error02:51
xuhaiwei_create a node02:51
Yanyanhujust create a nova using nova server profile?02:51
xuhaiwei_by senlin node-create, yanyanhu02:51
Qimingit could be cause by param username or user_name02:51
Yanyanhuhmm, just made serveral tests for other patches this morning02:51
Yanyanhudidn't find this error02:52
QimingYanyanhu, got you points02:52
*** lkarm has quit IRC02:52
Yanyanhuhi, xuhaiwei_ , can you try to rebase the master and try again?02:52
Qimingthe message is confusing though02:53
xuhaiwei_maybe my code is old02:53
YanyanhuQiming, umm, yes, not very clear02:53
Qimingit reads to me like: you can only use these properties when creating a node, not updating a node02:54
QimingBetter we remove that confusing "help" for now02:54
Qimingusers would know what they are doing02:54
Yanyanhuoh we give some hints in example profile spec?02:55
Qimingthere are other cases ... for example the server name02:55
Yanyanhuah, yes02:55
Yanyanhuthe same problem02:55
Qimingusers will know what they are doing02:55
Yanyanhuok, will remove them. I believe user should know this02:55
Qimingor we can revisit this when we have a better alternative02:56
zhenguoQiming: you are using keystone v3, right?02:56
openstackgerritYanyan Hu proposed stackforge/senlin: Add network support for os.nova.server profile
Qimingzhenguo, yes02:58
zhenguoQiming: oh sorry, I didn't test v3, it's workd fine with v202:59
zhenguoQiming: as we discussed yesterday, I guess v3 may need to pass project_domain_name or id02:59
zhenguoQiming: seems project may not unique in multi domains03:00
Qimingfrom the code, I saw you were passing project_id03:00
Qimingthat should be okay03:00
Qimingif you are passing project_name, you will need project_domain_name03:00
zhenguoyeah, but you got connection refused...03:00
Qiminganyway, will continue look into this03:00
zhenguowill check if it's because lost project_domain_id03:01
xuhaiwei_got the reason03:03
xuhaiwei_Yanyanhu, I think it's a bug,  line204 should be 'user_name'03:03
Yanyanhuhi, xuhaiwei_ , username is the correct key I think03:05
Yanyanhufor sdk03:05
Yanyanhuhmm, let me try again in my env03:05
xuhaiwei_I mean in this self.context.get('username')03:06
xuhaiwei_should be username=self.context.get('user_name')03:06
xuhaiwei_yes, sdk use username03:07
Yanyanhuumm, I remeber this part was also changed03:07
Yanyanhulet me have a check03:07
Yanyanhudid you provide customized context in profile spec?03:08
Yanyanhue.g. nova server spec03:08
Yanyanhuhmm, if no customized context is provided, service_credential/context will be used to initialize profile context03:10
Yanyanhuand the key name should be 'username' now03:10
Yanyanhualthough in senlin RequestContext, the keyname is still 'user_name'03:11
Qimingline 204 after change03:12
Qiminggetting "username" from context will fail03:12
Yanyanhuumm, why?03:14
Qimingwhat is the self.context?03:14
Yanyanhuif no customized context is provided, self.context is context.get_service_context03:14
Yanyanhuotherwise, it will be updated using context field defined in spec03:15
QimingI see03:15
Yanyanhuhmm, is that possible that haiwei need to recreate profiles?03:16
xuhaiwei_so the RequestContext is useless now?03:17
xuhaiwei_I will recreate it later03:17
Yanyanhuno, xuhaiwei_ , it is still useful in upper layers like engine service, action03:18
Yanyanhujust we removed it from driver layer since it is not needed when senlin talks with other services through sdk03:19
Yanyanhuit just makes thing confusing03:19
xuhaiwei_thanks Yanyanhu03:20
Yanyanhuso we decided to eliminated it :)03:20
Yanyanhuno problem03:20
xuhaiwei_after recreating profile, it goes well now03:20
xuhaiwei_go for lunch now03:21
zhenguoQiming: around?03:38
Qimingin call03:39
zhenguoI just test v3, but can't reproduce your error03:39
zhenguouse default domain03:40
zhenguook, it's lunch time, ttyl03:41
*** lawranc__ has quit IRC03:43
*** wizardYVE has quit IRC03:53
*** wizardYVE has joined #senlin04:17
*** lkarm has joined #senlin05:04
xuhaiwei_Qiming, it seems what we did in this patch is totally wrong
openstackgerritYanyan Hu proposed stackforge/senlin: Revise response of action_get api interface
xuhaiwei_firstly, the original exception like ResourceNotFound returns physical_id back, now we can't not get the physical05:09
*** lkarm has quit IRC05:09
QimingI don't think it is totoally wrong, just something need to improve05:10
xuhaiwei_Secondly, because we delete .ResourceNotFound and also the error message like 'flavor not found', the error message from SDK is not sufficient, it only returns 'Client Error'05:10
openstackgerritYanyan Hu proposed stackforge/python-senlinclient: Add resource_key for Action resource
Qimingagree we need to do something at the profile layer, not delaying everything to the node layer05:11
openstackgerritMerged stackforge/senlin: Handle SDK exception of sdk module
Qimingokay, then we need to revert the profile layer exception handling05:13
xuhaiwei_and there is another problem, Yanyanhu, can you create a node successfully?05:13
xuhaiwei_though I provided the right image, the driver still complains 'image not found'05:14
Yanyanhuhi, xuhaiwei_, I think so05:16
Yanyanhuyou still have problem creating node?05:17
xuhaiwei_yes, are you using keystone v3?05:17
Yanyanhuwhat error you met05:18
xuhaiwei_image can't be found05:19
xuhaiwei_nova driver complains05:19
xuhaiwei_I am using keystonev205:19
Yanyanhuhmm, you can check the detail error info from engine log since currently, the image not found exception will be given for all kinds of error happened in image_get progress05:21
Yanyanhudid this error happen when you used keystone_v3 driver?05:22
xuhaiwei_yes, I tried just now05:22
xuhaiwei_it also happened05:22
Qimingcirros 3.2 3.4 ?05:23
xuhaiwei_no, I created it by myself05:23
Yanyanhuok, what is the error in engine log?05:24
xuhaiwei_just a moment05:25
openstackgerritxu-haiwei proposed stackforge/senlin: Handle exception in neutron_v2 module
openstackgerritMerged stackforge/python-senlinclient: Add resource_key for Action resource
xuhaiwei_another problem is caused by this patch
openstackgerritMerged stackforge/senlin: Revise response of action_get api interface
xuhaiwei_the try: except  should not contain the server_create method, in fact, don't need the try05:29
Yanyanhuhi, xuhaiwei_ , seems error happened during nova server create progress05:33
Yanyanhuabout the try except, it is for catching the exception happened during nova server creation and prevent it going to node_action layer directly05:34
xuhaiwei_why the driver can't find the image05:34
Yanyanhuthe node_action will check the return value from profile layer to decide whether the physical resource behind the node is created successfully05:34
Yanyanhuhmm, I guess the image is there05:35
xuhaiwei_because it is in different project from the image creater05:35
Yanyanhuthat's possible05:35
xuhaiwei_so the project_domain_name affacts?05:36
Yanyanhuno, just the project takes effect I think05:36
Yanyanhuone user can't see images created by other users in different project05:37
YanyanhuI guess so05:37
xuhaiwei_why project is different05:37
Yanyanhuyou just said it :)05:38
Yanyanhu'because it is in different project from the image creater'05:38
xuhaiwei_so in the context we passed to nova driver, the project_id is wrong?05:39
Yanyanhuhmm, that shouldn't happen since we didn't specify the project id when create connection using sdk05:40
Yanyanhuwe just used user name/password and trusts05:40
xuhaiwei_I have to leave for a meeting ourside the company, maybe investigate this problem at weekends05:41
xuhaiwei_thanks Yanyanhu05:41
Yanyanhuany issue, just leave msg05:41
Yanyanhunp :)05:41
Qimingzhenguo, still not able to start dashboard06:01
*** mathspanda has quit IRC06:01
zhenguoQiming: ok, seems your env is out of date.06:02
zhenguoQiming: are you following the readme of senlin-dashboard to run horizon?06:03
zhenguoQiming: I'm in a meeting now, will be back soon06:13
openstackgerritQiming Teng proposed stackforge/senlin: Change default names for actions
*** wizardYVE has quit IRC07:01
*** mathspanda has joined #senlin07:02
*** mathspanda has quit IRC07:11
*** lawrance_ has joined #senlin07:12
*** lkarm has joined #senlin07:20
*** lkarm has quit IRC07:24
*** mathspanda has joined #senlin07:24
*** mathspanda has quit IRC07:30
*** mathspanda has joined #senlin07:48
openstackgerritQiming Teng proposed stackforge/senlin: Change default names for actions
zhenguoQiming: there?08:04
openstackgerritMerged stackforge/senlin: Handle exception in neutron_v2 module
openstackgerritMerged stackforge/senlin: Add network support for os.nova.server profile
Qimingyes, zhenguo08:05
zhenguoQiming: you can't even login the dashboard as the pasted log08:06
Qimingyes, when I logged in, the browser jumps directly to the error page08:06
zhenguoseems is not related the senlin plugin08:07
Qiminglooks like caused by the virtualenv08:07
Qimingthere are some variables referenced cannot be found08:07
QimingI'm thinking if I can copy directly to horizon install08:08
Qimingand try it there08:08
zhenguoyour horizon is worked now?08:08
zhenguonot the new cloned horizon08:08
Qimingit used to work, where I can see the 'clusters' panel in the UI08:09
openstackgerritYanyan Hu proposed stackforge/senlin: add functional test for cluster scale in/out
Qimingwhen I click it, I saw some errors08:09
Qimingthen I tried cloning the latest horizon08:10
Qimingseems everything is broken now08:10
zhenguook, you can pasted the logs on current horizon08:10
zhenguobut in the latest horizon, you have run python tools/ successfuly?08:11
openstackgerritYanyan Hu proposed stackforge/senlin: add functional test for cluster scale in/out
Qimingno luck08:12
zhenguoand runserver with ./ --runserver
Qimingstill having this problem:
* zhenguo checking08:16
zhenguoQiming: that's strange.08:16
Qimingeven if I remove from horizon, I still cannot use horizon now08:18
zhenguoQiming: I guess you env has some issues now08:19
Qimingmaybe browser?08:19
zhenguoQiming: can you reclone horizon and create venv following the instructions of senlin-dashboard.08:19
QimingI'll kill the current horizon instance first?08:20
zhenguoyou can use python runserver08:20
zhenguono need to kill apache server08:20
*** elynn has quit IRC08:22
Qimingdeleting horizon and recloning08:22
zhenguoQiming: you can copy and paste the command in senlin-dashboard/readme08:23
openstackgerritYanyan Hu proposed stackforge/senlin: add functional test for cluster scale in/out
zhenguoQiming: good luck, wait for your feedback,08:25
Qimingcannot login now08:34
Qimingzhenguo, here is what I'm getting08:36
QimingI'm stuck at the login screen08:36
Qimingwith this from command line:
zhenguostuck? still can't login?08:38
Qiming('Connection aborted.', error(111, 'Connection refused'))08:38
Qimingdifferent now08:39
Qimingwait, maybe its my fault08:41
Qimingfinally, I'm seeing the results!!!08:43
Qimingtwo clusters showed!08:43
zhenguoQiming: lol08:44
Qimingbeautiful, the most beautiful interface I ever saw on horizon!!!08:44
Qimingguys, this is beautiful:
mathspandayes, i like it.:)08:49
Yanyanhunice :)08:51
Yanyanhuwill make a try08:51
*** huangtianhua has joined #senlin08:55
zhenguohuangtianhua: you dedicate to senlin as well?08:56
*** mathspanda has quit IRC09:05
zhenguosenlin 什么时候可以挪到 openstack下面09:06
openstackgerritQiming Teng proposed stackforge/senlin: Avoid passing rich object when reschedule
zhenguo哈哈 赶紧把09:06
Qimingsearching the thread on this09:07
Qimingdon't know09:08
Qimingrefresh that page09:09
Qimingsee this:
zhenguoQiming: don't forget senlin-dashboard :P09:10
Qimingzhenguo, sure!09:10
Qimingsee it yourself09:11
QimingAfter that, no further action is required -- the Infrastructure team09:11
Qimingwill handle the system configuration changes needed to effect the move ...09:11
QimingSO NICE!09:11
YanyanhuI'm curious how will they handle fuel ;)09:12
Qimingyup, still a chaos there09:12
zhenguoa question, moving out of stackforge means that we become an offical project?09:12
Qimingzhenguo, no09:13
Qimingwe have to get 'senlin' listed here:
zhenguoQiming: so will update to differ these projects from openstack offical ones09:15
Qimingnot sure about that09:15
Qimingthe big tent idea is to give each project an equal opportunity to grow09:16
Qimingbut ... yes, there are company-wise assessment to your contributions09:16
Qimingthose are about the mindset change needed by those management people09:17
zhenguoespecially in huawei :P09:17
Qimingin IBM too09:18
zhenguoso I have to dedicated to many projects: horizon, ironic, mistral-dashboard ...09:19
Qimingpeople come and go, companies appear and disappear09:20
Qimingbut, long live your code!09:20
Qimingwhat else do we code farmers want? :)09:21
zhenguono, you are PTL, lol09:21
Qimingeveryone can be09:22
Qimingif he/she wants to make this thing useful, make it better09:23
zhenguoso you mainly focus on senlin now, how to keep heat core member09:23
QimingI'm not a qualified Heat core now09:23
zhenguoI'm not a qualified Horizon core as well ...09:24
QimingI am getting less and less interested in those meaningless changes09:24
Yanyanhumaking openstack better, this is our goal, no matter which project you are contributing to I think :)09:25
QimingI used to believe convergence is good, nice to have09:25
Qimingnow I'm doubting whether it is the right thing to do09:25
Yanyanhureally hope it can keep growing up and finally become something like 'Linux'09:25
QimingOpenStack may keep you fed, but you company may switch to something else soon, ;)09:26
Yanyanhuyes, that's true09:26
zhenguobut Linux is one project, openstack grows too big to control.09:26
Qimingby the way, I'm very loyal to my company09:27
Qimingthat's very true09:27
Yanyanhuwe both are ;)09:27
Yanyanhuyes, openstack is too big now09:27
QimingYanyanhu, saw your functional tests of scaling09:41
QimingI'm wondering if we should separate those into a dedicated module09:41
Qimingone module for cluster basics: create/update/delete/list/show09:42
Yanyanhuhmm, make sense09:42
Qimingone module for cluster membership management: add/delete nodes09:42
Qimingone module for cluster-policy associations: attach/detach/update09:42
Qimingone module dedicated to cluster-resize or cluster-scaling09:43
Yanyanhuok, so there will be a cluster directory there which is used to maintain these modules09:43
Yanyanhulike tests/functional/cluster/09:44
Qimingit is okay to spread these modules just under tests/functional at the moment09:44
Qimingif will be very inconvenient to look into different subdirs for files09:44
Qimingif we find there are too many modules under functional, say over 4009:45
Qimingit may be the time to consider a reorg of the structure09:45
Yanyanhugot it09:46
Qimingjust name the modules as test_cluster_crud test_cluster_membership ... would make it not so difficult to find things you want09:46
YanyanhuBTW, I found the functional test failed even for those merged patches for the same reason. I guess there could be some merged change which broke the test. Or some changes happened in devstack gate side09:47
Qimingseems the exception decorator is failing? invoke_with_catch() takes at least 1 argument (0 given)09:50
Yanyanhubut not sure why it happened09:50
Yanyanhudidn't find recently changes on it09:50
Yanyanhuah, I see09:55
Qimingget_user_id was made a class method with translate_exception decorator?09:55
Yanyanhubut this is ok I think09:55
YanyanhuI guess the problem is cause by using this decorate on create_connection and authenticate in sdk driver module09:56
Yanyanhuthese two methods are not classmethod or instancemethod of a class09:56
Yanyanhuthus the first parameter 'driver' of invoke_with_catch is not given I guess09:57
Qimingneed to revert that change09:58
Yanyanhuem, or give a revision09:59
YanyanhuI guess maybe we can manually trigger a functional test before each time we merge a patch if it is related to some important workflow10:00
Yanyanhuthen we can easily locate the error10:00
openstackgerritMerged stackforge/senlin: Fix errors in sample trigger spec and db model
openstackgerritMerged stackforge/senlin: Enable triggers for stevedore
*** lawrance_ has quit IRC10:06
openstackgerritMerged stackforge/senlin: Fix ceilometer alarm time constraints
*** lawrance_ has joined #senlin10:07
openstackgerritMerged stackforge/senlin: Fix policy json file for project checking
openstackgerritMerged stackforge/senlin: Forbid deletion of actions in use
openstackgerritMerged stackforge/senlin: Change default names for actions
Yanyanhuwill leave, guys, have a good weekend10:10
Qimingyou too10:10
*** Yanyanhu has quit IRC10:14
*** Qiming has quit IRC10:25
*** zhenguo has quit IRC10:40
*** lawrance_ has quit IRC11:07
*** huangtianhua has quit IRC11:35
*** Qiming has joined #senlin11:37
*** lawrance_ has joined #senlin11:55
*** lawrance_ has quit IRC12:19
*** lkarm has joined #senlin12:28
*** Qiming has quit IRC13:08
*** lkarm has quit IRC13:42
*** lkarm has joined #senlin13:42
*** lkarm has quit IRC13:47
*** lkarm has joined #senlin13:59
openstackgerritQiming Teng proposed stackforge/senlin: Make triggers project-safe
*** Qiming has joined #senlin14:15
*** zhenguo has joined #senlin14:22
openstackgerritMerged stackforge/senlin-dashboard: Add clusters table
*** jruano has joined #senlin14:43
openstackgerritZhenguo Niu proposed stackforge/senlin: Improve devstack plugin
*** zhenguo has quit IRC15:14
*** Qiming has quit IRC15:25
*** lkarm has quit IRC15:37
*** lkarm has joined #senlin15:37
*** jruano has quit IRC16:07
*** jruano has joined #senlin16:57
*** lkarm has quit IRC17:16
*** lkarm has joined #senlin17:17
*** lkarm has quit IRC17:21
*** lkarm has joined #senlin17:26
*** lkarm has quit IRC17:46
*** lkarm has joined #senlin17:47
*** lkarm has quit IRC17:52
*** lkarm has joined #senlin18:27
*** lkarm_ has joined #senlin18:28
*** lkarm has quit IRC18:31
*** jruano has quit IRC18:48
*** jruano has joined #senlin19:20
*** lkarm has joined #senlin20:21
*** lkarm_ has quit IRC20:24
*** lkarm_ has joined #senlin20:49
*** lkarm has quit IRC20:52
*** lkarm_ has quit IRC21:23
*** jruano has quit IRC21:44
*** jruano has joined #senlin22:16
openstackgerritOpenStack Proposal Bot proposed stackforge/senlin: Updated from global requirements

Generated by 2.14.0 by Marius Gedminas - find it at!