/srv/irclogs.ubuntu.com/2017/09/25/#juju.txt

chamarHi.  I see there's 2 way to install conjure .. apt-get install and snap.. which one should be used?03:43
fallenouro/ Morning all! probably most important week of my life, so if I lose my shit at some point this week, thats probably from all the stress and pressure, just an fyi in advance11:41
lutostaghey guys... edge is kinda broken, for us in CI... https://bugs.launchpad.net/juju/+bug/1719328 if anybody can take a quick peek15:20
mupBug #1719328: edge: bundle is blocked by relations not allowed to non-leader <cdo-qa> <cdo-qa-blocker> <juju:New> <https://launchpad.net/bugs/1719328>15:20
fallenour1o/15:43
chamarHi. Not sure if it's the good place but I'll try. I'm trying out MAAS using virsh and when I compose a server, it always look for virtual network called either "default" or "maas".  Is there a way to use a bridge connection instead?17:57
fallenourchamar: you can configure that in maas in the interfaces section18:04
chamarfallenour, thanks.  once the vm is created or under the controller itself?18:07
fallenourchamar: it hsould be in your maas configuration itself on your http://IP_ADDR/MAAS18:10
chamarhum. can't find anywhere that specify with virtual connection to use when creating a VM (I added my kvm host as a Pod.. that seems fine)18:11
chamarI think I found the open bug regarding my little issue: https://bugs.launchpad.net/maas/+bug/169710818:39
mupBug #1697108: Nodes created in virsh pod always use 'default' virtual network for NIC <cdo-qa> <foundations-engine> <pods> <MAAS:Triaged> <https://launchpad.net/bugs/1697108>18:39
fallenour@rick_h @stokachu @catbus where is the openstack dashboard in the horizon container? I need it for nginx, and I cant find where its at19:45
catbusfallenour: does the http://<horizon container IP>/horizon work?19:46
fallenourcatbus: yea it works, and it loads appropriately, what I want to do is receive all traffic inbound to parent domain and all subdomains, and forward accordingly from that nginx box to the relevant system, to include horizon19:48
catbusI am not familiar with nginx, maybe someone else on the channel does.19:49
catbuss/does/is.19:52
fallenourdoes anyone know where the root directory of horizon is? I checked, and its not /var/www/html , that loads the apache index default page.19:53
bdxfalenour: horizon is a django/angular app that is really a combination of these top level packages installed from the cloud archive apt repos https://github.com/openstack/charm-openstack-dashboard/blob/master/hooks/horizon_utils.py#L105,L10820:59
bdxfalenour: the relevant dirs and config for openstack-dashboard (horizon) are defined here https://github.com/openstack/charm-openstack-dashboard/blob/master/hooks/horizon_utils.py#L111,L12621:00
fallenourbdx: What can i point nginx at? It needs something to load. Is there a master index.html file it uses?21:00
bdxfallenour nah ... why don't you just relate the haproxy or hacluster charm to it?21:01
fallenourbdx: Its been a looooon two weeks my friend21:01
fallenourbdx: The word proxy is like acid to my feels :'(21:01
bdxfallenour: juju relate horizon-haproxy openstack-dashboard21:01
bdxwhere horizon-haproxy is really just `juju deploy haproxy horizon-haproxy`21:02
fallenourbdx: http://eduarmor.com www.eduarmor.com eduarmor.com:80/21:02
fallenourthis is the kinda madness ive been dealing with for a while now.21:02
bdxok, so what you are looking for is an nginx redirect to your haproxy endpoint21:02
bdxfallenour: this is simple stuff, you just have to take a logical approach21:03
fallenourbdx: https://www.dropbox.com/s/4xf66mm0rudvub4/WAN%20Logical%20Diagram%20for%20Nginx.pdf?dl=021:03
bdxfallenour: gotcha21:03
fallenourIve been working so hard on it, I doodled into a visio. Ooh, and got banned from Nginx. Lost my shit this morning I did. Figured I was about to. I start to get that low burning feeling, its like a flaregun21:04
bdxfallenour: very familiar with this architecture ... I've been running home labs for while my friend21:04
bdx:)21:04
bdxso ... what you need is an haproxy redirect21:04
bdxor nginx redirect21:04
fallenourbdx: I kept getting the "draft out the problem statement" from those guys. over 10 days, same damn problem21:04
fallenourbdx: yeap. just gotta figure that out21:05
bdxso, I see whats up, where is horizon?21:05
fallenourbdx: the overall idea is to push from Nginx to HAProxy to apache21:05
bdxwhat ip?21:05
bdxyeah21:05
fallenourbdx: bottom far right21:05
bdxoh gotcha21:05
fallenourbdx: Their would have been a me crying in the corner, but I didnt fit. neither did pickle rick21:05
fallenourbdx: right now the site that is live in directly in the nginx /var/www/html directory, exactly what I DIDNT want to do, but I need to be live. Im almost out of time21:07
bdxfallenour: haha, ok, check it -> https://gist.github.com/jamesbeedy/580efc6c8da25e7c4dbab0bd5c1d065721:07
bdxlet me know if you can make sense of what to do with that21:07
bdxon your nginx server, `sudo apt-get remove --purge nginx; sudo apt install haproxy -y`21:08
bdxthen put that haproxy.cfg config ^ in /etc/haproxy/haproxy.cfg21:08
bdxand ensure you configure it to point to your local 10.0.0.x ip addresses21:08
fallenourbdx: Oh, its been a pure week of satan my friend. balance least connect >>> round robin, default of 1? Nginx is weighted 1 by default21:09
fallenourbdx: im guessing /etc/haproxy/haproxy.conf ?21:09
bdxfallenour, yeah21:09
bdxpay no attention to those configuration details21:09
fallenourbdx: ooo but its where the magic happens o.o21:09
bdxyou can fine tune it once you have the base implementation down21:09
fallenourbdx: yea, Ill praise the sun once its just running21:10
bdxyeah thats what I'm saying21:10
bdxdon't worry about tuning anything until you have a straw man at least21:10
fallenourif I can just Physical HAProxy >>> logical HAProxy I might actually cry21:10
fallenourOr howler monkey screech, I cant tell at this point anymore.21:11

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