Thursday, 2015-08-13

*** bmace has joined #kolla00:01
*** achanda has joined #kolla00:01
*** weiyu has quit IRC00:01
*** weiyu has joined #kolla00:03
*** weiyu has quit IRC00:06
*** Haomeng|2 has joined #kolla00:07
*** Haomeng has quit IRC00:10
*** banix has joined #kolla00:15
*** achanda has quit IRC00:18
*** achanda has joined #kolla00:25
*** dolpher has joined #kolla00:30
sdakejpeeler please review https://review.openstack.org/#/c/212194/00:31
*** zhiwei has joined #kolla00:39
*** jasonsb has quit IRC00:47
*** achanda has quit IRC00:55
*** achanda has joined #kolla00:58
openstackgerritweiyu proposed stackforge/kolla: dd Dockerfile template for haproxy  https://review.openstack.org/21223200:59
*** rhallisey has quit IRC01:01
*** weiyu_ has joined #kolla01:01
*** echoingumesh has quit IRC01:09
*** echoingumesh has joined #kolla01:09
openstackgerritweiyu proposed stackforge/kolla: Add Dockerfile template for haproxy  https://review.openstack.org/21223201:11
*** echoingumesh has quit IRC01:13
*** echoingumesh has joined #kolla01:13
weiyu_sdake: I changed the commit message, please review once again01:14
sdakeack - enjoy01:14
weiyu_thanks01:15
jpeeler"Job gate-kolla-build-images-centos-rdo not defined"01:17
sdaketry looking again?01:18
jpeeleri thought you were going to do a separate commit, not amend it01:18
sdakei want it to havetemplating from the start01:18
sdakerather then rework the entire thing01:18
sdakeeasier this way01:18
jpeeleranyway, married life doesn't allow me to keep working. will have to look tomorrow if you don't figure it out!01:18
sdakejpeeler it is passing the gate01:21
sdakei think you looked at an old rev01:21
sdakejpeeler does your wife work01:22
*** jpeeler has quit IRC01:23
*** weiyu_ has quit IRC01:26
*** weiyu has joined #kolla01:28
*** erkules_ has joined #kolla01:31
*** erkules has quit IRC01:34
*** unicell has quit IRC01:35
*** echoingumesh has quit IRC01:40
*** echoingumesh has joined #kolla01:41
*** echoingumesh has quit IRC01:45
*** wshao has quit IRC01:49
*** achanda has quit IRC01:51
*** erkules_ has quit IRC01:52
*** erkules_ has joined #kolla01:54
*** diogogmt has joined #kolla01:54
openstackgerritSwapnil Kulkarni (coolsvap) proposed stackforge/kolla: Add Dockerfile template for Cinder  https://review.openstack.org/21191901:55
*** Kennan has joined #kolla02:09
openstackgerritMerged stackforge/kolla: Fix missing config in horizon source image  https://review.openstack.org/20941502:13
SamYaplemorning02:13
Kennanhi SamYaple:02:19
Kennandoes kolla support fedora?02:19
KennanFrom doc it said02:19
KennanNB: Kolla will not run on Fedora 22 or later. Fedora 22 compresses kernel modules with the .xz compressed format. The guestfs system cannot read these images because a dependent package supermin in CentOS needs to be updated to add .xz compressed format support.02:19
KennanI did not quite understand it.02:20
SamYapleKennan: centos built images will not work with Fedora 2202:20
sdakeand the fedora images dont build atm02:20
SamYapleFedora22 built images should work, but Kolla doesnt have fedora22 images02:20
SamYapleadditionally fedora is broken atm02:20
sdakeuse centos images on ubuntu for centos02:20
sdakethat is all that works atm kennan02:21
sdakewe are sorting it out atm02:21
Kennanok sdake: so you means kolla container images is based on centos and ubuntu ?02:21
Kennannot have fedora based image02:22
Kennanright ?02:22
sdakekennan our short term plan is to build containers for centos, fedora, oraclelinux, ubuntu, debian, and rhel02:22
sdakein both from-source install and from-rpm/deb install02:22
sdakeso the container runtime and binaries match the kernel they are running against02:23
sdakefor maximum ioctl, syscall, and netlink compatability02:23
sdakewe are in the process of reworking the docker files to ssupport this model02:23
sdakewithout a million symlinks02:23
sdakewhen we get done, I doubt we will have any symlinks02:23
sdakeyay02:23
sdakethe symlink think was an interesting idea but it just is not ideal02:24
Kennansdake: I checked https://github.com/stackforge/kolla/blob/master/docs/dev-quickstart.md  IF I want to start a dev env, what VM should I use to test the kolla compose ?02:24
sdakeya02:24
sdakecompose is gone02:24
sdakeyou have to use ansible to deploy02:24
sdakeread ansible-deployment.md02:25
sdakeor rst i don't recall which are docs use :)02:25
KennanOK sdake: the doc in dev-quick not updated if you said use ansible, it is still compose02:25
sdakeuse either fedora 21, centos 7, or ubuntu 14.04 for your os02:25
sdakeya we have been in a major refactor o the whole codebase in l3 ;)02:26
sdakei am aware dev-quickstart is not up to date02:27
sdakeI guss i'll fix that after I finish this review queue02:27
sdakewe have like a million patches outstanding02:27
Kennanok sdake: just this https://github.com/stackforge/kolla/blob/master/docs/ansible-deployment.md I read it, seem not easy for me to understand, is it for dev env?02:27
sdakewhich part dont you understand02:28
openstackgerritSam Yaple proposed stackforge/kolla: Update mariadb confs and ports  https://review.openstack.org/21098002:28
openstackgerritSwapnil Kulkarni (coolsvap) proposed stackforge/kolla: Add Dockerfile template for Ceilometer  https://review.openstack.org/21187802:29
SamYaplesdake: https://review.openstack.org/#/c/211871/02:29
SamYapleif youre not busy02:29
sdakejust trying to fix the review bcklog ;)02:30
sdakeoh i'mgetting to it samyaple02:30
Kennansdake: I read it, it needs to know ansible , ok that's ok. But If I want to have a setup-by-setup development environment setup02:30
KennanI did not know how to get that started02:30
SamYapleKennan: im not sure what you dont understand02:30
Kennanansible-playbook -i inventory/all-in-one -e @/etc/kolla/defaults.yml -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml site.yml --tags rabbitmq02:30
sdakesamyaple I think he wants step by step instructions02:31
sdakekennan i can help you get going02:31
SamYapleYou only need to have docker, docker-py, and ansible installed02:31
Kennanjust use this ansible command? can we have all services running?02:31
sdakeou have  to build the images first02:31
sdakewhich is undocumented02:31
sdaketools/build.py -t rdo -T 100002:31
sdakefrom master02:31
KennanThe dev-quickstart.md is easy to understand02:31
Kennanin that style and format02:31
sdakeyes it is step by step02:32
sdakei get what your saying02:32
Kennanit told you what step and step02:32
sdakei did rework the documentation if your interested in seeing02:32
Kennanyes, like to try kolla, it seems very intersting02:32
Kennanand I think good doc is important for new comers02:33
Kennanif they like to try that02:33
sdakehttps://review.openstack.org/#/c/210694/1/docs/dev-quickstart.md02:33
sdakehave a go with that02:33
openstackgerritSwapnil Kulkarni (coolsvap) proposed stackforge/kolla: Add Dockerfile template for Cinder  https://review.openstack.org/21191902:33
Kennansdake: good to know that02:33
Kennanwill check that. Thanks02:33
sdakeif you get stuck ask, can offer steps and help improve the documentation02:34
sdakeafter I get through the review queue i'll merge those documents02:35
sdakecoolsvap you around02:37
openstackgerritweiyu proposed stackforge/kolla: Add Dockerfile template for haproxy  https://review.openstack.org/21223202:37
openstackgerritMerged stackforge/kolla: Cinder-backup is not being configured because config-external spelling error  https://review.openstack.org/21216002:37
openstackgerritMerged stackforge/kolla: Ansible Cinder needs to create the v2 endpoint  https://review.openstack.org/21214002:39
*** achanda has joined #kolla02:45
openstackgerritSam Yaple proposed stackforge/kolla: Implement source fetching for build.py  https://review.openstack.org/21195402:45
openstackgerritSwapnil Kulkarni (coolsvap) proposed stackforge/kolla: Add Dockerfile template for Magnum  https://review.openstack.org/21228902:47
sdakesamyaple i'm not sure the bindmounts are correct on https://review.openstack.org/#/c/211442/ - did you test that change mnaullay?02:48
SamYaplesdake: no i have not tested that change since i did not write it02:49
sdakeoh my bad i cant read02:49
*** jasonsb has joined #kolla02:50
sdakeok guys here is the deal on liberty 302:52
sdakehere is our governance repo entry: https://github.com/openstack/governance/blob/master/reference/projects.yaml#L106202:53
sdakethat is documented here:02:54
sdakehttps://github.com/openstack/governance/blob/master/reference/tags/release_independent.rst02:54
sdakethe tldr version is we don't have to follow any release schedule or milestone schedule02:55
sdakeI would have submitted us for https://github.com/openstack/governance/blob/master/reference/tags/release_cycle-with-milestones.rst02:56
sdakethe TLDR of that model is the standard 6 month 3 milestone + rc + freeze cycle02:56
sdakethe reason I didn't submit us for this is I wanted flexibility atleast during liberty and possibly during mitaka to push scheduels as necessary since we hve a ton of work to do02:57
sdakethe goal is to get to release_cycle_with_milestones02:57
sdakewe have been following this exact model02:57
sdakethis is why I have been strict witth the rleleases and tagging02:57
sdakeliberty 3 concludes aug 3102:58
sdakeit seems clear to me we cant finish teh work we need to finish to meet our objectives for a working system with the basic services we hvae defined02:59
sdakewith support for our various distro options as container oses02:59
sdakethis is why for example I pushed a bunch of work out02:59
sdaketo mitaka02:59
sdaketo relieve a bit of the pressure02:59
sdakenow, our governance allows us to release on whatever cycle we want02:59
*** weiyu has quit IRC03:00
sdakebut for example I dont want us releasing liberty support 3 months after liberty ships :)03:00
sdakelets really focus on the essential/high blueprints for l303:00
sdakehttps://wiki.openstack.org/wiki/Liberty_Release_Schedule03:00
sdakeoctober 15th is the ultimate release date03:01
sdakeI'd like to use the month of september to clean up the bugs we are jamming in at a high right, becaue for example people aren't actually testing the code03:01
sdakeand implement any medium/low blueprints that we find mandatory to serve our mission03:02
sdakeif your working on medium/low blueprints dont interrupt that work03:02
sdakei want to ignore the docker directory for contianers - and focus entirely on "v2" version of docker containers03:02
sdakeso we can get multi-distro container implementation done03:02
sdakei want to continue to use ansible to deploy v1 containers03:03
sdakeafter september 31 (1 mo) I will not be keen on merging any major changes03:03
sdakebug fixes only - that is the 6 mo release cycle RC period03:03
SamYaplewhats teh difference between v1 and v2 containers?03:04
sdakewe will skip the FFE process for this cycle03:04
SamYaplei dont follow03:04
sdakedocker = v1, docker_tempaltes = v203:04
SamYaplearent we scraping 'v1' as soon as we template them all?03:04
sdakeas soon as we test they work reliably yes03:05
SamYapleright, but thatll be in like a week, right?03:05
sdakealso scrapping existing build system as soon as we have confidence in new build system03:05
sdakegod I hope so03:05
SamYapleok good03:05
SamYaplei dont want to have two for any longer than needed03:05
sdakeI feel pretty confident at the rate we are going we will be done by next wed03:05
sdakewith centos source and binary03:05
sdakewe are moving pretty fast03:06
sdakethat will give us partiy03:06
SamYaplesource is a bit trickier since i only have the tarball stuff done03:06
SamYaplebut it works reliably03:06
sdaketarball is good enough to implement with03:06
SamYaplefiar enough03:06
sdakeI noticed coolsvap is not implementing from src tho03:06
sdakeso we need to make sure people aer implementing from source03:06
sdakeits basic cut and paste with a search and replace03:06
*** weiyu has joined #kolla03:07
sdakeso lets really shoot for ESSENTIAL/HIGH at aug 31 (3 weeks) and MED/LOW at SEP 3103:08
sdakeafter aug31 may start boucning med/low that are not essential03:08
SamYaplesdake: how is he not?03:08
SamYaplehe appears to be03:08
sdakei thought i saw some that were not implemented03:08
sdakei coudl be wrong03:08
sdaketired03:08
SamYaplesource only installs in the *-base image03:08
sdakeright03:09
SamYaplehe has ceilometer and cinder03:09
sdakei remember thinking he didn't and then seeing he did in the base03:09
SamYaplehes doing it in both03:09
sdakeso I think its fine03:09
sdakemy mistake03:09
SamYapletesting isnt happening though03:09
sdakewell nobody is deploying containers from v2 that is for certain03:10
SamYaplei did03:10
SamYaplemixed with the v1 that i needed03:10
sdakenice03:10
SamYaplewhat else would testing mean?03:10
sdaketesting that they atlaest build03:10
sdakei am not convinced thats happening either ;)03:10
SamYapleit is not03:11
SamYapleotherwise it would break03:11
sdaketo rectify that the gate is going up (review outstanding) to gate the builds03:11
SamYaplethe gate should point out non-tested patches03:11
SamYapleyea that03:11
sdakefor centos from source and binary03:11
sdakereview is outstanding - waiting on infra03:12
coolsvapmorning03:12
sdakeso goal is to behave like 6 month release cycle03:12
sdakehey coolsvap03:12
sdakebut we have flexiblity to release when we want03:13
sdakeif we released 3 months after liberty nobody would fault us accordingto our governance03:13
coolsvapsdake, were you talking about trove?03:13
sdakebut I think it would be drsaticlly bad for the project03:13
sdakecoolsvap your neutron change looks busted - did you do a test deploy03:13
sdaketrove was pushed ti mitaka03:14
coolsvapsdake, no i did not, my ansible environment gets screwed every other day03:14
sdakevms ftw03:14
sdakewe are not testing our changes - changes to ansible NEED to be tested03:15
sdakechanges to container v2 i am less concerned about but it would be handy if people tested those too03:15
sdakeany questions?03:16
SamYaplecan we stop saying containers v2?03:17
SamYaplefirst, its 'images' and not containers. second, this is a refactor03:17
SamYapleits bugging me alot03:17
sdakecall it whatever03:20
SamYapletemplating03:20
sdakesamyaple did you finish https://blueprints.launchpad.net/kolla/+spec/containerize-dependencies03:20
SamYapleiamge templating if youre fancy03:20
SamYaplesdake: no03:20
sdakewhats left there?03:20
*** diogogmt has quit IRC03:20
SamYapleor rather, i was going to bundle the shade ansible modules into that blueprint since they are deps03:21
sdakeit says its in needs code review03:21
sdakeis it more like in good progress?03:21
SamYapleyea03:21
SamYapleit probably kicked to code review since there was a prior patch03:21
SamYaplebut it was a 'partially' patch03:21
sdakehumans kick to code review03:22
sdakenot infra03:22
SamYapleprobably you then03:22
sdakecoolsvap is https://blueprints.launchpad.net/kolla/+spec/ansible-cinder finished or in code review03:22
sdakepossible there is no log03:22
SamYaplei manage my blueprints03:22
sdakei htought you were done03:22
SamYapleyea03:23
sdakeif it was me03:23
coolsvapsdake, done03:23
sdakemerged?03:23
SamYapleim pretty active on launchpad now if you want to trust the status of my blueprints to relieve some burden sdake03:23
coolsvapyes03:23
sdakesamyaple cool wfm03:23
sdaketested?03:23
coolsvaprhallisey has copule of bugs on it03:23
coolsvapyes03:23
SamYapleyea its broke right now03:23
sdakecooslvap wfm, can you set to implemented then03:24
*** jtriley has joined #kolla03:25
sdakecooslsvap so your working on ceiloemter atm?03:26
sdakeor something else03:26
sdakethe onlly thing that concerns me is we are half way through the sprint and atleast half our blueprints are not started :(03:27
SamYaplesdake: do you know the kernel for the gate?03:29
sdakefedora 21, iirc 3.1903:29
SamYapleubuntu?03:29
SamYapleor a way to find out03:29
coolsvapsdake yes03:29
sdakeour build gates are f203:29
sdake103:29
SamYapleim aware03:29
SamYaplewe need an ubuntu one though03:30
coolsvapworking on ansible-ceilometer03:30
sdakecoolsvap nice :)03:30
sdakewell keep cracking on that one03:30
sdakei know this template thing has been kind of disruptive03:30
*** weiyu has quit IRC03:30
sdakebut i want to get the abi to containers in a stable state03:30
sdakeand i really want multi-distro containers03:30
sdakesamyaple no idea on ubuntu trusty i think whatever version that is03:31
SamYaplesdake: trusty has several versions03:31
sdakeyou can ask on #openstack-infra03:31
SamYaple3.19 being the most recent03:31
sdakeif its brand new i highly dobut it has 3.19 kernel03:32
sdakegate oses lag couple releases03:32
SamYapleits not03:33
SamYapleits been in the repo 4 months03:33
sdakestill lags03:33
SamYaplebut its the hwe kernel03:33
SamYapleubuntu kernels are different than fedora sdake03:33
sdakeya doubt the gate is running a hardware enablement kernel03:33
SamYaplefor the life of 14.04 (trusty) it will remain 3.1303:33
sdakei dont know for sure03:34
sdakeask on #openstack-infra03:34
sdakeyou are in need of hwe kernel for overlayfs?03:34
*** weiyu_ has joined #kolla03:34
SamYapleno AUFS03:37
SamYapleits not like the machine has btrfs support03:37
SamYaplewell i mean the kernel does but it doesnt have a btrfs disk03:37
sdakecan't you use devicemapper?03:37
SamYaplenot with ubuntu03:37
sdakereally didn't know that03:37
SamYapleold libs03:38
sdakehow do people use docker with 14.04 3.13 kernel?03:38
SamYapleyou would have to statically build docker for device mapper03:38
SamYaplesdake: i use btrfs03:38
SamYaplecan we get a volume attached to the gate?03:38
SamYapleor a an ephemeral disk?03:39
sdakeasking wrong dude03:39
SamYapleim askign channel03:39
sdakeasking wrong channel :)03:40
SamYaplehow am i suppose to know03:41
SamYapleoh i mean i was asking infra channel03:41
SamYaplenot this channel sdake03:41
sdakeoh03:41
*** jtriley has quit IRC03:49
*** dolpher has quit IRC03:50
SamYaplesdake: so it looks liek we can do this03:54
SamYaplehow do i get an ubuntu gate?03:54
sdakemake it work with tox first03:54
sdakegate second03:54
SamYapleim not sure i follow03:55
sdakeatm jpeeler's script has no way of passing arguments to the test script03:55
sdake2 minutes reviewing03:55
sdakeok tox04:00
sdakehttps://github.com/stackforge/kolla/blob/master/tox.ini#L4504:00
sdakeyou will notie it doesn't pass type or distro04:00
SamYaplei see centos in that name04:01
SamYapleand rdo and src04:01
sdakeits the commands that run tox04:01
sdaketestr is the run script04:01
sdaketestr runs all the test cases in tests directory04:02
sdakei think at the moment it is selected to run only test_build04:02
sdakethis is based upon build-all-docker-images; https://github.com/stackforge/kolla/blob/master/tox.ini#L5404:03
sdakeit worked when i tested it04:03
sdakebut jeff has recently changed the test script04:03
sdaketo run build.py directly04:04
sdakewhat needs to happen is arguments need to be passed to testr in some way04:04
sdakenot sure how04:04
sdaketo set distro and type04:04
sdakethe testenv: is a inheritence operation04:05
sdakeit will run everyting in testenv first04:05
sdakefollowed by what is in images-centos-rdo04:05
sdaketox -eimages-centos-rdo04:05
sdaketo fire it off04:05
sdakethis is the gate integration point04:05
SamYaplewhat do we want this to look like, 3 support 2 network 2 compute04:08
sdakethis code runs the job: https://review.openstack.org/#/c/212194/04:08
SamYaple?04:08
sdakeare you doing docker in docker?04:08
SamYapleyea04:08
SamYaplekeeping in mind there is virtually zero overhead for having a different host04:08
sdakelet focus on getting the images built first04:09
sdakeand expand from there04:09
openstackgerritMerged stackforge/kolla: Add Dockerfile template for haproxy  https://review.openstack.org/21223204:09
SamYaplewell thats what jpeeler is doing is it not?04:09
sdakenot sure he is working on ubuntu image building04:09
SamYapleim not either. im wroking on functional testing04:09
coolsvapsdake, can you tell me the the copr for fedora magnum?04:09
sdakecoolsvap i linked it in the review04:10
coolsvapoh missed it sorry04:10
sdakeyou will have to click around to find the repo file04:10
coolsvapgot it04:11
sdakewe need tox integration for building images before tox integration for docker in docker04:11
SamYapleyea but thats not me, thats jpeeler04:12
sdakeso you are  dependent on jpeeler for that (or me)04:12
SamYapleim doing the dind04:12
*** weiyu_ has quit IRC04:12
sdakedocker in docker will look alot like image building plus running whatever test script or tool ou come up with04:13
SamYaplewhat is the disconnect here?04:14
sdakeimage bulding gating isnt' done04:14
sdakeits a dependency04:14
SamYapleyea but im not hte one working on that04:14
sdakeyes but your blocked because that job isn't finished04:14
SamYapleim not blocked04:14
openstackgerritSwapnil Kulkarni (coolsvap) proposed stackforge/kolla: Add Dockerfile template for Magnum  https://review.openstack.org/21228904:15
SamYaplehow am i blocked04:15
SamYapleI still have to write the scripts04:15
sdakehow are you going to build images?04:15
sdakethe integration point for dnd shoud be tox as well04:15
SamYaplei dont understand what you think is happening here04:16
sdakepreferrably in python04:16
SamYapleit wont be python04:16
sdakewe run test_build04:16
SamYapleits bash scripts04:16
sdakethenw erun the dnd04:16
SamYapledind, not dnd04:16
sdaketest build doesn't work for your use case04:16
SamYaplei have no idea what youre talking about sdake. i still have to write the dind images, i still ahve to test the setp04:17
SamYaplewhat does this have to do with the gate04:17
sdakehere is the flow - gate runs tox -eimages-centos-rdo04:18
sdakegate runs tox -e dind04:18
sdaketox runs your script04:18
SamYapleyes04:18
SamYaplei still have to write that script04:18
SamYaplehow am i blocked04:18
sdakeyou aren't blocked on writing the script04:19
sdakeyou are lbocked on getting  it into the gate04:19
SamYaplei know...04:19
sdakewe also need a setup_gate_ubutnu.sh04:20
sdakethat runs before tox04:20
sdakelook at this file:04:20
*** dolpher has joined #kolla04:20
sdakehttps://review.openstack.org/#/c/212194/6/jenkins/jobs/kolla.yaml04:20
sdakeline 3904:21
*** unicell has joined #kolla04:21
SamYaplewe dont need a seperate gate script04:21
sdakewhen you have dnd, you would add a line 40 which runs tox -e dind-ubuntu-src04:21
SamYapledind04:21
sdakethe current one is fedora specific04:21
SamYapleyea but we dont need a seperate one04:22
SamYaplewe can tweak the existing one04:22
sdakei had curl in there for downloading docker - jpeeler -1 the review04:22
sdakenow it uses yum which is fedora specific04:22
SamYaplei dont understand whats goign on right now. why are you acting as if there are lots of blockers?04:23
SamYaplethat script can have an if state ment, if ubuntu if redhat04:23
sdakeagree that is not a blocker04:23
SamYaplethis dind script doesnt rely on any of that04:23
sdakejust telling you what needs to be done - you did ask04:23
SamYapleno i asked about an ubuntu gate04:23
SamYapleso i could run some commands on it04:23
SamYapleliek ifconfig04:23
sdakechanging project-config takes a long time, much faster to use tox integration04:24
sdakethat means that structure for that code i inked last is always run04:24
SamYaplei need an ubuntu machine in the gate. if that means changing/adding to project-config we still haveto do that04:25
sdakehttps://review.openstack.org/#/c/212194/6/jenkins/jobs/projects.yaml04:25
sdakethis file runs the job04:25
sdakejobs04:25
sdakeI can add another job with ubuntu s;ecific in it04:26
SamYapleill add it04:26
sdakeit would run the 2nd to last pate04:26
SamYaplei believe we need 204:26
sdakeif you do make it a dep of my patch pls04:27
SamYapleoh thats not merged in yet04:27
sdakeprecisely04:27
sdakeblocker04:27
SamYaplethen yea we shoudl just tweak it04:27
SamYaplewe need that to be binary, no?04:28
SamYaple'rdo' isnt going to exist04:28
SamYaplealso, why src not source04:28
sdakerdo is the tox job04:29
sdakethere is no good reason for it not to be source, but the tox job is src04:31
SamYaplehttps://review.openstack.org/#/c/212194/6/zuul/layout.yaml04:31
SamYaplebut youre not adding it04:31
sdakeif you want it changed, change the tox jobs and i'll modify porject-config04:31
sdakei am not adding it as voting04:31
sdakeit is nonvoitng04:31
sdakevoting means it rejects the patch until it passes04:31
SamYaplei am aware or what it means04:32
SamYaplelook you arent adding it as a check04:32
sdakegood point i need to edit the patch04:33
SamYapleso can you add the ubuntu stuff now as well?04:33
sdakei think this ptch will possily get a -1 because i've done two gates in one patch04:35
sdakei'm not doing 304:35
sdakeit would have to be a separate patch04:36
SamYaplei dont understand what that matters?04:36
sdakethe infra team suffers from erious reviewer fatigue04:36
sdakethe easier the patch is to review the faster it hits the repo04:36
SamYaplei am positive you are just being difficult at the moment04:36
sdakeI also dont know how to add ubuntu gates so i will need to consult infra team in morning04:36
*** dolpher1 has joined #kolla04:37
sdakemy goal at the moment with this patch is build testing04:37
sdakei really dont know how to add an ubuntu gate04:37
sdakebut i can figure it out04:37
SamYapledevstack-ubuntu04:37
sdakebut everyone is long asleep04:37
sdakei've been going since 5am and its 10pm04:37
sdakeand i'm hungry04:37
sdakehad zero food today04:38
SamYapleis that whats causing the difficultness04:38
sdaketrying to get wife fed04:38
sdaketrying to get wife to feed me atm04:38
sdakeand also, reviewer fatigue of the infra team, it needs to be a separate patch04:38
sdakeif you want it i will make it happen04:38
sdakei need a tox target to work with04:39
*** dolpher has quit IRC04:39
SamYapleill submit a patch with a dep on yours, but again I am positive had you wanted it it would be in this patch and you are just being difficult04:39
sdakei hate fucking with project-config - it is really complicated04:39
sdakeand it takes on order of 3-5 days to get a merge out of it04:40
sdakeso yes i want to keep patches as small as possible to it04:40
SamYaplethis changes nothing from what i said04:40
sdakei absolutely do not want it in this patch04:41
sdakei'm good with a dependency patch04:41
sdakei absolutely want functional testing04:41
SamYaplewhich you are absolutely delaying04:41
sdakei offered to do the work on the gate04:41
sdakei need a tox target04:41
*** unicell1 has joined #kolla04:44
*** unicell has quit IRC04:45
*** banix has quit IRC04:52
*** weiyu has joined #kolla04:58
*** dolpher has joined #kolla05:00
*** dolpher1 has quit IRC05:01
openstackgerritSam Yaple proposed stackforge/kolla: Remove bootstrap.yml abstraction for haproxy  https://review.openstack.org/21232805:08
openstackgerritSteven Dake proposed stackforge/kolla: Kolla: add non-voting build-centos-binary job  https://review.openstack.org/21233005:09
openstackgerritSteven Dake proposed stackforge/kolla: Kolla: add a gate for kolla-centos-source  https://review.openstack.org/21233105:09
openstackgerritSam Yaple proposed stackforge/kolla: Fixes typo in nova.conf  https://review.openstack.org/21233205:09
openstackgerritSam Yaple proposed stackforge/kolla: Remove bootstrap.yml abstraction for haproxy  https://review.openstack.org/21232805:10
* sdake growls05:14
SamYapleyea thats going to hit them right in the reviewer fatigue sdake05:18
sdakei fixed a bunch of errors05:18
sdakebecause I have fatigue05:18
SamYapleim going to -2 them just because05:19
SamYapleyoure welcome05:21
*** weiyu has quit IRC05:26
sdakesamyaple if you build an ubuntu gate use these as deps05:37
sdakehttps://review.openstack.org/#/c/212346/105:37
sdakefinally dinner05:47
openstackgerritSteven Dake proposed stackforge/kolla: Change the tox targtes to match naming  https://review.openstack.org/21234705:47
openstackgerritSteven Dake proposed stackforge/kolla: Change the tox targtes to match naming  https://review.openstack.org/21234705:58
openstackgerritSam Yaple proposed stackforge/kolla: Remove bootstrap.yml abstraction for mariadb  https://review.openstack.org/21235206:03
openstackgerritSwapnil Kulkarni (coolsvap) proposed stackforge/kolla: Add Dockerfile template for Cinder  https://review.openstack.org/21191906:05
*** sdake has quit IRC06:07
*** weiyu has joined #kolla06:09
*** coolsvap_ has joined #kolla06:45
*** coolsvap_ has quit IRC06:46
Kennanhi SamYaple:07:06
Kennanthere?07:07
*** weiyu has quit IRC07:37
*** britthou_ has quit IRC07:41
*** openstackgerrit has quit IRC07:41
*** akscram has quit IRC07:41
*** britthou_ has joined #kolla07:42
*** openstackgerrit has joined #kolla07:42
*** akscram has joined #kolla07:42
*** britthouser has joined #kolla07:43
Kennanhi coolsvap:07:43
Kennanthere?07:43
coolsvapKennan, hi07:43
coolsvapwhatsup?07:43
Kennanhi, I checked in https://review.openstack.org/#/c/210694/07:44
Kennanit seems have some disagree to use ansible07:44
Kennansomeone said to use compose07:44
KennanI am not sure what's the direction for that07:44
Kennancoolsvap: do you know that?07:44
*** britthou_ has quit IRC07:45
*** openstackgerrit has quit IRC07:45
*** akscram has quit IRC07:45
coolsvapi think its still a discussion, but i feel a rework may be expected07:46
coolsvapKennan, ^^07:46
Kennanwhat rework? change to ansible?07:46
coolsvapi am not exactly sure, but as rhallisey said in the last comment, a rework maybe done to make it compatible with config-external07:48
*** weiyu has joined #kolla07:49
*** weiyu has quit IRC07:54
*** weiyu has joined #kolla07:56
*** akscram has joined #kolla07:58
*** openstackgerrit has joined #kolla08:00
*** tfukushima has joined #kolla08:12
*** Kennan has quit IRC08:14
*** jmccarthy has joined #kolla08:15
*** kjelly has joined #kolla08:15
*** weiyu has quit IRC08:16
*** akwasnie has joined #kolla08:19
*** Kennan has joined #kolla08:21
*** weiyu_ has joined #kolla08:26
*** weiyu_ has quit IRC08:27
*** gfidente has joined #kolla08:29
*** weiyu_ has joined #kolla08:32
*** achanda has quit IRC08:33
*** weiyu_ has quit IRC08:36
*** weiyu has joined #kolla08:49
*** vbel has quit IRC09:09
*** vbel has joined #kolla09:09
*** tfukushima has quit IRC09:13
*** tfukushima has joined #kolla09:14
*** tfukushima has quit IRC09:14
*** tfukushima has joined #kolla09:14
*** weiyu has quit IRC09:17
*** weiyu has joined #kolla09:18
*** weiyu has quit IRC09:23
*** weiyu has joined #kolla09:24
*** dolpher has quit IRC09:30
openstackgerritAlicja Kwasniewska proposed stackforge/kolla: Add Dockerfile template for neutron  https://review.openstack.org/21244209:48
SamYapleKennan: compose is non-functional at the moment10:08
SamYapleit is unclear if it will become functional again10:08
openstackgerritSam Yaple proposed stackforge/kolla: Implement source fetching for build.py  https://review.openstack.org/21195410:15
openstackgerritSam Yaple proposed stackforge/kolla: Removed config-internal check.sh for cinder  https://review.openstack.org/21087310:18
SamYaplepbourke: https://review.openstack.org/#/c/212332/10:18
SamYaplethats currently breaking ansible10:18
*** weiyu has quit IRC10:19
*** weiyu has joined #kolla10:20
*** erkules_ is now known as erkules10:31
*** erkules has joined #kolla10:31
openstackgerritSam Yaple proposed stackforge/kolla: Remove bootstrap.yml abstraction for rabbitmq  https://review.openstack.org/21245710:35
*** Haomeng|2 has quit IRC10:36
openstackgerritSam Yaple proposed stackforge/kolla: Remove bootstrap.yml abstraction for mariadb  https://review.openstack.org/21235210:36
*** Haomeng|2 has joined #kolla10:36
*** zhiwei has quit IRC10:37
*** zhiwei has joined #kolla10:37
*** tfukushima has quit IRC10:43
*** tfukushima has joined #kolla10:44
*** tfukushima has quit IRC10:44
*** tfukushima has joined #kolla10:45
*** Haomeng|2 has quit IRC10:51
*** Haomeng|2 has joined #kolla10:52
openstackgerritAlicja Kwasniewska proposed stackforge/kolla: Add Dockerfile template for neutron  https://review.openstack.org/21244210:57
*** tfukushima has quit IRC11:09
*** rhallisey has joined #kolla11:17
*** weiyu has quit IRC11:21
*** zhiwei has quit IRC11:54
openstackgerritRyan Hallisey proposed stackforge/kolla: All the Cinder services need to reference the correct config  https://review.openstack.org/21215712:05
*** tfukushima has joined #kolla12:09
*** tfukushima has quit IRC12:14
openstackgerritRyan Hallisey proposed stackforge/kolla: Cinder-backup's config-external is missing #!/bin/bash  https://review.openstack.org/21250312:17
openstackgerritMerged stackforge/kolla: Fixes typo in nova.conf  https://review.openstack.org/21233212:20
*** tfukushima has joined #kolla12:31
*** jtriley has joined #kolla12:31
*** Haomeng has joined #kolla12:37
*** Haomeng|2 has quit IRC12:39
*** jtriley has quit IRC12:40
openstackgerritAlicja Kwasniewska proposed stackforge/kolla: Add Dockerfile template for neutron  https://review.openstack.org/21244212:51
*** sdake has joined #kolla12:53
*** sdake_ has joined #kolla12:54
*** sdake has quit IRC12:57
*** openstackgerrit has quit IRC13:01
*** openstackgerrit has joined #kolla13:02
sdake_morning fine folks13:07
harmwSamYaple: you happen to be ansible core dev?13:08
harmwmorning sdake_13:08
harmwor rather, midday or something13:08
sdake_pbourke ping13:16
*** tfukushima has quit IRC13:23
*** athomas has joined #kolla13:24
*** tfukushima has joined #kolla13:24
*** diogogmt has joined #kolla13:28
sdake_harmw pretty sure samyaple is not, as he has had to wait on reviews for his submissions prior13:32
sdake_but he is definately an expert in ansible ;)13:32
sdake_jpeeler ping13:33
pbourkesdake_: morning13:39
sdake_hey pbourke13:41
sdake_so our build from oracle in the templates is busted13:41
sdake_could you look into repairing it13:41
pbourkesdake_: sure13:41
sdake_is there an epel like thing for oracle linux?13:41
sdake_i'd like atleast from source to work for all our distro models13:41
*** jtriley has joined #kolla13:42
sdake_build.py --template -t source -something oraclelinux13:42
sdake_is how you build13:42
pbourkewe're definitely missing some packages. folks are working internally to get them available from http://public-yum.oracle.com/13:43
pbourkemostly they should build though, I'll go through and add /bin/false's for the missing ones13:43
pbourkethat work for you?13:43
harmwyea sdake_, ansible is lacking a decent amount of cores afaik :p13:43
harmwpbourke: you had a question for me the other day?13:44
pbourkeharmw: ah, no, just we were discussing kolla proxy issues13:44
sdake_from source shouldn't ned a bin false13:44
harmwpbourke: I noticed a bug already13:44
sdake_the issue with oraclelinux is the bae image13:44
pbourkeharmw: and I knew you were one of the ones who is interested in that13:44
harmwin the vagrant setup13:44
sdake_from rdo is another matter but would be nice if that works as well13:44
harmwhehe yea, well, not anymore :) I'm free from that sucky corporate proxy, thank god13:45
sdake_that may require some epel-like repo for oraclelinux13:45
pbourkesdake_: hmm ok let see where we're at13:45
pbourkethe rate of change is lightning at the moment so hard to stay on top of it all!13:46
sdake_pbourke the goal is to add gates for all bin/source and distro combos - i'd like to that to happen by 31st13:46
sdake_agree we are moving fast but we are all on the same page - so thats a plus :)13:46
sdake_just to be clear we expect from source to work the same in all containers except base13:47
sdake_which may need to install the from source build toolchain13:47
sdake_from binary we expect either to use RDO or distro packaging if its available13:47
*** diogogmt has quit IRC13:49
openstackgerritMerged stackforge/kolla: Removed config-internal check.sh for cinder  https://review.openstack.org/21087313:50
sdake_akawasnie small changes neded on https://review.openstack.org/#/c/212442/ - if you get them in today we can get em merged :)13:58
pbourkeI really wish we could get live output from the new build script14:01
akwasniesdake, I will correct them in a while, thanks14:06
*** jtriley_ has joined #kolla14:06
sdake_cool thanks akawsnie14:06
sdake_pbourke harmw can you guys ack https://review.openstack.org/#/c/212347/14:07
sdake_its  needed for the gate14:07
sdake_I understand if you dont totally understand why - just take my word for it :)14:07
*** jtriley has quit IRC14:09
*** devlaps has quit IRC14:24
akwasniesdake, I have one question about your second comment here https://review.openstack.org/#/c/212442/3/docker_templates/neutron/neutron-base/Dockerfile.j214:27
akwasniewhich part from 'source' block won't work for ubuntu/debian?14:27
vbelsdake:  build.py --template -t source -something oraclelinux does not work? :) Checking now14:28
*** absubram has quit IRC14:29
*** jpeeler has joined #kolla14:29
sdake_rhallisey are you good to abaondon https://review.openstack.org/#/c/210417/14:30
sdake_akwasnie the part that it wont work in an ubuntu/debian environment.14:30
sdake_vbel --something is actually a different parameter that i don't recall atm - use --help option to find it14:30
*** dwalsh has joined #kolla14:31
sdake_rhallisey and this one https://review.openstack.org/#/c/210417/14:33
pbourkevbel: tools/build.py --template --type source --base oraclelinux14:36
vbelok thanks!14:36
pbourkevbel: its missing pkgs in base that we dont have in public-yum14:36
pbourkevbel: unsure of best way forward, only looked at it quickly14:36
vbelI see, ok, will look into it further14:37
sdake_https://blueprints.launchpad.net/kolla/+spec/one-data-container14:39
*** unicell has joined #kolla14:43
*** unicell1 has quit IRC14:43
*** tfukushima has quit IRC14:46
openstackgerritAlicja Kwasniewska proposed stackforge/kolla: Add Dockerfile template for neutron  https://review.openstack.org/21244214:48
*** tfukushima has joined #kolla14:48
rhalliseysdake_, left a comment there14:48
sdake_rhallisey rockin thanks14:50
sdake_i'm asking my docker pro friends14:50
sdake_can you ask dwalsh the difference between VOLUME and -v /var/lib/mysql:/var/lib/mysql14:50
sdake_or ask him better yet to comment on that blueprint14:50
sdake_or some other appropriate expert14:51
rhalliseykk14:51
sdake_if there is no difference then I think proceeding is solid14:51
sdake_this works for the case of using compose with tripleo as well14:51
sdake_since you can use the "name" operation to name the container14:51
*** blahRus has joined #kolla14:52
rhalliseyyup agreed14:52
* rhallisey walks downstairs14:52
*** achanda has joined #kolla14:53
*** diogogmt has joined #kolla14:54
sdake_pbourke you were in that thread on the data containers, please comment on the blueprint https://blueprints.launchpad.net/kolla/+spec/one-data-container14:56
*** sdake_ is now known as sdake14:56
vbel VOLUME and -v /var/lib/mysql:/var/lib/mysql:  performance vise or location?14:57
vbel-wise14:57
rhalliseyis whether using VOLUME and -v both do the same thing15:00
rhalliseywhich is bind mount15:00
rhalliseyand if they do different things then what is the performance impact15:01
sdakeVOLUME clearly is a bit diffeerent in that iit *always* bindmounts15:01
sdakerhallisey what did dwalsh say15:03
rhalliseyhes at flock.  I forgot he told me on Monday15:03
*** achanda has quit IRC15:03
sdakeany other experts you can tap15:03
sdakeperhaps you can ask appinfra-strategy list15:03
sdakeand point to our blueprint for more information15:03
sdakeits a shame that list isn't public15:04
sdakeit should be15:04
rhalliseyI'll ask15:04
sdakeso much good info there15:04
sdakethat is the one thing I miss about red hat :)15:04
sdakerhallisey thanks15:05
sdakeif you can hunt down docker pros on the storage side too that would help15:05
vbel-v x:y is a folder from host, no need data container at all. We need to backup host folder instead of container what is not very Docker-like15:05
sdakevbel yes but VOLUME doesn't actually change the contents of the volume, it is also a folder on the host imo15:06
sdakerather change the contents of the image15:06
sdakethe image is immutable15:06
vbelyes, just layer above15:06
sdakethat is like the whole point of docker ;-)15:06
sdakeyes but it can't change15:06
sdakethe way it changes is by bindmounting a host volume15:06
sdakerhallisey send dwalsh an email he may respond from flocker as well15:07
sdakeplease and thank you :)15:07
vbelit's a new growing image based on that immutable image15:07
sdakeno, images cannot grow in docker15:07
sdakeit is a straight up bindmount15:07
sdakeatleast that is my understanding15:07
vbelI mean container - we freeze it and save as image :)15:07
sdakeso lets talk about the backup case15:08
sdakepbourke you may have interet here too15:08
vbelit's like binary vs process15:08
sdakehow do you actually backup a data container15:08
sdakei know its not growing because we can run /bintrue and the data container persists15:08
sdakewhen used with the volumes_from command15:08
sdakeit grows by  bindmounting15:11
sdakethe only difference I think in VOLUME is it always creates the bindmount15:11
sdakevs -v which is a bindmount create on demand15:11
sdakeall the behaviors I have ever seen with -v vs VOLUME show that it is a bind mount15:12
sdakethey are both that is15:12
sdakevbel thoughts on that?15:12
sdakeour main goal is to be able to backup the data container, perhaps we can test if we can back up a -v specified bindmount data container15:12
vbelyes, agree, -v is just another folder on host, somewhere in /var/lib15:13
vbelsorry volume is just another folder on host, somewhere in /var/lib15:13
vbelso -v and volume are very similar15:13
sdakevbel you seem fast at testing POC ideas, any chance you could test if we can do backup with -v15:13
pbourkethe data vol abstraction is useful though15:14
sdakewe are keeping the data volume15:14
sdakewe are just not keeping VOLUME15:14
sdakedoes that answer your concern pbourke?15:14
sdakewe are making a data volume dynmaically vs statically15:14
pbourkesdake: not sure, can you summarise why?15:15
sdakewhy do this?15:15
sdakeso we can get rid of the data containers that are essentially the same thing15:15
sdakewith different VOLUME specifiers15:15
sdakethe key is we need to be able to backup and restore the data container with -v15:15
sdakeif we can do that, we can use one image15:15
sdakethe reason we need multiple images now is we have different VOLUME specifiers in the data containers15:16
sdakebtw, I puta  link to tihs log in the discussion15:16
vbelbackup of data contaners is done with a bit indirection - we do something like docker run --volumes-from dbdata -v $(pwd):/backup centos tar cvf /backup/backup.tar /var/lib/mysql15:16
sdakeof the blueprint15:16
rhalliseyman no takes on the subject15:17
pbourke-v is bind mount though?15:17
sdakerhallisey hunt the floor at rht, someone has to know :)15:17
vbel-v is telling docker to use backdoor as user specified15:17
sdake-v is a bind mount for sure15:17
rhallisey<agoldste> rhallisey: the dockerfile instruction is the same as running -v /some/path but it's not a bind mount. it just instructs docker not to record diffs to that path when generating layers15:17
sdakefantastic answer15:18
sdakeask him how confident he is in his answer15:18
sdakenot to be insulting or anything :)15:18
rhalliseyhe seems pretty confident15:18
rhalliseylol15:18
*** dwalsh has quit IRC15:18
rhalliseymaybe I can phrase this into a question15:19
vbelso if volume is in docker we save data inside and can export, right?15:19
vbelso if volume is in dockerfile we save data inside and can export, right?15:19
sdakevbel if it could be validated that would help :)15:20
vbelI will check15:20
sdakewhat i'd like to know is if we don't use VOLUME key, and just use -v bindmount15:20
sdakeif we can bckupd ata container15:20
sdakeif we can, that solves backkup case15:21
sdakesince we can use same base image with different names, that provides different -v bindmount points15:21
sdakeit would also be good to verify that15:21
sdakedocker-dev is AFK ATM :)15:21
sdakeagoldstein seems to think VOLUME just tells docker not to store changes in that path15:22
sdakerhallisey that is hte question to phrase to him15:22
sdake"so just to be clear, VOLUME just tells docker not to store changes to that path sepcified in VOLUME?"15:22
sdakestore changes in later layers that is15:23
*** dwalsh has joined #kolla15:24
sdakerhallisey a followup question "if the dockerfile instruction is the same as running -v /some/path:/some/path, how its it not a bindmount?15:25
sdakerhallisey can you ask him to join our channel15:27
sdakeso we dont have to play telephone15:27
rhalliseyI asked him a bunch of things15:27
rhalliseyI think he disappeared15:27
sdakeyes but it not logged!15:27
sdakeok15:27
sdakei would disappear if someone griled me too :)15:27
rhalliseygive it a moment15:27
rhalliseylol15:27
rhalliseyI feel like I'm fishing right now lol15:28
rhalliseysee he bites at the question15:28
rhalliseys/he/who15:28
sdakenote upstream docs: https://docs.docker.com/userguide/dockervolumes/15:29
sdakerereading for the 100th time15:29
rhalliseycompare that to the link I put into the BP15:29
rhalliseyWe’re going to look at the two primary ways you can manage data in Docker.15:30
rhallisey    Data volumes, and15:30
rhallisey    Data volume containers.15:30
rhallisey^ isn't that the answer?15:30
rhalliseythat they differ15:31
sdakestill reading15:31
rhalliseyI'm going to get some food15:32
rhalliseymaybe we will get a response back soon15:32
sdakeI think the scenario we are after15:32
sdakeis docker run -v /var/lib/mysql mysql_data15:32
sdakedocker run volumes_from mysql_data mysql15:33
rhalliseyinteresting15:33
sdakesyntax isn't totally correct but you should get the idea15:33
rhalliseyI do15:33
pbourkeI dont think that will carry the benefits of a data container15:33
pbourkebut you guys have thought about this way more than I have, just my instinct really15:34
rhalliseyso what's to stop the argument of: docker run -v /var/lib/mysql mysql_app /bin/sleep infinity15:34
rhalliseypbourke, I'm not yet convinced either, but doing -v outside for the datacontainer is something we arn't doing at the moment15:35
sdakerhallisey the problem with that is then the data container ends up with a bunch of stuff from mysql within it15:35
sdakei'm pretty sure that is what sam has implemented in the ansible data containers15:35
sdakesec let me find a reference for that15:35
rhalliseysdake, I agree with what your saying, but that's what sam's argument is15:35
pbourkebind mounts are poluting the host15:35
rhalliseythat it doesn't matter15:35
sdakebind mounts happen with VOLUME operations15:36
pbourkeyes but its abstracted under the docker-engine15:36
sdakepbourke had the concern about the extra data15:36
sdakejust trying to make the various stakeholders satisified with teh solution :)15:36
sdakehttps://github.com/stackforge/kolla/blob/master/ansible/roles/glance/tasks/start.yml#L1715:37
sdakethis is the volumes-from operation15:37
pbourkeI dont actually see the big deal with maintaining the data images?15:38
pbourkethey're very small15:38
pbourkedont change often15:38
rhalliseypbourke, I don't either15:38
rhalliseyI don't see them ever changing15:38
sdakehttps://github.com/stackforge/kolla/blob/master/ansible/roles/glance/tasks/bootstrap.yml#L4515:38
sdakepbourke i have a general philosophy on engineering to remove anything not absolutely necessary to run the system15:39
sdakethe reason I want to tackle this now is because people will start to standaardie on our models15:39
sdakerhallisey sam does just ass I explained above, but uses the various api iamges to create the data containers15:40
pbourkethey are necessary though15:40
sdakewhich results in a bunch of extra crap in the bindmounted directory15:40
pbourkeyou're just trying to put them in a different form15:40
sdakemultipel data containers running is necessary15:40
sdakeithink we can get away with one data container image however15:40
rhalliseyI think at the very least we move away from using api images with mounts as out data container15:40
pbourkeusing the same logic you could say we should just have one dockerfile for everything15:41
rhalliseybut, I feel like it's more work to make 1 container than leave it as is15:41
rhalliseysince we already have a working set15:41
sdakewe could have one dockerfile with the jinja templating but that owuld be overly complex imo :)15:41
rhalliseyhehe15:41
rhalliseyI noticed that15:41
pbourkeyup15:41
sdakeif we leave it as is, we will be using tthe api containers15:41
rhalliseysdake, that needs to change imo15:42
sdakethis solution is actually simpler then hainga bunch of data containers15:42
sdakeyes, I agree, I dont like it15:42
pbourkesome of the -v incatations above are similarly complex imo ;)15:42
vbelsurprisingly volumes of any kind cannot be exported/saved15:42
sdakethat is why the blueprint says to use one data  container15:42
vbelhttps://github.com/docker/docker/issues/758315:42
sdakethere are instructions on backing up a data container in the link above vbel on the upstream docs15:43
sdaketo implement this would require changing this line:15:44
sdakehttps://github.com/stackforge/kolla/blob/master/ansible/roles/glance/tasks/bootstrap.yml#L4315:44
sdaketo something like image: "{{ data_container_image_full }}"15:44
sdakeand making that same change across all ansible bits15:45
sdakehow about this, I'll prototype a solution15:45
sdakeand we can judge if its too complex :)15:45
vbelagree :)15:45
sdakepbourke rhallisey?15:46
pbourkesounds good15:47
rhalliseysure15:47
sdakerhallisey you noted above what is to stop us from doing docke run /bin/sleep infinity15:47
sdakethat is precisely what the ansible implementaiton doe for data containers, just using the api as a base15:48
sdakenice my gate job got a +215:48
sdakecentos binary gating incoming15:49
sdakegot a +2 from andreas, he is a pro reviewer, which means I didn't mess it up:)15:49
sdakeso folks for the moment we are going to leave the compose directory in a state of disrepair15:51
sdakethere was a patch to remove it but ryan says he needs it ported to config-external for trieplo15:52
sdakebrb reconnecting to dev machine15:53
*** tfukushima has quit IRC15:54
*** sdake_ has joined #kolla15:54
*** agoldste has joined #kolla15:54
agoldstesdake: rhallisey: hi15:54
*** tfukushima has joined #kolla15:55
sdake_hey agoldste15:55
sdake_so I think we sorted out a course of action15:55
sdake_you had indicated VOLUME just tells docker to a) do a bindmount to /var/lib/docker for a docker volume and b) not record further change to that directory in the docker image15:55
agoldstesdake: that's not what i said :)15:56
agoldsteVOLUME is not a bind mount15:56
agoldsteit just indicates don't record changes15:56
agoldsteVOLUME /foo == -v /foo15:56
agoldstenot -v /foo:/bar15:56
agoldsteor whatever15:56
sdake_ok so isn't -v a bindmount?15:56
pbourkeaha15:56
pbourkeI thought it was but it's not15:57
agoldsteonly if it's of the form /host/path:/container/path15:57
sdake_it usese the kernel bindmount feature to bindmount to /var/lib/docker/whatever-docker-compes-up-with15:57
pbourkesubtle15:57
sdake_that is a host bind mount15:57
*** bmace has quit IRC15:57
agoldsteyes, host bind mount15:57
sdake_the -v /var/lib/mysql is still a bindmount right?15:57
sdake_jut not a host bind mount15:58
*** sdake has quit IRC15:58
sdake_it more like a docker bind mount15:58
agoldstei suppose15:58
sdake_so here is the quetion we really ahve15:58
agoldstethe volumes are stored in /var/lib/docker/vfs on the host, so yeah15:58
rhallisey<agoldste> rhallisey: VOLUME /foo is the same as "-v /foo", not "-v /foo:/foo"15:58
rhallisey<agoldste> rhallisey: "-v /foo" is not a bind mount, "-v /foo:/foo" is a bind mount15:58
sdake_both are bind mounts, one is a host bind mount15:59
sdake_you can't specify host bind mounts in a dockerfile afaik15:59
agoldstei don't think you can16:00
sdake_agoldste so essentially what we are after is backup operation on the data container and using one data container image but started with different names and different -v directory operations16:00
rhalliseyagoldste, oh I didn't see you here :p16:00
vbelin any case we cannot save/export volume, right? To back it up just hack into it unless we already have backdoor with -v x:y16:00
pbourkesdake_: I think your idea will work quite nicely then16:00
rhalliseyjust got back from getting food16:00
rhalliseycatching up16:01
agoldstesdake_: i think an example would help me understand better, if you can share one16:01
sdake_we only use host bind mounts for stuff that is mandatory like /var/run to communicate with systemd and /libmodule to load kernel modules16:01
sdake_agoldste I dont have an example but can explain the problem16:01
sdake_we have about 10 data containers, all in separate images, all with a separate VOLUME flag16:02
sdake_we want to turn those into one data container with no VOLUME operation16:02
sdake_but that canbe used 10 times in different ways so we dont have 10 data container images in our system16:02
sdake_but one data container image16:02
sdake_i'm ok with 10 data volumes - that is unavaoidable ;)16:03
agoldstehow many actual runnable images do you have?16:03
sdake_our 10 data containers atm are all separate dockerfiles16:03
sdake_about 5016:03
sdake_(OpenStack in Docker deployed by Ansible)16:03
agoldsteiirc you can start any container from any image you want, have it run something like "true", specify -v for volumes, and then use --volumes-from when starting the real containers16:04
sdake_right16:04
sdake_that is the proposal on the table16:04
agoldstei'm not sure you really need a special data container image unless your images don't have simple things like "true" in them that return 0 quickly16:04
*** jasonsb has quit IRC16:05
sdake_we actually sleep infinity16:05
sdake_for technical reasons related to ansible16:05
sdake_I know we don't have to do this16:05
agoldsteeither works, sure16:05
*** jasonsb has joined #kolla16:05
sdake_but we do because ansible detects a change if the container exits which causes all kinds of chaos16:05
sdake_the reason we started with a whole slew of separate data continers is back when I was a noob I thought VOLUME was necessary to create a docker volume16:06
sdake_didn't know -v was available16:07
sdake_or we wouldn't even have this problem16:07
agoldsteah, ok16:07
sdake_cool well it sounds like technically this will work and there are no existing objections16:07
sdake_any objections?  Could I get a vote from the people in this discussion?16:09
*** pbourke has quit IRC16:09
rhalliseyok so looks like a single data container16:09
sdake_clealry its not set in stone, if this doens't work, we can revert16:09
rhalliseyusing a bunch of -v16:09
*** pbourke has joined #kolla16:09
sdake_rhallisey i'll update the compse dir to match the new implementation16:09
sdake_although compse is not working16:10
*** jasonsb has quit IRC16:10
sdake_rhallisey just want to confirm you do intend to use compoe for tirpleo16:11
sdake_because otherwise i'd just straight awa ydelete it ;)16:11
rhalliseysdake_, we are right now, but we changed because kolla was using compose16:11
rhalliseywe were origionally using atomic16:11
rhalliseyatomic tools16:11
sdake_compose does serve as a good reference16:11
sdake_the directory16:11
sdake_we jsut have no wayt o test it16:12
sdake_I dont mind shipping it in the repo if config-external rework is done16:12
rhalliseyif we change to atomic, I'll make a new dir for atomic16:12
rhalliseyand rmeove compose16:12
sdake_wfm16:12
sdake_although you probably have to deal with rhel for a long time16:12
sdake_and atomic is vendor specific16:13
sdake_as in tripleo wont work in non-atomic environments if we only ship atomic16:13
rhalliseyya I hear ya16:13
rhalliseypart of the reason behind changing16:13
rhalliseyso I think we will stick with compose but you never know16:14
sdake_it may amke more sense to maintain compose dir in tripleo's repos somewhere16:14
sdake_but the leaset we can do is get it into a state where we think its correct16:14
sdake_ok woring on an implementation now16:15
sdake_bbifew hours16:15
sdake_btw for thoe that cae, the gate machines are xeon 8 core cpus16:16
sdake_but only 8g ig ram16:16
sdake_rhallisey ifI I could get an easy review of https://review.openstack.org/#/c/212347/ would be appreciated16:17
sdake_the gate is about to merge16:18
sdake_and it will not work without this change16:18
sdake_jpeeler ping16:19
sdake_jpeeler i need some help on changing around ttest_build.py to take arguments16:20
sdake_specifically distro and install type16:20
rhalliseysdake_, why should it be maintained elsewhere though? I think it's more relevant here16:22
rhalliseyespecially if other tools come along and want to use it16:22
sdake_possibly - we do define the container content16:23
sdake_ya your right16:23
sdake_we define the container abi, we need to maintian in our repo16:23
*** agoldste has left #kolla16:26
sdake_brb need to get into meail16:29
*** diogogmt has quit IRC16:31
*** openstackgerrit has quit IRC16:31
*** unicell has quit IRC16:31
*** openstackgerrit has joined #kolla16:31
*** diogogmt has joined #kolla16:31
*** athomas has quit IRC16:39
*** sdake has joined #kolla16:42
*** dwalsh has quit IRC16:42
*** athomas has joined #kolla16:43
*** sdake_ has quit IRC16:45
*** unicell has joined #kolla16:59
*** akwasnie has quit IRC17:03
*** tfukushima has quit IRC17:06
*** gfidente has quit IRC17:25
*** achanda has joined #kolla17:29
*** sdake_ has joined #kolla17:29
*** absubram has joined #kolla17:31
*** sdake has quit IRC17:32
*** dwalsh has joined #kolla17:36
*** gfidente has joined #kolla17:37
*** gfidente has joined #kolla17:37
jpeelersdake_: where exactly do you want the arguments to go? i assume you mean with a new tox target18:00
sdake_ya tox should pass arguments into testr if possible18:03
sdake_i'm good with hard code of the testr arguments18:03
sdake_I just dont know how to do it- if you could sort it out we can get the parallel build gate rolling for all distros18:03
sdake_both our reiews have a +218:03
*** athomas has quit IRC18:05
sdake_samyaple you about18:07
jpeelerpassing arguments from tox is difficult because testr was passing stuff internal stuff to the test_build file, which is why i overrode argv18:08
*** echoingumesh has joined #kolla18:09
*** echoingumesh has quit IRC18:09
jpeelersdake_: where do you want the arguments? tox -e buildimages <arg here> or what?18:10
*** echoingumesh has joined #kolla18:10
sdake_nah inside the tox command18:10
*** dwalsh has quit IRC18:10
sdake_so when you run testr hardcode the arguments18:10
sdake_we can refactor later to what you suggest18:11
sdake_i don't want to alter the infra review since it has +2's18:11
*** unicell has quit IRC18:11
*** unicell has joined #kolla18:11
jpeelersdake_: still unsure about where you're talking about. tox calls testr, so what hardcoding are you referring to?18:12
sdake_moment18:12
jpeelerif you just want to do some informal testing, you can just add arguments to the build_args variable18:13
*** SourabhP has joined #kolla18:13
sdake_   sudo -g docker testr run ^(test_build).*18:13
sdake_should be sudo -g docker testr run ^(test_build).* centos source18:13
*** echoingumesh has quit IRC18:14
jpeeleri see, well i've never done it before either. and the testr documentation is very light - http://testrepository.readthedocs.org/en/latest/MANUAL.html18:17
sdake_jpeeler well i could figure it out or you could but i'm busy atm so would appreciate if you could :)18:19
jpeeleri'm looking at it, but i feel like i've tried this before18:19
sdake_try asking around to some python wizard at rht18:20
*** bmace has joined #kolla18:25
*** gfidente has quit IRC18:27
*** echoingumesh has joined #kolla18:32
*** dwalsh has joined #kolla18:35
*** jasonsb has joined #kolla18:52
*** akscram has quit IRC18:56
*** akscram has joined #kolla18:58
*** SourabhP has quit IRC19:01
*** SourabhP has joined #kolla19:02
*** sdake has joined #kolla19:09
openstackgerritimain proposed stackforge/kolla: Fix heat configuration.  https://review.openstack.org/21270619:12
*** SourabhP has quit IRC19:12
*** sdake_ has quit IRC19:12
openstackgerritRyan Hallisey proposed stackforge/kolla: Fix heat configuration.  https://review.openstack.org/21270619:14
*** SourabhP has joined #kolla19:18
*** dwalsh has quit IRC19:20
openstackgerritRyan Hallisey proposed stackforge/kolla: Glance install from source incorrectly places config  https://review.openstack.org/21271119:23
*** SourabhP has quit IRC19:24
openstackgerritRyan Hallisey proposed stackforge/kolla: Nova install from source incorrectly places config  https://review.openstack.org/21271219:28
*** hoonetorg_ has joined #kolla19:28
*** dwalsh has joined #kolla19:30
*** inc0 has joined #kolla19:34
inc0evening19:34
*** dwalsh has quit IRC19:37
sdakehi inc019:40
*** SourabhP has joined #kolla19:40
openstackgerritRyan Hallisey proposed stackforge/kolla: Cinder install from source incorrectly places config  https://review.openstack.org/21271819:42
openstackgerritRyan Hallisey proposed stackforge/kolla: Keystone install from source incorrectly places config  https://review.openstack.org/21272119:51
*** achanda has quit IRC19:52
openstackgerritRyan Hallisey proposed stackforge/kolla: Barbican install from source incorrectly places config  https://review.openstack.org/21272419:54
openstackgerritMerged stackforge/kolla: Change the tox targtes to match naming  https://review.openstack.org/21234719:55
openstackgerritMerged stackforge/kolla: Cinder-backup's config-external is missing #!/bin/bash  https://review.openstack.org/21250319:55
openstackgerritRyan Hallisey proposed stackforge/kolla: Ceilometer install from source incorrectly places config  https://review.openstack.org/21272719:57
*** inc0 has quit IRC19:59
openstackgerritRyan Hallisey proposed stackforge/kolla: Designate install from source incorrectly places config  https://review.openstack.org/21272920:00
sdakeyay harmw is reviewing ;)20:02
openstackgerritRyan Hallisey proposed stackforge/kolla: Gnocchi install from source incorrectly places config  https://review.openstack.org/21273020:03
harmwI honestly don't like the fact that I'm so incredibly non-productive lately20:03
harmwso yes, reviewing some quick ones20:04
sdakerhallisey20:08
sdakeI think all those patches are wrong20:08
sdakewhat should happen is the cp to /etc should be removed20:08
sdakebecause config-external will create the correct config files20:08
rhalliseysdake, let me check into that20:08
rhalliseyusing config external with the existing doesn't work you get /etc/heat/heat/heat.conf20:09
rhalliseyI'm open to fixing it a diff way20:09
sdakeyou may git that directory20:09
sdakebut that config file isn't used20:09
sdakethe daemon uses /etc/heat/heat-containersubname.conf20:09
sdakeI was going to make a patch set that removed /etc copies for source20:10
rhalliseyok20:10
sdakepart of blueprint remove-external-config20:10
rhalliseyI can just change these20:10
rhalliseyto do that20:10
sdakebut since you already have a patch set20:10
sdakeperhaps youcan20:10
rhalliseyya I'll just alter them20:10
sdakeand close all those bugs as invalid and tke them out of liberty/liberty-320:11
sdakeI agree your solution is correct20:11
sdakebut we dont need to copy the config files20:11
rhalliseyya that makes sense20:11
rhalliseyfixing20:11
sdakewell we may need to if there is policy.json actually20:11
rhalliseyshould I reference the BP20:12
rhalliseyinstead of those biug20:12
sdakelet me think a moment20:12
sdakei dont have a deployment handy, mine ni borked because i am doing this data container thing20:12
rhalliseykk20:12
sdakecan you look at some dirs in nova and etc20:12
rhalliseyI'll just leave as is20:12
rhalliseyI gota leave in like 3min20:12
sdakeand see if there are extra files20:13
rhalliseykk20:13
rhalliseyI'll do that real quick20:13
sdakeand if so ill ack em20:13
Slowersdake: so are just going to be bind mounting eg /etc/heat then?20:13
sdakewe bindmount /opt/kolla/configs/heat/heat.conf:ro20:14
sdakeand copy it in in config-external.sh20:14
rhalliseyya /etc/nova has more than just nova.conf20:14
rhalliseyI think we need to cp all20:14
sdakeok, but the bug infomratino is wrong ;-)20:14
sdakeyou should update each one with a link to this irc log20:15
sdakeclick on right side where the timestamp is20:15
*** britthou_ has joined #kolla20:15
sdakean cut and paste the discussion20:15
sdakethe link20:15
sdakeof the discussion20:15
sdakeso you don't end up with -1s in your reviews20:15
rhalliseysure20:16
rhalliseyI can just change the commit messages to be more clear20:16
openstackgerritRyan Hallisey proposed stackforge/kolla: Magnum install from source incorrectly places config  https://review.openstack.org/21274020:17
*** britthouser has quit IRC20:18
sdakeif your looking for more easy work the docker-templates file also has these problems20:18
openstackgerritMerged stackforge/kolla: Add Dockerfile template for Cinder  https://review.openstack.org/21191920:19
openstackgerritMerged stackforge/kolla: Remove bootstrap.yml abstraction for haproxy  https://review.openstack.org/21232820:19
openstackgerritMerged stackforge/kolla: Remove bootstrap.yml abstraction for mariadb  https://review.openstack.org/21235220:19
openstackgerritMerged stackforge/kolla: Implement Murano source images  https://review.openstack.org/20990520:19
Slowersdake: ah ok I misunderstood20:19
openstackgerritMerged stackforge/kolla: Update mariadb confs and ports  https://review.openstack.org/21098020:19
*** britthou_ has quit IRC20:19
sdakedo docker_templates as one patch plz20:20
sdakethis clicking sucks20:20
openstackgerritRyan Hallisey proposed stackforge/kolla: Neutron install from source incorrectly places config  https://review.openstack.org/21275020:20
sdakeneeds rebase: https://review.openstack.org/#/c/212157/20:21
openstackgerritRyan Hallisey proposed stackforge/kolla: Murano install from source incorrectly places config  https://review.openstack.org/21277120:23
openstackgerritRyan Hallisey proposed stackforge/kolla: Swift install from source incorrectly places config  https://review.openstack.org/21277520:24
sdakeharmw a whole lot of rubber stamping awaits20:25
harmwfor real..20:26
openstackgerritRyan Hallisey proposed stackforge/kolla: All the Cinder services need to reference the correct config  https://review.openstack.org/21215720:26
rhalliseysdake, k I gota go20:27
rhalliseyI'll sort out the bug tagging tmr20:27
*** rhallisey has quit IRC20:27
harmwwhy are those bugs pointing to different bugs, and not just some BP20:27
harmwI take it that was discussed?20:28
harmwor are they just that, bugs :)20:28
sdakeit really could have just been 1 commit imo :)20:29
harmwyep, that to20:29
*** jasonsb has quit IRC20:29
*** jasonsb has joined #kolla20:29
*** sdake_ has joined #kolla20:32
*** achanda has joined #kolla20:33
*** jasonsb has quit IRC20:34
jpeelersdake: i see no way to do what you're wanting. since testr is designed to run multiple tests in parallel, i suspect passing arguments to each test isn't supported20:35
*** sdake has quit IRC20:36
jpeeleri bet he didn't see that.20:36
sdake_i did see it20:38
jpeeleroh good20:38
sdake_another optoin is to make a superclass of your current test and make a subclass for each distro option20:38
jpeeleryes, though are you talking about using the same tox target?20:39
sdake_have the subclass feed the distro/type hardcoded int othe super20:39
sdake_no instead of build_images it would be build_images_centos_binary20:39
sdake_that would be your new python test name20:39
sdake_each distro+os type would be a 5 line python function which supered out to the superclass20:40
sdake_not same tox target20:41
sdake_i dont care if there are 10 tox targets in the tox.ini file20:41
sdake_there are already 3 for budling20:41
sdake_tox -e build_images_centos_binary20:42
sdake_would run testr (build_images_centos_binary)20:42
sdake_which is a test in your build testing script20:42
jpeelerso do you need me to do that work?20:46
jpeeleralmost done, just need to test21:09
*** jtriley_ has quit IRC21:16
sdake_cool21:25
openstackgerritSteven Dake proposed stackforge/kolla: WIP - Use one data container distro-type-data for all data containers  https://review.openstack.org/21280421:42
openstackgerritSteven Dake proposed stackforge/kolla: Use one data container distro-type-data for all data containers  https://review.openstack.org/21280421:45
openstackgerritSteven Dake proposed stackforge/kolla: Use one data container distro-type-data for all data containers  https://review.openstack.org/21280421:47
openstackgerritSteven Dake proposed stackforge/kolla: Use one data container distro-type-data for all data containers  https://review.openstack.org/21280421:58
sdake_anyone seen this before?21:59
sdake_fatal: [localhost] => Failed to template {{ (haproxy_user.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed }}: an unexpected type error occurred. Error was expected string or buffer21:59
sdake_FATAL: all hosts have already failed -- aborting21:59
sdake_samyaple when you come alive if you could look ^^21:59
sdake_ccrouch you around22:01
*** sdake has joined #kolla22:12
jpeelersdake_: is there a blueprint for multiple distro support for image building?22:12
sdakethere is a blueprint for ubuntu22:13
sdakeand one for rhel22:13
sdakebeyond that no22:13
jpeelercan i just put this under the build-script blueprint?22:13
sdakewfm22:13
sdakeor jut leave it unmarked22:13
sdakeits gating22:13
sdakethere is a gating blueprint actually22:13
sdakeuse that22:13
*** sdake_ has quit IRC22:16
*** dolpher has joined #kolla22:16
openstackgerritJeff Peeler proposed stackforge/kolla: Use inheritance for overriding of builder args  https://review.openstack.org/21281422:19
jpeelersdake: hopefully that's exactly what you were looking for22:19
sdakenice work jpeeler!22:21
*** dolpher has quit IRC22:21
sdakecan you add a tox.ini as a dependent patch tht builds both centos for srcbinary22:23
sdakeshuld only take a couple mins22:23
sdaketwo tox targets22:23
sdakebuild-all-docker-imagesgoing byebye22:24
sdakeyay ;)22:24
jpeelervery close!22:24
sdakeour gate patches will likely merge tonight22:24
sdakewell i don't know if ansible is busted or my data container patch is busted22:28
sdakemy data container patch is very straightforward22:28
openstackgerritJeff Peeler proposed stackforge/kolla: Change tox targets to use new build.py  https://review.openstack.org/21282122:29
jpeelerok that should be good to go now.22:29
jpeelersee everybody tomorrow22:30
sdakethanks jeff!22:30
sdakenow samyaple can do dind gating it sounds like22:30
*** sdake_ has joined #kolla22:42
*** absubram has quit IRC22:43
*** sdake has quit IRC22:46
openstackgerritSteven Dake proposed stackforge/kolla: Use one data container distro-type-data for all data containers  https://review.openstack.org/21280423:03
openstackgerritSteven Dake proposed stackforge/kolla: Remove data containers and adjust compose files  https://review.openstack.org/21283023:03
*** blahRus has quit IRC23:23
*** SourabhP has quit IRC23:44
*** dwalsh has joined #kolla23:51
*** diogogmt has quit IRC23:51
*** jtriley has joined #kolla23:53

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