Tuesday, 2017-05-09

*** wanghao_ has quit IRC00:36
zhenguomorning mogan!00:56
*** kevinz has joined #openstack-mogan00:59
*** wanghao has joined #openstack-mogan01:29
openstackgerritZhenguo Niu proposed openstack/mogan master: Add check for availability zone when set resources  https://review.openstack.org/46343802:04
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Fix no availability zone error  https://review.openstack.org/46343902:11
*** wanghao has quit IRC02:15
*** wanghao has joined #openstack-mogan02:16
*** wanghao has quit IRC02:16
openstackgerritMerged openstack/mogan-ui master: Fix no availability zone error  https://review.openstack.org/46343902:24
zhenguoliusheng: wrt the flavor access, do you think common users should get flavor with access info, like it's a private flavor, a common users would see who can access it02:54
liushengzhenguo: let me try in Nova :)02:56
zhenguoliusheng: nova doens't return such things02:56
zhenguoliusheng: also the extra specs not return with flavor list/show02:56
zhenguoliusheng: how about just keeping flavor and access as two set of APIs02:57
zhenguoliusheng: and on client side, we can call them separately if we want to show access info for admin02:57
liushengzhenguo: yes, but OSC command: flavor show return it02:57
zhenguoliusheng: I think it call several APIs02:57
liushengzhenguo: sounds a bit reasonable02:58
zhenguoliusheng: and seems access info should not be exposed to normal users, wdyt?02:58
zhenguoliusheng: let me check our policy for such APIs02:59
liushengzhenguo: so just abandon my patch ? lol02:59
liushengzhenguo: I am ok with that02:59
zhenguoliusheng: hah, sorry, but we can wait for a while02:59
liushengzhenguo: ok02:59
zhenguoliusheng: our API policy is not denied normal users to list flavor access info03:01
liushengzhenguo: you mean the default rules ?03:02
zhenguoliusheng: yes, I added it, but not check nova's policy03:02
liushengzhenguo: maybe only admin03:02
zhenguoliusheng: maybe, need to confirm what's nova policies for this03:02
liushengzhenguo: ok, our flavor object don't have project and user properties03:03
zhenguoliusheng: aha, yes03:04
zhenguoliusheng: for private flavor, access is the extenstion for project attribute :D03:05
zhenguoliusheng: btw, our UI now support server create/delete and keypairs management, but only with the basic functionalities.03:07
liushengzhenguo: awesome, cool!03:07
liushenglol03:07
zhenguoliusheng: maybe we can show during the Bug Smash03:08
liushengzhenguo: we can show some thing in bug smash03:08
liushengyes03:08
zhenguoliusheng: hah,03:08
zhenguoliusheng: please have a look at this https://review.openstack.org/#/c/463438/ when you got time, I changed the default az to mogan from nova :D03:09
liushengzhenguo: ok, sure03:10
zhenguoliusheng: thanks03:10
* zhenguo brb03:11
*** wanghao has joined #openstack-mogan03:17
*** wanghao has quit IRC03:22
openstackgerritMerged openstack/mogan master: Add check for availability zone when set resources  https://review.openstack.org/46343803:46
openstackgerritZhenguo Niu proposed openstack/mogan master: [POC] New flavor  https://review.openstack.org/45717803:51
*** wanghao has joined #openstack-mogan04:18
*** wanghao has quit IRC04:22
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Add server ips column  https://review.openstack.org/46346505:26
openstackgerritXinran WANG proposed openstack/mogan master: Detach interface for server  https://review.openstack.org/46176705:46
*** wanghao has joined #openstack-mogan06:19
*** wanghao has quit IRC06:24
zhenguoliusheng: how about changing server.extra to server.metadata?07:10
liushengzhenguo: they represent same things, right ?07:11
liushengzhenguo: ok07:11
zhenguoliusheng: yes, same thing, just change the name07:11
zhenguoliusheng: extra seems not meaningful :D07:11
liushengzhenguo: ok, sounds reasonable07:11
liushenghaha07:11
zhenguolol07:11
zhenguoliusheng: for simple, maybe just change the API object07:12
liushengzhenguo: don't change the db field ?07:12
zhenguoliusheng: I remember metadata is an observed name, not sure07:13
zhenguos/observed/reserved07:13
liushengin mogan ?07:14
liushengzhenguo: in mogan ?07:14
zhenguoliusheng: no, not related to mogan07:14
liushengzhenguo: oh, many projects, have the concept metadata, seems.07:15
zhenguoliusheng: IIRC, I tried it before,07:15
liushengzhenguo: lol07:15
zhenguoliusheng: do you like to try it again?07:15
zhenguolol07:15
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Add server ips column  https://review.openstack.org/46346507:18
*** wanghao has joined #openstack-mogan07:20
*** wanghao has quit IRC07:24
openstackgerritMerged openstack/mogan-ui master: Add server ips column  https://review.openstack.org/46346507:33
*** wanghao has joined #openstack-mogan08:17
*** wanghao has quit IRC08:21
*** wanghao has joined #openstack-mogan08:49
openstackgerritZhenguo Niu proposed openstack/mogan master: Following up patch of 7d0f8ab36074c38327d47280c7f3ef6bbaad7f1a  https://review.openstack.org/46349608:50
zhenguoliusheng: just found a wrong renaming for instance to server: https://review.openstack.org/46349608:51
*** wanghao has quit IRC08:52
liushengzhenguo: good catch, hah  my mistake08:52
zhenguoliusheng: hah08:52
*** wanghao has joined #openstack-mogan08:52
*** wanghao has quit IRC08:53
*** wanghao has joined #openstack-mogan08:53
*** wanghao has quit IRC08:54
*** wanghao has joined #openstack-mogan08:54
*** wanghao has quit IRC08:55
*** wanghao has joined #openstack-mogan08:55
*** wanghao has quit IRC08:55
*** wanghao has joined #openstack-mogan08:56
*** wanghao has quit IRC08:56
*** wanghao has joined #openstack-mogan08:56
*** wanghao has quit IRC08:57
liushengzhenguo: hi zhenguo, about the scheduler_hints, currently, we don't have any filter to use the scheduler_hints. do you think it is ok to support pass the scheduler_hints to scheduler for now. and in the future if we have the rquirement then we add filter using scheduler_hints ?09:01
zhenguoliusheng: yeah, it's ok09:01
liushengzhenguo: ok, btw, we should consider to persistent the request_spec data to db, since it provide convenience, and nova have support that09:02
zhenguoliusheng: yes, I seee nova has a request spec object, but I didn't find why09:03
zhenguoliusheng: for us, request spec is only used when scheduing09:04
liushengzhenguo: that is what I said09:04
liushengzhenguo: yes, but it's better to persistent that info, since that can be use to query the scheduler_hints after a server created09:05
liushengzhenguo: but, seems Mogan don't need to support migration, hal09:05
liushenghah09:05
zhenguoliusheng: sure, hah09:05
liushengzhenguo: if we don't persistent request_spec, some scheduling related info such as scheduler_hints will lost after a server created09:06
zhenguoliusheng: does that have any side effect if lost the hints?09:07
zhenguoliusheng: as I understand scheduler hints is only used to give some hints to scheduler, correct me if I'm wrong :D09:07
liushengzhenguo: in Nova, that may effect instance migration. and also may provide a way to query the sheduling parameter about a specific instance creation09:08
liushengzhenguo: I am not sure, seems our products have similar requirement09:09
liushengzhenguo: yes09:09
zhenguoliusheng: our products?09:09
zhenguoliusheng: seems now we can just ignore the migration case09:10
liushengzhenguo: yes, so the only use case I can find out that may there is need to query the scheduling paramters about a server after creation09:11
zhenguoliusheng: hmm. why we need to do that?09:11
liushengzhenguo: and I just confirmed with zhenyu, he also said that is two main use cases09:11
zhenguoliusheng: maybe we can just not save it, only find out true requirements, wdyt?09:12
liushengzhenguo: yes, I am ok at least for now :D09:16
zhenguoliusheng: thanks09:16
zhenguoliusheng: when bulding the UI, I find we really have many things to do09:16
liushengzhenguo: hah09:28
liushengzhenguo: may you can just add them to our tasks list09:29
zhenguoliusheng: yes, I just added one, add filters to list API :D09:29
zhenguoliusheng: and many things blocked by my new flavor task, will focus on it this week09:30
liushengzhenguo: how about use searchlight to perform that ?09:30
zhenguoliusheng: sounds good, but not familiar with SL :D09:31
liushengzhenguo: we have a SL core. lol09:31
zhenguolol09:31
zhenguoliusheng: but seems it require us to send full notifications09:31
liushengzhenguo: yes09:32
zhenguoliusheng: not sure it's easy for us now to achieve it09:32
zhenguoliusheng: and seems SL will not accept a non official project09:33
Kevin_Zhengyou can use api call first09:33
liushengzhenguo: once we have basical stable frame, we can add more notification09:33
zhenguoliusheng: maybe you can ask Kevin_Zheng to see whether we can leverage SL09:35
liushengzhenguo: yes, he just said that we can implement an own SL plugin firstly. lol09:35
Kevin_Zhengnot very hard09:35
Kevin_Zhengmaybe 100 loc09:35
zhenguoliusheng: if so, maybe you can try09:35
zhenguoKevin_Zheng: really? lol09:36
openstackgerritZhenguo Niu proposed openstack/mogan master: Following up patch of 7d0f8ab36074c38327d47280c7f3ef6bbaad7f1a  https://review.openstack.org/46349609:49
openstackgerritZhenguo Niu proposed openstack/mogan master: [POC] New flavor  https://review.openstack.org/45717809:55
*** wanghao has joined #openstack-mogan09:57
*** wanghao has quit IRC10:02
*** kevinz has quit IRC10:19
*** wanghao has joined #openstack-mogan10:58
*** wanghao has quit IRC11:03
openstackgerritliusheng proposed openstack/mogan master: WIP: Add support for scheduler_hints  https://review.openstack.org/46353411:37
*** wanghao has joined #openstack-mogan11:38
openstackgerritZhenguo Niu proposed openstack/mogan master: [POC] New flavor  https://review.openstack.org/45717811:43
openstackgerritMerged openstack/mogan master: Following up patch of 7d0f8ab36074c38327d47280c7f3ef6bbaad7f1a  https://review.openstack.org/46349611:45
*** wanghao has quit IRC11:54
openstackgerritliusheng proposed openstack/mogan master: Add support for scheduler_hints  https://review.openstack.org/46353412:00
openstackgerritZhenguo Niu proposed openstack/mogan master: Add create flavor json schema check  https://review.openstack.org/46354412:06
openstackgerritliusheng proposed openstack/python-moganclient master: Add support for scheduler hint  https://review.openstack.org/46355312:23
*** kevinz has joined #openstack-mogan13:19
*** kevinz has quit IRC13:27
*** kevinz has joined #openstack-mogan13:28
*** kevinz has quit IRC15:26
*** kevinz has joined #openstack-mogan16:08
*** kevinz has quit IRC16:13
*** liusheng has quit IRC18:30
*** liusheng has joined #openstack-mogan18:30

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