Monday, 2017-05-08

*** wanghao has joined #openstack-mogan00:08
openstackgerritTao Li proposed openstack/mogan master: Improve the multi-instance creation  https://review.openstack.org/45367501:01
zhenguomorning mogan!01:02
Xinranzhenguo, Hi, please review detach interface if you have time here is the link https://review.openstack.org/#/c/461767  thx01:14
zhenguoXinran: ok, sorry for the delay01:14
zhenguoXinran: but seems attch interface should be land first, wdyt?01:15
zhenguoliusheng: hi, maybe we can should mogan during the Bug Smash, what do you thing must be done before that?01:17
zhenguoliusheng: s/should/show01:18
zhenguos/thing/think01:18
zhenguoso many typos :D01:18
Xinranzhenguo,  we can detach whichever port provided the port id is given, each server has a port attached automatically during the creation , so i think we can test with that01:19
zhenguoXinran: aha, yes01:19
zhenguoXinran: it can be test separately :D01:19
Xinranzhenguo,  yes01:20
zhenguoXinran: wil review soon, thanks!01:20
*** liusheng has joined #openstack-mogan01:21
Xinranzhenguo,  np01:21
*** kevinz has joined #openstack-mogan01:34
zhenguoliusheng: hi, is keypair name a unique key?02:06
liushengzhenguo: name&user_id02:07
zhenguoliusheng: ok, got it, thanks!02:07
liushengzhenguo: np02:07
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Add keypairs panel  https://review.openstack.org/46322303:12
zhenguoliusheng: I just added the keypair panel to mogan-ui with all functionalities, you can try if you would like :D03:14
liushengzhenguo: thanks, cool!03:14
zhenguoliusheng: and do you think keypair should be mandatory when creating a server in UI03:15
liushengzhenguo: just because we cannot set password now ? lol03:15
zhenguoliusheng: hah,03:15
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Add keypairs panel  https://review.openstack.org/46322303:30
openstackgerritMerged openstack/mogan master: Add releasenotes for Mogan  https://review.openstack.org/46086803:42
openstackgerritMerged openstack/mogan-ui master: Add keypairs panel  https://review.openstack.org/46322303:45
zhenguoliusheng: hi, do you want to take the task to return flavor access projects?03:50
liushengzhenguo: ok, sure03:51
zhenguoliusheng: really appreciated!03:51
liushengzhenguo: will go for lunch :D03:51
liushengzhenguo: np03:51
zhenguoliusheng: hah03:51
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Fix delete action allow check  https://review.openstack.org/46323905:02
*** Kevin_Zheng has quit IRC05:07
*** Kevin_Zheng has joined #openstack-mogan06:12
openstackgerritMerged openstack/mogan-ui master: Fix delete action allow check  https://review.openstack.org/46323906:15
*** liusheng has quit IRC06:19
*** liusheng has joined #openstack-mogan06:20
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Add mogan exceptions  https://review.openstack.org/46325506:43
*** litao has joined #openstack-mogan06:54
litaozhenguo: pls review the patch: https://review.openstack.org/#/c/453675/06:54
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Add mogan exceptions  https://review.openstack.org/46325506:55
zhenguolitao: sure, thanks for the update!06:55
Xinranliusheng,  hi, thanks for your comments, i tried with self.driver.BaseEngineDriver.unplug_vifs, but the method is not implemented. It was only implemented in IronicDriver.06:56
litaozhenguo: np06:56
zhenguolitao: and congratulations to Fiberhome for Gold Member :D06:58
zhenguoXinran: that should be an issue,06:58
liushengXinran: may need to add the method in driver layer, what do you think zhenguo ?06:58
liushengzhenguo: :D06:59
zhenguoXinran, liusheng: every driver should be inherited from base driver06:59
zhenguoliusheng: sure, we need to add it06:59
liushengzhenguo: yes, agreed06:59
liushengXinran: since we need to consider to also support other possible drivers, e.g. cloudboot07:00
XinranBut there is no method implemented in BaseEngineDriver, each sub class will override the method they need. That's what I think.07:01
Xinranzhenguo, liusheng Cause for different drivers, maybe the implemention of method will be different. Wdyt07:04
zhenguoXinran: yes, they will all override it, but we need to leave it to the base driver with required arguments, every driver should follow it07:06
liushengXinran: yes, the implementation in different drivers maybe different, but it's better to keep same input parameters and same effects/outputs07:07
Xinranzhenguo, liusheng  yes, it did exist the method unplug_vifs in BaseEngineDriver, but we need call IronicDriver.unplug_vifs to do something. So i can't just import a universal baremental driver07:10
zhenguoXinran: I just left some comments in the patch07:10
zhenguoXinran: it should be like this https://github.com/openstack/mogan/blob/master/mogan/engine/base_manager.py#L40 , sorry for the misleading07:13
zhenguoXinran: and as I commented, I don't like to import ironic driver in neutron api file07:13
liushengXinran: self.driver = driver.load_engine_driver(CONF.engine.engine_driver), this statement will load the ironic driver, so it actually call the mothod in ironic driver07:14
Xinranzhenguo,  ok i see. luyao and I we did both attach/detach neutron port with/from server and attach/detach neutron port with/from ironic port07:15
liushengzhenguo: agreed, it is better to put these stuff in engine/manager.py07:16
zhenguoXinran: yes, and we dont' import driver in API, you can use a rpc call to engine to do it, and neutron api should only handle it's own stuff, after that you can call driver.unplu_vif07:16
zhenguofor both Xinran and luyao :)07:17
zhenguoliusheng: yes07:17
openstackgerritMerged openstack/mogan-ui master: Add mogan exceptions  https://review.openstack.org/46325507:32
Xinranzhenguo, liusheng  Is it means that I use a rpc call in server.py and i should implement the detach fonction in engine/manager but not in network_api ?07:33
XinranOr the neutron part in network_api and ironic_part in engine/manager?07:34
liushengXinran: you can see, in engine/manager.py, there is a self.network_api which contains the network related methods defined in network/api.py, so you can put all the neutron related operations in to the network/api.py and put the main proces in manager.py07:37
Xinranliusheng,  Cool  Got it  thanks you all07:39
liushengXinran: you are welcome :D07:39
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Fix server get exception when deleting  https://review.openstack.org/46326707:50
openstackgerritMerged openstack/mogan-ui master: Fix server get exception when deleting  https://review.openstack.org/46326708:04
zhenguow08:16
zhenguo:w08:16
zhenguooops08:16
* zhenguo brb08:36
litaozhenguo:  thks, Huawei is an old brother  for  Gold Member:)09:34
zhenguolitao: lol09:35
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Launch server workflow support  https://review.openstack.org/46328809:41
* zhenguo brb09:42
*** kevinz has quit IRC10:32
*** zhenguo has quit IRC10:46
*** zhenguo has joined #openstack-mogan10:46
openstackgerritZhong Luyao proposed openstack/mogan master: Attach interface for server  https://review.openstack.org/45992110:47
*** wanghao has quit IRC10:53
openstackgerritXinran WANG proposed openstack/mogan master: Detach interface for server  https://review.openstack.org/46176711:00
openstackgerritliusheng proposed openstack/mogan master: Return access projects info query flavor  https://review.openstack.org/46330811:06
openstackgerritXinran WANG proposed openstack/mogan master: Detach interface for server  https://review.openstack.org/46176711:09
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Launch server workflow support  https://review.openstack.org/46328811:30
openstackgerritZhenguo Niu proposed openstack/mogan-ui master: Launch server workflow support  https://review.openstack.org/46328811:50
*** kevinz has joined #openstack-mogan11:52
*** litao has quit IRC11:59
*** kevinz has quit IRC12:03
*** kevinz has joined #openstack-mogan12:04
openstackgerritMerged openstack/mogan-ui master: Launch server workflow support  https://review.openstack.org/46328813:54
*** kevinz has quit IRC14:05
*** kevinz has joined #openstack-mogan14:46
*** kevinz has quit IRC14:51
*** wanghao has joined #openstack-mogan15:42
*** wanghao has quit IRC15:55
*** wanghao_ has joined #openstack-mogan17:37
*** wanghao_ has quit IRC19:56
*** wanghao_ has joined #openstack-mogan22:16

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