[03:43] Hi. I see there's 2 way to install conjure .. apt-get install and snap.. which one should be used? [11:41] o/ 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 advance [15:20] hey guys... edge is kinda broken, for us in CI... https://bugs.launchpad.net/juju/+bug/1719328 if anybody can take a quick peek [15:20] Bug #1719328: edge: bundle is blocked by relations not allowed to non-leader [15:43] o/ [17:57] Hi. 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? [18:04] chamar: you can configure that in maas in the interfaces section [18:07] fallenour, thanks. once the vm is created or under the controller itself? [18:10] chamar: it hsould be in your maas configuration itself on your http://IP_ADDR/MAAS [18:11] hum. 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:39] I think I found the open bug regarding my little issue: https://bugs.launchpad.net/maas/+bug/1697108 [18:39] Bug #1697108: Nodes created in virsh pod always use 'default' virtual network for NIC [19:45] @rick_h @stokachu @catbus where is the openstack dashboard in the horizon container? I need it for nginx, and I cant find where its at [19:46] fallenour: does the http:///horizon work? [19:48] catbus: 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 horizon [19:49] I am not familiar with nginx, maybe someone else on the channel does. [19:52] s/does/is. [19:53] does anyone know where the root directory of horizon is? I checked, and its not /var/www/html , that loads the apache index default page. [20:59] falenour: 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,L108 [21:00] falenour: 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,L126 [21:00] bdx: What can i point nginx at? It needs something to load. Is there a master index.html file it uses? [21:01] fallenour nah ... why don't you just relate the haproxy or hacluster charm to it? [21:01] bdx: Its been a looooon two weeks my friend [21:01] bdx: The word proxy is like acid to my feels :'( [21:01] fallenour: juju relate horizon-haproxy openstack-dashboard [21:02] where horizon-haproxy is really just `juju deploy haproxy horizon-haproxy` [21:02] bdx: http://eduarmor.com www.eduarmor.com eduarmor.com:80/ [21:02] this is the kinda madness ive been dealing with for a while now. [21:02] ok, so what you are looking for is an nginx redirect to your haproxy endpoint [21:03] fallenour: this is simple stuff, you just have to take a logical approach [21:03] bdx: https://www.dropbox.com/s/4xf66mm0rudvub4/WAN%20Logical%20Diagram%20for%20Nginx.pdf?dl=0 [21:03] fallenour: gotcha [21:04] Ive 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 flaregun [21:04] fallenour: very familiar with this architecture ... I've been running home labs for while my friend [21:04] :) [21:04] so ... what you need is an haproxy redirect [21:04] or nginx redirect [21:04] bdx: I kept getting the "draft out the problem statement" from those guys. over 10 days, same damn problem [21:05] bdx: yeap. just gotta figure that out [21:05] so, I see whats up, where is horizon? [21:05] bdx: the overall idea is to push from Nginx to HAProxy to apache [21:05] what ip? [21:05] yeah [21:05] bdx: bottom far right [21:05] oh gotcha [21:05] bdx: Their would have been a me crying in the corner, but I didnt fit. neither did pickle rick [21:07] bdx: 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 time [21:07] fallenour: haha, ok, check it -> https://gist.github.com/jamesbeedy/580efc6c8da25e7c4dbab0bd5c1d0657 [21:07] let me know if you can make sense of what to do with that [21:08] on your nginx server, `sudo apt-get remove --purge nginx; sudo apt install haproxy -y` [21:08] then put that haproxy.cfg config ^ in /etc/haproxy/haproxy.cfg [21:08] and ensure you configure it to point to your local 10.0.0.x ip addresses [21:09] bdx: Oh, its been a pure week of satan my friend. balance least connect >>> round robin, default of 1? Nginx is weighted 1 by default [21:09] bdx: im guessing /etc/haproxy/haproxy.conf ? [21:09] fallenour, yeah [21:09] pay no attention to those configuration details [21:09] bdx: ooo but its where the magic happens o.o [21:09] you can fine tune it once you have the base implementation down [21:10] bdx: yea, Ill praise the sun once its just running [21:10] yeah thats what I'm saying [21:10] don't worry about tuning anything until you have a straw man at least [21:10] if I can just Physical HAProxy >>> logical HAProxy I might actually cry [21:11] Or howler monkey screech, I cant tell at this point anymore.