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