*** petertr7 has quit IRC | 00:01 | |
*** mahito has joined #openstack-containers | 00:01 | |
*** mahito_ has joined #openstack-containers | 00:04 | |
*** rongze has joined #openstack-containers | 00:04 | |
*** dims__ has joined #openstack-containers | 00:04 | |
*** mahito has quit IRC | 00:05 | |
*** dims_ has joined #openstack-containers | 00:05 | |
*** rongze has quit IRC | 00:05 | |
*** rongze has joined #openstack-containers | 00:06 | |
*** dims__ has quit IRC | 00:09 | |
*** rongze has quit IRC | 00:11 | |
*** rongze has joined #openstack-containers | 00:11 | |
*** rongze has quit IRC | 00:17 | |
*** sdake has joined #openstack-containers | 00:20 | |
*** sdake_ has quit IRC | 00:24 | |
*** MilesDenver has quit IRC | 00:34 | |
*** Tango has quit IRC | 00:35 | |
*** Marga_ has joined #openstack-containers | 00:36 | |
*** kebray_ has quit IRC | 00:38 | |
*** Marga_ has quit IRC | 00:41 | |
*** achanda has quit IRC | 00:51 | |
*** achanda has joined #openstack-containers | 00:59 | |
*** yuanying-alt has joined #openstack-containers | 01:12 | |
*** yuanying-alt has quit IRC | 01:16 | |
*** adrian_otto has joined #openstack-containers | 01:16 | |
*** rongze has joined #openstack-containers | 01:26 | |
*** rongze has quit IRC | 01:30 | |
*** Marga_ has joined #openstack-containers | 01:37 | |
*** Marga_ has quit IRC | 01:42 | |
*** adrian_otto has quit IRC | 01:42 | |
*** erkules has joined #openstack-containers | 01:43 | |
*** erkules_ has quit IRC | 01:46 | |
*** harlowja is now known as harlowja_away | 01:47 | |
*** fangfenghua has joined #openstack-containers | 01:48 | |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/magnum: [WIP][NOT READY FOR REVIEW] Functional tests for listing resources and templates https://review.openstack.org/173537 | 01:50 |
---|---|---|
*** Marga_ has joined #openstack-containers | 01:53 | |
*** dims_ has quit IRC | 01:54 | |
openstackgerrit | Jennifer Carlucci proposed openstack/magnum: Add timeout parameter to bay create https://review.openstack.org/174061 | 01:55 |
*** Marga_ has quit IRC | 02:15 | |
*** achanda has quit IRC | 02:20 | |
openstackgerrit | Merged openstack/python-magnumclient: Add swarm_token to bay-create call. https://review.openstack.org/174116 | 02:20 |
*** achanda has joined #openstack-containers | 02:22 | |
*** fangfenghua has quit IRC | 02:30 | |
*** liusheng has joined #openstack-containers | 02:46 | |
Fang_fenghua | Vilobh Meshram? | 02:48 |
Fang_fenghua | xx | 02:48 |
*** achanda has quit IRC | 02:49 | |
*** unicell has quit IRC | 02:54 | |
*** yuanying-alt has joined #openstack-containers | 03:01 | |
*** yuanying-alt has quit IRC | 03:05 | |
*** liusheng has quit IRC | 03:07 | |
*** liusheng has joined #openstack-containers | 03:07 | |
*** achanda has joined #openstack-containers | 03:20 | |
*** sdake_ has joined #openstack-containers | 03:34 | |
*** sdake has quit IRC | 03:38 | |
*** kebray has joined #openstack-containers | 03:41 | |
*** kebray has quit IRC | 03:41 | |
*** kebray has joined #openstack-containers | 03:46 | |
*** achanda has quit IRC | 03:52 | |
*** achanda has joined #openstack-containers | 04:07 | |
*** achanda has quit IRC | 04:11 | |
*** achanda has joined #openstack-containers | 04:16 | |
*** achanda has quit IRC | 04:18 | |
*** achanda has joined #openstack-containers | 04:21 | |
*** Tango has joined #openstack-containers | 04:25 | |
*** achanda has quit IRC | 04:29 | |
*** achanda has joined #openstack-containers | 04:42 | |
*** yuanying-alt has joined #openstack-containers | 04:49 | |
*** yuanying-alt has quit IRC | 04:54 | |
*** openstackgerrit has quit IRC | 05:21 | |
*** openstackgerrit has joined #openstack-containers | 05:21 | |
*** oro has joined #openstack-containers | 05:50 | |
diga | yuanying: Hi | 05:54 |
diga | got the issue related testcase failing | 05:54 |
*** ashishjain has joined #openstack-containers | 05:58 | |
ashishjain | Hello | 05:58 |
ashishjain | I am really really excited about magnum project :) | 05:58 |
openstackgerrit | Merged openstack/python-magnumclient: Support update a service https://review.openstack.org/173874 | 06:03 |
openstackgerrit | Merged openstack/python-magnumclient: Support update a replication controller https://review.openstack.org/173883 | 06:04 |
ashishjain | Is there any end user specific documentation available? | 06:12 |
ashishjain | I only see dev docs | 06:12 |
*** Tango has quit IRC | 06:13 | |
*** oro has quit IRC | 06:14 | |
sdake_ | ashishishjain no | 06:15 |
sdake_ | docs will bea major focus for liberty | 06:16 |
*** oro has joined #openstack-containers | 06:16 | |
Fang_fenghua | sdake_:Before we create pod should we check the bay is ready? | 06:17 |
Fang_fenghua | https://bugs.launchpad.net/magnum/+bug/1445319 | 06:17 |
openstack | Launchpad bug 1445319 in Magnum "Didn't check bay status beforce create pod" [Undecided,New] - Assigned to FenghuaFang (449171342-q) | 06:17 |
Fang_fenghua | I think we should check the bay status before we create pod on it | 06:18 |
sdake_ | check for create_complete yes | 06:18 |
Fang_fenghua | OK, I will commit a patch for it | 06:18 |
sdake_ | boy its really hard developing two projects at the same time | 06:19 |
Fang_fenghua | ? | 06:19 |
sdake_ | fang I ptl kolla | 06:20 |
sdake_ | and core on magnum | 06:20 |
sdake_ | 15 hour days ftl | 06:20 |
Fang_fenghua | I hope i can do much more work here | 06:21 |
Fang_fenghua | Also our team will work on kolla | 06:21 |
Fang_fenghua | sdake | 06:21 |
sdake_ | cool | 06:21 |
sdake_ | which team is that | 06:21 |
*** oro has quit IRC | 06:22 | |
Fang_fenghua | Now just i had file some bug on kolla | 06:22 |
Fang_fenghua | Other people get ready contribute code | 06:23 |
lan_ | Able men are always busy :) | 06:24 |
lan_ | Fang_fenghua, I think the bay status should be in "update_complete" or "create_complete" when we create a pod on it.. | 06:24 |
Fang_fenghua | Yes | 06:25 |
Fang_fenghua | I had realize it, tks lan | 06:25 |
lan_ | np :) | 06:27 |
lan_ | Fang_fenghua, for the container create fail issue : https://bugs.launchpad.net/magnum/+bug/1442556 | 06:28 |
openstack | Launchpad bug 1442556 in Magnum "Create container fail" [Critical,Triaged] - Assigned to FenghuaFang (449171342-q) | 06:28 |
Fang_fenghua | ? | 06:28 |
lan_ | Fang_fenghua, I think it's more like a permission problem. | 06:28 |
Fang_fenghua | Yes, the perimission problem is easy fix | 06:29 |
Fang_fenghua | But the bug mean we can crate a container out of a bay | 06:30 |
Fang_fenghua | I think it's very serious | 06:30 |
lan_ | Yes, the default url for container is "unix:///var/run/docker.sock", I am not sure is it need "root" user to access it? | 06:32 |
Fang_fenghua | Lan_ Do you think? | 06:32 |
Fang_fenghua | For permission error we can chown of "unix:///var/run/docker.sock" to fix it | 06:33 |
diga | sdake_: Hi | 06:34 |
sdake_ | sifQOUNS MW | 06:34 |
diga | I think its too late at your location | 06:34 |
sdake_ | wound me that is :) | 06:35 |
diga | but need someone to help me on this | 06:35 |
sdake_ | feng the bug is already in criticla mode | 06:35 |
diga | I have added some code in baymodel_create - https://review.openstack.org/#/c/172348/3/magnum/api/controllers/v1/baymodel.py | 06:35 |
Fang_fenghua | I konw | 06:35 |
sdake_ | we have 3 weeks to finish our bugs ;) | 06:36 |
sdake_ | better get cracking guys | 06:36 |
diga | but here are some test cases - https://review.openstack.org/#/c/172348/3/magnum/tests/unit/api/controllers/v1/test_baymodel.py | 06:36 |
diga | I am solving issues related to this | 06:37 |
diga | do you knwo someone who can help me on the test cases ? | 06:38 |
*** yuanying-alt has joined #openstack-containers | 06:38 | |
sdake_ | not me sorry :) I am a test case noob | 06:39 |
diga | :) | 06:40 |
*** nshaikh has joined #openstack-containers | 06:41 | |
*** Kennan2 has quit IRC | 06:41 | |
*** Kennan has joined #openstack-containers | 06:42 | |
*** yuanying-alt has quit IRC | 06:42 | |
lan_ | Fang_fenghua, seems like we don't specify the "command" when creating a container. it the "command" parameter necessary ? | 06:44 |
lan_ | Fang_fenghua, the error message: Docker API Error : 500 Server Error: Internal Server Error ("No command specified") | 06:45 |
Fang_fenghua | lan_ You mean bug 144256? | 06:50 |
openstack | bug 144256 in scala (Ubuntu) "upgrade to 2.6.0" [Wishlist,Invalid] https://launchpad.net/bugs/144256 | 06:50 |
lan_ | Fang_fenghua, yes 1442556 | 06:51 |
*** achanda has quit IRC | 06:53 | |
Fang_fenghua | lan_ I didn't specify command,but thats not reason i got the error | 06:54 |
*** achanda has joined #openstack-containers | 06:56 | |
sdake_ | madhuri are you about | 06:57 |
madhuri | sdake_, Hi | 06:57 |
sdake_ | madhuri http://www.projectatomic.io/download/ | 07:01 |
*** madhuri____ has joined #openstack-containers | 07:04 | |
*** sdake has joined #openstack-containers | 07:06 | |
sdake | madhuri fedora 21 only has kubernetes 0.13 | 07:07 |
madhuri____ | Yes and v1beta3 is supported in 0.15 | 07:07 |
sdake | we have to wait until atomic has 0.15 | 07:08 |
madhuri____ | Then how would python-k8sclient will go? | 07:08 |
sdake | send an email to the project atomic ml | 07:09 |
sdake | and ask them when they will have 0.15 k8s | 07:09 |
*** sdake_ has quit IRC | 07:09 | |
sdake | until then we will have to stick with 0.11 or we could switch now to 0.13 | 07:09 |
madhuri____ | mmm it seems to be a problem | 07:10 |
sdake | send email to atomic ml and ask them when | 07:10 |
sdake | and we can sort out the details based upon their data | 07:10 |
madhuri____ | Ok I will | 07:10 |
madhuri____ | I am trying to create an image with Kubernetes 0.15 to test my patch | 07:11 |
Fang_fenghua | Can we just update k8s version with http://www.projectatomic.io/download/ | 07:12 |
sdake | download link only had 0.13 | 07:14 |
sdake | after you do an sudo rpm-ostree upgrade | 07:14 |
sdake | http://koji.fedoraproject.org/koji/buildinfo?buildID=628564 | 07:14 |
sdake | atomic /usr is readonly | 07:15 |
sdake | so good luck upgrading ;) | 07:15 |
openstackgerrit | Digambar proposed openstack/magnum: mplemention of Cluster type for baymodel. https://review.openstack.org/172348 | 07:15 |
Fang_fenghua | :) | 07:16 |
ashishjain | sdake: Please provide a starting point atleast. How shall I go about start using it | 07:17 |
sdake | read the dev quickstart | 07:18 |
sdake | it shows how to bring up a full magnum system in devstack or manually alongside devstack | 07:18 |
sdake | and how to create baymodels, bays, pods, etc | 07:18 |
ashishjain | sdake: thanks for this. | 07:19 |
ashishjain | sdake: Is it absolutely necessary to use kubernetes while using magnum | 07:19 |
ashishjain | Sdake: is it not possible to just use the autoscaling feature of heat | 07:19 |
sdake | no you could theoretically use the docker implementation | 07:19 |
sdake | but it doesn't work atm | 07:19 |
sdake | see 155 long buglist for magnum ;-) | 07:20 |
ashishjain | sdake: I have been experimenting with docker for quite sometime now. As I understand there are 3 ways currently available to run docker containers | 07:20 |
ashishjain | 1) Use docker driver - you can deploy docker but cannot autoscale 2) User heat docker resource -yet to try 3) Magnum (CAAS) | 07:21 |
sdake | our docker-py calls local docker, rather then the bay docker | 07:21 |
sdake | this is a critical bug | 07:21 |
sdake | that needs to be fixed | 07:21 |
sdake | for scale-out, apmelton is working on swarm support | 07:22 |
sdake | but it won't likely make kilo | 07:22 |
sdake | so there is a fourth way ;-) | 07:22 |
ashishjain | :) | 07:22 |
sdake | heat also has a compose resource | 07:22 |
sdake | so there is a 5th way | 07:22 |
ashishjain | ;( | 07:22 |
ashishjain | sdake: Currently is it possible to autoscale docker say on cpu_util using any of these 5 ways :) | 07:23 |
sdake | we support node count update | 07:23 |
sdake | but not automatically | 07:23 |
sdake | its manual | 07:23 |
sdake | and only goes larger not smaller | 07:24 |
ashishjain | we in the sense "magnum" | 07:24 |
sdake | and only for kubernetes | 07:24 |
sdake | right the magnum code base | 07:24 |
sdake | sorry my language is imperfect i've been awake for 24 hours | 07:24 |
ashishjain | oh my | 07:24 |
sdake | i'll give you 5 more minutes then need to ptfo :) | 07:24 |
ashishjain | :)..ya let me be very quick that | 07:24 |
ashishjain | than* | 07:25 |
sdake | its 00:25 hours here | 07:25 |
ashishjain | so autoscaling(just scale out) of docker is currently not supported by any of these 5 modes | 07:25 |
Fang_fenghua | sdaje Go to bed | 07:25 |
Fang_fenghua | sdake | 07:26 |
sdake | if you use kubernetes to abstract doocker, you get manual scalout | 07:26 |
ashishjain | okay sdake thanks .... have a a good sleep | 07:26 |
sdake | hit me up in the morning | 07:26 |
sdake | i'll spend more time explaining things to you | 07:26 |
ashishjain | sdake: sure thanks a lot for your generosity | 07:27 |
ashishjain | :) | 07:27 |
sdake | I have about 2000 hours on container tech, so I feel like I've just hit about intermediate skill level | 07:27 |
openstackgerrit | Digambar proposed openstack/magnum: Implemention of Cluster type for baymodel. https://review.openstack.org/172348 | 07:27 |
ashishjain | cool | 07:28 |
sdake | but I dont htink magnum would look all that much different based upon my current experience | 07:28 |
sdake | I probably would have chewed off less work tho ;) | 07:28 |
sdake | night | 07:28 |
*** achanda has quit IRC | 07:29 | |
*** achanda_ has joined #openstack-containers | 07:32 | |
*** dims__ has joined #openstack-containers | 07:33 | |
*** kebray has quit IRC | 07:36 | |
*** dims__ has quit IRC | 07:38 | |
*** achanda_ has quit IRC | 07:40 | |
openstackgerrit | Grzegorz Grasza (xek) proposed openstack/magnum: Start the conversion to oslo.versionedobjects https://review.openstack.org/174366 | 07:45 |
openstackgerrit | Grzegorz Grasza (xek) proposed openstack/magnum: Move our ObjectListBase to subclass from the Oslo one https://review.openstack.org/174386 | 07:45 |
*** mahito has joined #openstack-containers | 07:46 | |
*** mahito_ has quit IRC | 07:49 | |
*** erkules has quit IRC | 07:53 | |
*** erkules has joined #openstack-containers | 07:53 | |
Fang_fenghua | vilobhmm? | 08:01 |
*** ashishjain has quit IRC | 08:03 | |
*** achanda has joined #openstack-containers | 08:06 | |
diga | yuanying: Hi | 08:15 |
*** ashishjain has joined #openstack-containers | 08:17 | |
*** unicell has joined #openstack-containers | 08:19 | |
*** achanda has quit IRC | 08:20 | |
*** achanda_ has joined #openstack-containers | 08:22 | |
*** yuanying-alt has joined #openstack-containers | 08:27 | |
*** sdake has quit IRC | 08:28 | |
*** yuanying-alt has quit IRC | 08:32 | |
*** achanda_ has quit IRC | 08:35 | |
openstackgerrit | Fang Fenghua proposed openstack/python-magnumclient: Add status bay status check when pod create. https://review.openstack.org/174759 | 08:36 |
openstackgerrit | Fang Fenghua proposed openstack/python-magnumclient: Add bay status check when pod create. https://review.openstack.org/174759 | 08:36 |
*** mahito has quit IRC | 08:37 | |
Fang_fenghua | yuanying? | 08:41 |
Fang_fenghua | Yuanying? | 08:42 |
openstackgerrit | Cedric Brandily proposed openstack/python-magnumclient: Add unittests for magnumclient.v1.client module https://review.openstack.org/173761 | 08:48 |
openstackgerrit | Cedric Brandily proposed openstack/python-magnumclient: Remove side effect in get_keystoneclient https://review.openstack.org/173764 | 08:49 |
openstackgerrit | Cedric Brandily proposed openstack/python-magnumclient: Delegate magnum url search to url_for method https://review.openstack.org/171297 | 08:49 |
*** madhuri____ has quit IRC | 09:08 | |
*** rongze has joined #openstack-containers | 09:11 | |
*** rongze has quit IRC | 09:15 | |
*** rongze has joined #openstack-containers | 09:15 | |
*** rongze_ has joined #openstack-containers | 09:26 | |
*** rongze has quit IRC | 09:26 | |
*** rongze_ has quit IRC | 09:28 | |
*** rongze has joined #openstack-containers | 09:28 | |
*** rongze has quit IRC | 09:29 | |
*** Fang_fenghua has quit IRC | 10:06 | |
*** yuanying-alt has joined #openstack-containers | 10:16 | |
*** yuanying-alt has quit IRC | 10:20 | |
*** diga has quit IRC | 10:24 | |
*** diga has joined #openstack-containers | 10:41 | |
*** yuanying has quit IRC | 10:43 | |
madhuri | Hi, can anyone tell me when is stack.timeout_mins is None? | 10:48 |
madhuri | And what is the stack state when stack time out expires? | 10:49 |
*** dims__ has joined #openstack-containers | 11:02 | |
*** Marga_ has joined #openstack-containers | 11:03 | |
*** Marga_ has quit IRC | 11:03 | |
*** Marga_ has joined #openstack-containers | 11:04 | |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/magnum: [WIP][NOT READY FOR REVIEW] Functional tests for listing resources and templates https://review.openstack.org/173537 | 11:10 |
openstackgerrit | Merged openstack/python-magnumclient: Correct mock use in TestCommandLineArgument.setUp https://review.openstack.org/174591 | 11:20 |
*** Fang_fenghua has joined #openstack-containers | 11:21 | |
*** prad has quit IRC | 11:36 | |
*** ashishjain has quit IRC | 11:36 | |
openstackgerrit | Fang Fenghua proposed openstack/python-magnumclient: Add bay status check when service create. https://review.openstack.org/174831 | 11:45 |
*** julim has joined #openstack-containers | 11:46 | |
*** prad has joined #openstack-containers | 11:51 | |
*** prad has quit IRC | 11:54 | |
openstackgerrit | Fang Fenghua proposed openstack/python-magnumclient: Add bay status check when service create. https://review.openstack.org/174831 | 11:54 |
openstackgerrit | Lan Qi Song proposed openstack/magnum: Add command field for container https://review.openstack.org/174839 | 12:03 |
*** yuanying-alt has joined #openstack-containers | 12:04 | |
*** yuanying-alt has quit IRC | 12:09 | |
Fang_fenghua | Commit got gate-python-magnumclient-docs | 12:11 |
Fang_fenghua | Fail | 12:11 |
openstackgerrit | Lan Qi Song proposed openstack/python-magnumclient: Support pass command field when create a container https://review.openstack.org/174841 | 12:11 |
Fang_fenghua | but http://logs.openstack.org/31/174831/2/check/gate-python-magnumclient-docs/4e027ba/ | 12:11 |
Fang_fenghua | is empty | 12:11 |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/magnum: [WIP][NOT READY FOR REVIEW] Functional tests for listing resources and templates https://review.openstack.org/173537 | 12:14 |
*** jjlehr has joined #openstack-containers | 12:16 | |
*** jjlehr has quit IRC | 12:18 | |
*** rpothier has joined #openstack-containers | 12:29 | |
*** jjlehr has joined #openstack-containers | 12:41 | |
*** ashishjain has joined #openstack-containers | 12:45 | |
*** jjlehr has quit IRC | 12:47 | |
openstackgerrit | Fang Fenghua proposed openstack/python-magnumclient: Add bay status check when rc create. https://review.openstack.org/174855 | 12:50 |
*** Fang_fenghua has quit IRC | 12:51 | |
*** Fangfenghua has joined #openstack-containers | 13:16 | |
Fangfenghua | Lan_ | 13:18 |
Fangfenghua | ? | 13:18 |
Fangfenghua | lan_ here? | 13:18 |
*** jjlehr has joined #openstack-containers | 13:23 | |
*** jfarschman has joined #openstack-containers | 13:29 | |
*** jfarschman is now known as MilesDenver | 13:29 | |
*** MilesDenver has quit IRC | 13:29 | |
*** rlrevell has joined #openstack-containers | 13:30 | |
*** prad has joined #openstack-containers | 13:35 | |
*** Marga_ has quit IRC | 13:35 | |
openstackgerrit | Lan Qi Song proposed openstack/magnum: Add command field for container https://review.openstack.org/174839 | 13:51 |
openstackgerrit | Lan Qi Song proposed openstack/python-magnumclient: Support pass command field when create a container https://review.openstack.org/174841 | 13:52 |
*** yuanying-alt has joined #openstack-containers | 13:53 | |
dims__ | ashishjain: can you please explain auto-scaling a bit from the end use point of view? (end user of your system)? | 13:54 |
ashishjain | dims__:Hi | 13:54 |
dims__ | ashishjain: Is it that the system should be able to add a new VM or baremetal for running Ubuntu/Atomic/Centos with a fresh Docker Daemon and add it to an existing "cluster"? then your user does not care where the docker container is running, just that he/she is able to start a new container as needed? | 13:55 |
ashishjain | dims__: currently the use case does not require to deploy a new VM with docker daemon on it. But that would be the path in the future. | 13:56 |
dims__ | so what is the current use case? | 13:56 |
dims__ | does end user use Docker Remote API? something else? | 13:57 |
ashishjain | dims__: currently I am working on a simple use case where I got a Compute with pre-installed docker daemon. Using nova-docker driver and heat autoscaling I deploy a simple docker container | 13:57 |
ashishjain | and simulate some load. | 13:57 |
ashishjain | dims__: yes api will be used to automate it. | 13:58 |
*** yuanying-alt has quit IRC | 13:58 | |
dims__ | heat auto-scaling adds new docker containers? | 13:58 |
dims__ | in the same daemon? | 13:58 |
ashishjain | dims__: yes you are correct | 13:58 |
ashishjain | dims__: yes | 13:58 |
ashishjain | dims__: My compute node has got enough of RAM and CPU to run multiple containers | 13:59 |
ashishjain | dims__: what I have found out is once I move to docker hypervisor ceilometer does not collect any stats | 13:59 |
dims__ | what triggers do the heat autoscaling look for? | 13:59 |
ashishjain | dims__: cpu_util | 14:00 |
dims__ | of course, yes, it doesn't | 14:00 |
ashishjain | dims__: so than autoscaling does not work | 14:00 |
ashishjain | dims__: and docker-driver just could not be used for a real use case of autoscaling :( | 14:00 |
dims__ | https://blueprints.launchpad.net/ceilometer/+spec/container-monitoring | 14:00 |
dims__ | exactly | 14:01 |
dims__ | ashishjain: so based on cpu you run more of the same exact image? don't know what that gets you | 14:02 |
ashishjain | dims__: So this may not be available in next few months | 14:03 |
ashishjain | dims__: the idea is scaling a component/module independently and than plugging it to a load balancer | 14:03 |
ashishjain | probably neutron or HA | 14:03 |
dims__ | i mean typically i've seen that if there is a request/reponse time slowing down for a specific application you launch more of that application image with a load balancer in front of it. so your docker deamon may have multiple applications | 14:04 |
dims__ | with multiple images | 14:04 |
ashishjain | dims__: Yes you are correct | 14:04 |
ashishjain | dims__: Ultimate goal will be to achieve a micro architecture kind of deployment with openstack and docker. | 14:04 |
*** EricGonczer_ has joined #openstack-containers | 14:05 | |
ashishjain | plus definitely load balancer and proxy service as required | 14:05 |
ashishjain | dims__: do you find it viable and reasonable ? | 14:05 |
dims__ | ashishjain: this is exactly the stuff we are trying to do in Magnum with Nova+Heat+Kubernetes+Flannel etc. (There's a swarm effort in progress as well, instead of kubernetes) | 14:07 |
dims__ | ashishjain: https://blueprints.launchpad.net/magnum/ | 14:07 |
ashishjain | dims__: Ya got to know from container IRC about it today. | 14:07 |
ashishjain | dims__: thanks for this. But than I am trying to understand where does nova-docker, docker plugin for heat fit in scheme of things | 14:09 |
ashishjain | dims__: will those not be used for all these use cases which magnum is solving may be with kubernetes | 14:11 |
*** sdake has joined #openstack-containers | 14:12 | |
Fangfenghua | Hi sdake | 14:15 |
sdake | morning | 14:15 |
*** rlrevell has left #openstack-containers | 14:16 | |
*** rlrevell has joined #openstack-containers | 14:16 | |
Fangfenghua | sdake I didn't got why we not container API. | 14:16 |
ashishjain | sdake: Good Morning. | 14:16 |
sdake | feng me either | 14:17 |
*** jfarschman has joined #openstack-containers | 14:17 | |
*** jfarschman is now known as MilesDenver | 14:17 | |
sdake | multiple brains designed magnum | 14:18 |
Fangfenghua | ~~ | 14:19 |
Fangfenghua | sdake sorry have typo | 14:23 |
Fangfenghua | sdake I didn't got why we need container API. | 14:24 |
Fangfenghua | :) | 14:24 |
sdake | yes me either | 14:24 |
sdake | I knew what you meant | 14:24 |
sdake | maybe with swarm it will make sense | 14:24 |
sdake | apmelton can answer more | 14:24 |
sdake | because swarm is just a thin abstracton over docker | 14:25 |
Fangfenghua | Automatic error correction.I think you had a good sleep ;) | 14:25 |
apmelton | sdake: Fangfenghua: honestly, it may not be necessary | 14:27 |
apmelton | we could potentially just use pods for swarm | 14:27 |
apmelton | since, if I remember correctly, pods are simple collections of containers | 14:27 |
Fangfenghua | right | 14:28 |
apmelton | and if someone wants to mess with containers directly, they can do to the swarm api | 14:28 |
apmelton | I've gotta run to a meeting though, I'll be back a bit later | 14:28 |
sdake | ya 7 hours | 14:30 |
sdake | i'm going to lay in bed for a bit not quite awake | 14:30 |
sdake | bbi an hour or so | 14:30 |
*** Tango has joined #openstack-containers | 14:30 | |
sdake | still tired | 14:30 |
Fangfenghua | apmelton If we just want run container,Why not docker-api directly | 14:30 |
apmelton | Fangfenghua: because swarm gets us horizontal scaling of capacity | 14:31 |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/magnum: [WIP][NOT READY FOR REVIEW] Functional tests for listing resources and templates https://review.openstack.org/173537 | 14:31 |
Fangfenghua | apmelton I didn't got it | 14:32 |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/magnum: [WIP][NOT READY FOR REVIEW] Functional tests for listing resources and templates https://review.openstack.org/173537 | 14:32 |
*** dims__ has quit IRC | 14:33 | |
Fangfenghua | apmelton We can use docker-pai start container in docker-swam too | 14:33 |
*** nshaikh has left #openstack-containers | 14:34 | |
apmelton | Fangfenghua: yes, technically you can swap between a single docker api, and the swarm api without too much trouble | 14:34 |
apmelton | there are a few differences, but for the most part they are interchanagable | 14:34 |
apmelton | meeting is seting now so I gotta drop off | 14:34 |
apmelton | starting* | 14:35 |
*** sdake_ has joined #openstack-containers | 14:47 | |
Fangfenghua | sdake I just realize that if we have swarm bay, we need container-api | 14:49 |
Fangfenghua | We must use keystone | 14:49 |
*** sdake has quit IRC | 14:50 | |
*** Fangfenghua_ has joined #openstack-containers | 14:53 | |
*** Fangfenghua has quit IRC | 14:54 | |
Fangfenghua_ | My compute going down just now (: | 14:54 |
*** yuanying-alt has joined #openstack-containers | 14:54 | |
*** prad has quit IRC | 14:57 | |
*** yuanying-alt has quit IRC | 14:58 | |
*** fangfenghua has joined #openstack-containers | 14:58 | |
*** prad has joined #openstack-containers | 15:01 | |
*** Marga_ has joined #openstack-containers | 15:03 | |
*** dims__ has joined #openstack-containers | 15:04 | |
*** adrian_otto has joined #openstack-containers | 15:13 | |
*** dims__ has quit IRC | 15:22 | |
*** oro has joined #openstack-containers | 15:23 | |
*** kebray has joined #openstack-containers | 15:29 | |
*** gose has joined #openstack-containers | 15:34 | |
*** EricGonczer_ has quit IRC | 15:38 | |
*** oro has quit IRC | 15:39 | |
*** EricGonczer_ has joined #openstack-containers | 15:43 | |
*** PaulCzar has quit IRC | 15:48 | |
*** ashishjain has quit IRC | 16:04 | |
*** unicell has quit IRC | 16:13 | |
*** subscope has joined #openstack-containers | 16:20 | |
*** dims__ has joined #openstack-containers | 16:24 | |
*** Fangfenghua_ has quit IRC | 16:33 | |
*** sdake has joined #openstack-containers | 16:35 | |
*** sdake_ has quit IRC | 16:39 | |
*** unicell has joined #openstack-containers | 16:41 | |
*** unicell has quit IRC | 16:41 | |
*** unicell has joined #openstack-containers | 16:42 | |
*** Marga_ has quit IRC | 16:43 | |
*** yuanying-alt has joined #openstack-containers | 16:43 | |
*** yuanying-alt has quit IRC | 16:47 | |
*** Tango has quit IRC | 16:50 | |
*** dims__ is now known as dimsum__ | 16:50 | |
*** unicell has quit IRC | 16:57 | |
*** unicell has joined #openstack-containers | 16:57 | |
*** diga_ has joined #openstack-containers | 16:57 | |
dimsum__ | apmelton: why WIP the review? https://review.openstack.org/#/c/174112/ | 16:59 |
apmelton | dimsum__: so it doesn't get merged until I've got every changed up for discovery | 16:59 |
dimsum__ | don't want to merge it and iterate? | 17:00 |
apmelton | dimsum__: not if it means yet another db migration | 17:00 |
dimsum__ | ah ok | 17:00 |
apmelton | I'll have a review up in a bit | 17:00 |
*** prad has quit IRC | 17:02 | |
dimsum__ | apmelton: any updates from others? jjlehr, diga, joffter | 17:02 |
apmelton | dimsum__: not yet | 17:04 |
*** prad has joined #openstack-containers | 17:05 | |
diga_ | dimsum__: I already have started work on 4/5 task | 17:06 |
diga_ | will push the code over the weekend | 17:06 |
*** prad has quit IRC | 17:06 | |
dimsum__ | thanks diga_ | 17:06 |
diga_ | dimsum__: welocome! | 17:06 |
apmelton | diga_: if you have any questions over the weekend please use my email | 17:07 |
apmelton | I'll be out of town, but will check email periodically | 17:07 |
diga_ | yes apmelton | 17:07 |
diga_ | sure | 17:07 |
adrian_otto | diga_: have you asked in IRC for help in resolving the difficulty expressed here http://paste.openstack.org/show/204192/ (for https://review.openstack.org/172348)? | 17:08 |
diga_ | yes | 17:09 |
adrian_otto | ok, and did you find volunteers to assist? | 17:09 |
diga_ | I need help in test case writting for api/test_baymodel | 17:09 |
diga_ | no, not yet | 17:09 |
*** prad has joined #openstack-containers | 17:09 | |
diga_ | I have asked in the afternoon but nobody is there excluding sdake | 17:10 |
adrian_otto | apmelton: any chance you can peek at that and offer diga_ some guidance. I would volunteer myself, but I have to prepare for a presentation coming later today. | 17:11 |
diga_ | s/is/was | 17:11 |
apmelton | adrian_otto: sure I'll take a peek | 17:11 |
adrian_otto | thanks! | 17:11 |
apmelton | diga_: do you have the output of the failing tests? | 17:12 |
diga_ | yes | 17:12 |
diga_ | 1 min | 17:12 |
adrian_otto | ok, mention my nick if you want my attention back again, I'm going into background mode now | 17:13 |
diga_ | adrian_otto: yes, sure | 17:13 |
diga_ | apmelton: see this - http://logs.openstack.org/48/172348/5/check/gate-magnum-python27/fd231aa/console.html | 17:13 |
diga_ | apmelton: main issue is here - http://paste.openstack.org/show/204192/ | 17:14 |
*** harlowja_away is now known as harlowja | 17:17 | |
apmelton | diga_: nothing is really jumping out at me, pulling it down and running the tests locally to poke futher | 17:25 |
diga_ | apmelton: sure | 17:31 |
dimsum__ | diga_: if you comment out the line to call _get_image_data in the baymodel.py post method and hard code baymodel_dict['cluster_type'] to something the test passes. so essentially you need to add a mock for that method | 17:35 |
dimsum__ | diga_: hope that helps | 17:36 |
apmelton | this is that actual exception that's causing issues: http://paste.openstack.org/show/204494/ | 17:37 |
diga_ | dimsum__: okay | 17:37 |
diga_ | apmelton: let me go through it | 17:37 |
apmelton | diga_: I think what you need to do is mock out the call to clients.glance() and return a mock instead of the actual glance client | 17:39 |
diga_ | apmelton: okay | 17:40 |
dimsum__ | ++ | 17:40 |
apmelton | diga_: here's an example: https://github.com/openstack/magnum/blob/master/magnum/tests/unit/conductor/handlers/test_bay_k8s_heat.py#L479 | 17:41 |
apmelton | for heat client | 17:41 |
diga_ | apmelton: yes, got it | 17:42 |
*** jjlehr has quit IRC | 17:42 | |
diga_ | I need to add glance client instead | 17:43 |
apmelton | diga_: what you may want to do while you're debugging an api function in a test is wrap the api function in a try/except that prints a traceback and reraises the exception | 17:43 |
apmelton | otherwise you just get a some what unhelpful exception message | 17:44 |
apmelton | diga_: yup | 17:44 |
diga_ | apmelton: yes | 17:45 |
*** prad has quit IRC | 17:45 | |
*** prad has joined #openstack-containers | 17:46 | |
*** achanda has joined #openstack-containers | 17:48 | |
diga_ | apmelton: thanks for your help :) | 17:49 |
apmelton | definitely diga_! | 17:49 |
diga_ | :) | 17:50 |
*** Marga_ has joined #openstack-containers | 17:55 | |
*** rlrevell has left #openstack-containers | 18:05 | |
*** rlrevell has joined #openstack-containers | 18:06 | |
*** jjlehr has joined #openstack-containers | 18:09 | |
*** EricGonc_ has joined #openstack-containers | 18:14 | |
*** EricGonczer_ has quit IRC | 18:17 | |
*** diga_ has quit IRC | 18:18 | |
*** yuanying-alt has joined #openstack-containers | 18:31 | |
*** yuanying-alt has quit IRC | 18:36 | |
*** achanda has quit IRC | 18:46 | |
*** kebray has quit IRC | 18:49 | |
apmelton | With out objects, we have lots of fields set as type_or_none, if I do Obj().field_name, for a field_name that is type_or_none, should Obj().field_name be None? | 18:53 |
apmelton | with our objects* | 18:54 |
*** achanda has joined #openstack-containers | 18:56 | |
apmelton | the problem I'm hitting is that if we don't provide that field_name to an api call, Obj().field_name isn't None, it actually throws an exception | 18:56 |
*** kebray has joined #openstack-containers | 18:59 | |
apmelton | nevermind... I figured out why defaulting was working on baymodel params but not bay params. it's because before bay creation, the baymodel already exists, and is loaded from the database, the bay isn't, so it doesn't have optional params set | 19:00 |
*** EricGonc_ has quit IRC | 19:07 | |
*** EricGonczer_ has joined #openstack-containers | 19:08 | |
openstackgerrit | Andrew Melton proposed openstack/magnum: Add Swarm TemplateDefinition https://review.openstack.org/174112 | 19:11 |
openstackgerrit | Andrew Melton proposed openstack/magnum: Add Swarm TemplateDefinition https://review.openstack.org/174112 | 19:19 |
openstackgerrit | Andrew Melton proposed openstack/python-magnumclient: Rename swarm-token to discovery-url https://review.openstack.org/175014 | 19:21 |
*** kebray has quit IRC | 19:34 | |
*** Marga_ has quit IRC | 19:38 | |
*** subscope has quit IRC | 19:40 | |
*** achanda has quit IRC | 19:50 | |
*** funzo has quit IRC | 19:53 | |
*** jjlehr1 has joined #openstack-containers | 20:02 | |
*** kebray has joined #openstack-containers | 20:04 | |
*** jjlehr has quit IRC | 20:05 | |
*** Marga_ has joined #openstack-containers | 20:09 | |
*** funzo has joined #openstack-containers | 20:09 | |
*** Marga_ has quit IRC | 20:13 | |
*** yuanying-alt has joined #openstack-containers | 20:20 | |
*** openstackgerrit has quit IRC | 20:22 | |
*** openstackgerrit has joined #openstack-containers | 20:22 | |
*** yuanying-alt has quit IRC | 20:25 | |
*** achanda has joined #openstack-containers | 20:27 | |
jjlehr1 | Addind the coe attribute to the BayModel requires making changes to both magnum and python-magnumclient. Does the code for python-magnumclient get linked to the same blueprint as the code for magnum? | 20:51 |
*** sdake_ has joined #openstack-containers | 20:56 | |
*** logan2 has quit IRC | 20:59 | |
*** sdake has quit IRC | 20:59 | |
*** logan2 has joined #openstack-containers | 21:00 | |
-openstackstatus- NOTICE: Gerrit will be unavailable between 22:00 and 23:59 UTC for project renames and a database update. | 21:04 | |
*** jjlehr1 has quit IRC | 21:06 | |
*** Marga_ has joined #openstack-containers | 21:08 | |
openstackgerrit | Merged openstack/magnum: Implement baylock in conductor for horizontal-scale https://review.openstack.org/172773 | 21:11 |
sdake_ | adrian_otto ping re horizontal scale bp | 21:12 |
adrian_otto | ? | 21:15 |
adrian_otto | sdake_: ^^ | 21:15 |
sdake_ | sorry wasn't in irc window | 21:15 |
sdake_ | so what else was nede beyon this last patch? | 21:15 |
sdake_ | it looks to me like this last patch lands, and we are good to go | 21:16 |
adrian_otto | Honbin's code implements async conductor with baylocks | 21:16 |
adrian_otto | but it does not implement sync client | 21:16 |
adrian_otto | what we will need is a python-magnumclient implementation that has a call to create the bay followed by a polling loop to await its result | 21:17 |
*** EricGonczer_ has quit IRC | 21:17 | |
sdake_ | his latest patch looks synchronous to me | 21:17 |
adrian_otto | oh, maybe he changed it? | 21:17 |
sdake_ | yes he drastically changed between patch set 4 and 5 | 21:18 |
sdake_ | patch 4 brought back old nightmares :) | 21:18 |
adrian_otto | ok, I think he was trying to get a naive sync implementation as a first step | 21:18 |
sdake_ | i'll definately test | 21:18 |
sdake_ | I think sync is the way to go | 21:18 |
sdake_ | that is exactly how heat works | 21:18 |
adrian_otto | so that at least we could increase the conductor count to get more throughput | 21:18 |
adrian_otto | but the conductor would block on a bay operation, right? | 21:18 |
sdake_ | raises an exception | 21:19 |
sdake_ | on the second call to the same bay | 21:19 |
adrian_otto | ok | 21:19 |
sdake_ | (which prints out an error in the client) | 21:19 |
adrian_otto | the point where I got concerned was where I realized that the client was not going to get an error if the bay create failed | 21:20 |
sdake_ | that is gone now | 21:20 |
adrian_otto | so maybe the more recent patch addresses that using a synchronous approach? | 21:20 |
sdake_ | I will definately test and charactize and update commit log accordingly | 21:20 |
adrian_otto | ok, I think that's a place to start for now | 21:20 |
sdake_ | yup | 21:20 |
adrian_otto | and then we can iterate on that to bump up the throughput | 21:21 |
sdake_ | monday | 21:21 |
sdake_ | need to unplug this weekend, my next month is pretty hectic | 21:21 |
sdake_ | how often do we expect bay create operations tho :) | 21:21 |
sdake_ | not very I think | 21:21 |
adrian_otto | but at least this way a 2-conductor setup can act on two bays concurrently, right? | 21:21 |
sdake_ | and its not a global lock | 21:21 |
sdake_ | atm, you should be able to create multiple bays with 1 conductor | 21:21 |
sdake_ | but you just can't do two operations on one bay at the same time | 21:22 |
adrian_otto | no, bay creations will be relatively infrequent for sure | 21:22 |
sdake_ | right so why be concerned about performance there | 21:22 |
sdake_ | more important is that there is no conductor blocking | 21:22 |
adrian_otto | ideally we'd like a way for the client to block on the second operation, and then proceed when the first completes. | 21:22 |
sdake_ | and the raised exception prevents that | 21:22 |
*** openstackgerrit has quit IRC | 21:23 | |
sdake_ | i see | 21:23 |
adrian_otto | we could do that by enhancing the client, and leaving the conductor code alone. | 21:23 |
sdake_ | so that is "if exception retry" :) | 21:23 |
adrian_otto | yes. | 21:23 |
*** openstackgerrit has joined #openstack-containers | 21:23 | |
adrian_otto | up to some sensible limit | 21:23 |
sdake_ | ya that seems like wishlist territory to me for kilo tho | 21:23 |
sdake_ | we have a mountain of bugs to fix | 21:23 |
adrian_otto | I'm wrapping up for the afternoon, but will check back in tonight on things | 21:24 |
sdake_ | i wont be working on magnum until monday i suspect | 21:24 |
sdake_ | debugging godawful nova + neutron intreactions in juno | 21:24 |
adrian_otto | agreed, I think we have enough to knock out the BP, and just follow up with the wishlist stuff using bug tickets for future | 21:24 |
sdake_ | wfm | 21:24 |
adrian_otto | ok. Enjoy your weekend! | 21:24 |
sdake_ | yar | 21:24 |
sdake_ | you too | 21:24 |
adrian_otto | tx! | 21:24 |
*** adrian_otto has quit IRC | 21:25 | |
*** sdake has joined #openstack-containers | 21:25 | |
*** sdake_ has quit IRC | 21:29 | |
*** rlrevell has quit IRC | 21:33 | |
*** rlrevell has joined #openstack-containers | 21:33 | |
*** yuanying-alt has joined #openstack-containers | 21:36 | |
*** rlrevell has quit IRC | 21:37 | |
*** yuanying-alt has quit IRC | 21:41 | |
-openstackstatus- NOTICE: Gerrit is unavailable until 23:59 UTC for project renames and a database update. | 22:04 | |
-openstackstatus- NOTICE: Gerrit is unavailable until 23:59 UTC for project renames and a database update. | 22:06 | |
*** ChanServ changes topic to "Gerrit is unavailable until 23:59 UTC for project renames and a database update." | 22:07 | |
*** sdake_ has joined #openstack-containers | 22:24 | |
*** sdake has quit IRC | 22:27 | |
*** daneyon_ has joined #openstack-containers | 22:28 | |
*** daneyon has quit IRC | 22:31 | |
*** daneyon has joined #openstack-containers | 22:32 | |
*** daneyon_ has quit IRC | 22:32 | |
*** EricGonczer_ has joined #openstack-containers | 22:35 | |
*** EricGonczer_ has quit IRC | 22:36 | |
*** EricGonczer_ has joined #openstack-containers | 22:37 | |
*** EricGonczer_ has quit IRC | 22:38 | |
*** dboik_ has quit IRC | 22:41 | |
*** dboik has joined #openstack-containers | 22:41 | |
*** sdake has joined #openstack-containers | 22:46 | |
*** sdake_ has quit IRC | 22:50 | |
*** kebray has quit IRC | 22:50 | |
*** PaulCzar has joined #openstack-containers | 22:51 | |
*** EricGonczer_ has joined #openstack-containers | 22:54 | |
*** achanda has quit IRC | 22:54 | |
*** vilobhmm1 has joined #openstack-containers | 22:54 | |
vilobhmm1 | does this bug still makes sense since now we are part of openstack namespace https://bugs.launchpad.net/magnum/+bug/1419766 ? | 22:55 |
openstack | Launchpad bug 1419766 in Magnum "Magnum is already taken by someone else in pypi" [Wishlist,Triaged] | 22:55 |
*** achanda has joined #openstack-containers | 22:56 | |
vilobhmm1 | sdake, aotto, dimsum_ : ^^ | 22:56 |
* sdake groans | 22:57 | |
sdake | no idea | 22:57 |
sdake | can you ask on #openstack-infra, they will know what to do | 22:57 |
sdake | and add details to the bug log | 22:57 |
vilobhmm1 | i did | 22:57 |
sdake | and they said? | 22:57 |
vilobhmm1 | already *details to the log* | 22:57 |
vilobhmm1 | will check with infra guys | 22:57 |
vilobhmm1 | now | 22:57 |
sdake | ok just read the bug detials | 22:58 |
*** MilesDenver has quit IRC | 23:01 | |
*** dboik has quit IRC | 23:02 | |
*** rpothier has quit IRC | 23:03 | |
*** ChanServ changes topic to "OpenStack Containers Team" | 23:04 | |
-openstackstatus- NOTICE: Gerrit is available again. | 23:04 | |
vilobhmm1 | sdake : not sure what is the conclusion in #infra channel | 23:05 |
sdake | we need to reach out to the develoepr and ask him if he would give up the project name | 23:07 |
sdake | he last uploadedi n 2012 | 23:07 |
sdake | sounds like a job for Adrian Otto :) | 23:08 |
sdake | its an 805 byte file | 23:09 |
sdake | I suspect he probably has abanoded the work | 23:10 |
sdake | the more painful approach is a rename | 23:10 |
*** achanda has quit IRC | 23:11 | |
*** sdake_ has joined #openstack-containers | 23:14 | |
*** funzo has quit IRC | 23:15 | |
*** achanda has joined #openstack-containers | 23:15 | |
*** sdake has quit IRC | 23:17 | |
*** yuanying-alt has joined #openstack-containers | 23:25 | |
*** yuanying-alt has quit IRC | 23:29 | |
*** dboik has joined #openstack-containers | 23:29 | |
*** sdake has joined #openstack-containers | 23:32 | |
*** sdake_ has quit IRC | 23:36 | |
*** gose has quit IRC | 23:49 | |
*** Marga_ has quit IRC | 23:50 | |
*** dboik has quit IRC | 23:57 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!