Thursday, 2015-05-07

*** Marga_ has joined #openstack-containers00:02
*** adrian_otto has quit IRC00:03
openstackgerritKai Qiang Wu(Kennan) proposed openstack/magnum: Delete swarm bay also delete related containers  https://review.openstack.org/18079900:07
Kennan:lan just cherry-pick your changes, you can check that00:09
*** dboik has joined #openstack-containers00:14
*** Marga_ has quit IRC00:17
*** Marga_ has joined #openstack-containers00:17
*** dboik has quit IRC00:18
*** oro has quit IRC00:20
*** jay-lau-513 has quit IRC00:25
*** jruano has joined #openstack-containers00:25
*** daneyon_ has quit IRC00:53
*** shakamunyi has quit IRC01:02
*** dboik has joined #openstack-containers01:05
*** dboik_ has joined #openstack-containers01:06
*** dboik has quit IRC01:09
*** kebray has joined #openstack-containers01:10
*** kebray has quit IRC01:10
*** kebray has joined #openstack-containers01:11
*** kebray has quit IRC01:16
*** kebray has joined #openstack-containers01:16
*** fangfenghua has joined #openstack-containers01:22
*** achanda has quit IRC01:29
*** MilesDenver has quit IRC01:32
lanKennan,  cherry-pick looks good to me,  but madhuri leave a comment, please check that : )01:35
*** erkules_ has joined #openstack-containers01:38
*** erkules has quit IRC01:41
*** Marga_ has quit IRC01:42
*** Marga_ has joined #openstack-containers01:43
*** vilobhmm1 has quit IRC01:56
*** dboik_ has quit IRC02:01
*** dboik has joined #openstack-containers02:01
*** hongbin_ has joined #openstack-containers02:06
*** unicell has quit IRC02:07
*** shakamunyi has joined #openstack-containers02:10
*** suro-patz has quit IRC02:16
*** achanda has joined #openstack-containers02:29
*** rpothier has quit IRC02:38
*** madhuri has joined #openstack-containers02:43
*** Marga_ has quit IRC02:45
*** achanda has quit IRC02:46
*** kebray has quit IRC02:47
*** achanda has joined #openstack-containers02:48
*** dims_ has quit IRC02:51
*** dims has joined #openstack-containers02:52
*** sdake_ has joined #openstack-containers03:09
openstackgerritMerged openstack/magnum: Update service support a manifest change  https://review.openstack.org/17420803:10
openstackgerritMerged openstack/magnum: Update rc support a manifest change  https://review.openstack.org/17420903:11
*** dims has quit IRC03:11
*** sdake has quit IRC03:13
*** achanda has quit IRC03:28
*** sdake has joined #openstack-containers03:36
*** sdake_ has quit IRC03:39
*** daneyon has joined #openstack-containers03:45
*** chandankumar has joined #openstack-containers03:46
*** Tango has joined #openstack-containers04:00
*** achanda has joined #openstack-containers04:05
*** chandankumar has quit IRC04:33
*** coolsvap|afk is now known as coolsvap05:03
*** unicell has joined #openstack-containers05:06
*** hongbin_ has quit IRC05:09
*** vilobhmm1 has joined #openstack-containers05:12
*** madhuri has quit IRC05:14
*** jruano has quit IRC05:15
*** madhuri has joined #openstack-containers05:16
*** sdake has quit IRC05:20
*** sdake has joined #openstack-containers05:24
*** madhuri has quit IRC05:24
*** madhuri has joined #openstack-containers05:25
*** sdake_ has joined #openstack-containers05:26
*** chandankumar has joined #openstack-containers05:28
*** suro-patz has joined #openstack-containers05:29
*** sdake has quit IRC05:29
*** madhuri has quit IRC05:31
*** madhuri has joined #openstack-containers05:32
*** adrian_otto has joined #openstack-containers05:36
*** adrian_otto has quit IRC05:39
*** madhuri has quit IRC05:43
*** suro-patz1 has joined #openstack-containers05:54
*** madhuri has joined #openstack-containers05:54
*** suro-patz has quit IRC05:56
*** vilobhmm1 has quit IRC05:59
*** madhuri_ has joined #openstack-containers05:59
*** madhuri has quit IRC06:01
*** Kennan has quit IRC06:02
*** Kennan has joined #openstack-containers06:03
*** suro-patz1 has quit IRC06:05
sdake_any ibm cats around06:09
*** sdake_ is now known as sdake06:10
*** suro-patz has joined #openstack-containers06:13
*** Tango has quit IRC06:13
*** erkules_ is now known as erkules06:24
*** erkules has joined #openstack-containers06:24
*** oro has joined #openstack-containers06:31
*** suro-patz has quit IRC06:40
*** adrian_otto has joined #openstack-containers06:42
openstackgerritMadhuri Kumari proposed openstack/magnum: Update rc manifest parsing according to v1beta3  https://review.openstack.org/17875507:02
*** fangfenghua has quit IRC07:23
adrian_ottomadhuri_: you around?07:23
madhuri_Hi adrian_otto07:23
adrian_ottohey, do you have a moment to work with me on something?07:24
madhuri_Yes sure07:24
adrian_ottoI have a devstack setup with magnum in it07:24
madhuri_Ok07:24
adrian_ottoand I'm able to create baymodels and bays07:24
adrian_ottobut when I try to use the instructions in our quickstart to make a pod using the kubernetes example for redis-master.yaml, that fails to create a pod07:25
adrian_ottoI get "ERROR: Field metadata['name'] can't be empty in maifest. (HTTP 400)"07:25
madhuri_What is the error?07:25
adrian_ottodo you think that's coming from k8s or from magnum07:25
adrian_ottoI tried adding name: nodes to the yaml in the manifest at various points, but that does not seem to help07:26
madhuri_I got it07:26
madhuri_Just give me a second07:26
adrian_ottoyou reproduced it?07:26
*** jay-lau-513 has joined #openstack-containers07:27
jay-lau-513join #openstack-chinese07:27
madhuri_The yaml file you are using is of v1beta107:28
adrian_ottoyes.07:28
madhuri_You need to use v1beta3 yaml file07:28
madhuri_https://github.com/GoogleCloudPlatform/kubernetes/blob/master/examples/redis/v1beta3/redis-master.yaml07:28
adrian_ottooh07:28
madhuri_Use this one07:28
*** nshaikh has joined #openstack-containers07:28
madhuri_It will work07:28
adrian_ottook, thanks!!07:28
madhuri_My pleasure.07:29
adrian_ottothat definitely worked.07:31
madhuri_:)07:31
adrian_ottomadhuri07:40
adrian_ottoit did create, but in a failed status07:40
adrian_otto$ magnum pod-show redis-master | grep status07:40
adrian_otto| status     | failed                                                              |07:40
adrian_ottohow can I figure out why?07:41
*** oro has quit IRC07:42
adrian_otto~$ magnum service-create --manifest ./redis-sentinel-service.yaml --bay testbay07:46
adrian_ottoERROR: Invalid resource state. (HTTP 409)07:46
madhuri_For the second issue07:50
madhuri_You can try creating the service directly from kubectl07:51
madhuri_409 here means the service alerady exists which you are trying to create07:51
adrian_ottook07:51
adrian_ottowe should improve that error message07:52
madhuri_There could be many response from kubernetes07:53
madhuri_and updating the message for each response could be a good or bad idea.07:54
madhuri_I am not sure.07:54
madhuri_But I agree the message doesn't give any idea to user whats happening.07:54
adrian_ottook, so back the the previous concern07:55
adrian_ottoI created a fresh bay07:55
adrian_ottoand did this: magnum pod-create --manifest redis-master.yaml --bay testbay07:56
*** achanda has quit IRC07:56
adrian_ottousing the correct yaml07:56
madhuri_Ok07:56
adrian_otto$ magnum pod-show redis-master |grep status07:56
adrian_otto| status     | failed07:56
adrian_ottoand the status immediately shows as failed07:56
madhuri_Try kubectl get events07:57
madhuri_To check the failure07:57
adrian_ottoon the kube master?07:58
madhuri_Yes07:58
adrian_ottothere are no events07:58
adrian_ottoI just get the ehader line07:58
adrian_otto*header07:58
adrian_otto$ kubectl get events07:59
adrian_ottoFIRSTSEEN   LASTSEEN   COUNT     NAME      KIND      SUBOBJECT   REASON    SOURCE    MESSAGE07:59
madhuri_It means the pod is not created on Kubernetes node07:59
madhuri_Can you run kubectl get pod07:59
adrian_ottoempty list, only headings.07:59
madhuri_This seems to be an issue08:00
madhuri_It means the pod is not created on Kube node but magnum create an entry in db08:00
openstackgerritAccela Zhao proposed openstack/magnum: Remove trailing spaces in container-service.rst  https://review.openstack.org/18090208:00
madhuri_magnum-conductor logs might help us08:00
adrian_ottothe kube-apiserver process on the k8s master is only listening on IPV608:00
adrian_ottois that normal?08:00
madhuri_let me check08:01
openstackgerritMadhuri Kumari proposed openstack/magnum: Update service manifest parsing according to v1beta3  https://review.openstack.org/17851908:03
openstackgerritAccela Zhao proposed openstack/magnum: Remove trailing spaces in container-service.rst  https://review.openstack.org/18090208:13
*** nshaikh has quit IRC08:28
*** fangfenghua has joined #openstack-containers09:07
*** dims has joined #openstack-containers09:36
*** dims has quit IRC09:41
adrian_ottohttps://bugs.launchpad.net/magnum/+bug/145265009:54
openstackLaunchpad bug 1452650 in Magnum "Unable to show a container by name" [Low,Triaged]09:54
adrian_ottohttps://bugs.launchpad.net/magnum/+bug/145264809:55
openstackLaunchpad bug 1452648 in Magnum "container-list fails with unexpected bay-id" [Undecided,New] - Assigned to Andrew Melton (andrew-melton)09:55
adrian_ottoif anyone could help with those, that would be great.09:55
*** dims_ has joined #openstack-containers09:59
*** jay-lau-513 has quit IRC10:13
openstackgerritTom Cammann proposed openstack/magnum: Remove oslo config warnings  https://review.openstack.org/18092610:23
*** adrian_otto has quit IRC10:31
tcammannHow can I trigger the gate job on my change. Its refusing to merge even though it is +2/A https://review.openstack.org/#/c/180158/10:32
*** nshaikh has joined #openstack-containers10:34
*** coolsvap is now known as coolsvap|afk10:43
*** achanda has joined #openstack-containers11:02
*** achanda has quit IRC11:07
*** jruano has joined #openstack-containers11:15
*** oro has joined #openstack-containers11:26
*** EricGonczer_ has joined #openstack-containers11:41
*** openstackgerrit has quit IRC11:52
*** openstackgerrit has joined #openstack-containers11:52
*** EricGonczer_ has quit IRC11:55
openstackgerritGrzegorz Grasza (xek) proposed openstack/magnum: Move our ObjectSerializer to subclass from the Oslo one  https://review.openstack.org/17871812:01
openstackgerritGrzegorz Grasza (xek) proposed openstack/magnum: Make MagnumObject a subclass of Oslo VersionedObject  https://review.openstack.org/18013312:01
openstackgerritGrzegorz Grasza (xek) proposed openstack/magnum: Move VersionedObject registration to the new scheme  https://review.openstack.org/18057712:01
*** EricGonczer_ has joined #openstack-containers12:34
*** rpothier has joined #openstack-containers12:41
*** dims_ has quit IRC12:51
*** dims has joined #openstack-containers12:51
*** jruano has quit IRC12:53
*** hongbin_ has joined #openstack-containers12:57
*** rlrevell has joined #openstack-containers13:12
*** david-lyle has quit IRC13:19
*** dboik has quit IRC13:24
*** openstackstatus has quit IRC13:25
*** fangfeng_ has joined #openstack-containers13:25
*** openstackstatus has joined #openstack-containers13:25
*** ChanServ sets mode: +v openstackstatus13:25
*** fangfeng_ has quit IRC13:30
*** fangfenghua_ has joined #openstack-containers13:33
*** hongbin_ has quit IRC13:36
*** EricGonczer_ has quit IRC13:43
*** dboik has joined #openstack-containers13:44
*** dboik has quit IRC13:44
*** dboik has joined #openstack-containers13:45
*** jfarschman has joined #openstack-containers13:50
*** jfarschman is now known as MilesDenver13:50
*** oro has quit IRC13:55
*** zul has quit IRC13:57
*** hongbin_ has joined #openstack-containers13:59
*** jruano has joined #openstack-containers13:59
*** zul has joined #openstack-containers14:02
*** achanda has joined #openstack-containers14:06
*** adrian_otto has joined #openstack-containers14:06
*** oro has joined #openstack-containers14:10
*** achanda has quit IRC14:11
*** adrian_otto has quit IRC14:17
*** chandankumar has quit IRC14:17
*** achanda has joined #openstack-containers14:29
*** achanda has quit IRC14:31
*** jruano has quit IRC14:32
*** fangfenghua has quit IRC14:33
*** Tango|2 has joined #openstack-containers14:34
openstackgerritMerged openstack/magnum: Add unique column constraints to db  https://review.openstack.org/18009514:44
*** adrian_otto has joined #openstack-containers14:45
*** adrian_otto has quit IRC14:45
*** adrian_otto has joined #openstack-containers14:48
*** adrian_otto has quit IRC14:56
*** achanda has joined #openstack-containers14:56
*** dboik_ has joined #openstack-containers15:01
*** achanda has quit IRC15:03
*** dboik has quit IRC15:05
*** apmelton_away is now known as apmelton15:10
*** kebray has joined #openstack-containers15:12
sdakemorning15:14
sdakereading scrollback looks like magnum is busted15:19
sdakewtb dims  functonal testing gate :)15:19
sdakehongbin around?15:20
hongbin_yes15:21
*** chandankumar has joined #openstack-containers15:23
*** oro has quit IRC15:31
*** fangfenghua has joined #openstack-containers15:34
*** Marga_ has joined #openstack-containers15:35
*** sdake_ has joined #openstack-containers15:36
*** sdake_ has joined #openstack-containers15:36
*** Marga_ has quit IRC15:36
*** Marga_ has joined #openstack-containers15:36
dimssdake: what's up?15:39
*** EricGonczer_ has joined #openstack-containers15:39
*** daneyon_ has joined #openstack-containers15:41
*** nshaikh has quit IRC15:42
*** sdake_ has quit IRC15:42
*** sdake has quit IRC15:44
*** sdake has joined #openstack-containers15:44
*** daneyon has quit IRC15:44
*** chandankumar has quit IRC15:48
tcammannsdake: I replied to your comment on https://review.openstack.org/#/c/18092615:49
sdakeyes I saw, I was just verifying it :)15:50
sdakewhat about the db thing?15:50
tcammannIts not used in the magnum repo at all, and I couldn't reproduce the warning15:51
sdakeis that set in devstack plugin?15:51
sdake(keep in mind I am using kolla not devstack)15:51
sdakeits in the dev quickstart15:51
sdakeis there still the auth_uri deprecation warning for the api service?15:52
tcammannwhats in the quickstart?15:54
tcammannI don't get any more deprecated warns using the devstack conf15:56
*** daneyon_ has quit IRC15:58
*** chandankumar has joined #openstack-containers15:59
*** daneyon has joined #openstack-containers15:59
sdakein the docs directory16:00
sdakethere is a quickstart for non-devstack16:00
*** dboik_ has quit IRC16:04
*** dboik has joined #openstack-containers16:04
tcammannsdake: thanks for the +2. Could you also re-approve this change https://review.openstack.org/#/c/180158/16:05
tcammannIts stuck at the moment and won't start the gate job. The infra guys said it needs to be reapproved :?16:06
sdaketcammann that may or may not work - jaylay may have to remoe his +a16:07
sdakewe will see ;)16:07
sdakeya the gate was busted yesterday16:07
tcammannthanks. looks like its finally started the gate jobs.16:09
openstackgerritMerged openstack/magnum: Improve validation on baymodel api calls  https://review.openstack.org/18015816:10
apmeltondoes anyone have a working devstack running a kubernetes bay at the moment?16:11
*** unicell has quit IRC16:17
*** suro-patz has joined #openstack-containers16:17
*** suro-patz1 has joined #openstack-containers16:19
*** suro-patz has quit IRC16:22
*** Marga_ has quit IRC16:24
*** adrian_otto has joined #openstack-containers16:24
sdakeI can do that with kolla apmelton, but unfortunately resources don't launch16:28
apmelton:(16:29
*** oro has joined #openstack-containers16:29
*** shakamunyi has quit IRC16:29
*** Marga_ has joined #openstack-containers16:31
apmeltonI've got a really old node sitting around that I'm trying it on to see if it's not broke there as well16:31
apmeltonbut it looks like the xml nova is spitting out for the instance isn't including the cinder volume16:32
*** fangfenghua_ has quit IRC16:34
apmeltonyea... volumes seem to be broke as far back as april 24th16:34
sdakecan you launch resources with master of magnum?16:36
apmeltonsdake: nope, cinder volume issues16:38
sdakei took the cinder volumes out of my build ;-)16:39
sdake(rather template)16:39
apmeltonsdake: doing the same right now :P16:40
*** adrian_otto has quit IRC16:45
*** unicell has joined #openstack-containers16:47
apmeltonsdake: so, the reason the volume doesn't show up in the xml is that it's hot plugged into the instance16:48
apmeltonI wonder if there's something about atomic that it can't handle hot plugging16:48
sdakenot sure - there is an atomic mailing list16:48
*** adrian_otto has joined #openstack-containers16:49
sdakedid it ever work?16:49
sdakeor did you never try with atomic16:49
sdakeadrian_otto so the api server is binding to ipv6 then?16:49
apmeltonit had to have, otherwise the pods would never have actually gone active when we were testing the fedora-atomic-3 image16:49
sdakeand which api server kube or magnum16:50
sdakeapmelton can you paste your patch wherey ou removed cinder from the code16:50
sdakeall I did was remove the resources16:50
sdakeI thought that would be enough16:50
*** chandankumar has quit IRC16:50
apmeltonsdake: https://gist.github.com/ramielrowe/ada727132b2342f1b7a516:50
sdakeconfigure_docker_storage is what does the config job?16:51
apmeltonyea, it's the script that was failing out cloud-init16:51
*** sdake_ has joined #openstack-containers16:52
*** hongbin_ has quit IRC16:52
*** suro-patz1 has quit IRC16:53
*** vilobhmm1 has joined #openstack-containers16:54
*** sdake has quit IRC16:56
sdake_apmelton thanks for the diff16:58
sdake_that might explain why my resources don't start16:58
sdake_the docker vg is afu16:58
sdake_a hotplug probably wont work of that cinder volume unless there is a dependency on the resource configure_docker_volume16:59
sdake_but I'm not certain16:59
sdake_definately not a nova expert16:59
apmeltonI wonder if we should modify the template so that the volumes are created before the nodes and are just attached on boot16:59
apmeltonon my local box I do see the volume attach calls going through17:00
apmeltonin the nova logs17:00
apmeltonbut, I don't see them from the instance17:00
*** Marga_ has quit IRC17:00
apmeltonor they're at least not at where ever our configure_docker_volume script thinks they should be17:01
*** chandankumar has joined #openstack-containers17:03
apmeltonI gotta go afk for a bit, bbiaf17:04
*** hongbin_ has joined #openstack-containers17:13
*** sdake has joined #openstack-containers17:13
*** sdake_ has quit IRC17:17
apmeltonback17:19
*** Marga_ has joined #openstack-containers17:25
apmeltonso...17:27
apmeltonit looks like the volume eventualy shows up17:27
*** oro has quit IRC17:27
apmeltonI guess we could add a wait in that config script, that keeps checking for the device until it's there17:28
sdake187 tasks in the copr buid lqueue17:28
* sdake groans17:28
*** oro has joined #openstack-containers17:28
apmeltonwhats that?17:29
sdakehttps://copr.fedoraproject.org/status/waiting/17:29
sdakelook down at the bottom, you will see I am building rpms for magnum17:29
sdakewith your patch applied17:29
apmeltonah gotcha17:29
*** Marga_ has quit IRC17:30
apmeltonlooks like it's gonna be at least 9 hours ;P17:30
apmeltonmight not be bad, I might have a better fix in a bit17:30
*** Marga_ has joined #openstack-containers17:30
sdakei can't use cinder, kolla doen't support it17:30
apmeltonah17:30
*** Marga_ has quit IRC17:31
*** fangfenghua_ has joined #openstack-containers17:34
*** Marga_ has joined #openstack-containers17:35
*** gose has joined #openstack-containers17:36
*** fangfenghua_ has quit IRC17:39
*** achanda has joined #openstack-containers17:43
*** suro-patz has joined #openstack-containers17:57
*** rlrevell1 has joined #openstack-containers17:59
*** rlrevell1 has quit IRC17:59
*** rlrevell1 has joined #openstack-containers17:59
*** suro-patz1 has joined #openstack-containers18:00
*** rlrevell has quit IRC18:01
*** jsotoca has joined #openstack-containers18:01
*** suro-patz has quit IRC18:03
*** vilobhmm1 has quit IRC18:03
*** vilobhmm1 has joined #openstack-containers18:03
*** vilobhmm1 has quit IRC18:04
*** vilobhmm1 has joined #openstack-containers18:04
*** sdake has quit IRC18:08
*** sdake has joined #openstack-containers18:09
*** vilobhmm1 has quit IRC18:13
*** vilobhmm1 has joined #openstack-containers18:18
*** jsotoca has quit IRC18:19
openstackgerritMerged openstack/magnum: Remove trailing spaces in container-service.rst  https://review.openstack.org/18090218:20
openstackgerritMerged openstack/magnum: Remove oslo config warnings  https://review.openstack.org/18092618:21
*** vilobhmm1 has quit IRC18:21
*** vilobhmm1 has joined #openstack-containers18:22
*** vilobhmm1 has quit IRC18:24
*** vilobhmm1 has joined #openstack-containers18:24
*** Marga_ has quit IRC18:32
*** Marga_ has joined #openstack-containers18:36
*** fangfenghua has quit IRC18:43
*** sdake_ has joined #openstack-containers18:43
*** sdake has quit IRC18:47
openstackgerritAndrew Melton proposed openstack/magnum: Make docker volume config more resilient  https://review.openstack.org/18111518:52
*** suro-patz1 has quit IRC18:54
*** rlrevell has joined #openstack-containers18:59
*** rlrevell1 has quit IRC18:59
*** suro-patz has joined #openstack-containers19:13
*** suro-patz has quit IRC19:16
*** suro-patz has joined #openstack-containers19:16
*** zul has quit IRC19:16
*** fangfenghua_ has joined #openstack-containers19:23
*** fangfenghua_ has quit IRC19:27
*** Marga_ has quit IRC19:28
*** zul has joined #openstack-containers19:31
*** suro-patz1 has joined #openstack-containers19:44
*** suro-patz has quit IRC19:47
*** achanda has quit IRC20:04
*** achanda has joined #openstack-containers20:04
*** achanda has quit IRC20:08
*** jsotoca has joined #openstack-containers20:15
*** jjlehr has joined #openstack-containers20:21
*** Marga_ has joined #openstack-containers20:23
*** Marga_ has quit IRC20:23
*** Marga_ has joined #openstack-containers20:24
*** oro has quit IRC20:27
*** sdake_ has quit IRC20:29
*** jsotoca has quit IRC20:39
*** Marga_ has quit IRC20:41
*** Marga_ has joined #openstack-containers20:42
*** achanda has joined #openstack-containers20:44
*** adrian_otto has quit IRC20:57
*** oro has joined #openstack-containers20:57
*** Marga_ has quit IRC20:58
*** Marga_ has joined #openstack-containers20:58
*** adrian_otto has joined #openstack-containers21:07
*** sdake has joined #openstack-containers21:08
*** adrian_otto has quit IRC21:08
*** adrian_otto has joined #openstack-containers21:09
*** rpothier has quit IRC21:10
*** sdake_ has joined #openstack-containers21:11
*** sdake has quit IRC21:15
*** rlrevell has quit IRC21:21
*** chandankumar has quit IRC21:27
*** sdake_ is now known as sdake21:30
jjlehrHas anyone seen this error when trying to create or start a container?21:31
jjlehrmagnum container-create < container.json21:31
jjlehrERROR: Timed out waiting for a reply to message ID 034a3b1ce9f04022ade2124c415d354a (HTTP 500)21:31
jjlehrThis is the closest bug I found to it: https://bugs.launchpad.net/magnum/+bug/144330521:32
openstackLaunchpad bug 1443305 in Magnum "container-api stuck" [Undecided,New] - Assigned to FenghuaFang (449171342-q)21:32
*** kebray has quit IRC21:46
*** Marga_ has quit IRC21:50
*** oro has quit IRC21:53
*** sdake_ has joined #openstack-containers21:54
*** david-lyle has joined #openstack-containers21:56
*** sdake has quit IRC21:58
*** hongbin_ has quit IRC22:01
apmeltonjjlehr: that probably means docker was taking too long to create the container22:01
apmeltonjjlehr: check the logs from the conductor and you'll likely see an error about a timeout from docker client22:02
apmeltonI'm working around a short term work around: https://review.openstack.org/#/c/179257/22:02
apmeltonbut to really fix it properly, we're gonna need to make some bigger changes22:03
apmeltonI've started a bp for that here: https://blueprints.launchpad.net/magnum/+spec/async-container-operations22:03
jjlehrapmelton: thanks, I will check the logs22:05
jjlehrSo I'm running devstak on a VM, meaning I'm doing nested virtualization. Do you think that's why docker is taking too long?22:06
apmeltonjjlehr: could be, whats your hypervisor?22:06
*** Marga_ has joined #openstack-containers22:08
jjlehrapmelton: QEMU 2.0.022:09
jjlehrOh, it could just be because of the first docker image pull22:09
apmeltonjjlehr: that too22:09
apmeltonqemu is the hypervisor your devstack vm is running on?22:10
jjlehrapmeltong: Ah, no. The hypervisor my devstack vm is running on is KVM22:11
*** kebray has joined #openstack-containers22:12
*** dboik_ has joined #openstack-containers22:12
*** fangfenghua_ has joined #openstack-containers22:13
apmeltonI haven't tried it with KVM, but supposedly you can accelerate nested virt on KVM: https://wiki.archlinux.org/index.php/KVM#Nested_virtualization22:13
apmeltonbut likely, if you using a large image for your container, it's probably just taking a long time to download22:13
jjlehrI used the cirros one from the example container in dev-quickstart.rst22:14
apmeltonhmmmm22:14
apmeltonwhat kind of bandwidth does your vm have access to?22:15
*** dboik has quit IRC22:16
apmeltonthinking about it... with accelerated nested virt, the extraction of the image will probably be pretty slow22:17
*** dboik_ has quit IRC22:17
apmeltonwithout*22:18
*** fangfenghua_ has quit IRC22:18
jjlehrI'm not sure of the bandwidth but I'm checking now22:19
jjlehrIt's pretty slow22:20
apmeltonless than 50mbps?22:20
jjlehryes22:21
apmeltongotcha22:21
jjlehrI'll try creating the container again with the same image22:21
apmeltonjjlehr: what you might also want to do is hot patch magnum to a higher timeout for docker client22:22
apmeltonjust bump https://github.com/openstack/magnum/blob/master/magnum/conductor/handlers/common/docker_client.py#L46 to like 60022:22
apmeltonreinstall and restart the conductor22:22
*** sdake has joined #openstack-containers22:22
jjlehrOk, I will try that since container-delete timed out as well22:23
apmeltonah hmmmm22:23
jjlehrI ssh-ed into the swarm node and saw that there was no container created22:23
apmeltonjjlehr: what error if any do you see in the conductor logs?22:23
apmeltonjjlehr: did you do a docker ps -a?22:24
jjlehryes22:24
apmeltonactually, you'll need to do from the master node "docker -H tcp://127.0.0.1:2376 ps -a"22:24
jjlehrI thought they're also configured to listen on the unix socket22:25
jjlehrI'll try that though22:25
apmeltonthe docker daemon is, but to talk to swarm, you'll need to use the tcp socket on the master22:25
*** Marga_ has quit IRC22:25
*** sdake_ has quit IRC22:25
*** Marga_ has joined #openstack-containers22:26
jjlehrshouldn't containers created by swarm also be visible by the host nodes?22:26
apmeltonyes, but you'll have to check each node, including the master22:26
apmeltonif you use swarm, you get all nodes with one call22:26
jjlehrAh, I forgot the master is also a host22:27
apmeltonjjlehr: while you're poking around, do you see any exceptions in the conductor's logs?22:27
*** Marga_ has quit IRC22:29
jjlehrapmelton: yes I do. It ends up complaining about "ValueError: Circular reference detected"22:29
*** Marga_ has joined #openstack-containers22:29
apmeltonthere should be another exception just before that22:29
apmeltonthe circular reference is rpc blowing up trying to pass up the exception22:29
apmeltonat least I think that's whats going on with that part22:30
jjlehr"2015-05-07 16:17:08.149 ERROR oslo_messaging._drivers.common [-] Returning exception ('Connection aborted.', error(111, 'ECONNREFUSED')) to caller"22:30
jjlehrthat one?22:30
jjlehrI don't see another one before that22:31
apmeltonah hmmmm22:31
apmeltonthat sounds like the conductor is having trouble connecting to the swarm api22:31
jjlehr[fedora@swarmbay-grzni55sid3y-swarm-manager-nhiw2k5czv2x ~]$ sudo docker -H tcp://127.0.0.1:2376 ps -a22:31
jjlehrFATA[0000] Cannot connect to the Docker daemon. Is 'docker -d' running on this host?22:31
jjlehrBut I ran docker ps -a on both the master and node - no containers22:32
apmeltonon the manager, can you do a systemctl | grep swarm-manager22:32
apmeltondid it error out?22:32
jjlehrTrying to access the daemon over the tcp socket errored but not locally22:33
apmeltonjjlehr: when you did a ps -a against the docker daemons, did you see any swarm containers running?22:33
jjlehrapmelton: I ran "systemctl | grep swarm-manager" on the master. Nothing came up22:33
jjlehrapmelton: No containers whatsoever22:34
apmeltonhmmmmm22:34
apmeltoncan you gist/paste up /var/log/cloud-init-output.log22:34
apmeltonI think that's what it's called22:34
apmeltonthere will be two /var/log/cloud-init* files, it's the non-empty one22:35
apmeltonif they're both empty, something is /really/ wrong22:36
jjlehrhttps://gist.github.com/JanekLehr/82bd99c89cef0302bc6722:36
apmeltonhmmmmm22:36
apmeltondo a "journalctl -u swarm-manager.service"22:37
apmeltonis there anything there22:37
apmeltonjjlehr: this needs to be on the master node btw22:37
jjlehr[fedora@swarmbay-grzni55sid3y-swarm-manager-nhiw2k5czv2x ~]$ journalctl -u swarm-manager.service22:37
jjlehrNo journal files were found.22:37
apmeltonvery odd22:38
jjlehrIt's on the swarm-manager22:38
apmeltondo a run systemctl, do you see any errors?22:38
apmeltondo a 'systemctl'22:38
*** david-lyle has quit IRC22:38
jjlehrvar-lib-nfs-rpc_pipefs.mount     loaded failed failed    RPC Pipe File System22:38
apmeltonis that the only failed?22:39
jjlehrThat's the only one that shows failure, yes22:39
apmeltonand there's no swarm-agent or swarm-manager service?22:39
apmeltonjjlehr: were you running those journalctl commands as room/sudo or as the minion user?22:40
apmeltonas root/sudo*22:40
jjlehras fedora user, so not sudo22:40
apmeltonah yea, try "sudo journalctl -u swarm-manager.service"22:41
*** kebray has quit IRC22:41
jjlehrAh, here is something22:42
jjlehrswarmbay-grzni55sid3y-swarm-manager-nhiw2k5czv2x.novalocal systemd[1]: Dependency failed for Swarm Manager.22:42
*** EricGonczer_ has quit IRC22:42
apmeltonjjlehr: do a "sudo docker images"22:42
apmeltondo you see the swarm image?22:43
jjlehrnope22:43
jjlehrno images22:43
apmeltonwhat happens if you do a "sudo docker pull swarm"22:43
jjlehrIt fails22:44
jjlehrPulling repository swarm22:44
jjlehrFATA[0046] Get https://index.docker.io/v1/repositories/library/swarm/images: dial tcp: lookup index.docker.io: no such host22:44
jjlehrLooks like this is a network issue then22:45
apmeltonjjlehr: from your devstack host, run sudo "/sbin/iptables -t nat -A POSTROUTING -o br-ex -j MASQUERADE"22:45
apmeltonthen try the pull again22:45
jjlehrThat did the trick22:47
apmeltonjjlehr: alright, what I'd do is delete the bay, and then start with a fresh one22:48
jjlehrapmelton: Ok, thank you for your help22:48
apmeltonno problem jjlehr22:49
jjlehrShould bay-create return an error if it can't create the swarm manager properly?22:49
jjlehrAs it couldn't in this case, because it failed to pull the image?22:49
apmeltonjjlehr: ideally22:49
jjlehrI can create a bug for that22:50
apmeltonjjlehr: thanks22:50
apmeltonI was talking about this issue earlier today actually22:50
apmeltonnot only should we not call back to heat that it's complete until the swarm-manager (and agent) is running, but we might also want to wait until all of the nodes show up to the manager22:51
*** sdake has quit IRC22:51
jjlehrThere seem to be a lot of missing communications between magnum and heat22:51
jjlehrbut that's expected at this point :)22:51
apmeltonheh yep22:51
apmeltonwe've got lots of improvements to look forward to :)22:52
*** sdake has joined #openstack-containers22:52
jjlehrI'm looking forward to working on them.22:54
jjlehrhttps://bugs.launchpad.net/magnum/+bug/145293622:57
openstackLaunchpad bug 1452936 in Magnum "bay-create should fail when docker fails to pull swarm image" [Undecided,New]22:57
apmeltonthanks jjlehr22:57
jjlehrapmelton: thank you!22:57
*** jjlehr has quit IRC23:02
*** dboik has joined #openstack-containers23:23
*** dboik_ has joined #openstack-containers23:25
*** dboik has quit IRC23:28
*** Marga_ has quit IRC23:28
*** jjlehr has joined #openstack-containers23:34
*** jjlehr has quit IRC23:34
*** Marga_ has joined #openstack-containers23:42
openstackgerritAndrew Melton proposed openstack/magnum: Add local.sh to dev guides  https://review.openstack.org/18125523:48
*** madhuri_ has quit IRC23:50
*** dims_ has joined #openstack-containers23:50
*** dims has quit IRC23:52
*** hongbin_ has joined #openstack-containers23:57

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