02:00:35 <zhenguo> #startmeeting mogan 02:00:36 <openstack> Meeting started Thu Jul 13 02:00:35 2017 UTC and is due to finish in 60 minutes. The chair is zhenguo. Information about MeetBot at http://wiki.debian.org/MeetBot. 02:00:37 <openstack> Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 02:00:39 <openstack> The meeting name has been set to 'mogan' 02:00:48 <zhenguo> o/ 02:01:01 <zhangyang> o/ 02:01:06 <liusheng> o/ 02:01:49 <shaohe_feng> o/ 02:02:14 <zhenguo> as always, the agenda: 02:02:14 <zhenguo> #link https://wiki.openstack.org/wiki/Meetings/Mogan#Agenda_for_next_meeting 02:02:19 <zhenguo> let's jump in 02:02:24 <zhenguo> #topic announcements and reminders 02:02:35 <zhenguo> OpenStack Summit Sydney CFP deadline is July 15, 2017, 14:59 Beijing Time. 02:03:34 <zhenguo> zhangyang: how about adding a joint presentation for mogan run in HFBank? 02:04:04 <Xinran> o/ 02:04:28 <zhangyang> zhenguo: i'm not sure... you can ask liudong :D 02:04:35 <zhenguo> zhangyang: ok 02:04:48 <zhenguo> shaohe_feng: we can add a joint one like last summit 02:05:46 <zhenguo> wanghao, litao__: how about yours about adopting running baremetals? 02:06:19 <shaohe_feng> zhenguo: OK 02:06:28 <wanghao> zhenguo: I have committed the first patch for getting adopting bms from driver. 02:06:53 <wanghao> zhenguo: and litao__ is working on the manage API. 02:07:00 <zhenguo> wanghao: yeah, I mean the presentation for Summit, hah 02:07:13 <wanghao> zhenguo: :) 02:07:22 <shaohe_feng> zhenguo: we can add a one. and I think mogan is good improve than the last summit. 02:07:34 <zhenguo> shaohe_feng: yes 02:07:35 <wanghao> zhenguo: I have registed the presentation 02:07:42 <zhenguo> wanghao: cool 02:07:45 <shaohe_feng> zhenguo: we should keep to promote mogan. 02:08:03 <wanghao> zhenguo: now just litao_ and I, so if anyone is interesting in this. could join us. 02:08:20 <zhenguo> wanghao: you can add me if there's still seat, lol 02:08:35 <wanghao> zhenguo: sure np 02:08:47 <zhenguo> wanghao: thanks 02:09:17 <wanghao> zhenguo: :) 02:09:20 <zhenguo> ok, let's move no 02:09:25 <zhenguo> *on 02:09:47 <zhenguo> We will change to let ironic set the node resource class during devstack setup 02:10:04 <zhenguo> The project-config patch has landed 02:10:42 <zhenguo> please remember to update your devstack local.conf when that's done 02:11:09 <zhenguo> it will require IRONIC_USE_RESOURCE_CLASSES = True 02:12:02 <wanghao> cool 02:12:10 <zhenguo> hah 02:12:29 <zhenguo> ok, another thing is ironic will get rid of ssh driver, we should also clean that up on mogan side 02:12:35 <shaohe_feng> zhenguo: thanks for reminder. 02:12:38 <zhenguo> please help to do it if you find anything related to ssh 02:13:21 <zhenguo> seems need to update our doc, a quick search can find some ssh* there 02:13:32 <liusheng> zhenguo: does the ssh driver just be deprecated or will be removed soon ? 02:13:40 <zhenguo> liusheng: removed 02:13:46 <zhenguo> liusheng: it will deprecated for a long time 02:13:53 <zhenguo> s/will/has 02:14:00 <liusheng> zhenguo: oops! 02:14:28 <liusheng> zhenguo: we may also need to disable the console tempest test 02:14:59 <zhenguo> liusheng: seems on our tempest config it use ipmitool driver 02:15:27 <liusheng> zhenguo: let me check 02:15:33 <zhenguo> liusheng: some ironic guy has help to change that 02:15:51 <litao__> I am here 02:15:55 <liusheng> zhenguo: oh, yes 02:15:57 <zhenguo> litao__; o/ 02:16:39 <zhenguo> ok. not much of announcement, anyone else have a thing here? 02:17:34 <zhenguo> oh, the contribution stats 02:17:45 <zhenguo> Contribution into mogan for the last 30 days 02:17:45 <zhenguo> #link http://stackalytics.com/report/contribution/mogan/30 02:18:26 <zhenguo> thanks everyone for the hard work 02:19:24 <zhenguo> anything else? 02:19:43 <wanghao> plz update the tasks status 02:19:44 <wanghao> haha 02:19:54 <zhenguo> wanghao: sure 02:20:02 <zhenguo> #topic task tracking 02:20:09 <zhenguo> #links https://etherpad.openstack.org/p/MoganWhiteBoard 02:20:42 <zhenguo> looks like things are moving along nicely 02:21:05 <litao__> yes 02:21:36 <wanghao> I think we can land adopting spec if there is no big issue. 02:21:38 <zhenguo> the placement patches need more eyes on them, please help to review to make it land by this week 02:21:50 <wanghao> sure 02:21:59 <zhenguo> wanghao: sure, let's make it land by this week 02:22:13 <litao__> great 02:22:18 <wanghao> zhenguo: very nice 02:22:31 <shaohe_feng> zhenguo: 02:22:38 <liusheng> just added an item about uwsgi support 02:22:56 <zhenguo> liusheng: thanks, 02:23:05 <wanghao> liusheng: do we need to support uwsgi? 02:23:06 <litao__> I found the mogan codes has been changed a lot because of placement. 02:23:35 <litao__> maybe many conficts for new patches 02:23:37 <liusheng> wanghao: yes, seems it is tendency 02:23:42 <zhenguo> litao__: yes, so I want more people review the patches to make it not break mogan 02:24:14 <zhenguo> litao: so let's land it first and rebase other patches 02:24:15 <litao__> zhenguo: got it 02:24:44 <zhenguo> wanghao: seems many other projects have moved to uwsgi 02:24:58 <wanghao> liusheng: yeah, Zaqar also has it already, but I still not see the benefit 02:25:29 <shaohe_feng> yes, now many projects use uwsgi 02:25:44 <liusheng> zhenguo, wanghao yes, not very sure, but seems it can well support multi process of api server 02:26:27 <litao__> liusheng: do further research maybe :) 02:26:42 <liusheng> litao__: sure, I am researching, hah 02:26:50 <zhenguo> hah 02:26:53 <wanghao> zhenguo, liusheng, shaohe_feng okay, that's a good improvement. 02:27:05 <liusheng> the patch is ready to review, and I have tested ok locally 02:27:23 <zhenguo> awesome! 02:27:24 <wanghao> if we support uwsgi, guru also need some changes to support it. 02:27:33 <liusheng> thanks :) 02:27:33 <shaohe_feng> nice work 02:27:37 <wanghao> I did it in Zaqar 02:27:55 <zhenguo> wanghao: maybe you can also do it as a following up patch :D 02:28:11 <liusheng> wanghao: oh, please go ahead. hah 02:28:23 <wanghao> zhenguo: yes, leave it to me 02:28:33 <wanghao> liusheng: sure : 02:28:39 <wanghao> :) 02:28:59 <zhenguo> ok, let's talk about the aggregates and server groups 02:29:21 <zhenguo> I updated to the node aggregates spec to leverage placement 02:29:51 <zhenguo> we will handle aggregate metadata on mogan side, and placement aggregates will be used for grouping the rps 02:30:16 <zhenguo> zhangyang: maybe you and liudong should take a look at it 02:30:39 <zhangyang> zhenguo: yes, sure. 02:31:31 <zhenguo> zhangyang: ok, and the server group one, we still cant find out the real purpose of it, need more feedback 02:32:10 <liusheng> zhenguo: I guess there still is many TODO works of placement 02:32:22 <zhenguo> I can understand the use case that, users want an affinity group of nodes which in same RACK, or not same 02:32:32 <zhenguo> liusheng:yes 02:32:52 <liusheng> zhenguo: I think Nova also need to consider that 02:33:11 <zhenguo> liusheng: you mean aggregates? 02:33:39 <liusheng> zhenguo: yes, if Nova will totally switch to use placement 02:33:54 <zhenguo> liusheng: hah, seems that will take years 02:34:00 <liusheng> zhenguo: :( 02:34:24 <zhenguo> liusheng: They already clarified that nova host aggregates is different from placement aggregates 02:34:58 <wanghao> So Mogan also need 'host aggreates'? 02:35:15 <zhenguo> wanghao: not host, but node 02:35:34 <wanghao> if considering affinity group, seems node aggregates more fit for us. 02:35:36 <wanghao> yes 02:35:57 <liusheng> zhenguo: yes, if so, just think a bit valueless of node aggregates of placement.. 02:36:30 <zhenguo> yes, we need to define node aggregates on mogan side 02:36:58 <zhenguo> placement is just a place to provide the group and provide the api to select it 02:37:19 <zhenguo> wrt which group we needed, should be done by us 02:37:36 <zhenguo> like we need to filter the aggregate ourselfs to get a agg list 02:37:54 <zhenguo> then pass it down to placement with the query parameter to get the expected RPs 02:38:11 <liusheng> we don't need to store compute nodes in Mogan any more, right 02:38:16 <liusheng> ? 02:38:29 <zhenguo> yes, we dont' save nodes and the aggregate_nodes 02:38:36 <zhenguo> just same aggregate metadata 02:38:42 <liusheng> zhenguo: oh, I see, yes 02:38:45 <litao__> zhenguo: We should call ironic api to get compute nodes 02:38:57 <litao__> zhenguo: low efficiency? 02:39:07 <zhenguo> litao__: no, we will provide that API 02:39:13 <zhenguo> litao__: from placement 02:39:53 <zhenguo> I plan to cache the RPs and map of aggregates from placement when doing resource update, then we can expose that to users 02:40:07 <shaohe_feng> what's the difference aggregates and server group? 02:40:28 <zhenguo> server group have policies 02:40:30 <wanghao> yeah, I want to ask too 02:40:36 <zhenguo> affinity and anti-affinity 02:40:47 <zhenguo> based on the server in the groups 02:40:51 <litao__> zhenguo: OK 02:41:00 <zhenguo> for vms, it's in the same host or not 02:41:08 <zhenguo> but for us, it's not clear yet 02:41:43 <wanghao> seems user can choose that two servers could be in one rack or not 02:41:46 <zhenguo> for RACK, ROW... seems all make sense 02:42:07 <zhenguo> yes, that's why we want to add server group concepts 02:42:13 <liusheng> zhenguo: we may need to introduce that concepts firstly, hah 02:42:17 <zhenguo> with scheduler hints a user can do that 02:42:18 <wanghao> so it's a logic concept just in Mogan 02:42:41 <zhenguo> yes, but I don't want to add all that notions 02:42:52 <zhenguo> maybe we need to improve the server groups 02:42:53 <zhangyang> zhenguo: we are planning to use server groups during starting servres, and mark different aggregates with metadata rooms/racks/etc. 02:42:59 <zhenguo> not like nova, we can make it more smart 02:43:03 <zhenguo> maybe also besed on metadata 02:43:20 <wanghao> and we need to select the aggregates based on the group policy 02:43:27 <zhenguo> zhangyang: yes, that's what I expected 02:44:04 <zhenguo> yes, seems a bit complex, we need to think more, at least need a spec to show the details 02:44:13 <zhenguo> but it's sure not like nova's server groups 02:44:35 <zhangyang> zhenguo: yes. 02:44:47 <litao__> wanghao: you mean combine server group and node aggregate? 02:45:15 <zhenguo> I think we need to combine those 02:45:52 <zhenguo> aggregates can be RACK, ROW, DC 02:46:06 <litao__> zhenguo: maybe a great idea 02:46:12 <zhenguo> but it also could be ceph backed, FPGA, GPU 02:46:19 <zhenguo> not sure how to handle it gracefully 02:46:49 <zhenguo> for location notion, they will fit affinity and anti-affinity, but for hardware specs, not sure how to handle it 02:48:16 <wanghao> litao__: no, I just say the relationship 02:48:49 <zhenguo> AZ is also a metadata of aggregates, but it's special 02:49:01 <zhenguo> maybe we should make RACK also special metadata, hah 02:49:29 <liusheng> zhenguo: you mean traits in placment or what ? 02:50:14 <zhenguo> liusheng: no 02:50:25 <zhenguo> liusheng: we will handle the aggregate metadata ourselfves 02:51:13 <zhenguo> I think we can not use traits until we add NIC, DISK there 02:51:23 <liusheng> zhenguo: oh, I misunderstood that 02:51:25 <zhenguo> with a nested resource providers 02:51:39 <liusheng> zhenguo: I mean metadata for server group, hah 02:51:46 <zhenguo> liusheng: hah 02:52:14 <litao__> metadata can solve everything 02:52:18 <zhenguo> liusheng: metadata for server group to match with aggregate metatada 02:52:25 <zhenguo> seems can archieve this 02:53:27 <liusheng> zhenguo: so server group and node aggregates notions in Mogan are overlapped 02:53:28 <zhenguo> I don't know what nova's server group metadata used for 02:53:44 <zhenguo> liusheng: seems not 02:54:01 <zhenguo> liusheng: aggregates are for nodes, server groups are servers 02:54:16 <zhenguo> liusheng: nodes contains deployed and not deployed 02:54:41 <zhenguo> server groups is only used for creating server 02:55:20 <liusheng> zhenguo: yes, I see 02:55:40 <zhenguo> hah, seems we can do it 02:55:53 <liusheng> zhenguo: seems nodes aggregate is a urgent requirement, but server group not, right ? 02:56:06 <zhenguo> liusheng: seems yes, 02:56:22 <zhenguo> liusheng: but after aggregates landed, we can prepare the server groups things 02:56:32 <liusheng> so let's focus on that firstly 02:56:33 <zhenguo> liusheng: I will try to finish aggregates soon 02:57:01 <zhenguo> oh boy, it's almost time 02:57:05 <liusheng> hah 02:57:24 <zhenguo> #topic open discussion 02:57:31 <zhenguo> let's continue here 02:57:33 <zhenguo> lol 02:58:35 <liusheng> zhenguo: are you already working on code of aggregates ? 02:58:40 <liusheng> zhenguo: or only spec 02:58:49 <zhenguo> liusheng: yes, the db migrations and models patch 02:58:59 <liusheng> zhenguo: cool 02:59:02 <zhenguo> liusheng: already under review 02:59:07 <liusheng> zhenguo: hah 02:59:52 <zhenguo> liusheng: btw, please make sure our client work before Pike :D 03:00:04 <liusheng> zhenguo: sure 03:00:10 <zhenguo> thanks 03:00:15 <zhenguo> ok, it's time 03:00:22 <zhenguo> thanks y'all 03:00:30 <zhenguo> #endmeeting