Saturday, 2016-11-05

*** bmace_ has quit IRC00:01
*** bmace_ has joined #openstack-kolla00:01
Pavoanyone around to help me with this single node Ceph?00:08
*** inc0 has joined #openstack-kolla00:09
openstackgerritWei Cao proposed openstack/kolla: Adding header blocks to Docerfile in the CONTRIBUTING.rst  https://review.openstack.org/39395900:09
imcsk8sdake: i'm not running nothing that binds to that ip00:17
sdakeimcsk8 run netstat -nlp00:17
sdakethat will tell you what is using the port ii think00:17
sdakeimcsk8 your running something that binds to that port on one of your controller nodes imcsk800:18
sdakeport 8000:18
imcsk8sdake: i had a forgoten ssh tunnel listening on port 80 but it was supposed to be listening on 127.0.0.1, anyway i killed it00:25
sdakeimcsk8 huh?00:27
sdakessh tunnel was probably listening on :000:27
sdakerather 0:8000:27
sdakeas in bind to all ports00:27
imcsk8sdake: yeah it was listening on 0.0.0.000:27
imcsk8it was just a temporary experiment and i forgot about it, didn't even cosider it for the problem00:28
sdakeimcsk8 all good00:36
imcsk8sdake: yeah i got pass that one and now in hitting another problem, but i think i know how to solver that one.00:37
Pavoanyone seen this error before00:38
Pavohttp://paste.openstack.org/show/587972/00:38
sdakepavo did ceph_mon build and did you push it to your registry?00:39
sdakepavo to find out, there is a registry viewer avialable for kolla00:39
Pavoyes and it pulled over00:39
Pavohttp://paste.openstack.org/show/587974/00:39
Pavooh wait aminute00:40
PavoI am doing a reconfigure00:40
sdakewe did ceph reconfigure during final testing00:40
sdakeare you trying to reconfigure to *enable* ceph?00:40
Pavonot a deploy, Iassume reconfgure only redoes the containers that are currently running not new ones00:40
Pavoadded00:40
Pavoyes sdake00:40
sdaketo deploy ceph you have to start with ceph00:40
sdakereconfigure is a bit of a misnomer00:41
Pavoso should I do a destroy and then deploy again?00:41
sdakeyou can't start with a non-ceph deploy, run reconfigure, and magically have a ceph deploy00:41
sdakeunfortunately that is the only answer we have today00:41
Pavook00:41
sdakethis is why i recommend to everyone to just use ceph to begin with after they sort out their first AIO00:41
sdakea real reconfigure that does all the right magic is pretty difficult to pull off00:42
sdakei think making that work in terms of name (as in reconfigure everything perfectly) is probably a year of work or more for 2-3 people00:42
Pavoyeah well I never used Ceph before00:42
sdakepavo make sure to read the ceph guide00:42
Pavofollowed the guide gonna see if it works00:42
sdakesome config options are required00:42
Pavohttp://docs.openstack.org/developer/kolla/ceph-guide.html00:42
Pavoyeah00:42
PavoI did parted /dev/sdb -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP_FOO 1 -100:43
Pavothen created a ceph.conf file in /etc/kolla/config and added the all-in-one option00:43
Pavothen edited globals to enable ceph00:44
Pavocrossing fingers it works00:44
Pavois ir best pratice to reboot after a destroy?00:45
Pavoor does it matter00:45
*** asalkeld has quit IRC00:48
sdakepavo did you get rid of your lvm on /dev/sdb?00:54
PavoI think so00:54
Pavoguess I'll findout00:54
Pavo:P00:54
Pavosdake looks like it worked01:07
Pavohttps://www.dropbox.com/s/phikuog1xtitmop/Screenshot%202016-11-04%2021.07.11.png?dl=001:07
Pavook  sdake I ran the init_runonce script and it created the demo stuff but when I try to add an external network using physnet1 with a VLAN ID of my Internet VLAN ID I get an error can not create network Ext01:15
Pavoany suggestions?01:15
*** MarMat has quit IRC01:26
sdakepavo no clue dude - ask in the morning when people around that understand neutron01:26
sdake5am PST is a good time ;-)01:26
Pavook no problem01:26
sdakefriday at 6:30, not so much01:26
Pavojust excited I finally got Ceph single node working01:26
*** Jeffrey4l has quit IRC01:29
*** Pavo_ has joined #openstack-kolla01:39
*** Pavo has quit IRC01:39
*** Pavo_ is now known as Pavo01:39
*** inc0 has quit IRC01:41
*** neilus has joined #openstack-kolla01:53
*** neilus has quit IRC01:58
*** Pavo has quit IRC02:02
sdakepavo grats dude ;-)02:03
*** Pavo has joined #openstack-kolla02:03
*** bmace_ has quit IRC02:07
*** bmace_ has joined #openstack-kolla02:12
*** g3ek has quit IRC02:14
*** haplo37 has quit IRC02:15
*** haplo37 has joined #openstack-kolla02:16
*** g3ek has joined #openstack-kolla02:16
*** Pavo has quit IRC02:23
*** Pavo_ has joined #openstack-kolla02:23
*** Pavo_ is now known as Pavo02:23
*** jrich523 has quit IRC02:24
*** jrich523 has joined #openstack-kolla02:25
*** sdake has quit IRC03:12
*** zhubingbing has quit IRC03:31
*** Guest92 has joined #openstack-kolla03:31
*** Guest92_ has joined #openstack-kolla03:41
*** Guest92 has quit IRC03:43
*** Guest92 has joined #openstack-kolla03:44
*** Guest92_ has quit IRC03:47
*** Guest92 has quit IRC03:53
*** haplo37_ has quit IRC04:17
*** haplo37_ has joined #openstack-kolla04:20
*** sdake has joined #openstack-kolla04:23
*** neilus has joined #openstack-kolla04:36
*** neilus has quit IRC04:40
*** inc0 has joined #openstack-kolla05:15
inc0sdake, ping05:16
sdakebrutally wound me05:16
inc0sooo....ansible licensing sux05:16
inc0we can't really do apache for this05:17
inc0as this is core of ansible, I need to do import ansible...05:17
inc0and it will be ran as main ansible playbook driver05:17
inc0has to be GPL, I'm almost positive05:17
sdakecould you tell me what problem you want to solve05:17
inc0extensibility of playbooks05:17
inc0feature people need badly05:17
sdakemore detail?05:17
inc0something like dockerfile overrides05:18
inc0just for playbooks05:18
inc0I think I have an idea how to do it with ansible05:18
inc0if we write this strategy plugin05:18
sdakethe word plugin tells me that it can be launched at runtime no?05:18
inc0not exactly05:18
inc0it's piece of logic that manages all the execution of tasks05:19
inc0this is very core of ansible05:19
sdakehow about we add a plugin feature for strategies?05:19
sdake(to upstream)05:19
sdake(to upstream ansible)05:19
sdakeand then add some kind of config option to ansible to load it in?05:19
sdakethat solves all the problems05:19
inc0well if I could push my code to ansible itself, that would do it05:20
sdakeI was pretty sure when I looked at those strategies, they could be plugins05:20
sdakeso can't they be plugins?05:21
sdakeor are they hardcoded into ansible itself?05:21
inc0look at that: https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/strategy/linear.py05:21
inc0I think if subclass this class, and meddle with iterator for tasks, that would allow us to inject/remove/replace tasks in ansible as we do with packages in dockerfile05:22
inc0pretty powerful stuff05:22
inc0but well, I need to subclass it05:22
inc0I'm not going to rewrite this code.05:23
sdakethanks that clears things up05:23
sdakeI thought you wanted to write a module05:23
inc0no, module is easy05:23
sdake(for a gui for example)05:23
inc0this is different beast05:23
inc0we can push it into ansible itself at some point05:23
inc0but I don't want to depend on a whim of ansible community, we have features to deliver05:24
inc0so I might start new project somewhere that will be GPLv305:24
sdakeyou mean deliver directly into upstream?05:24
inc0and write it down there, while talking to ansible to merge it to core at some point05:24
inc0much like shade05:24
sdakei guess i am missing the use case05:25
sdakeansible while not impossible - is nontrivial05:25
sdakeeven though our programming model is simple05:25
inc0I'll show you use case05:25
sdakei struggle to understand how people would write their own05:25
sdakecool05:26
inc0https://review.openstack.org/#/c/342354/05:26
inc0with my mechanism, stuff like that wouldnt have to land into kolla main tree05:26
inc0it could be a driver external to kolla, or contrib driver05:26
inc0wanna deploy dpdk? kolla-ansible deploy --ansible-override contrib/dpdk.yml05:27
inc0much like dockerfile customization with --template-override05:27
sdakei see05:27
inc0we can unleash tech vendors:)05:27
sdakeso you want to runtime include roles?05:27
inc0roles, tasks05:27
inc0yeah05:27
*** MarMat has joined #openstack-kolla05:28
sdakewell ya tasks are part of roles :)05:28
sdakewhy not just make a new play?05:28
sdakesame result05:28
inc0well, it wouldn't work for this dpdk right?05:28
inc0unless you literally fork whole thing05:28
sdakewe aren't forking ansible05:28
inc0no, not ansible05:28
sdake(bluebox did that ;)05:28
*** MarMat has quit IRC05:28
inc0to make dpdk work with kolla without merging it to trunk05:28
inc0you'd need to fork kolla-ansible05:29
inc0or at least neutron role05:29
sdakeor merge dpdk directly into kolla05:29
inc0to change few tasks05:29
sdakewhat is downside of merge directly?05:29
inc0yeah, but we merge dpdk, calico05:29
inc0our codebase grows05:29
inc0and someone at some point will want to have secret properitary stuff05:29
inc0and won't be merged at all05:30
inc0then forking kolla is only option05:30
sdakeya - I think your email should have started out with the use case rather then "is this legal" :)05:30
inc0if we solve this one issue (and write few more features that are relatively easy)05:30
inc0you can do whatever you want without touching kolla trunk05:30
inc0then we keep trunk pristine, and grow contrib code05:30
sdakei like that idea in princple05:30
sdakei think it opens the question what goes in pristine trunk05:31
inc0technically seems possiblw05:31
sdakenearly anything is possible technically with kolla with exception of cc integration ;-)05:31
inc0thats a different question05:31
sdakeit is a different question opened by the introduction of this feature05:32
inc0cc?05:32
sdakeclear containers05:32
inc0whats that? (I assume you dont speak of intel tech)05:32
inc0ok, nvm, besides the point05:32
sdakethats the one i'm talking of05:32
inc0might be possible in fact05:33
inc0I talked with author of it05:33
sdakeso looking at this dpdk thing, there are tasks in nova05:33
sdakeshow me how --net=host works05:33
sdakeand we can talk :)05:33
inc0net=host is not an requirement across the board tbh05:33
inc0but nvm, that's on me05:34
inc0at some point05:34
inc0not now05:34
sdakei spoke with do you mean arjan?05:34
inc0yeah05:34
sdakeya I spoke with him in tokyo05:34
sdakeasked him straight up "how do we do host networking"05:35
sdakehe said its not possible05:35
sdakesean mooney said same05:35
inc0I don't think we need host networking across the board, there are ways05:35
inc0anyway, again, I'll sit 10m from Arjan05:35
inc0and he's sharp guy05:35
sdakeagree he is brilliant05:35
inc0if there is a way, we'll figure it out05:36
sdakeand if he says something can't be  done, it can't be done05:36
inc0if there is not, well, tough luck05:36
sdakeglad thats established ;)05:36
sdakeok now on to this dpdk thing05:36
sdakecan you walk me through how this linear merger thing would work your thinking of05:36
inc0see this "iterator" thing?05:36
sdakei can't quite see how you sort out the ordering in the ansible codebase05:36
inc0an argument to run?05:36
inc0it has tasks per server05:37
inc0so if we modify it prior to run linear strategy05:37
inc0we can inject stuff in between existing tasks05:37
inc0...in theory05:37
sdakehow do you mark where to inject?05:37
inc0names?05:38
sdakea new ansible magic word?05:38
sdakethe task name?05:38
inc0we can refactor our task names to follow a standard05:38
sdakeya we need to do that05:38
inc0need - not atm05:38
inc0but we could when we do this05:38
sdakethere are multiple use cases for a standard refactor of task names05:38
inc0ensure that tasks are unique somehow05:38
sdakeok so how does the task name get injected05:39
sdakewhere does that get input into run?05:39
sdakeare you talking about overriding the iterator parameter?05:39
inc0http://paste.openstack.org/show/588006/ something like that for example05:40
inc0dunno yet, tbd05:40
inc0yeah, we'll dig through this iterator thing and modify whats in it05:40
sdakeso rewrite the iterator05:41
sdakewhere is the iterator defined?05:41
inc0somewhere deeper in ansile05:41
inc0dunno05:41
sdakeor you want to inherit the whole linear.py and just rewrite the run operation?05:41
inc0yeah05:41
inc0add couple lines to it:)05:41
inc0whole thing might be less than 100 lines of code05:42
inc0...but will be GPL-tainted05:42
sdakethats not even tained05:42
sdakethats straight up gpl05:42
sdakehrm05:43
sdakeactually let me think a min05:43
inc0yup05:43
inc0so technically we *could* put this code into kolla tree05:43
sdakeis it possible to specify your own strategy plugins?05:43
inc0under GPL license05:43
sdakeno we really can't05:43
inc0because this will be called with popen from rest of kolla05:44
sdakeya, GPL licensed code not permitted in openstack proper05:44
inc0yeah, it's really simple to specify our own strategy plugin, that's my point05:44
sdakeopenstack-infra has an exception because they don't deliver their softwre to customers05:44
inc0technical part is nice and elegant05:44
inc0http://docs.ansible.com/ansible/playbooks_strategies.html05:44
inc0we literally just add strategy: our_own_strategy to playbook declaration05:45
sdakeThe strategies are implemented via a new type of plugin, this means that in the future new execution types can be added, either locally by users or to Ansible itself by a code contribution.05:46
sdakeOne example is debug strategy. See Playbook Debugger for details.05:46
inc0but strategy code has to be inherited from existing strategies, waaaay too complex to rewrite it without derivitive05:46
sdakeok so bck on this:05:46
sdake[22:45:55]  <inc0>we literally just add strategy: our_own_strategy to playbook declaration05:46
sdakedoes that load "our own strategy" from somewhere?05:46
inc0yeah, it does python import05:47
sdakesweet05:47
sdakeso its like a module05:47
inc0we can create directory strategy_plugins in our tree05:47
inc0no05:47
inc0it's loaded kinda like plugins, but not with popen or whatnot05:47
sdakeok walk me through how it  gets instantiated05:47
inc0main ansible thread does import.05:48
sdakepopen is loaded from kolla-ansible.py05:48
inc0that's it05:48
sdakeneed 5-10 mins to process05:48
sdakecan you hang tight05:48
inc0but code in this plugin HAS TO BE gpl05:48
inc0that's the issue here05:48
sdakeif we write our own completely derived run command that inherits, i'm not sure that is true05:48
sdakeneed 5-10 minutes to process like i said :)05:49
sdakehang tight05:49
*** newmember has joined #openstack-kolla05:52
*** sdake has quit IRC06:02
*** inc0 has quit IRC06:07
*** saneax is now known as saneax-_-|AFK06:09
*** neilus has joined #openstack-kolla06:24
*** neilus has quit IRC06:29
*** sdake has joined #openstack-kolla06:41
*** dwalsh has joined #openstack-kolla08:28
*** neilus has joined #openstack-kolla08:49
*** fragatina has joined #openstack-kolla08:54
*** fragatina has quit IRC09:05
*** khamtamtun has joined #openstack-kolla09:09
*** newmember has quit IRC09:13
*** khamtamtun has quit IRC09:18
*** khamtamtun has joined #openstack-kolla09:19
openstackgerritprameswar proposed openstack/kolla: Mariadb log file permission changed  https://review.openstack.org/39400709:45
*** khamtamtun has quit IRC09:46
*** neilus has quit IRC10:23
*** neilus has joined #openstack-kolla10:55
*** dwalsh has quit IRC11:30
*** dwalsh has joined #openstack-kolla11:35
*** schwicht has quit IRC11:57
*** neilus has quit IRC11:59
*** alteriks has quit IRC12:12
*** alteriks has joined #openstack-kolla12:14
openstackgerritJeffrey Zhang proposed openstack/kolla: Load all sections defined in code and conf file  https://review.openstack.org/39389612:28
*** alteriks has quit IRC12:30
openstackgerritJeffrey Zhang proposed openstack/kolla: Fix neutron lbaas dashboard  https://review.openstack.org/39389812:34
*** neilus has joined #openstack-kolla12:50
*** dwalsh has quit IRC12:52
*** neilus has quit IRC12:54
openstackgerritJeffrey Zhang proposed openstack/kolla: Fix neutron lbaas dashboard  https://review.openstack.org/39389813:06
openstackgerritJeffrey Zhang proposed openstack/kolla: Run collect static during container startup when necessarily  https://review.openstack.org/39402013:13
Pavomorning13:32
*** mgoddard has quit IRC13:49
*** fragatina has joined #openstack-kolla14:12
*** Guest92 has joined #openstack-kolla14:13
*** fragatina has quit IRC14:14
*** fragatina has joined #openstack-kolla14:14
*** fragatina has quit IRC14:49
*** saneax-_-|AFK is now known as saneax14:53
*** Guest92 has quit IRC15:10
*** fragatina has joined #openstack-kolla15:11
*** afranc has quit IRC15:16
*** afranc has joined #openstack-kolla15:16
*** neilus has joined #openstack-kolla15:26
*** saneax is now known as saneax-_-|AFK15:26
*** fragatina has quit IRC15:42
*** jtriley has joined #openstack-kolla15:50
*** saneax-_-|AFK is now known as saneax15:53
*** haplo37 has quit IRC16:00
*** haplo37 has joined #openstack-kolla16:00
*** Pavo has quit IRC16:28
*** Pavo has joined #openstack-kolla16:28
*** jtriley has quit IRC16:29
*** jtriley has joined #openstack-kolla16:39
*** saneax is now known as saneax-_-|AFK16:54
*** saneax-_-|AFK is now known as saneax17:00
*** dwalsh has joined #openstack-kolla17:18
openstackgerritMerged openstack/kolla: Fix spelling mistake in remove-fedora release note  https://review.openstack.org/39386117:23
*** sdfdsf has joined #openstack-kolla17:24
*** sdfdsf has quit IRC17:25
*** jtriley has quit IRC17:34
*** neilus has quit IRC17:39
*** neilus has joined #openstack-kolla17:41
*** neilus has quit IRC17:42
openstackgerritMerged openstack/kolla: Make number of gnocchi-api processes configurable  https://review.openstack.org/38446017:50
*** saneax is now known as saneax-_-|AFK17:53
*** dwalsh has quit IRC17:59
openstackgerritMerged openstack/kolla: Make number of keystone processes configurable  https://review.openstack.org/38445818:07
*** neilus has joined #openstack-kolla18:21
*** neilus has quit IRC18:26
*** bjolo_ has joined #openstack-kolla18:36
*** jtriley has joined #openstack-kolla19:03
openstackgerritprameswar proposed openstack/kolla: when condition corrected in ceilometer config.yml  https://review.openstack.org/39406719:12
*** neilus has joined #openstack-kolla20:01
*** neilus has quit IRC20:06
*** bjolo_ has quit IRC21:01
*** portdirect has quit IRC21:02
*** jtriley has quit IRC21:06
*** sdake has quit IRC21:14
*** jtriley has joined #openstack-kolla21:23
*** jtriley has quit IRC21:28
*** jtriley has joined #openstack-kolla21:51
*** srwilkers has joined #openstack-kolla21:55
*** awiddersheim has quit IRC21:55
*** awiddersheim has joined #openstack-kolla21:56
*** jtriley has quit IRC22:25
*** jtriley has joined #openstack-kolla22:41
*** jtriley has quit IRC22:45
Pavoanyone around?22:52
*** srwilkers has quit IRC22:53
*** tonanhngo has joined #openstack-kolla22:58
*** csj has joined #openstack-kolla23:09
*** csj has quit IRC23:12
*** csj has joined #openstack-kolla23:13
*** saneax-_-|AFK is now known as saneax23:24
*** csj has quit IRC23:34
*** huikang has joined #openstack-kolla23:41
*** saneax is now known as saneax-_-|AFK23:59

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