*** hongbin has quit IRC | 00:06 | |
*** catintheroof has joined #openstack-zun | 00:46 | |
*** catintheroof has quit IRC | 01:06 | |
openstackgerrit | miaohb proposed openstack/zun master: Support service-enable/disable https://review.openstack.org/462885 | 03:27 |
---|---|---|
*** XueFeng has joined #openstack-zun | 05:01 | |
*** adisky_ has quit IRC | 05:30 | |
*** himani has quit IRC | 06:27 | |
*** smili has quit IRC | 06:28 | |
*** himani has joined #openstack-zun | 06:40 | |
*** smili has joined #openstack-zun | 06:42 | |
*** himani has quit IRC | 11:25 | |
*** smili has quit IRC | 11:26 | |
*** himani has joined #openstack-zun | 11:38 | |
*** smili has joined #openstack-zun | 11:38 | |
*** nicolasbock has joined #openstack-zun | 11:57 | |
*** hongbin has joined #openstack-zun | 15:41 | |
openstackgerrit | Hongbin Lu proposed openstack/zun master: [NOT_FOR_REVIEW] Test tempest networks https://review.openstack.org/466429 | 16:02 |
*** XueFeng has left #openstack-zun | 16:20 | |
*** XueFeng has joined #openstack-zun | 16:21 | |
*** pksingh has joined #openstack-zun | 17:48 | |
pksingh | hongbin: Hi | 17:48 |
hongbin | pksingh: sup | 17:48 |
pksingh | hongbin: nova says add_floating ip is getting deprcated https://developer.openstack.org/api-ref/compute/#add-associate-floating-ip-addfloatingip-action-deprecated | 17:49 |
pksingh | hongbin: then which api user will use for this? | 17:49 |
hongbin | pksingh: i guess neutron api will be used | 17:50 |
hongbin | pksingh: nova deprecate that api is because it is a wrapper of neutron api | 17:50 |
pksingh | hongbin: then how should we move ahead? | 17:50 |
hongbin | pksingh: i guess the implementation will be on client side | 17:51 |
pksingh | hongbin: in nova? | 17:51 |
hongbin | pksingh: perhaps in zun | 17:51 |
pksingh | hongbin: then what about rest api? there would not be any for that? | 17:52 |
hongbin | pksingh: i think it is up to us to decide it | 17:53 |
hongbin | pksingh: if considering consistent with nova api, there will be no api in server | 17:53 |
hongbin | pksingh: the implementation will be totally in client side i guess | 17:53 |
hongbin | pksingh: if we don't worry about nova, then we can introduce an api in server | 17:54 |
hongbin | pksingh: there are pros and cons of either approach i guess | 17:54 |
pksingh | hongbin: i think we should ask nova team what is the reason behind that | 17:54 |
hongbin | pksingh: i have checked their commit history | 17:55 |
hongbin | pksingh: let me find the commit | 17:55 |
pksingh | hongbin: to assign floating ip, user need only fixed ip of container, right? | 17:55 |
hongbin | pksingh: the cli or the rest api? | 17:55 |
pksingh | hongbin: what information does user need to supply to neutron in order to assign floating ip? | 17:57 |
hongbin | pksingh: from cli, the command is like this "server add floating ip..." or "server remove floating ip..." | 17:58 |
hongbin | pksingh: for neutron, user needs to provide a neutron port and a floating ip | 17:58 |
pksingh | hongbin: how can user get the port, easy or difficult? | 17:59 |
hongbin | pksingh: see here: https://review.openstack.org/#/c/457181/ | 17:59 |
hongbin | pksingh: not easy | 17:59 |
hongbin | pksingh: 1. get all ip addresses of a container, 2. find ports based on ip addresses | 18:00 |
pksingh | hongbin: i was thinking the same, then what may be the rational behind making it complex for rest api user? | 18:01 |
hongbin | pksingh: because a vm might have multiple port | 18:01 |
hongbin | pksingh: that is why the rest api was designed to associate to port, not to vm | 18:02 |
hongbin | pksingh: however, cli is a different user experience | 18:02 |
pksingh | hongbin: ok, how many ports a contaier can have? | 18:04 |
hongbin | pksingh: right now, only one, in the future, there could be many | 18:05 |
pksingh | then, i think we should also go nava way | 18:05 |
hongbin | there are use cases to have multiple ports on a container | 18:05 |
hongbin | +1 | 18:05 |
pksingh | one more thing, why do we assign the security groups to a port through nova rest api? | 18:06 |
hongbin | ?? | 18:06 |
hongbin | do we? | 18:07 |
pksingh | hongbin: security_group api is also related to network port? | 18:07 |
pksingh | hongbin: why nova does not deprecate that? because we want to maintain the security group mapping to vm? | 18:08 |
hongbin | pksingh: i am not sure exactly for this | 18:08 |
hongbin | pksingh: perhaps that api is not a wrapper to neutron api (i guess) | 18:09 |
hongbin | from the commit message, they said they deprecated all apis that is a wrapper of neutron api | 18:09 |
hongbin | perhaps security group are different | 18:10 |
pksingh | hongbin: may be true, they may adding that into db, | 18:14 |
hongbin | pksingh: ack | 18:14 |
pksingh | hongbin: i will add floating IP implementation only in client side, is that OK? | 18:15 |
hongbin | pksingh: i think that is a good idea | 18:15 |
pksingh | hongbin: sure, its weekend for you, right? | 18:16 |
hongbin | pksingh: yes :) | 18:17 |
pksingh | hongbin: working on weekend, great | 18:17 |
pksingh | have a happy weekend | 18:17 |
hongbin | pksingh: :) | 18:17 |
pksingh | ttyl | 18:17 |
pksingh | bye | 18:17 |
hongbin | yes, see you later | 18:17 |
*** hongbin has quit IRC | 18:20 | |
*** nicolasbock has quit IRC | 19:14 | |
*** pksingh has quit IRC | 19:56 | |
*** pksingh has joined #openstack-zun | 19:59 | |
*** pksingh has quit IRC | 20:34 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!