Friday, 2017-02-24

openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Add compute node to DB and objects  https://review.openstack.org/43671400:12
*** hongbin has quit IRC00:13
*** yuanying_ has joined #openstack-zun00:58
*** yuanying has quit IRC01:02
*** kevinz has joined #openstack-zun01:11
*** yanyanhu has joined #openstack-zun01:22
*** yuanying_ has quit IRC02:17
openstackgerritWenzhi Yu proposed openstack/zun master: [WIP]Introduce container composition  https://review.openstack.org/43775902:21
*** Wenzhi has joined #openstack-zun02:21
*** yuanying has joined #openstack-zun02:34
*** caowei has joined #openstack-zun02:43
*** yuanying has quit IRC02:45
*** hongbin has joined #openstack-zun02:52
*** hongbin has quit IRC03:20
*** pksingh has joined #openstack-zun03:31
openstackgerritMerged openstack/python-zunclient master: Improve error message parsing  https://review.openstack.org/43722503:39
*** kevinz has quit IRC04:04
*** yuanying has joined #openstack-zun04:06
*** diga has joined #openstack-zun04:34
*** janki has joined #openstack-zun05:24
*** sudipto has joined #openstack-zun05:28
*** sudipto_ has joined #openstack-zun05:28
*** jwcroppe_ has quit IRC05:45
*** yanyanhu has quit IRC05:46
*** yanyanhu has joined #openstack-zun06:06
*** pksingh has quit IRC06:06
*** pksingh has joined #openstack-zun06:31
*** diga has quit IRC06:42
*** jwcroppe has joined #openstack-zun06:47
*** jwcroppe has quit IRC06:51
*** pksingh has quit IRC07:11
*** pksingh has joined #openstack-zun07:41
*** pksingh has quit IRC07:41
*** pksingh has joined #openstack-zun07:41
*** pksingh has quit IRC07:42
*** jwcroppe has joined #openstack-zun07:48
*** diga has joined #openstack-zun07:50
*** jwcroppe has quit IRC07:53
openstackgerritfeng.shengqin proposed openstack/zun master: Support the command "zun diff"  https://review.openstack.org/43782708:03
*** Wenzhi has quit IRC08:56
openstackgerritfeng.shengqin proposed openstack/python-zunclient master: Support the command "zun diff"  https://review.openstack.org/43784309:00
*** anteaya has quit IRC09:27
*** anteaya has joined #openstack-zun09:30
*** yuanying has quit IRC09:42
*** caowei has quit IRC10:09
openstackgerritMadhuri Kumari proposed openstack/zun master: Remove 'bay' terminology from source code  https://review.openstack.org/43786610:10
*** bhavani has quit IRC10:33
*** yuanying has joined #openstack-zun10:42
*** yanyanhu has quit IRC10:49
*** jwcroppe has joined #openstack-zun10:51
*** jwcroppe has quit IRC10:56
*** sudipto has quit IRC11:18
*** sudipto_ has quit IRC11:18
*** trinaths has joined #openstack-zun11:49
*** trinaths1 has joined #openstack-zun11:51
*** trinaths has quit IRC11:54
*** trinaths1 has quit IRC12:13
*** trinaths has joined #openstack-zun12:13
*** openstackgerrit has quit IRC12:18
*** sudipto_ has joined #openstack-zun12:50
*** sudipto has joined #openstack-zun12:50
*** diga has quit IRC13:24
*** kevinz has joined #openstack-zun13:32
*** sudipto_ has quit IRC13:37
*** sudipto has quit IRC13:37
*** kevinz has quit IRC13:42
*** kevinz has joined #openstack-zun13:43
*** trinaths has quit IRC13:46
*** jchhatbar has joined #openstack-zun13:52
*** janki has quit IRC13:52
*** jwcroppe has joined #openstack-zun13:54
*** jwcroppe has quit IRC13:58
*** jwcroppe has joined #openstack-zun14:09
*** sudipto_ has joined #openstack-zun14:42
*** sudipto has joined #openstack-zun14:42
*** kevinz has quit IRC14:46
*** jwcroppe has quit IRC14:47
*** jwcroppe has joined #openstack-zun14:48
*** jwcroppe has quit IRC14:53
*** sudipto has quit IRC14:56
*** sudipto_ has quit IRC14:56
*** sudipto has joined #openstack-zun14:59
*** sudipto_ has joined #openstack-zun14:59
*** sudipto has quit IRC15:01
*** sudipto_ has quit IRC15:01
*** jchhatbar has quit IRC15:06
*** hongbin has joined #openstack-zun15:07
*** sudipto has joined #openstack-zun15:12
*** sudipto_ has joined #openstack-zun15:12
*** sudipto has quit IRC15:25
*** sudipto_ has quit IRC15:25
*** pksingh has joined #openstack-zun16:04
*** jwcroppe has joined #openstack-zun16:11
pksinghhongbin: good morning, r u here?16:23
hongbinpksingh: yes16:23
pksinghhongbin: when i create container using nova driver, i am not able to ping the container ip16:24
hongbinpksingh: if you assign a floating ip to the infra container, are you able to ping again?16:24
pksinghhongbin: when i assign floating ip to sandbox, i am able to ping the floating ip but not the other ip16:25
hongbinpksingh: yes, same here16:26
pksinghhongbin: even route is not listing the network16:26
*** openstackgerrit has joined #openstack-zun16:27
openstackgerritMerged openstack/zun master: Remove 'bay' terminology from source code  https://review.openstack.org/43786616:27
pksinghhongbin: have you installed multinode zun16:28
hongbinpksingh: no, i haven't16:28
pksinghhongbin: ok, for the service BP, i was thinking if we assign the floating IP to sanbox and access the container through flotingip:port , is it OK?16:29
hongbinpksingh: it might be fine, but i feel we need another name if we implemented it in this way16:31
pksinghhongbin: could you please elaborate?16:32
hongbinpksingh: perhaps, it should not called "service", it should be zun expose or something else16:32
pksinghhongbin: so when there is service then we need to loadbalance it, right?16:32
hongbinpksingh: in the future, yes16:33
pksinghhongbin: what is difference between 'service' and 'expose'?16:33
hongbinpksingh: per my understanding, service is basically a load balancer16:33
hongbinpksingh: expose is to expose a port16:33
pksinghhongbin: yes, i was thinking the same, so when we have concept of replication controller then we need loadbalancing, right?16:34
hongbinpksingh: yes16:34
hongbinpksingh: even without replication controller, if the container is die and recreated, the ip address should be stay the same16:35
pksinghhongbin: at that time can we create a neutron loadbalancer on the top of all the fips assigned to different sandboxes?16:35
hongbin(the ip address of service)16:35
hongbinpksingh: i think it is better to create a neutron load balancer and assign fip to the load balancer16:36
pksinghhongbin: and this loadbalancer will move the traffic to internal ips of the sandbox?16:37
hongbinpksingh: yes16:37
pksinghhongbin: ok, and fip does not change right?16:37
hongbinpksingh: load balancer itself will have an internal ip, and i expect it won't change (unless the load balancer die)16:38
hongbinpksingh: and the fip associated to the load balancer should be the same16:38
pksinghhongbin: "should be same", same to what?16:39
hongbinpksingh: if a container die and re-create, the ip address of neutron load balancer should be the same as before16:39
pksinghhongbin: yes, i agree16:40
pksinghhongbin: does kuryr provide apis to create floating IP, if the sandbox is created through docker driver?16:40
hongbinpksingh: afaik, it doesn't16:41
hongbinpksingh: perhaps, they will support "docker expose" by tuning the security group of the private network, but i am not sure about that16:42
pksinghhongbin: i was reading some where in kuryr kubernetes and i think there is some provision, but not sure about kuryr ?16:43
hongbinpksingh: yes, kuryr-kubernetes support external load balancer, but not for kuryr-libnetwork16:43
pksinghhongbin: yes, so can we implement 'zun expose' for nova driver as of now?16:44
hongbinpksingh: i guess we can16:44
pksinghhongbin: is this approach seams genuine?16:44
hongbinpksingh: i haven't given it more thoughts, but it seems the right feature16:45
hongbinpksingh: that is my opinion only16:45
pksinghhongbin: yes obiously, i can propose a spec and take the view point of all the people16:46
hongbinpksingh: yes, that would be great16:46
pksinghhongbin: floating ip approach would not be conflicting with compute node's network, which we discussed earlier for exposing the container port?16:47
hongbinpksingh: i guess the expose is for tuning the container's security group to expose a port? if yes, then it should be fine16:48
hongbinpksingh: then, i think it is better to create a dedicated security group per container by default (unless users explicitely specify a security group)16:49
pksinghhongbin: i was thinking like this, assign the floating IP, tune the security group through nova api calls16:49
pksinghhongbin: yes i agree to your point of creating a dedicated security group16:50
hongbinpksingh: i don't think floating ip is supported in all clouds16:50
hongbinpksingh: i knew a lot of clouds don't have floating ip at all16:51
hongbinpksingh: so the creation of floating ip is better to be optional or a separated command16:51
pksinghhongbin: then we just need to tune the security group16:51
hongbinpksingh: yes16:51
pksinghhongbin: and access that through the interalIP:port?16:51
hongbinpksingh: yes, (although our devstack cannot do that correctly)16:52
pksinghhongbin: ok, any idea why devstack is not doing correctly?16:53
hongbinpksingh: i will try to figure out why we cannot ping the internal ip16:53
pksinghhongbin: i will look into it too16:53
hongbinpksingh: no idea for now, need to look into it, possibly there are some setting in the devstack to tune it16:53
hongbinpksingh: thx16:53
pksinghhongbin: ok, np16:53
pksinghhongbin: today is holiday for you?16:53
hongbinpksingh: no16:54
hongbinpksingh: it is on the working hour, so you find me at the right time16:54
pksinghhongbin: is it friday or saturday?16:54
hongbinfriday morning16:54
pksinghhongbin: ok great, we are off here, some festive holiday , so long weekend :)16:55
hongbinpksingh: good for you :)16:55
pksinghhongbin: yup, ok now going to look into the work, ping you latter if required any help16:56
hongbinpksingh: sure16:57
pksinghhongbin: bbye, have a good day ahead :)16:57
hongbinpksingh: thx16:57
*** sudipto_ has joined #openstack-zun16:57
*** sudipto has joined #openstack-zun16:57
pksinghsudipto: at this time16:58
pksingh:)16:58
sudipto_yeah :) what about you ?16:58
pksinghsudipto_: in past couple of weeks couldn't focus much on zun due to some work, now trying to start the coding again16:59
pksinghsudipto_: you are doing great :)16:59
sudipto_pksingh, great :)16:59
sudipto_I try to divide my time too :)16:59
pksinghsudipto: yes17:00
pksinghsudipto_: any fun plan for this weekend?17:00
pksinghsudipto_: was today off for you?17:00
sudipto_pksingh, nothing much in plan right now. No it was not a holiday today...17:01
sudipto_Was it for you?17:01
pksinghsudipto_: yes, it was off for us17:01
pksinghsudipto_: shivratri17:01
sudipto_pksingh, that's great.17:01
pksinghyes17:02
sudipto_Generally saw a lot less traffic on the roads - so i guess many offices were shut.17:02
pksinghsudipto_: yes i think so17:02
pksinghsudipto_: office in manyta tech park ?17:02
sudipto_pksingh, no EGL :)17:03
pksinghsudipto_: ok17:03
pksinghsudipto_: no idea about EGL, i relocated to banglore very recently17:03
*** jwcroppe has quit IRC17:14
openstackgerritHongbin Lu proposed openstack/zun master: [WIP] Add compute node to DB and objects  https://review.openstack.org/43671417:15
pksinghhongbin: i installed devstack today, and i am not able to create second container after creating first one17:42
pksinghhongbin: getting error "Went to status ERROR due to "Message: No valid host was found. There are not enough hosts available., Code: 500"17:42
pksinghhongbin: here is the error http://paste.openstack.org/show/600407/17:44
pksinghsudipto: ^^ any idea17:45
pksinghhongbin: sudipto_ http://paste.openstack.org/show/600411/17:49
sudiptopksingh, I am not quite familiar with the sandbox code, but it sounds like the sandbox creation didn't quite go through as expected.17:56
pksinghsudipto_: yes, but not sure why nova is not finding the resources17:56
sudiptoAre we trying to spawn A VM? as a part of the sandbox creation?17:56
pksinghsudipto_: may be some problem with my vagrant box17:56
sudiptoI thought it was some kind of a paused container? NO?17:56
sudiptoSorry i haven't played with the sandbox feature at all.17:56
pksinghsudipto_: its conatiner17:57
pksinghsudipto_: paused conatiner17:57
sudiptoPhew, your logs state things as VM :) So i was confused.17:57
pksinghsudipto_: we are using nova docker for creating sandbox17:57
pksinghsudipto_: thats why logs are similar to VM17:57
sudiptoAh i see, the older nomenclature.17:57
pksinghi will debug more17:58
*** sudipto has quit IRC18:03
*** sudipto_ has quit IRC18:03
*** sudipto has joined #openstack-zun18:03
*** sudipto has quit IRC18:03
hongbinpksingh: possibly, you host doesn't have enough disk/cpu/memory18:39
hongbinpksingh: the sandbox instance takes m1.small by default18:40
pksinghhongbin: yes, it seems vagrant box just got one vcpu, and thats consumed by 1st sandbox18:40
pksinghhongbin: i am creating vagrant box again,18:40
pksinghhongbin: thnx18:40
pksinghhongbin: why you have choosen the sandbox flavour m1.small?18:51
pksinghhongbin: any specific reason?18:51
hongbinpksingh: i just need to hardcode a flavor18:52
hongbinpksingh: there is no specific reason18:53
pksinghhongbin: i think the image kubernetes/pause is doing nothing, so tiny would be sufficient?18:53
hongbinpksingh: yes, feel free to change that18:53
pksinghhongbin: i think if the user's container needs more memory, it would not impact sandbox container anyhow?18:54
hongbinpksingh: i don't think it would18:55
hongbinpksingh: right now, sandbox and user container are on a different cgroup, so their resources are independent18:56
pksinghhongbin: any plan in future when their cgroups can be same?18:56
hongbinpksingh: i was thinking about that, it needs a bp to propose the idea and go through a team discussion18:57
pksinghhongbin:  what is the basic idea could you please tell, just summary would be enough18:58
hongbinhere is what i thought18:59
hongbin1. the sandbox container create the parent cgroup for its user container18:59
hongbin2. user container join the cgroup by using the option --cgroup-parent19:00
pksinghhongbin: ok,19:01
hongbinthis is an alternative idea, i am not sure if it is a good idea or not, but k8s implemented pod in this way19:01
pksinghhongbin:  so sandbox will have momory equal to sum of its containers?19:02
hongbinpksingh: yes19:02
pksinghhongbin: so by tracking sandbox resource usage we can track the total resource usgae of the all the containers inside it?19:03
hongbinpksingh: yes19:03
pksinghhongbin: so i think that is going to over resource utilization in nova, due to fix flavour size19:04
hongbinpksingh: over resource utilization?19:04
pksinghmeans if we need 3GB total and 3GB flavour is not there in nova, so we have to select flavour which have more resource than 3GB, right?19:05
hongbinyes, that is the drawback19:05
pksinghhongbin: but may be we dont need nova driver once kuryr solves all our use cases :)19:06
hongbinanother option is leave it as is (let each user container choose the resource constraints)19:06
hongbinpksingh: perhaps it might not19:07
pksinghhongbin: hmm19:07
pksinghhongbin: i like first approach19:07
hongbinpksingh: first approach is?19:07
pksinghthat would be easy for tracking and scheduling and all19:07
pksinghcgroups one19:07
hongbini see19:08
hongbinthen, i can file a bp about that19:08
pksinghhongbin: yes, i think we can go ahead and decide by discussion19:08
hongbinok19:08
pksinghhongbin: btw, i am able to ping each conatiner's IP from inside the containers, but not from outside19:09
pksinghhongbin: isn't it neutron's feature?19:09
pksinghhongbin: private networks can be accessed only from inside the neutron network19:10
hongbinpksingh: yes, it seems it is19:11
pksinghhongbin: i dont know about the neutron at all, but someone was saying we can access them using flat networks but not sure19:12
hongbinpksingh: it seems the flat network didn't work in our devstack as well?19:13
pksinghhongbin: yes19:13
hongbinpksingh: ok, then it seems there are some issues on our devstack19:14
pksinghhongbin: not sure, but it seems it is19:15
hongbinthat needs to be fixed, although not a high priority19:16
pksinghhongbin: yes19:16
hongbinpossibly a low priority19:16
pksinghwill try to find the cause19:16
hongbinthx19:18
hongbinpksingh: created a bp for that: https://blueprints.launchpad.net/zun/+spec/resource-management19:26
*** pksingh has quit IRC19:26
*** jwcroppe has joined #openstack-zun20:23
*** jwcroppe has quit IRC20:44
*** lakerzhou has joined #openstack-zun21:00
lakerzhouHi There, anyone online. I am testing zun api now. {{IPADDR}}:9517/v1 returns nothing. Anyone can give me an example so I can dig more by looking at the codes. thanks21:01
*** hongbin_ has joined #openstack-zun21:02
lakerzhouBTW, I am using postman, it works fine with other APIs, for example nova21:02
lakerzhouHi Hongbin, can you give me a URL example of zun API?21:03
*** hongbin has quit IRC21:04
*** catinthe_ has joined #openstack-zun21:25
*** catintheroof has quit IRC21:27
*** catintheroof has joined #openstack-zun21:27
*** catinthe_ has quit IRC21:31
*** catintheroof has quit IRC21:33
*** lakerzhou has quit IRC22:03
*** jwcroppe has joined #openstack-zun22:05
*** jwcroppe_ has joined #openstack-zun22:06
*** hongbin_ has quit IRC22:08
*** hongbin has joined #openstack-zun22:09
*** jwcroppe has quit IRC22:10
openstackgerritHongbin Lu proposed openstack/zun master: Add compute node to DB and objects  https://review.openstack.org/43671422:41
openstackgerritHongbin Lu proposed openstack/zun master: Add wsgi script file and sample config  https://review.openstack.org/43719023:41

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