Tuesday, 2015-08-25

openstackgerritKai Qiang Wu(Kennan) proposed stackforge/kolla: Make doc more readable and easy to follow  https://review.openstack.org/21617500:10
*** weiyu has joined #kolla00:51
*** sdake_ has quit IRC00:52
*** erkules_ is now known as erkules00:58
*** erkules has quit IRC00:58
*** erkules has joined #kolla00:58
Kennanhi SamYaple: there?01:13
*** vinkman has left #kolla01:18
*** erkules_ has joined #kolla01:32
*** erkules has quit IRC01:35
*** tummy has joined #kolla01:40
*** erkules_ has quit IRC01:52
*** erkules_ has joined #kolla01:54
*** dims__ has quit IRC01:55
*** Haomeng has joined #kolla01:56
*** cfarquhar has quit IRC01:57
*** jpeeler has quit IRC01:57
*** Haomeng|2 has quit IRC01:58
*** jpeeler has joined #kolla02:04
*** jpeeler has quit IRC02:04
*** jpeeler has joined #kolla02:05
*** achanda has joined #kolla02:11
*** jtriley has quit IRC02:29
*** tummy has quit IRC02:35
*** achanda has quit IRC02:50
*** klint has joined #kolla02:58
*** achanda has joined #kolla03:01
*** unicell has quit IRC03:08
SamYapleKennan: I am now!03:13
*** jruano has quit IRC03:13
*** loth has quit IRC03:21
*** sdake has joined #kolla03:22
sdakeyo03:23
SamYaplehey sdake03:24
SamYaplewe need https://review.openstack.org/#/c/216395/ sdake to print out the summary stuff properly03:25
sdakehey sam03:25
sdakedid you sleep? :)03:25
SamYaplebarely03:25
SamYapleat work now03:25
SamYaplegate is almost done :)03:26
SamYaplesmall difference between hp and rax03:26
SamYapleonce thats sorted its all good03:26
*** unicell has joined #kolla03:27
*** diogogmt has quit IRC03:34
*** sdake_ has joined #kolla04:06
*** sdake has quit IRC04:10
openstackgerritSam Yaple proposed stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646304:14
*** diga has joined #kolla04:17
*** sdake_ is now known as sdake04:18
openstackgerritSam Yaple proposed stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646304:19
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - gate hacking  https://review.openstack.org/21600504:23
openstackgerritSam Yaple proposed stackforge/kolla: Fix regression in build-script  https://review.openstack.org/21639504:28
*** weiyu has quit IRC04:35
Kennanhi SamYaple:04:52
openstackgerritSam Yaple proposed stackforge/kolla: Ceph container  https://review.openstack.org/21470604:52
Kennanfor my environment, I want to check should I follow this04:53
Kennanansible-playbook -i inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml site.yml04:53
Kennanor04:53
Kennansudo ./tools/kolla-ansible deploy04:53
Kennanit has different deploy methods04:53
SamYaplecoolsvap: can you review https://review.openstack.org/#/c/216463/04:53
KennanI did not know which is the right one04:53
SamYapleKennan: they both do the same thing04:54
SamYaplei always use the ansible-playbook command04:54
SamYaplei would recommend it for now, but either one will work04:54
KennanOK SamYaple: Thanks let me try this04:54
*** unicell1 has joined #kolla04:55
*** unicell has quit IRC04:56
KennanHi SamYaple:04:56
KennanFATAL: all hosts have already failed -- aborting04:56
Kennanglue/centos-binary-kolla-ansible:latest not found\"},\"error\":\"Error: image kollaglue/centos-binary-kolla-ansible:latest not found\"}\r\n"],04:56
sdakeits so glorious to see our gate passing all the time for builds now!04:56
SamYaplesdake: youre welcome04:56
sdakechange always to missing04:56
SamYapleKennan: have you built the images?04:56
sdakeKennan in globals.yml make that change04:56
Kennanyes, I did run it04:56
KennanINFO:__main__:===========================04:57
KennanERROR:__main__:gnocchi-a Failed with status: error04:57
KennanERROR:__main__:gnocchi-s Failed with status: error04:57
KennanERROR:__main__:ceilomete Failed with status: error04:57
Kennanjust this failed04:57
SamYapleKennan: oh you arent using a registry. thats why04:57
Kennanother images seems ok04:57
SamYaplelisten to sdake04:57
SamYaplehe has the correct suggestion04:57
SamYapledocker_pull_policy: "missing"04:57
SamYaple^^ in the globals.yml04:57
openstackgerritMerged stackforge/kolla: Make doc more readable and easy to follow  https://review.openstack.org/21617504:58
SamYaplesdake: the rax gate has an 80gb ephemeral04:58
SamYaplethe hp gate has a 500gb04:58
SamYapleO.o04:58
sdakesamyaple can you translate https://review.openstack.org/#/c/216369/1/docker_templates/base/Dockerfile.j2 to english for me plz05:00
SamYaplesdake: i mention what im doing in the commit message?05:00
sdakeoh let me read that05:00
sdakemoment05:00
SamYapleits not detailed but i dont have time to write a novel05:00
SamYapleon the history of python05:00
SamYaplefor centos and debian05:00
SamYaplewhich i had to read05:01
SamYapleto05:01
SamYaplefigure05:01
SamYaplethis05:01
SamYapleout05:01
SamYapleanyway, it only affects ubuntu05:01
sdakedamn hit +a accidentally05:02
* sdake needs more caffeine05:02
sdakesam i took away the =a, but not sure what will happen05:02
sdakeyou may have to rebase your patch because of my error05:02
SamYaplelok it started merging gate jobs05:02
SamYapleawesome05:03
sdakemistakes happen05:03
openstackgerritMerged stackforge/kolla: Ubuntu - Haproxy  https://review.openstack.org/21592405:03
sdakeinfra did that to me the other day05:03
sdakeso so glorious to see the gate jobs stable05:04
SamYapleim just super happy that change was as clean as it was05:04
sdakenow its time to raise the bar!05:04
SamYaplepython be da bomb05:04
SamYaplehey i have to update all the source sections for all the templates sdake05:05
*** weiyu_ has joined #kolla05:05
SamYapleat the same time imgoing to ajdust the docker files for formating to keep the mconsistent05:05
SamYaplei think we have standardized at this point05:06
SamYaplewithout discussion thankfully05:06
sdakethis change looks wrong for centos binary https://review.openstack.org/#/c/216026/10/docker/common/horizon/config-external.sh05:07
sdakedid you test only centos source?05:07
sdaketo cut to the chase which combos of horizon havey oubuid and tested? :)05:08
SamYaplesdake: how would that be wrong for centos binary?05:08
sdakelook at line 1 and 205:08
sdakethat is where the container is expecting those files to be copied i think05:08
SamYaplethat didnt change...05:09
coolsvapSamYaple, yes looking at https://review.openstack.org/#/c/216463/05:09
* sdake needs a redbull05:09
SamYaplethe bottom section is probably wrong05:09
SamYapleif you tell me the centosbinary site filename i can change it (or it could be a different patch?) i dont know05:09
SamYapleill try the cnetos images again tonight05:10
SamYapleit was breaking on the base for me05:10
SamYaplecoolsvap: thanks!05:10
sdakesamyaple https://review.openstack.org/#/c/216463/ breaks the gate05:10
sdakelets do centos binary as a different patch set if it is untessted05:10
sdakecould yu tell me which combos you have tested?05:10
SamYapleneither centos source or binary build for me anymore so ive tested neither on the latest patchsets05:11
SamYaplei dont know if either ever worked05:11
SamYaplesource i hacked to install at one point05:11
SamYaplefor centos05:11
SamYapleand i have verified the _files_ are going to the same location05:11
SamYaplefor both centos and ubuntu05:11
SamYaplecoolsvap: ignore that patch05:12
SamYaplepep8 error05:12
coolsvapyes05:12
coolsvappep8 is there05:12
sdakethe build gates are failing too for whatever reason05:12
sdakeok good with verificatino files going to same location05:12
KennanHi SamYaple: it seens kolla setup (one VM with 2 Nics configure eth0, eth1) make my ssh lost connection05:12
Kennandid it work for that case ?05:12
SamYaplesdake: yea but the functional-f21 works05:13
Kennanhow do you configure that ?05:13
SamYapleKennan: are you giving eth1 to neutron? or eth0?05:13
sdakefunctional-f21 uses build-all-docker-images05:13
SamYapleoh05:13
SamYapleright05:13
sdakekennan eth1 should be unconfigured entirely05:13
Kennanhi SamYaple: same as doc05:13
Kennanetwork_interface: "eth0"05:13
Kennanneutron_external_interface: "eth1"05:13
Kennaneth1 is my public ssh ip05:14
KennanI can not ping it now05:14
sdakeeth0 needs to be your public ssh ip05:14
sdakeeth0 = management netowrk eth1=unconfigured network connected to external net05:14
Kennan hi sdake: yes, seems some difference,  my eth0 has 10.** ip, and eth1 has 9.** ip05:15
sdakesamyaple so you have tested centos source and ubuntu source?05:15
Kennanis it needed for eth0 public ip ?05:15
Kennanmanagment network seems not need public ip05:16
SamYapleKennan: you can always use eth0 as your neutron_external_interface05:16
SamYaplei dont know your network configuration05:16
sdakei have eth0 connected to the internet and my local network05:16
SamYaplesdake: yea but not centos full stack deploy, just file validation05:16
sdakei have eth1 connected to a local switch05:16
sdakesamyaple ok so just to confirm the only thing that brings up a horizon ui atm is ubuntu source?05:17
SamYaplethe only thing i have tested the full stack on, yes05:17
sdakerogerthanks05:17
Kennansdake: for simple, if my eth0 is private 10.** ip and eth1 is internet public ip05:18
sdakesamyaple note that horizon centos binary did work with compose05:18
Kennanwhat network configuration should I configure in kolla ?05:18
sdakemake neutron net eth0, make the other eth105:18
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339705:19
SamYaplesdake: that means nothing for ansible! i have to lay down the web config05:19
Kennansdake: do you mean network_interface = eth0 neutron_external_interface eth1 ?05:19
sdakeright just pointing it it did work05:19
sdakekennan no i just said the exact opposite05:19
Kennanok sdake:05:20
Kennanlet me try05:20
sdakeyou will need to reboot05:20
sdakeyour system is snaufed05:20
sdakecharlie foxtrotted05:20
sdakeetc05:20
SamYapleha05:22
SamYaplesdake the gate was working before.... but not like you would expect :)05:23
SamYapleit just _happened_ to work05:23
SamYaplelol05:23
SamYapleawesome05:23
*** dolpher has joined #kolla05:25
sdakecoolsvap please place priority on reviewing this and children: https://review.openstack.org/#/c/211286/05:29
openstackgerritMerged stackforge/kolla: Ubuntu - Sync directories  https://review.openstack.org/21636905:30
coolsvapsdake, yes, i am looking at the horizon change05:30
sdakecoolsvap thx bro :)05:32
sdakekennan did that get you rolling?05:32
Kennansdake: I need rebuild my instance, as it can not connect05:32
sdakeyour running in an openstack vm?05:33
sdakeman lots of -1s in the review queue :(05:33
Kennanyes sdake05:33
sdakeand your eth0 is what your private network?05:34
sdakeand eth1 is your public network ?05:34
Kennanyes, you can say that, eth1 is with floating ip(internet access)05:34
sdakeeth1 in this case is your managment network then05:35
sdakeso you need neutron net set to eth005:35
sdakeand the othernetwork set to eth105:35
sdakeyou have them backwards05:35
sdakein yoru globals.yaml file05:35
sdakeyou also need to set a libvirt override05:35
sdaketo allow vm in vm operation05:35
sdakethis is unfortunately undocumented05:36
Kennanok sdake: I found kolla have only neutron_external_interface and network_interface05:36
coolsvapSamYaple, can you please address a little comment https://review.openstack.org/#/c/216026/10/docker_templates/horizon/Dockerfile.j205:36
KennanI would set eth1 with network_interface05:36
sdakeneutron_external_interface = eth0, network_interface = eth105:36
sdakeyou will be unable to connect to your vms,but atleast you will be able to see them boot ;)05:37
SamYaplecoolsvap: sure ill look in a minute!05:37
Kennansdake: not sure what's the libvirt you talked about05:37
Kennanwhat need to change ?05:37
sdakesamyaple can tell you the override05:37
sdakeyou set a value in /etc/kolla/nova.conf05:37
sdakeits like05:37
sdake[libvirt]05:37
sdakesomething = qemu05:37
Kennanok sdake: so all you kolla env is bare metal ?05:38
sdakeits standard run in vm nova.conf setting05:38
sdakeright05:38
sdakekolla master does not autodetect if its running in vm or not05:38
sdakeyou have to override that05:38
SamYaple/etc/kolla/nova/nova-compute.conf05:38
KennanI did not have extra baremetal resource05:38
sdakesamyaple is correct05:38
Kennanso need to use VM to try kolla05:38
sdakeyou can use a vm05:38
sdaketo play around05:38
sdakei run kolla in vms all the time  - works fine05:39
sdake(using virutalbox)05:39
sdakebut you have your network setup backwards :)05:40
sdakeits unfortunate this point isn't obvious05:40
sdakeour docs obviously need attention05:40
sdakeupstream drinking from firehose atm05:40
*** dolpher1 has joined #kolla05:42
sdakealso your eth0 can't be configured05:42
sdakeso unconfgure it05:42
sdakewe can tackle init-runonce when you get a deploy working ;)05:43
*** ashishb has joined #kolla05:43
*** dolpher has quit IRC05:45
openstackgerritSam Yaple proposed stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646305:45
SamYaplesdake: please test that ^^05:45
SamYapleit works for me05:45
SamYapleif it works for pip instal lfor you05:45
SamYapleit should work for the gate too05:45
openstackgerritSam Yaple proposed stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646305:46
SamYapleor rather, that one05:46
sdakeyour wish is my command05:47
sdakesamyaple http://ur1.ca/njp9l -> http://paste.fedoraproject.org/258829/1440481805:51
sdakesudo python setup.py install05:51
sdakethe gate doesn't use kolla-build05:53
SamYaplesdake: i know why that is broken05:53
sdakethe last patch worked with kolla-build05:53
SamYaplehold on05:53
sdakecoolsvap wtb +2s or -1s plz05:56
sdakehttps://review.openstack.org/#/c/216026/1005:57
sdakeits hard to work on centos binary of horizon if we have a bunch of dependent patches in gerrit05:57
openstackgerritSam Yaple proposed stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646305:58
SamYaplesdake: alright try it now05:58
sdakeok moment05:58
SamYaplethis time with less dirty hack!05:58
SamYaplecoolsvap: i responded to you in https://review.openstack.org/#/c/216026/06:00
SamYaplelet me know if you need more info06:00
sdakethat seems to work samyaple06:01
SamYaplewell see what the gate has to say06:01
sdakesamyaple i agree with coolsvap the code is hard to comprehend :)06:01
sdakei even ran kolla-build from / and it worked properly :)06:01
SamYaplebtw soure install is broken for kolla-build until you tell me where build.ini is going06:01
sdakeya let me think about that when i haven't been up for 20 hours ;)06:02
SamYaplesounds like a plan06:02
SamYapleif you place it in /usr/shade/kolla it iwll work as-is :)06:02
sdakethere is no shade directory ;)06:02
SamYaplei still need to add an override options for the buildini conf06:02
*** dolpher has joined #kolla06:02
SamYapleyea yea you got the point :)06:02
sdakekennan did you get bck to starting again?06:03
sdakekennan really keen to get you rolling06:03
Kennansdake: as the rebuild instance means full clean, so it going to build image step now.06:03
sdakei think /usr/share/kolla is a good spot for it06:03
Kennanbuild image is slow06:03
SamYaplesdake: then it works as is, just needs a new patch06:04
sdaketake 15 min for me06:04
SamYapleto move it i think06:04
sdakewe can install it i think06:04
sdakeno idea how build.py works ;)06:04
SamYaplewhat do you mean?06:04
*** dolpher1 has quit IRC06:04
SamYapleis it not clear?06:04
sdakeya pretty much just not an expert on that part of python06:04
SamYaplei have a function that will return a proper base directory06:05
SamYaplei 'guess' that base directory by some common factors06:05
sdakesorry not build.py06:05
SamYapleoh06:05
sdakei meant setuppy06:05
SamYapleoh yea06:05
sdakesetup.py06:05
SamYaplei get you there06:05
* sdake need m0ar redbull06:05
sdakereally more keen to get docs publishing rolling06:06
sdakeits a resource we are not taking advantage of06:07
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339706:07
SamYaplesdake: and DocImpact06:07
SamYaplewe could have a docs team dude06:07
sdakei left some comments in that patch SamYaple06:07
SamYaplelots of people lik that stuff ive seen06:07
SamYaplewhich patch?06:08
sdakethe gate patch06:08
sdakelsat revision06:08
SamYaplei responded before06:08
sdakeok06:08
SamYaplecan I change a patch owner?06:08
SamYaplei hate working on patches that arent in my queue06:08
SamYapleits hard to keep track of06:09
SamYapleha!06:09
SamYaplei can see the gate jobs early!06:09
sdakeyes but its typically considered rude ;)06:09
SamYaplei didnt know that06:09
SamYaplesdake: how?06:10
SamYaplealso obviously only with permission06:10
SamYapleim a stickler for that06:10
sdakegoogle something appropriate06:10
sdakeits like the first link I think :)06:10
SamYapleno06:10
SamYapleowner06:10
sdakekennan let me know when you get to deploy i'll google that override for you :)06:10
SamYaplenot author06:10
SamYapledifference06:11
sdakeoh owner06:11
sdakenot sure on that06:11
SamYapleauthor is at the git level06:11
SamYapleowner is gerrir level06:11
sdakedont know what the difference is :)06:11
Kennanthanks sdake: waiting for build image06:11
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339706:12
SamYaplesdake do you know about http://status.openstack.org/zuul/06:13
SamYaple?06:13
sdakeyes of course06:13
SamYaplei did too but i didnt realize i could see the logs early06:13
sdakeya I use that extensively during gate bringup06:13
SamYaplewoulda been nice to know06:13
sdakedidn't realize you weren't aware of it or i would have offered the inf o:)06:13
SamYaplewell i was aware of the site, not hte functinality06:14
sdakeits pretty cool to watch during a busy time06:14
sdakecrazy to see the amount of stuff zuul is serializing06:14
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339706:16
SamYaplesdake: all gate jobs are building with that latest patch for pip install :)(06:16
openstackgerritMerged stackforge/kolla: Ubuntu - Horizon  https://review.openstack.org/21602606:18
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339706:23
SamYaplecoolsvap: https://review.openstack.org/#/c/211286/06:24
SamYaplelast horizon patch!06:24
SamYaplew00t06:24
*** unicell1 has quit IRC06:24
coolsvapSamYaple, yes was waiting for the dependent patch to merge06:24
sdakecoolsvap two reviews for you plz06:24
sdakehttps://review.openstack.org/#/c/211286/06:24
SamYaplesdake: alreayd hit him up06:24
*** unicell has joined #kolla06:25
sdakehttps://review.openstack.org/#/c/216463/06:25
SamYapleso centos fedora doesnt come with mkfs.xfs stuff06:27
SamYapleawesome!06:27
SamYaplewell centos does06:27
SamYaplefedora doesnt06:27
sdakefwiw I haen't added fedora gates06:27
sdakejust ubuntu trusty06:27
SamYapleyea but i dont want to break our current gate06:27
sdakeoh right06:28
sdakei am removing that gate shortly06:28
SamYaplei know but still06:28
sdakebut probably not in the next week06:28
SamYapleand it should just change to a fedora build gate i think06:28
SamYaplewe have the fedora code now06:28
sdakedid someone fix fedora?06:28
SamYapleno i mean gate code06:29
SamYaplebut this way you wont have to do another patch later06:29
SamYaplewe can fix fedora06:29
sdakeyup06:29
sdakeyou dont have to argue :)06:29
openstackgerritMerged stackforge/kolla: Add ansible support for Horizon  https://review.openstack.org/21128606:29
sdakeits all good06:29
SamYaplew00t06:29
SamYapleubuntu merged06:29
SamYaplenow to clean up the installs06:29
sdakehow does one go about retagging an image and pushign to a local registry06:30
SamYaplecomeon ive told you this06:30
SamYapledocker tag/docker push06:30
sdakei dont know the exact syntax for my local registry06:31
sdakegoing to test right now06:31
SamYapleits all the same syntax06:31
SamYaplewhats your regsitry?06:31
sdake192.168.1.100:400006:31
*** unicell has quit IRC06:32
*** unicell1 has joined #kolla06:32
SamYapleassuming oyu have 192.168.1.100:4000/kollaglue/ubuntu-source-horizon .....06:32
SamYapledocker tag 192.168.1.100:4000/kollaglue/ubuntu-source-horizon 192.168.1.100:4000/kollaglue/centos-binary-horizon06:32
SamYapledocker push 192.168.1.100:4000/kollaglue/centos-binary-horizon06:32
SamYapleremember you can build only horizon locally now06:32
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339706:33
SamYaple~/kolla/tools/build.py -n 192.168.1.100:4000/kollaglue --base ubuntu --type source --template -T1 horizon06:33
sdakesamyaple i dont undertand that lat point06:33
SamYaplesdake: ^06:33
sdakeok let me c&p that in06:33
SamYaplethat will just build you the horizon image06:33
SamYaplethen oyu can run the first two commands to retag it and push it06:34
sdakehorizon uses only port 80?06:35
SamYapledont have ssl support anywhere in kolla yet06:35
SamYaplessl requires a few pieces06:35
SamYapleone step at a time06:35
sdakeyes but the console log stuff uses some other port right?06:35
SamYapleno06:35
SamYapleit shouldnt06:35
SamYapleah crap06:36
SamYaplethat ansible code wont work for you06:36
SamYaplesince you use centos/ubuntu frankenstien ness06:36
SamYapleit says 'hey you use centos' and lays down httpd file06:36
sdakedoes it detect that from the type and base?06:37
SamYapleyea06:37
sdakeoh i see the problem06:37
SamYaplehttps://github.com/stackforge/kolla/blob/master/ansible/roles/horizon/templates/horizon.conf.j2#L106:37
sdakemy base is centos06:37
SamYapleno its that line from above06:37
SamYapleitll lay down a cionfig telling it to log to httpd06:37
SamYapleit wil probably crash it06:37
SamYapletry it out htough!06:37
SamYaplehey did oyu know you dont have t orename the image?06:38
SamYapleyou can push the ubuntu named image06:38
SamYaplein globals.yml specify 'horizon_image_full: 192.168.1.100:4000/kollaglue/ubuntu-source-horizon:latest'06:39
SamYaplethat will override the image it deploys06:39
SamYapleno image retagging hackness06:39
*** SourabhP has joined #kolla06:40
*** SourabhP_ has joined #kolla06:41
sdakeis horizon default to enabled?06:43
SamYapleyup06:44
*** SourabhP has quit IRC06:45
*** SourabhP_ is now known as SourabhP06:45
openstackgerritSam Yaple proposed stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646306:46
SamYaplesdake: ^^ that just passed all the gates!06:46
SamYapleit works for oyu with pip06:46
sdakeship it06:46
SamYapleand it works in the same way current master works06:46
sdakecoolsvap ^^06:46
SamYaplemandre had a comment06:46
SamYaplei fixed it so its got the gates again06:47
SamYaplebut it was a syntax thing, not a functional thing06:47
SamYapleso itll pass the gate again06:47
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339706:49
sdakesamyaple is this the correct syntax? [sdake@bigiron kolla]$ tools/build.py -n 192.168.1.100:4000/kollaglue --base ubuntu --type source --template -T1 horizon --push06:49
SamYaplelooks good to me06:49
sdakeodd it prints no message about pushing06:50
SamYaplesdake: i think i have teh api wrong for it06:50
SamYaplei dont know though06:51
SamYaplei never dug into it06:51
SamYapledocker may just not return text as a response and i would have to do other things to check06:51
SamYapleI have a improve logging patch06:51
SamYapleas well as a remove teir patch06:51
SamYaplebecause man does that cause some fights06:51
sdakeya diags06:52
sdakealways brings out the best in people ;-)06:52
SamYaplelol06:52
SamYapleat least we are all passionate06:52
*** SourabhP has quit IRC06:52
*** SourabhP has joined #kolla06:53
SamYaplethat gate patch will be good to go as soon as it hits an hp host and i can test that...07:02
*** SourabhP has quit IRC07:02
*** achanda has quit IRC07:10
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339707:11
*** inc0 has joined #kolla07:11
inc0good morning07:13
SamYaplemorning inc007:13
*** achanda has joined #kolla07:14
openstackgerritMerged stackforge/kolla: Make Kolla installable via PIP  https://review.openstack.org/21634107:17
sdakesup inc007:17
SamYaplegate is now offically broken...07:17
inc0ow? why is that?07:18
SamYaplepatch that just merged :)07:18
SamYaplethe next merging patch fixes it07:18
inc0hmm...nothing to review07:19
inc0damn07:19
coolsvapinc0, :)07:19
inc0but I see lots of new names in review queue, that's a good sign07:20
*** shardy has joined #kolla07:21
coolsvapyes07:22
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - gate hacking  https://review.openstack.org/21600507:26
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339707:28
*** achanda has quit IRC07:30
Kennanhi sdake: the containers run now07:36
sdakekennan nice07:37
sdakedid you set the libvirt override?07:37
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339707:37
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - gate hacking  https://review.openstack.org/21600507:37
openstackgerritMerged stackforge/kolla: Modified build.py to run from installed location  https://review.openstack.org/21646307:39
Kennansdake: I did not set nova related, maybe I not know if env work or not now :)07:39
KennanI just run that playbooks not find error07:39
sdakewhat did you set where07:39
sdakeoh you didn't set07:39
sdakesorry bleary eyed07:39
sdakeyou need to set an override to run virt on virt07:40
sdake[libvirt]07:40
sdakevirt_type = qemu07:40
sdakerun sudo tools/cleanup-containers -fv07:40
sdakeedit /etc/kolla/nova/nova-compute.conf (iirc)07:40
sdakeput that [librt] and virt_type = qemu in there07:40
sdakererun playbooks07:41
sdakesudo tools/kolla-ansible deploy07:41
sdakekennan run time sudo tools/kolla-ansible deploy07:41
Kennansdake: /etc/kolla/nova-compute/nova.conf07:42
sdakesee what the performance is on deploy07:42
Kennanis this ?07:42
sdakei am curious07:42
openstackgerritSam Yaple proposed stackforge/kolla: Update Haproxy for Horizon  https://review.openstack.org/21658207:42
sdakethats the one kennan07:42
Kennannot find libvirt on this file07:42
Kennanmaybe it has default values for kvm ?07:42
sdakeyou need to write it in07:43
sdakenew content07:43
sdakeit defaults to kvm yes07:43
openstackgerritSam Yaple proposed stackforge/kolla: Fix regression in build-script  https://review.openstack.org/21639507:44
Kennanok sdake: I am trying with delete containers as you said07:45
SamYaplealright can i get some reviews on this to get the gate printing correclty again? https://review.openstack.org/#/c/216395/07:45
SamYaplenow that we have merged the other stuff07:45
Kennanand would use ansible-playbook , (seems kolla-ansible deploy is same)07:45
SamYaplesdake: https://review.openstack.org/#/c/216582/07:47
SamYaplethats your horizon ansible haproxy patch07:47
SamYaplemultinode wil lwork but the auth and tokens arent shared yet07:48
sdakeshouldnt that port be configurable?07:48
SamYapleyea but it isnt yet07:48
SamYapleits got some reasons why07:49
SamYaplei want to get all distros working first07:49
sdakefile bug plz so we dont lose track of it07:49
SamYaplewill update blueprint07:49
sdakewfm07:49
mandregood morning07:53
SamYaplehey mandre !07:53
mandreit's good to be back, I should be more available on irc now07:54
sdakeyo mandre07:55
sdakeso samyaple just deployed horizon, it doesn't work07:55
SamYaplehow so?07:55
sdakeeconn refused07:55
sdakenot restarting07:55
SamYaplemultinode?07:55
SamYapleoh right youre not running with that haproxy patch right?07:56
sdakeonly listening on 192.168.1.10007:56
sdakenot on .14807:56
SamYaplei dont know what those ips are07:56
SamYapleis 148 the vip?07:56
sdake148 = my kolla internal07:56
sdake100 is my machine07:56
sdakeya 148 is vip07:56
SamYapleyea haproxy patch man07:56
SamYaplei said it ^^^^07:56
sdakecan someone approe that plz07:56
SamYaplehttps://review.openstack.org/#/c/216582/07:56
SamYapleyou can use it on 100 for right now sdake07:57
SamYapleit should work there07:57
sdakepokey but works07:57
SamYaplepokey as in problems?07:58
SamYapleor just wierd you have tohit 100?>07:58
Kennanhi sdake: do you know where can find OS_PASSWORD ?07:59
SamYaplepassword.yml Kennan07:59
SamYaplethat holds all your passwords07:59
Kennanok08:00
openstackgerritSteven Dake proposed stackforge/kolla: DO NOT MERGE - Workaround for horizon  https://review.openstack.org/21659208:00
sdakeKENNAN its password08:00
SamYaplesdake: thats teh same as my patch08:00
SamYaplei dont get it08:00
SamYapleoh nvm08:01
sdakedid you submit a patch for that?08:01
SamYaplesorry wrong copy buffer08:01
sdakemandre or coolsvap can you guys ack https://review.openstack.org/#/c/216582/ plz08:02
openstackgerritSam Yaple proposed stackforge/kolla: Setup the gate for cross-distro support  https://review.openstack.org/21339708:02
inc0sdake, SamYaple about horizon...shouldn't we go for https?08:03
SamYapleinc0: yea thats coming08:03
sdakeinc0 baby steps08:03
sdakeget it working on centos binary first08:03
SamYaplewe dont do ssl anywhere right now08:03
SamYaplewe need memcached or some other mechanism and things that haven't been tested yet08:04
Kennansdake: found /centos-binary-rabbitmq has issue, cause neutron can not communicate with that08:04
SamYaplethe whole point of installing haproxy 1.5+ is because of its ssl support too08:04
KennanINFO - This container has already been configured; Refusing to copy new configs08:04
KennanERROR: epmd error for host cookup: address (cannot connect to host/port)08:04
SamYapleis the port already in use Kennan ?08:05
sdakekennan what base os are you running on?08:05
Kennancentos 7.108:05
SamYaple4369 i think is the port epmd tries to bind08:05
sdakenetstat -nl | grep 436908:06
SamYaplenetstat? what is this the dark ages?08:06
SamYapless is the way to go08:06
Kennan$ sudo netstat -nl | grep 436908:06
Kennanget nothing08:06
sdakekennan what was yoru deploy time08:06
Kennansdake: I forgot to time the ansible playbook instrutions08:07
Kennanmaybe serveral mins08:07
sdakekennan type that error into google plz08:07
Kennansure08:07
sdakekennan your the first person to report that error08:08
*** jmccarthy has quit IRC08:08
sdakeis that hte neutron contianer or rabbit container08:08
Kennanrabbit container (logs)08:08
Kennanrabbit has issue which cause neutron cli not work08:08
sdakefwiw i have seen that error before a long time ago08:09
sdakeiirc it was because hostname wasn't installed08:09
sdakecheck google08:09
*** jmccarthy has joined #kolla08:09
sdakewtb AIO gating08:09
KennanI will ask google :)08:09
SamYaplehey another core reviewing https://review.openstack.org/#/c/212830/ would be fantastic08:10
SamYaplewould love to remove that cruft08:10
sdakespeculation is that master is broken by recent ubuntu changes08:10
SamYaplesdake: i only adjusted the templates08:10
SamYapleso thats doubtful...08:10
sdakeya iirc its because a tool isn't installed that rabbit needs08:11
sdakeor hostname isnt' set in /etchosts08:11
sdakeor something like that08:11
sdakethat is what it is08:11
sdakehostname wasn't set in /etc/hosts08:11
SamYaplesdake: https://github.com/stackforge/kolla/commit/fe2e454f267ea023d3e3447d743c340d93e9653908:11
SamYaplethats all that was changed08:11
SamYapleits possible the rabbitmq.config is breaking it.... but thats not related to epmd08:12
SamYapleand its straight from rabbitmq site08:12
SamYapleand i tested it...08:12
SamYaplebut nevertheless possible08:12
sdakeperhaps something with /etc/hosts changed in the rabbitmq contianer?08:13
sdakeI remember putting in a workaround for that specific problem08:13
SamYaplenot by my hands08:13
sdakeand if you type erro into google it comes back with an exct workaround08:13
sdakekennan are you building with --templates?08:14
sdakeor without?08:14
Kennanjust run this08:14
Kennantools/build.py -T 100008:14
vbelgood morning/evening08:14
SamYaplewithout templates08:14
SamYaplemorning vbel08:14
vbelis it possible at all to see build process via python?08:14
vbeljust wonder what is going on :)08:15
SamYaplevbel: like realtime output?08:15
vbelyes08:15
SamYapleyou cna with single threaded08:15
SamYaple-T108:15
SamYapleif you want parallel it will spit out all the diffent threads at teh same time08:15
SamYaplehard to read08:15
vbelgreat, thanks!!!08:15
sdakenice my kolla_external_address is showing up08:15
sdakein horizon08:16
SamYapleyea its set as an endpoint08:16
SamYaplethats the whole point08:16
SamYaple`openstack endpoint list`08:16
sdakeyes i understand how it works now thanks :)08:18
vbelHow do I specify my own registry? like localhost:500008:20
*** zhiwei has joined #kolla08:20
vbelfor pushing from build.py08:20
SamYaplevbel: in the configs or when building?08:20
vbelbuilding08:21
sdakedont use port 5000 it will collide with keystone08:21
sdakei use port 40008:21
sdake400008:21
vbelyes, I know, I use 9999 on hosts08:21
vbel:)08:21
vbelthanks08:21
SamYaple~/kolla/tools/build.py -n 192.168.31.12:8082/kollaglue --base ubuntu --type source08:21
SamYaplethats what i use vbel08:21
SamYaple(obviously you dont have to build ubuntu)08:22
Kennanhi SamYaple:08:22
Kennanhttp://paste.openstack.org/show/426825/08:22
vbelok, so this is part of namespace then. Thanks!08:22
KennanI hit neutron issue in kolla containers08:22
Kennanvery strange08:22
sdakekennan we know about that one08:22
sdakewhat about the rabbitmq one08:22
*** dolpher has quit IRC08:22
SamYapleKennan: thats teh centos binary issue sdake08:22
sdakeyou did some kind of workaround and got er working?08:22
SamYaplethere is some issue with delorean centos binary packages08:23
sdakesamyaple yes nothing we can do about busted upstream08:23
* SamYaple uses source08:23
SamYaple:)08:23
Kennanhttp://paste.openstack.org/show/426826/08:23
Kennanthis is about rabbitmq08:23
KennanI just configured /etc/hosts with ip and hostname, it seems ok now08:23
SamYapleKennan: i dont know what to tell you about that08:23
SamYaplesdake seems ot know more08:24
Kennanthe strange thing is that before I configured that, both hostname and hostanme -f can show08:24
sdakei am certain i had a workaround for that in the codebsae at one time08:24
SamYapleas you can see by my linked commit, i did not remove it08:24
Kennanhi SamYaple: I want to know what's the proper os can work with kollla containers08:24
Kennanas neutron container not work08:24
sdakerabbitmq had a bunch of code removal recently iirc08:24
SamYapleKennan: I use ubuntu-source08:24
KennanI can not verify functions in network08:24
SamYapleit works great08:24
KennanSamYaple: ubunutu-source ? 15.04 or 14.04 ?08:25
KennanI remember you said 14.04 with 3.19 kernel08:25
Kennan?08:25
sdakeSamYaple i am pretty sure i saw a patch go by that removed like 50% of rabbitmq.s start.sh08:25
sdakemaybe that was mariadb08:25
sdakekennan please file a bug08:26
sdakeand link to channel08:26
sdakeon the rabbitmq bug08:26
Kennanhi sdake: maybe not kolla bug, I noticed08:27
Kennanthat VM have two ips (if I not configured in /etc/hosts specifcly)08:27
SamYapleKennan: that is correct08:28
Kennanit would default hostname with ip about private ip08:28
Kennanif I configrued public ip with such hostname in /etc/hosts08:28
Kennanthat can rabbimq work08:28
Kennanit seems kolla depends some for rabbitmq host configuration08:28
SamYaplesdake: that was removed way back in config-internal08:29
SamYapleit was never used in config-external08:29
SamYapleever08:29
SamYaplefound the code youre talking about htough08:29
sdakewierd i wonder why my machine works08:29
SamYaplehttps://github.com/stackforge/kolla/commit/1a145d8a010d05762a0101bb96517eeb5cb52e2908:29
SamYapleconfig-rabbitmq.sh08:29
Kennanrabbitmq-env.conf used public ip (which I think kolla config)08:29
SamYaplebut again, that code was never ever used in config-external (i wrote the config external piece)08:29
Kennanso it need to use such ip for the hostname08:29
Kennanif use other ip, the rabbitmq-env.conf would think wrong (i think)08:30
sdake-        # work around:08:30
sdake-        # https://bugs.launchpad.net/ubuntu/+source/rabbitmq-server/+bug/65340508:30
openstackLaunchpad bug 653405 in rabbitmq-server (Ubuntu Oneiric) "rabbitmq-server fails to start if hostname is unresolvable or has changed since first starting" [High,Fix released] - Assigned to Marc Cluet (lynxman)08:30
sdake-        HOSTNAME=`/usr/bin/hostname -s 2> /dev/null || /bin/hostname 2> /dev/null`08:30
sdake-        echo "${RABBITMQ_SERVICE_HOST} ${HOSTNAME}" > /etc/hosts08:30
*** dolpher has joined #kolla08:30
sdakewell bedtime for me08:30
sdakehorizon works nice job samyaple08:31
sdakekennan please file a bug08:31
Kennanok sdake: I would find another OS to make it work now08:31
*** diga has quit IRC08:31
Kennanas centos neutron not work08:31
sdakekennan build from source08:31
Kennanreally sad08:31
SamYapleKennan: ubuntu-source is the smallest bestest one right now!08:31
sdakewhat is sad?08:31
Kennanyes, SamYaple: is it a Cloud oS?08:31
sdakedelorean releases every 3 days08:31
SamYapleKennan: no its perfect. build from source is perfect for openstack in docker containers08:31
sdakeneutron cats merged a busted patch08:32
openstackgerritMerged stackforge/kolla: Update Haproxy for Horizon  https://review.openstack.org/21658208:32
sdakeand delorean snapshotted right then08:32
sdakesamyaple pleae relay commands to build from source08:32
SamYaple~/kolla/tools/build.py --base ubuntu --type source08:32
*** weiyu_ has quit IRC08:33
SamYaple~/kolla/tools/build.py --base ubuntu --type source --template08:33
SamYapleyou have to use --template for ubuntu08:33
KennanSamYaple: if I understand correctly, it means ubuntu 14.04, I need either change docker configuration for btrfs08:33
sdakekennan after you do that you need to change centos to ubuntu and binary to source08:33
Kennanor complier kernel with 3.1908:33
sdakein globals.yml08:33
*** weiyu has joined #kolla08:33
sdakekennan just build from source on centos - may or may not work ;)08:34
SamYapleKennan: you dont need to compile the 3.19 kernel08:34
SamYapleits in the repo08:34
KennanOK. let me try your /kolla/tools/build.py --base ubuntu --type source --template08:34
Kennanlet me verify if it work or not08:34
sdakekennan dont forget to change globals.yml08:35
SamYapleKennan: apt-get install linux-image-generic-lts-vivid08:35
SamYaplethats teh 3.19 kernel08:35
SamYaplefor trusty08:35
*** weiyu has quit IRC08:35
coolsvapsdake, minor comment in the compose patch, https://review.openstack.org/#/c/212830/16/compose/glance-api-registry.yml08:37
coolsvapalso if you can remove WIP since its ready for review :)08:37
sdakeVOLUMES need to be dealt with08:38
* sdake groans08:38
SamYaplesdake: in the next patch08:38
openstackgerritMerged stackforge/kolla: Fix regression in build-script  https://review.openstack.org/21639508:38
SamYaplethe compose stuff has been busted anyway08:38
SamYaplewe can merge this08:38
SamYaplethen fix compose and VOLUMES08:38
SamYaplei mean the compose files are hard broke right now08:39
Kennanhi SamYaple: do you know when use that build from source, what need to change for globals.vml ? according to sdake said08:39
Kennandoes any doc cover this ?08:39
coolsvapeven if its busted the image name is wrong in only glance compose file08:39
sdakeim still going to bed :)08:40
sdakenight08:40
* coolsvap brb08:40
sdakethanks for looking at it tho coolsvap08:40
*** weiyu_ has joined #kolla08:40
coolsvapsdake, if we are going to merge it i will update the change08:40
SamYaplewhy not just remove compose from the change?08:41
SamYaplecompose is all busted to hell anyway08:41
SamYapleits not going to be working anytime soon08:41
sdakebecuase eeveryone bitched when i didn't adjut compose08:41
SamYaplewell compose is broke now08:41
SamYaplei dont want to hold up this patch anylonger08:41
sdakei agree it shoud be removed from the repo entirely imo08:41
SamYapleill submit a new compose patch to fix things08:41
SamYaplelets just merge this08:41
SamYapleits 16 patchsets deep08:41
SamYapleand 12 days08:42
SamYaplethis is what we need to merge08:42
sdakemostly because of the first patch08:42
pbourkemorning all08:42
sdakestill going to bed08:42
SamYaplemorning pbourke!08:42
sdakenight :)08:42
pbourkewas out yesterday08:42
SamYaplecoolsvap: lets merge it as is ill submit the compose patch08:42
coolsvapSamYaple, alright08:42
SamYaplecoolsvap: compose is all busted and needs way more love08:42
pbourkesdake: night!08:42
*** shardy_ has joined #kolla08:43
coolsvapsdake, night08:43
pbourkeSamYaple: for you comment on the swift config.yml - I tried with with_items loop but ansible doesn't seem to like that when using include?08:43
coolsvapSamYaple, done!08:44
* coolsvap brb08:44
SamYapleyou used to be able to pbourke, did that change?08:44
SamYaplewhat do you mean doesnt like?08:44
*** shardy has quit IRC08:44
pbourkeSamYaple: it explicitly bombs with an error something like "we don't do this anymore for includes"08:44
pbourkeSamYaple: I did google it friday evening, let me see if I can find the links again08:45
SamYapleits in v208:45
openstackgerritMerged stackforge/kolla: WIP: Remove data containers and adjust compose files  https://review.openstack.org/21283008:46
sdakepbourke SamYaple please sort out getting swift merged keeping in mind I want to retain 1.9.z compatibility in our playbooks....08:48
sdakei'd like it merged today if possible08:48
sdakeTIA!08:48
*** shardy_ has quit IRC08:48
SamYaplepbourke: is swift in a functional state right now?08:48
pbourkeSamYaple: yes08:48
SamYaplewell come back to this issue then because it needs to be a different config per service for update reasons08:49
*** shardy has joined #kolla08:49
SamYapleif you update it once it wont know to restart al lthe services08:49
SamYaplepbourke: it looks like youll need a rebase but im fine then08:49
SamYapleill poke at it later08:49
pbourkeSamYaple: ok, I'll push a rebase and log a bug for the above08:49
SamYaplethanks pbourke08:52
SamYaplecan you make sure to retest after the rebase?08:52
SamYapleweve had alot of changes08:52
*** shardy has quit IRC08:52
*** shardy has joined #kolla08:54
SamYaplepbourke: kolla is not pip install-able08:54
SamYaplenow*08:54
pbourkewhats the reason?08:55
SamYaplewhat do you mean?08:55
pbourkeon friday we were discussing how to make kolla a python package08:55
pbourkeare you saying that's not possible?08:56
SamYaplei corrected myself08:56
SamYaple08:55 < SamYaple> pbourke: kolla is not pip install-able08:56
SamYaple08:55 < SamYaple> now*08:56
pbourkeah :)08:56
SamYaplethe patches merged08:56
pbourkegreat!08:56
SamYaplealso horizon is working (at least on ubuntu-source)08:56
SamYaplemerged08:56
SamYaplei can one click install ubuntu-source openstack and get horizon and instances booting08:57
pbourkewow08:57
pbourkeso no JS errors on horizon?08:57
SamYapleno i fixed all that08:57
pbourkefantastic08:58
SamYaplejust a pathing issue08:58
SamYapleits kinda confusing what its asking for08:58
SamYapleso its easy to messup the path08:58
SamYapleand then there is openstack_dashboard and openstack-dashboard08:58
SamYapleboth needed in diferent places :)08:58
pbourkeyeah stuff confused me08:58
pbourke*that stuff08:58
SamYapleindeed08:58
pbourkethat's really good news though08:59
SamYaplei never tackled it in yaodu ofr a reason08:59
SamYaplebtw, this is where kolla pulls away from yoadu!08:59
SamYaplehorizon is the first ansible thing merged that yaodu didnt have08:59
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21662109:04
*** weiyu_ has quit IRC09:05
*** weiyu_ has joined #kolla09:05
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21662209:06
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21662309:06
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21662409:07
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21662909:22
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663009:22
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663109:22
inc0https://www.youtube.com/watch?v=EF0lVn3n12I good tune09:23
SamYaplei prefer https://youtu.be/8XFBUM8dMqw09:24
pbourkeis anyone still getting this rabbitmq permission denied error09:24
pbourkehas been hanging around since we changed to single data image :?09:25
SamYaplepbourke: are yo uusing master?09:25
SamYaplevbel fixed that issue09:25
pbourkethat's what I thought09:25
SamYapleit was a problem with ansible09:25
pbourkeyeah using master it's weird09:25
*** akwasnie has joined #kolla09:25
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663109:26
pbourkerm -f on containers seems to have done the trick09:27
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21662909:27
SamYaplepbourke: yea you would have to rebootstrap rabbit09:27
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663009:27
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663009:31
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663509:33
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663609:33
*** shardy_ has joined #kolla09:33
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663709:34
*** shardy has quit IRC09:35
*** weiyu_ has quit IRC09:37
vbelpbourke: check what is inside of the container, /opt/kolla/config-rabbit.sh09:38
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hackingd  https://review.openstack.org/21663509:38
*** shardy_ has quit IRC09:39
*** shardy has joined #kolla09:39
openstackgerritSam Yaple proposed stackforge/kolla: sDO NOT MERGE - Gate Hacking  https://review.openstack.org/21663609:41
*** weiyu has joined #kolla09:44
vbelcommon guys, where is build.py? :)09:45
vbel../kolla/cmd/build.py: No such file or directory09:45
SamYaplevbel: kolla/kolla/cmd/build.py is where it was moved to09:45
SamYapleyou can stil laccess it in tools/build.py09:46
inc0I like that about kolla09:46
SamYaplewhats that?09:46
inc0I'm off for night and dir structure is completely different when I wake up09:46
inc0it's full of surprises09:46
SamYapleits cause it is a pip packges now :P09:46
SamYapleit had to change09:46
SamYaplei made sure to preserve existing structure09:47
SamYapleall the commands should still work the same09:47
SamYaplebut sdake wanted t orush it in for reasons09:47
inc0I don't have problems with that, it just happends from time to time09:48
SamYapleyea i know what you mean09:48
*** dims__ has joined #kolla09:48
*** dims__ has quit IRC09:48
SamYapleits why im always here09:48
SamYaplecant be missin out09:48
*** dims__ has joined #kolla09:49
vbelSamYaple: no cmd after checkout, also github site has no cmd in kolla root09:52
SamYaplevbel: i never said kolla root09:52
SamYaple09:46 < SamYaple> vbel: kolla/kolla/cmd/build.py is where it was moved to09:53
vbelSamYaple: found it! thanks :)09:53
Kennanhi SamYaple:09:53
KennanI am tring build from source on centos VM now09:54
Kennan tools/build.py --base ubuntu --type source --template09:54
Kennanis it ?09:54
SamYaplethat looks right09:54
SamYaplekeep in mind no one has ever tested building ubuntu images on centos09:54
SamYaplejust fyi09:54
Kennanhi SamYaple: yes seems have issue, just hang10:00
KennanINFO:__main__:Processing: base10:00
Kennannot any output until now10:00
SamYapleKennan: its fine10:00
SamYaplethe logging needs some work, but its processing10:01
SamYapleit will spit out output at the end of each image biuld10:01
KennanSamYaple: did you suggest build from source ? if I understand correctly10:01
Kennanthat's why I tried this way :)10:01
SamYapleI did, but I run on ubuntu not centos10:01
SamYapleive never build ubuntu source from centos10:02
*** pbourke has quit IRC10:03
Kennanoh SamYaple: maybe centos VM is not good choice now :010:04
Kennanif centos even not work with build from source10:05
SamYapleyea that was my point. It should work, its just never been tested10:05
KennanI would choose ubuntu MV10:05
KennanVM10:05
SamYapleI only use ubuntu from source at this point, so i can attest to that working10:05
*** pbourke has joined #kolla10:05
SamYapleall the rest i havent fully tetsed in over a week10:05
Kennanok SamYaple: so ubuntu OS build source for ubuntu image ?10:06
SamYapleThats what i test on, yes10:06
Kennanthanks guy10:06
*** mandre has quit IRC10:07
coolsvappbourke, https://review.openstack.org/#/c/216295/ needs changes10:11
*** mandre has joined #kolla10:20
Kennanhi SamYaple:10:33
Kennandid build from source have logs ?10:33
Kennanit just hang on INFO:__main__:Processing: base10:33
KennanI did not know what happened10:33
openstackgerritVladislav Belogrudov proposed stackforge/kolla: Add ability to make tarballs from Git clones  https://review.openstack.org/21665510:34
SamYapleKennan: if yo uwant to see output, use `tools/build.py --base ubuntu --type source --template -T1`10:36
*** shardy_ has joined #kolla10:37
*** shardy has quit IRC10:38
SamYaplevbel: i like it!10:40
SamYaplegood job10:40
SamYaplea few comments for you10:40
vbelthanks!10:41
*** zhiwei has quit IRC10:41
*** shardy_ has quit IRC10:43
SamYaplevbel: to geenerate the exact same tarball each time with the git clone will be tricy10:43
SamYapleticky*10:43
SamYapletricky*10:43
*** shardy has joined #kolla10:43
vbelyes, since it ever-growing thing10:44
SamYapleyoull have to change the timestamps for the files internally and maybe other things10:44
SamYaplewell no you could do a shallow clone10:44
*** vbel has quit IRC10:44
SamYaplejust keep in mind, git cloning will not be able to use the cache as is10:44
*** vbel has joined #kolla10:44
*** jruano has joined #kolla10:44
SamYaplewe can merge this now though10:44
SamYaple(im mean once its reviewed)10:44
*** britthouser has quit IRC10:45
SamYaplewe can fix the cache at a later date once we have thought it through10:45
*** britthouser has joined #kolla10:47
*** pbourke has quit IRC11:28
*** pbourke has joined #kolla11:28
*** dolpher has quit IRC11:34
*** rhallisey has joined #kolla11:35
*** Haomeng|2 has joined #kolla11:39
openstackgerritVladislav Belogrudov proposed stackforge/kolla: Add ability to make tarballs from Git clones  https://review.openstack.org/21665511:41
*** Haomeng has quit IRC11:42
openstackgerritVladislav Belogrudov proposed stackforge/kolla: Add ability to make tarballs from Git clones  https://review.openstack.org/21665511:44
*** weiyu has quit IRC11:51
*** shardy_ has joined #kolla11:58
*** shardy has quit IRC12:00
openstackgerritRyan Hallisey proposed stackforge/kolla: Fail faster when docker isn't running  https://review.openstack.org/21629512:04
*** shardy_ has quit IRC12:04
*** shardy has joined #kolla12:05
coolsvaprhallisey, if you can rebase https://review.openstack.org/#/c/216295/ on the recent build.py changes, its ready for merge12:06
SamYaplecoolsvap: can you remove you -2 on ryans patch12:06
SamYapleyea that12:06
rhalliseyI did12:06
rhalliseySamYaple, thanks for fixed the summary output.  I was wondering what was going on there12:06
coolsvapsorry for that12:06
rhalliseycoolsvap, no problem12:06
inc0hey, guys, -2 is usually "we don't want it here"12:07
inc0and it means death of a patchset12:07
SamYapleinc0: its also used to hard block12:07
SamYaplewhich we need inc012:07
inc0-1 from core should be enough12:07
SamYaplein this ase it was so the pip stuff could merge12:07
rhalliseyno worries coolsvap you haven't gotten the new core onboarding from steak12:07
SamYapleinc0: no it needed a hard blcok so it didnt merge12:07
SamYapleit can merge with -112:07
SamYaplecore or not12:07
inc0but it won't merge without +2 +w12:08
coolsvappbourke, did approve it, so i did a hard block12:08
SamYaplesure but if a core doesnt see that -1 then ic can accidentally merge, hence the -2 to ensure it doesnt inc012:08
openstackgerritVladislav Belogrudov proposed stackforge/kolla: Add ability to make tarballs from Git clones  https://review.openstack.org/21665512:08
inc0well, guys...don't merge something with -1 from core then;) -2 usually is death of patchset, and people will percieve it as such12:09
coolsvaprhallisey, i think it will fail pep812:09
SamYapleinc0: i will -2 to block for the patch we were waiting on12:10
SamYaplethat is normal behaviour12:10
rhalliseycoolsvap, k let me confirm12:10
inc0coolsvap, I don't think it will...I actually confirmed that yesterday12:10
coolsvaprhallisey, i already did12:10
inc0unless something bad changed since then12:10
coolsvap./tools/build.py:35:1: H306  imports not in alphabetical order (requests.exceptions.connectionerror, jinja2)12:11
coolsvapimport jinja212:11
coolsvap^12:11
inc0yeah, but that's problem of whole script12:11
SamYapleinc0: no it isnt12:11
SamYapleits not in alphabetical order12:11
SamYapler is after j12:11
inc0I mean import order is pep8-broken12:12
inc0requests are in middle of imports for example12:12
SamYaplethe patchset is out of order12:12
inc0and it shouldn't be12:12
SamYaplethat is form this patchset12:12
coolsvapSamYaple, i agree with inc0, actually12:12
SamYaplehttps://review.openstack.org/#/c/216295/12/kolla/cmd/build.py12:12
SamYaplethats in this patchset though12:12
SamYaplei dont understand12:13
inc0requests is there for long time12:13
coolsvapbut this patchset should is not meant to doeal with it12:13
SamYaplerequests is not in the base patchset12:13
coolsvapi will send a patchset which will make more sense to what we are talking about12:13
SamYaplethat is literally added for this patchset12:13
SamYapleim sorrt, the ConnectionError from requests*12:13
SamYapleimport requests is still up top12:13
coolsvapsomething of this sort is recommendation http://docs.openstack.org/developer/hacking/#import-order-template12:13
inc0SamYaple, https://github.com/stackforge/kolla/blob/master/kolla/cmd/build.py#L2512:14
SamYaplethats not what pep8 is complaining about inc012:14
inc0but it is pep8-broken anyway12:14
SamYapleits complaining about L3412:14
SamYaplehow so is the question12:14
inc0requests is 3rd party library12:14
inc0normal pep8 tool doesn't check that12:14
SamYaplenow thats fair12:15
inc0requests is 3rd party lib and it should be below stdlib imports12:15
coolsvapordering is misplaced12:15
inc0also, https://github.com/stackforge/kolla/blob/master/kolla/cmd/build.py#L30 is wrong12:15
inc0from imports should be below normal imports12:15
openstackgerritRyan Hallisey proposed stackforge/kolla: Fail faster when docker isn't running  https://review.openstack.org/21629512:15
rhalliseyk there we go12:16
SamYapleinc0: you are wrong there12:16
SamYaplehttp://docs.openstack.org/developer/hacking/#import-order-template12:16
rhalliseylet me know where you want requirements. I'm not picky at all12:16
* rhallisey moves on12:16
coolsvaprhallisey, :)12:17
inc0yeah, I give you that, from imports aren't specified explicitly in pep812:19
rhalliseybrb12:20
*** rhallisey has quit IRC12:21
SamYapleinc0: i guess its just interpretation then12:21
SamYaplebut flake8 does check that12:21
inc0yeah it does12:23
inc0anyway, requests are in wrong place anyway:P12:23
SamYapleagreed12:23
vbelimport-order-template :))) somewhat confusing when it comes to the lines with project imports12:23
SamYaplei hadn't noticed it was 3rd party in the wrong spot12:23
*** chandankumar has joined #kolla12:32
SamYaplealright guys12:41
SamYaplewho is ready for another round of build.py!?!12:41
SamYapleinc0 you up for it?12:41
*** weiyu_ has joined #kolla12:41
SamYapleim ready for some critic12:41
inc0we have this as topic for tomorrows meeting12:42
inc0let's discuss that there12:42
SamYapleno this is an incomping patchset12:42
SamYaple;)12:42
inc0well, you know I have issues with it:P let me finish rsyslog first tho12:43
openstackgerritSam Yaple proposed stackforge/kolla: Remove tiered building in build.py  https://review.openstack.org/21669112:44
SamYaplethere ya go inc012:44
SamYapletear it up12:44
SamYaplefind_parents is most likely the area of discussion fyi12:45
inc0well...I see you didn't remove debug ifs I guess;)12:46
inc0line 39212:47
SamYaplei think i already commented on that :D12:47
inc0you know that if self.images would be dict we wouldn't need parents dict?12:49
SamYaplethats not true at all12:50
SamYapleim adding to the parents dict and rechecking12:50
SamYaplethis is honeslty the best of both worlds that we talkedabout yesterday12:50
SamYapleself.images doesnt need to be a dict, but we can still do the dit lookup like you wanted12:50
inc0using different dict;)12:51
SamYaplebecause this wouldnt work with self.images even if it were a dict inc012:51
SamYaplelook at it again12:51
inc0ofc it wouldn't but you could implement normal tree with it easily12:52
SamYapleim confused, are stil lsaying self.images should be a dict?12:53
SamYaplethis was teh only use case where oy uwanted that functionality and we have it12:53
SamYapleand i agree with it for sure, just not in self.images since it would be pointless12:53
* SamYaple is trying to make inc0 happy :(12:53
SamYaplei worked on this all night to solve your issues with the biuld script12:54
inc0http://paste.openstack.org/show/427027/12:55
SamYapleno inc012:56
SamYapleit has ot be the object12:56
SamYaplenot the name12:56
inc0well...it doesn't if we change that above12:57
SamYapleno im telling you children has to be the object12:57
inc0but that only means we remove key from there12:57
SamYaplei inject that data into the queue12:57
inc0it works12:57
SamYaplebrb im cool with a simpleir change12:58
SamYaplewill check inin a few12:58
pbourkeinc0: would you have a quick example of a regex to build multiple images?12:58
pbourkeinc0: tried build.py 'keystone|galera'12:58
pbourkebut no good12:58
inc0pbourke, build.py neutron ceilometer12:59
pbourkeah12:59
pbourkethanks12:59
*** dwalsh has joined #kolla12:59
*** klint has quit IRC13:00
inc0SamYaple, how to debug kolla_ansible container13:03
inc0?13:03
inc0endpoint times out and I wanna know why13:03
vbelhttps://review.openstack.org/#/c/216655/  - pep8 does not complain, I will be happy to build kilo with it ;)13:08
*** weiyu_ has quit IRC13:10
vincent_vdkhi, is it possible to run the network service spread over the 3 control nodes when deploying multinode?13:15
inc0vincent_vdk, have you tried to simply adding 3 nodes in network in ansible inventory?13:17
inc0should work13:17
vincent_vdkno, but i would like to use the control nodes for that13:17
vincent_vdkbut not sure it will work because the example inventory uses separate hosts13:18
*** jtriley has joined #kolla13:21
*** dims__ has quit IRC13:24
*** dims__ has joined #kolla13:25
*** diogogmt has joined #kolla13:30
*** ashishb has quit IRC13:31
*** absubram has joined #kolla13:32
pbourkeis anyone having an issue where mariadb is trying to bootstrap on all nodes13:33
*** absubram has quit IRC13:35
*** dims has joined #kolla13:36
*** dims__ has quit IRC13:36
*** dims_ has joined #kolla13:39
*** dims__ has joined #kolla13:41
*** dims has quit IRC13:42
*** dims_ has quit IRC13:45
*** macjack has joined #kolla13:48
*** inc0 has quit IRC13:48
*** macjack has quit IRC13:48
*** shardy_ has joined #kolla13:50
*** shardy has quit IRC13:51
*** thumpba has joined #kolla13:53
pbourkeseems to be around permissions again13:55
*** shardy_ has quit IRC13:55
*** shardy has joined #kolla13:56
*** ccrouch has quit IRC13:56
*** jruano has quit IRC13:57
*** daneyon_ has quit IRC13:58
SamYapledid inc0 leave?13:58
*** daneyon has joined #kolla13:58
*** shardy has quit IRC14:00
*** shardy has joined #kolla14:01
SamYaplepbourke: regex do not work14:01
SamYaplei was trying to talk to him the hother day14:01
SamYapleit only supports word matches14:01
SamYapleliek you cant do just '^base$'14:02
pbourkehmm14:02
pbourkemysqld: Can't create/write to file '/var/lib/mysql/aria_log_control' (Errcode: 13 "Permission denied")14:02
SamYaplewhat image?14:02
pbourkethis is a symptom of out of date data containers?14:02
pbourkeI've rebuilt all with --no-cache from master14:02
SamYapleit very well could be14:02
SamYaplei would recommend removeing your containers and purging all images14:03
pbourkehave done14:03
SamYaplemaster works for me right now, i just did a quick demo14:03
SamYaplebut im using ubuntu source14:03
pbourkei'll keep at it14:03
SamYaplesorry :/14:03
*** diogogmt has quit IRC14:04
pbourkenot your fault14:04
pbourkeprobably ;)14:04
SamYaplewith the sick burn ohhhh14:04
pbourkesucks though cause I need to get swift rebased14:05
*** chandankumar has quit IRC14:06
vincent_vdkso if you want to deploy on multiple hosts i guess it's adviced to run your own docker registry14:10
pbourkevincent_vdk: yes14:15
pbourkevincent_vdk: see the included vagrantfile for an example14:15
*** ftcpops has joined #kolla14:16
vincent_vdkik had issues with latest docker and registry < 2.x14:18
vincent_vdkcouldn't push images14:18
vincent_vdkbut thanks for the pointer14:18
SamYapledo not use docker registry 2.0 locally14:18
SamYapleits bad14:18
SamYapleand slower14:18
vincent_vdkSamYaple: ave you tried 2.1?14:18
SamYapleuse the 'latest' tag, it still points to the 1.x registry14:18
*** ccrouch has joined #kolla14:18
SamYapleyea14:18
*** ccrouch has quit IRC14:18
*** ccrouch has joined #kolla14:18
SamYapleall the 2.0 requires compression so its much slower locally14:18
vincent_vdkworks fine here14:19
SamYapledid the fix the duplicate tags pushing up14:19
SamYapleif you push the same image twice it will fully upload twice14:19
SamYapleor at least it did on the last registry 2 that i ran14:19
vincent_vdkah, would have to check that14:20
vbelregistry 2.1 failed - I could not push anything to it14:21
vbeljust buggy image14:21
vbelI use registry:2.014:21
SamYapleyea i would not recommend that14:21
vbelregistry:2 == registry:2.1 = registry:latest14:21
SamYaplelatest tag is still 0.9.114:22
SamYaplefor good reason14:22
vbelsorry, registry:2 == registry:2.1 != registry:latest14:22
SamYaplehttps://hub.docker.com/_/registry/14:22
vincent_vdkvbel: strange, i had that issue until I updated to 2.114:23
vincent_vdki would have to check again14:23
vbelvincent_vdk: I am getting error after it successfully pushed to 2.114:24
vincent_vdkone coould actually use tarballs :)14:25
vincent_vdkwithout layers for prod14:25
vincent_vdkand skip the whole registry thing14:25
vbelif you want to open stuff (for production) it is the easiest to use docker hub. This registry image is for devops :)14:26
vincent_vdk:)14:27
vincent_vdkafter all the tripleo based setups i'm going to give kolla another try14:28
openstackgerritSam Yaple proposed stackforge/kolla: Remove tiered building in build.py  https://review.openstack.org/21669114:28
SamYaplepbourke: I also included super in here for oyu https://review.openstack.org/#/c/216691/2/kolla/cmd/build.py14:30
SamYaplealso i changed the 'parent' key reference from a string to an image by creating a seperate key 'parent_name'14:31
*** ashishb has joined #kolla14:38
*** diogogmt has joined #kolla14:53
*** ccrouch has quit IRC14:54
*** achanda has joined #kolla14:54
*** ccrouch has joined #kolla14:55
openstackgerritMerged stackforge/kolla: Fail faster when docker isn't running  https://review.openstack.org/21629514:57
pbourkeno such option: --install-option14:58
pbourkewhen building kolla-ansible14:58
pbourkelooks like a bug14:59
*** achanda has quit IRC15:04
pbourkeSamYaple: can you build kolla-ansible on ubuntu base?15:10
*** inc0 has joined #kolla15:11
inc0afternoon15:11
*** jruano has joined #kolla15:11
openstackgerritSam Yaple proposed stackforge/kolla: Remove tiered building in build.py  https://review.openstack.org/21669115:27
openstackgerritSam Yaple proposed stackforge/kolla: Remove tiered building in build.py  https://review.openstack.org/21669115:29
SamYaplepbourke: nah its broken15:29
SamYaplepbourke: i have to change all the source stuff to unify centos and ubuntu15:29
SamYapleinc0: hey!15:29
SamYapleupdated the patch15:29
SamYapletake a look and review away15:29
SamYaplepbourke: i have a patchset series that fixes all of that15:30
*** blahRus has joined #kolla15:31
*** shardy_ has joined #kolla15:31
*** shardy has quit IRC15:32
*** shardy_ has quit IRC15:36
*** ashishb has quit IRC15:36
*** ccrouch has quit IRC15:37
*** ccrouch has joined #kolla15:37
*** shardy has joined #kolla15:37
*** ccrouch has quit IRC15:37
*** chandankumar has joined #kolla15:37
*** ccrouch has joined #kolla15:37
*** ccrouch has quit IRC15:38
*** ccrouch1 has joined #kolla15:38
*** rhallisey has joined #kolla15:40
inc0SamYaple, I can't test it right now, but could you please test ./build.py neutron-agents ? will it build base as well?15:43
SamYapleyes15:44
SamYapleregex all works15:44
SamYaplethats why the parent linking is nice, i walk up the parent chain and set status = 'matched'15:44
SamYapleregular regex is still borken though15:44
SamYapleyou cant use ^base$15:45
inc0yup, that's price of comfort15:45
inc0but neutron.*base should work15:46
SamYapleregex is kinda a bad name for that option then15:46
SamYapleyea that works15:46
*** cfarquhar has joined #kolla15:57
*** cfarquhar has quit IRC15:57
*** cfarquhar has joined #kolla15:57
*** akwasnie has quit IRC15:59
*** stvnoyes has joined #kolla16:03
*** stvnoyes has left #kolla16:03
*** rhallisey has quit IRC16:06
*** inc0 has quit IRC16:06
openstackgerritSam Yaple proposed stackforge/kolla: Remove tiered building in build.py  https://review.openstack.org/21669116:08
SamYaplepbourke: i have regex fixed in that patch now16:08
openstackgerritSam Yaple proposed stackforge/kolla: Remove tiered building in build.py  https://review.openstack.org/21669116:09
SamYaplesdake: ping16:10
*** SourabhP has joined #kolla16:15
*** diga has joined #kolla16:15
*** SourabhP has quit IRC16:20
*** diogogmt has quit IRC16:24
*** diogogmt has joined #kolla16:25
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663016:28
openstackgerritVladislav Belogrudov proposed stackforge/kolla: Add ability to make tarballs from Git clones  https://review.openstack.org/21665516:28
*** unicell has joined #kolla16:30
*** unicell1 has quit IRC16:31
*** unicell has quit IRC16:31
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663016:32
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663016:35
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663016:38
openstackgerritSam Yaple proposed stackforge/kolla: DO NOT MERGE - Gate Hacking  https://review.openstack.org/21663016:42
*** dwalsh has quit IRC16:56
*** diga has quit IRC17:02
*** chandankumar has quit IRC17:03
*** jmccarthy has quit IRC17:05
*** unicell has joined #kolla17:11
*** ashishb has joined #kolla17:12
*** unicell1 has joined #kolla17:13
*** unicell has quit IRC17:13
*** achanda has joined #kolla17:15
bmacesdake or SamYaple around?17:17
*** absubram has joined #kolla17:22
pbourkethere is something up with mariadb17:31
pbourke:(17:31
harmwsdake: pong17:32
*** jasonsb has quit IRC17:33
*** jasonsb has joined #kolla17:34
*** jasonsb has quit IRC17:38
*** loth has joined #kolla17:39
*** ftcpops has quit IRC17:45
*** akwasnie has joined #kolla17:48
*** shardy_ has joined #kolla18:04
*** shardy has quit IRC18:05
*** shardy_ has quit IRC18:09
*** shardy has joined #kolla18:10
*** jasonsb has joined #kolla18:12
*** tummy has joined #kolla18:12
*** britthouser has quit IRC18:17
*** britthouser has joined #kolla18:17
*** jpeeler has quit IRC18:19
*** jpeeler has joined #kolla18:22
*** sdake_ has joined #kolla18:25
*** ftcpops has joined #kolla18:27
*** sdake has quit IRC18:29
*** rhallisey has joined #kolla18:31
sdake_bmace wound me18:50
sdake_pburke yes kennan reported tht earlier18:50
harmwsdake_: pong #218:51
*** chandankumar has joined #kolla18:52
harmwand remove the _ :> it hurts18:52
*** jasonsb has quit IRC18:52
*** jasonsb has joined #kolla18:53
*** daneyon_ has joined #kolla18:53
sdake_harmw shoot18:54
*** sdake_ is now known as sdake18:54
harmwno you, you pinged earlier :)18:54
*** daneyon has quit IRC18:55
sdakei ws probably looking for a review but i don't reall18:57
*** jruano has quit IRC19:02
*** ccrouch1 has quit IRC19:02
*** ccrouch has joined #kolla19:03
ftcpopsHi Kolla - first kolla question for me.  I'm trying to deploy kolla on a CentOS 7 VM behind a proxy. I think I have the proxy setup correct, but I can't seem to get past this error: ERROR:__main__:The command '/bin/sh -c yum install -y https://rdoproject.org/repos/openstack-kilo/rdo-release-kilo.rpm' returned a non-zero code: 119:12
*** daneyon_ has quit IRC19:12
ftcpopsANy ideas?19:12
sdakeyes you need to use a proxy override in the build process19:12
*** daneyon has joined #kolla19:12
*** daneyon has quit IRC19:12
sdakethis is undocumented as we just added it  few days ago19:12
ftcpopsOkay thanks.  I'm glad I didn't just overlook something obvious19:13
*** sdake_ has joined #kolla19:15
sdake_tbh i'm not quite sure how to do the job, but it has to do with the build operation but it involves kolla-build -i19:17
sdake_  -i INCLUDE_HEADER, --include-header INCLUDE_HEADER19:17
sdake_                        Path to custom file to be added at beginning of base19:17
sdake_                        Dockerfile19:17
sdake_basically I think you put ENV http_proxy=proxyserver19:18
sdake_and one for pip as well19:18
sdake_i don't know the exact details, vbel is your man there19:18
harmwhttps_proxy= probably19:18
sdake_right19:18
ftcpopsokay, I'm poking around19:18
*** sdake has quit IRC19:18
harmwI still think that patched dockerd is cleaner, instead of inserting extra files :p19:18
sdake_its totally not documented, i'm not entirely sure how it works but it solves oracle's use case19:18
sdake_which is precisely building behind a proxy server firewall setup19:19
ftcpopsheh19:19
ftcpopsproxies are a pain19:19
sdake_harmw kolla community is not delivering forked versions of docker ;-)19:20
harmwno lol19:20
*** jasonsb has quit IRC19:21
sdake_ftcpops i'd document it but i don't have a proxy server setup environment to do so19:22
sdake_recommend creating a file in ~/include.docerfile19:22
sdake_and putting in that ENV https_proxy=yourproxyserver19:22
sdake_and putting ENV pip_proxy (or whatever the pp proxy command is=yur proxy server19:22
* sdake_ needs more minerals19:23
*** sdake_ is now known as sdake19:23
sdakeand using kolla-build -i ~/include.dockerfile19:25
*** dims__ has quit IRC19:25
*** dims has joined #kolla19:26
*** achanda has quit IRC19:28
sdakevbel is your man for that question he is in europe19:28
sdakei'll ask him to submit a docs change so we dont all struggle with that one ftcpops  :)19:28
ftcpopsokay, I'm still plugging away19:28
ftcpops:D19:28
bmacehey sdake, was looking at the node_templates_directory env_var.  is the intent that it is the location stuff is put that is consumed by the containers and the "empty" stuff is in /etc/kolla on the ansible / deployer node?19:30
sdaketemplates directory is consumed by ansible iirc19:31
sdakeit belongs in /var/lib/kolla imo not /usr/share/kolla19:31
sdakebut yes /etc/kolla directory is consumed by deployer mode19:31
bmaceconsumed on the deploy side?19:31
sdakebmace i believe so yes19:31
* sdake wtbs a document titled "questioned-asked-a-milssion-plus-one-times.rst ;)19:32
bmacewell, if the templates dir is on the deploy side, how does it get populated?  /etc/kolla is easy enough, you just copy kolla/etc/kolla/* recursively into /etc/kolla19:32
sdakebmace ansible creates it19:32
bmacei did a search for node_templates_directory to see if it was documented anywhere and it isn't.19:33
*** mfalatic has quit IRC19:33
sdaketemplates dir is only consumed on the deployed to node19:33
bmacekk, that is fine then.19:33
sdakeat least that is my understanding19:33
sdakethey are not meant to be user editable i know that ;)19:34
*** jasonsb has joined #kolla19:36
*** ccrouch has quit IRC19:41
*** ccrouch has joined #kolla19:45
*** ccrouch has quit IRC19:50
*** ccrouch1 has joined #kolla19:50
ftcpopsI think I'm getting somewhere. I created an include_proxy.dockerfile and used -i to bring it in. I also had to add --template and --no-cache to get it to move past this (I hope)19:51
ftcpopsThanks for the pointers!19:51
*** chandankumar has quit IRC19:56
*** ashishb has quit IRC20:01
*** jasonsb has quit IRC20:02
*** jasonsb has joined #kolla20:03
*** achanda has joined #kolla20:11
sdakeftcops cool did that work ? :)20:12
sdakeyou shouldnt have ot use -no-cache every time20:12
ftcpopsit's still going20:14
ftcpopsIt's on a pretty wimpy VM20:14
*** tummy has quit IRC20:37
sdakefwiw build on bare metal takes about 15 min with 100mbit network20:43
sdakeon vm over wireless it will take longer - especiallygoing through a proxy20:43
*** daneyon has joined #kolla20:56
*** achanda has quit IRC21:15
*** tummy has joined #kolla21:17
*** achanda has joined #kolla21:17
*** jtriley has quit IRC21:29
sdakeftcpops if you have benchmarks on your setup feel free to add them to the quicktart guide to set peoples expectations around build time21:33
ftcpops:)21:33
ftcpopsStill going21:34
sdakebummer over an hour21:34
sdakeonce you getfinished make sure to use the correct interface for the network_interface and neutron_interface or you could break your vm :)21:34
*** sdake_ has joined #kolla21:45
ftcpopsok :)21:47
*** sdake has quit IRC21:48
*** thumpba has quit IRC21:48
openstackgerritRyan Hallisey proposed stackforge/kolla: Replace config-external with a JSON file for Neutron-OVS  https://review.openstack.org/21687421:50
rhalliseysdake_, ^ let me know if you like that model21:50
sdake_rhallisey its gotta work for ansible dude :)21:51
rhalliseywhy wouldn't that work21:51
sdake_you don't change the ansible files?21:52
*** shardy has quit IRC21:52
rhalliseyno21:52
rhalliseybecause if I did then it probably wouldn't work for tripleo21:52
sdake_looking at patch21:52
sdake_moment21:53
rhalliseythis will run the service bases on what volumes are present in the container21:53
rhalliseyeh that made no sense21:53
rhalliseythis will run the service based on what configs are mounted into the container21:53
sdake_so initially patch looks good21:53
sdake_how does config.json get into the container?21:53
rhalliseyjust put it in Dockerfile21:54
sdake_so tripleo will modify dockerfiles?21:54
rhalliseywe would modify json file21:54
sdake_right i mean json file21:54
rhalliseybuild it and push it somewhere21:54
rhalliseyand pull it down from kolla21:54
rhalliseyor where ever21:55
rhalliseythis json file can be a massive list21:55
rhalliseywe just let people add to it21:55
rhalliseythe container will run based on what's present21:55
sdake_your patch doesn't break ansible deploy?21:55
rhalliseytesting it now just a sec21:55
rhalliseyit shouldn't21:55
sdake_i'd like config.py in common dir21:55
sdake_with symlink :)21:55
rhalliseyya21:56
rhalliseyfor sure21:56
rhalliseyI agree21:56
rhalliseythis is just test patch sorta21:56
sdake_ok so I am +1 on this change but would like other CR reviews21:56
sdake_we really need to fix it properly to have a stable abi21:56
rhalliseyya cool21:56
rhalliseyjust looking for opinions21:56
rhalliseysince you were around I figured I'd ask :)21:56
sdake_this is much better then ian's patch :)21:57
sdake_or your patch that ian submitted21:57
sdake_or whoever wrote that first thing that I almost -2'ed ;)21:57
sdake_config-external needs to stay though21:57
rhalliseyya we both just came up with it for a quick fix21:58
sdake_it is what decide beetween copy once and copy always21:58
rhalliseyoh hold on I missed somthing...21:58
rhalliseyya you're right except I handle that..21:58
rhalliseysomewhere..21:59
rhalliseyhold just a second21:59
rhalliseyoh looks like docker_templates/base/kolla-common is linked elsewhere22:00
sdake_busy with meeting bbiaf22:00
sdake_in 1 hour i'll be back and we can finish22:00
*** tummy has quit IRC22:01
openstackgerritRyan Hallisey proposed stackforge/kolla: Replace config-external with a JSON file for Neutron-OVS  https://review.openstack.org/21687422:01
rhalliseyok that's what it should look like22:01
*** sdake_ is now known as sdake22:01
rhalliseysdake, works with ansible22:14
sdakerhallisey still in meeting i'll get back to you22:14
rhalliseysdake, kk I'll brb22:15
sdakewhat would make it ideal is if ansible laid down that json file22:15
sdakeeven if it was hard coded to begin with22:15
rhalliseysdake, kk22:15
*** absubram has quit IRC22:15
rhalliseybrb22:16
*** rhallisey has quit IRC22:16
ftcpopsINFO:__main__:Successfully built images22:19
ftcpopsINFO:__main__:=========================22:19
ftcpopsINFO:__main__:Images that failed to build22:19
ftcpopsINFO:__main__:===========================22:19
ftcpopsIs that good or bad?22:19
*** achanda has quit IRC22:19
*** achanda has joined #kolla22:21
*** sdake_ has joined #kolla22:21
*** sdake has quit IRC22:24
*** sdake_ is now known as sdake22:24
*** akwasnie has quit IRC22:47
*** rhallisey has joined #kolla22:49
*** ftcpops has quit IRC23:00
*** tummy has joined #kolla23:05
*** unicell1 has quit IRC23:06
*** tummy has quit IRC23:07
*** daneyon has quit IRC23:18
*** tummy has joined #kolla23:18
sdakerhallisey ping i'm alive again23:25
*** bitblt has joined #kolla23:28
*** bitblt has quit IRC23:28
*** blahRus has quit IRC23:31
*** blahRus has joined #kolla23:31
rhalliseysdake, hey23:32
sdakerhalisey i meant confg.py should be in docker/common/base/config.py23:34
sdakeand should probably be written in such a way as to replace set_configs23:34
sdakeconfig.py will become our new json decoder23:35
rhalliseyarn't we deprecating that?23:35
sdakethat is a peice of the json blueprint23:35
*** unicell has joined #kolla23:35
sdakedrepcating what?23:35
rhalliseydocker/*23:35
rhalliseydocker directory23:35
sdakeall the docker/common files are going to move to docker_templates23:35
rhalliseyok23:35
sdakeat some point23:35
sdakebut its a common file to be used across projects23:35
rhalliseyya agreed23:35
sdakerather across containers23:36
rhalliseythis is just the first pass that will show the logic23:36
sdakeif we are going to write a json decoder I wan't it written properly ;)23:36
rhalliseysure thing23:36
sdakeand I want it to partse ose.nviron(KOLLA_CONFIG_STRATEGY)23:36
sdakeos.environ23:37
sdakeso kolla_common.sh goes byebye23:37
sdakelong term23:37
sdakeor myabve even short term :)23:37
sdakei'm sure sam will have some feedback but I am not opposed to taking a incremental approach to implementing this work23:38
*** diogogmt has quit IRC23:38
sdakecall config.py set_config.py as well23:38
sdakeor configs23:38
sdakeits plural ;)23:38
sdakei will leave comments in the review23:39
rhalliseykk thx23:39
sdakerhallisey are you opposed to a co-author on this patch23:39
sdakei think sam will probbly want to rewrite your python code knowing sam ;)23:40
rhalliseyeh idc23:40
rhalliseywhat's wrong with it lol23:40
rhalliseyor are you just warning me23:40
sdakeits not pep8 compliant for one23:40
rhalliseyya I know23:41
rhalliseyill fix that23:41
rhalliseyi was talking about makor things23:41
*** tummy has quit IRC23:41
sdakemy first suggestoin and i'd make this now23:42
sdakeis to set the blueprint appropriately in the commit log23:42
sdakebefore sam has a look at it :)23:43
sdakeoh i see you have nice :)23:44
*** alisonh has quit IRC23:44

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