Tuesday, 2017-05-02

*** wxy has joined #openstack-mogan00:42
*** wanghao has joined #openstack-mogan00:52
*** kevinz has joined #openstack-mogan01:04
*** liusheng has quit IRC01:04
*** liusheng has joined #openstack-mogan01:15
*** zhenguo has joined #openstack-mogan01:48
openstackgerritMerged openstack/mogan master: Following up patch of 7d0f8ab36074c38327d47280c7f3ef6bbaad7f1a  https://review.openstack.org/46088501:48
zhenguomorning mogan!01:48
openstackgerritZhenguo Niu proposed openstack/mogan master: Add flavors related policy check  https://review.openstack.org/46086402:41
openstackgerritliusheng proposed openstack/mogan master: Add tool for adoptting baremetal servers from Nova  https://review.openstack.org/45569202:49
*** Kevin_Zheng has joined #openstack-mogan02:58
openstackgerritliusheng proposed openstack/mogan master: Refactor the network_info field in API layer  https://review.openstack.org/45903403:00
openstackgerritliusheng proposed openstack/python-moganclient master: Refactor network info with nics format  https://review.openstack.org/45903603:06
openstackgerritZhong Luyao proposed openstack/mogan master: bug fix: return fault_info correctly  https://review.openstack.org/45646103:09
openstackgerritZhenguo Niu proposed openstack/mogan master: Add private flavor filter for access  https://review.openstack.org/46090003:30
zhenguoliusheng: hi03:49
liushengzhenguo: hi zhenguo03:49
zhenguoliusheng: https://review.openstack.org/#/c/459034/5/api-ref/source/v1/samples/servers/server-create-resp.json03:49
zhenguoliusheng: it should be nics instead of network_info, right?03:49
zhenguoliusheng: I mean L25 nics: []03:51
liushengzhenguo: hmm, for now I did't change that, since the input parameter is network id, may support port-id in the future, wdyt03:51
zhenguoliusheng: but server API object doesn't include network_info anymore, how to return it03:53
* zhenguo away03:53
openstackgerritliusheng proposed openstack/mogan master: Refactor the network_info field in API layer  https://review.openstack.org/45903406:18
liushengzhenguo: thanks for pointing that, my mistake, uploaded new patchset06:20
zhenguoliusheng: thansk06:20
*** wanghao_ has joined #openstack-mogan06:31
*** wanghao has quit IRC06:32
*** wanghao has joined #openstack-mogan07:00
*** wanghao_ has quit IRC07:01
*** wanghao has quit IRC07:18
liushengzhenguo: hi, in Nova, the creating server API, the request body is like {'server'{xxx}, 'scheduler_hints':{xxx}}, but in Mogan, the body content directly included in the body json07:26
liushengzhenguo: I am not sure where to put the schedule_hints parameters07:26
liushengzhenguo: any suggestion ?07:26
zhenguoliusheng: maybe we can follow nova's way?07:40
zhenguoliusheng: does nova create body only include server and scheduler_hints?07:40
liushengzhenguo: yes as I found07:41
zhenguoliusheng: maybe we can change07:42
liushengzhenguo: ok, I will try07:43
zhenguoliusheng: thanks07:43
liushengzhenguo: np :D07:43
luyaozhenguo, I have some questions when coding on attach-interface08:00
*** wanghao has joined #openstack-mogan08:07
luyaozhenguo, How to  make sure if the port is usable,08:09
zhenguoluyao: you can check port extra field08:10
zhenguoluyao: if there's a vif_port_id specified, it's used08:10
luyaozhenguo, is the port here  baremetal port?08:12
zhenguoluyao: yes, ironic port08:13
luyaozhenguo, attach interface means attatch ironic port?08:14
zhenguoluyao: yes, attach ironic port to neutron vswitch08:15
luyaozhenguo, I am confused :(08:17
luyaozhenguo, In create server taskflow, I see create port in build network task. What is the port here?08:19
zhenguoluyao: sorry, I'm in a meeting, will ping you later08:36
luyaozhenguo, ok, thanks.08:36
zhenguoluyao: hi, are you still around? for attach interface, you need to create a neutron port, then pass the port id with ironic attach API09:13
luyaozhenguo, If create neutron port ,should user give the mac_address?09:24
zhenguoluyao: seems ironic will update it, not sure09:25
zhenguoluyao: you can try or look through the nova code for ironic attach interface09:25
*** wanghao has quit IRC09:26
*** wanghao has joined #openstack-mogan09:27
luyaozhenguo, if a node have serveral usable physical ports, should I create neutron port for all of them?09:29
zhenguoluyao: no, attach interface is for one port09:30
luyaozhenguo, I looked through attach interface in  nova code, is that ironic attach interface as you said?09:37
luyaozhenguo, another question , Can ironic port   bind several vif_ports?09:43
openstackgerritMerged openstack/mogan master: Add flavors related policy check  https://review.openstack.org/46086409:52
zhenguoluyao: sorry for the delay, ironic port can only bind with one vif-port10:00
zhenguoluyao: maybe we can just list ironic ports and choose one from it, then use the mac to create neutron port, and set vif-port-id back10:01
luyaozhenguo, I see , thank you very much. : )10:01
openstackgerritZhenguo Niu proposed openstack/mogan master: Add private flavor filter for access  https://review.openstack.org/46090010:01
zhenguoluyao: np10:01
*** Xinran has quit IRC10:05
*** shaohe_feng has quit IRC10:06
*** luyao has quit IRC10:07
*** luyao has joined #openstack-mogan10:12
*** Xinran has joined #openstack-mogan10:13
*** shaohe_feng has joined #openstack-mogan10:14
*** kevinz has quit IRC10:58
openstackgerritZhong Luyao proposed openstack/mogan master: Attach interface for instance  https://review.openstack.org/45992111:18
openstackgerritMerged openstack/mogan master: Add private flavor filter for access  https://review.openstack.org/46090011:55
openstackgerritwanghao proposed openstack/mogan master: Add releasenotes for Mogan  https://review.openstack.org/46086812:24
*** wanghao has quit IRC12:36
openstackgerritXinran WANG proposed openstack/mogan master: Detach interface for server  https://review.openstack.org/46176712:37
*** kevinz has joined #openstack-mogan12:42
*** kevinz has quit IRC12:50
*** kevinz has joined #openstack-mogan12:50
*** openstackgerrit has quit IRC13:48
*** Jeffrey4l has quit IRC14:43
*** zhenguo has quit IRC14:45
*** Kevin_Zheng has quit IRC14:45
*** Jeffrey4l has joined #openstack-mogan14:46
*** kevinz has quit IRC15:43
*** Kevin_Zheng has joined #openstack-mogan16:44
*** zhenguo has joined #openstack-mogan16:44
*** harlowja has quit IRC17:04
*** harlowja has joined #openstack-mogan18:00

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