Saturday, 2017-05-20

*** hongbin has quit IRC00:06
*** catintheroof has joined #openstack-zun00:46
*** catintheroof has quit IRC01:06
openstackgerritmiaohb proposed openstack/zun master: Support service-enable/disable  https://review.openstack.org/46288503:27
*** XueFeng has joined #openstack-zun05:01
*** adisky_ has quit IRC05:30
*** himani has quit IRC06:27
*** smili has quit IRC06:28
*** himani has joined #openstack-zun06:40
*** smili has joined #openstack-zun06:42
*** himani has quit IRC11:25
*** smili has quit IRC11:26
*** himani has joined #openstack-zun11:38
*** smili has joined #openstack-zun11:38
*** nicolasbock has joined #openstack-zun11:57
*** hongbin has joined #openstack-zun15:41
openstackgerritHongbin Lu proposed openstack/zun master: [NOT_FOR_REVIEW] Test tempest networks  https://review.openstack.org/46642916:02
*** XueFeng has left #openstack-zun16:20
*** XueFeng has joined #openstack-zun16:21
*** pksingh has joined #openstack-zun17:48
pksinghhongbin: Hi17:48
hongbinpksingh: sup17:48
pksinghhongbin: nova says add_floating ip is getting deprcated https://developer.openstack.org/api-ref/compute/#add-associate-floating-ip-addfloatingip-action-deprecated17:49
pksinghhongbin:  then which api user will use for this?17:49
hongbinpksingh: i guess neutron api will be used17:50
hongbinpksingh: nova deprecate that api is because it is a wrapper of neutron api17:50
pksinghhongbin: then how should we move ahead?17:50
hongbinpksingh: i guess the implementation will be on client side17:51
pksinghhongbin: in nova?17:51
hongbinpksingh: perhaps in zun17:51
pksinghhongbin: then what about rest api? there would not be any for that?17:52
hongbinpksingh: i think it is up to us to decide it17:53
hongbinpksingh: if considering consistent with nova api, there will be no api in server17:53
hongbinpksingh: the implementation will be totally in client side i guess17:53
hongbinpksingh: if we don't worry about nova, then we can introduce an api in server17:54
hongbinpksingh: there are pros and cons of either approach i guess17:54
pksinghhongbin: i think we should ask nova team what is the reason behind that17:54
hongbinpksingh: i have checked their commit history17:55
hongbinpksingh: let me find the commit17:55
pksinghhongbin: to assign floating ip, user need only fixed ip of container, right?17:55
hongbinpksingh: the cli or the rest api?17:55
pksinghhongbin: what information does user need to supply to neutron in order to assign floating ip?17:57
hongbinpksingh: from cli, the command is like this "server add floating ip..." or "server remove floating ip..."17:58
hongbinpksingh: for neutron, user needs to provide a neutron port and a floating ip17:58
pksinghhongbin: how can user get the port, easy or difficult?17:59
hongbinpksingh: see here: https://review.openstack.org/#/c/457181/17:59
hongbinpksingh: not easy17:59
hongbinpksingh: 1. get all ip addresses of a container, 2. find ports based on ip addresses18:00
pksinghhongbin: i was thinking the same, then what may be the rational behind making it complex for rest api user?18:01
hongbinpksingh: because a vm might have multiple port18:01
hongbinpksingh: that is why the rest api was designed to associate to port, not to vm18:02
hongbinpksingh: however, cli is a different user experience18:02
pksinghhongbin: ok, how many ports a contaier can have?18:04
hongbinpksingh: right now, only one, in the future, there could be many18:05
pksinghthen, i think we should also go nava way18:05
hongbinthere are use cases to have multiple ports on a container18:05
hongbin+118:05
pksinghone more thing, why do we assign the security groups to a port through nova rest api?18:06
hongbin??18:06
hongbindo we?18:07
pksinghhongbin: security_group api is also related to network port?18:07
pksinghhongbin: why nova does not deprecate that? because we want to maintain the security group mapping to vm?18:08
hongbinpksingh: i am not sure exactly for this18:08
hongbinpksingh: perhaps that api is not a wrapper to neutron api (i guess)18:09
hongbinfrom the commit message, they said they deprecated all apis that is a wrapper of neutron api18:09
hongbinperhaps security group are different18:10
pksinghhongbin: may be true, they may adding that into db,18:14
hongbinpksingh: ack18:14
pksinghhongbin: i will add floating IP implementation only in client side, is that OK?18:15
hongbinpksingh: i think that is a good idea18:15
pksinghhongbin: sure, its weekend for you, right?18:16
hongbinpksingh: yes :)18:17
pksinghhongbin: working on weekend, great18:17
pksinghhave a happy weekend18:17
hongbinpksingh: :)18:17
pksinghttyl18:17
pksinghbye18:17
hongbinyes, see you later18:17
*** hongbin has quit IRC18:20
*** nicolasbock has quit IRC19:14
*** pksingh has quit IRC19:56
*** pksingh has joined #openstack-zun19:59
*** pksingh has quit IRC20:34

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