IRC logs for #aegir, 2016-07-07 (GMT)

2016-07-06
2016-07-08
TimeNickMessage
[10:02:36]* gandhiano has quit (Ping timeout: 272 seconds)
[10:46:10]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[12:53:11]* realityloop has quit (Quit: Leaving...)
[13:38:10]* boshtian has joined #aegir
[13:39:57]* boshtian has quit (Remote host closed the connection)
[14:04:52]* mstenta has quit (Ping timeout: 250 seconds)
[15:15:55]* stijnvbrande has joined #aegir
[16:15:01]* boshtian has joined #aegir
[16:40:54]* maestrojed has joined #aegir
[16:42:47]* maestrojed has quit (Client Quit)
[17:01:38]* ybabel has joined #aegir
[17:30:50]* mengi has quit (Quit: Leaving.)
[17:47:32]* ybabel has quit (Remote host closed the connection)
[18:08:39]* ybabel has joined #aegir
[18:19:18]* a_ok has joined #aegir
[18:23:16]<a_ok>I have tried to set up two aegir remotes with the cluster module. I made a few overrides in global.inc however when cloning a site the files and private directory are skipped. How is one to use this?
[18:23:16]<hefring>a_ok: 18 hours 7 min ago <ergonlogic> tell a_ok You may be interested in https://github.com/GetValkyrie/hosting_s3, that implements a number of hooks related to that situation.
[18:23:57]<a_ok>hefring: thanks I mised that.
[18:23:57]<hefring>de rien
[18:28:19]<a_ok>ergonlogic: As far as I can tell for a quick peak It simply restores an entire s3 bucket. I would like to work with files on a share.
[18:33:53]* pstampy has joined #aegir
[18:35:28]* pstampy has quit (Client Quit)
[18:35:30]* p_stampy has quit (Quit: bye bye)
[18:38:50]<drupol>colan: the hosting queued daemon is enabled with systemd.
[18:39:38]<drupol>hosting is configured this way: run cron on 24 site every hour.
[18:39:42]<drupol>But it's not.
[18:40:07]<drupol>I'm trying to understand what is going on
[18:40:33]<drupol>ergonlogic: running cron on site hosted on aegir is working fine when using the hosting-queued daemon ?
[18:42:21]* p_stampy has joined #aegir
[19:02:18]* p_stampy has quit (Quit: bye bye)
[19:21:33]* pstampy has joined #aegir
[19:24:10]* pstampy has left #aegir ()
[19:36:40]<drupol>helmo: any idea about this ^^
[19:53:50]<helmo>drupol: the hosting-queue just executes tasks that have been placed in the queue ... for cron to run you need the system cronjob which calls drush @hostmaster hosting-dispatch
[19:54:44]<drupol>So, 2 things. The hosting-queued daemon through systemd and a cronjob right ?
[19:57:09]<helmo>yes
[19:58:31]<drupol>allright, thanks mate :-) ^^
[19:58:34]<drupol>helmo++
[21:02:15]* noecc has joined #aegir
[21:04:43]* ybabel has quit (Quit: ybabel)
[21:07:14]* ybabel has joined #aegir
[21:22:31]* ybabel has quit (Quit: ybabel)
[22:26:12]* zombiebeard has joined #aegir
[22:54:42]* mstenta has joined #aegir
[00:18:01]* mstenta has quit (Quit: Leaving)
[00:18:25]* mstenta has joined #aegir
[00:43:27]* hestenet_ has joined #aegir
[00:50:18]* theMusician has joined #aegir
[00:52:30]* a_ok has quit (Quit: Leaving)
[00:57:27]* ergonlogic has quit (Ping timeout: 260 seconds)
[01:00:51]<jonpugh>a_ok I'd like to solve the problem with files in aegir core. I've got a project going that connects aegir servers and services with Ansible playbooks, allowing fully automated config. https://www.drupal.org/project/aegir_ansible
[01:01:25]<jonpugh>I believe with this framework we should be able to fully automate creating clusters and configuring the last mile: shared files folders and load balancer config.
[01:08:21]* freiheit has joined #aegir
[01:18:54]* obiba has joined #aegir
[01:27:16]* obiba has quit (Quit: Page closed)
[01:27:52]* boshtian has quit (Quit: boshtian)
[01:44:11]* theMusician has quit (Quit: theMusician)
[02:36:21]* theMusician has joined #aegir
[02:54:24]* maestrojed has joined #aegir
[03:07:51]* gandhiano has joined #aegir
[03:32:09]<theMusician>@jonpugh When you say load balancer config, are you envisioning sending LB configs with Ansible as well?
[03:33:00]<jonpugh>I've actually already got it mostly working in fact :)
[03:33:09]<jonpugh>it just extends hosting cluster class.
[03:33:22]<jonpugh>Aegir Ansible module provides the inventory of hosts & variables
[03:34:22]* freiheit has left #aegir ()
[03:34:46]<jonpugh>so all I had to do is pipe the list of server nodes IP addresses into the ansible variables for that server
[03:34:53]<theMusician>Cool.
[03:34:55]<jonpugh>geerlingguy/haproxy handles the rest.
[03:35:25]<jonpugh>I'm hoping to whip up a real load balanced cluster in time for my presentation saturday 9:30 am
[03:35:27]<theMusician>Ah, the haproxy was what was missing in my mind of how that was working. Congrats on the progress.
[03:35:59]<jonpugh>Aegir Ansible module hooks into server verify.
[03:36:16]<jonpugh>it collects the roles you assigned on the front-end (web/db/load)
[03:36:29]<jonpugh>writes a playlist and runs ansible-playbook just for that host.
[03:36:50]<jonpugh>in the server verify task, before core aegir verification
[03:37:01]<theMusician>I’ll have to check it out soon
[03:37:18]<jonpugh>only catch is aegir user needs root access to the remote
[03:37:33]<jonpugh>but if we create a "users" playbook for those remotes...
[03:37:49]<jonpugh>we don't need to ever give out aegir@server_master SSH access to non-sysadmins
[03:38:07]<jonpugh>we can create "client" users on the remotes, for example, if we had the right playbook
[03:40:21]<jonpugh>theMusician: I'm going to do a full demo and deep dive on it at the aegir summit at nyccamp this sunday. I'll be sure to record it. http://nyccamp.org/session/point-click-cloud-build-your-own-aegir-ansible
[03:42:45]<jonpugh>Here's what the HAProxy service class I created, it just extends cluster so we get the checkboxes with the list of other servers.
[03:42:48]<jonpugh>https://github.com/opendevshop/aegir_ansible/blob/7.x-1.x/ansible_servic...
[03:52:07]* theMusician has quit (Quit: theMusician)
[04:01:32]* theMusician has joined #aegir
[04:01:50]<theMusician>@jonpugh awesome!
[04:03:07]* ybabel has joined #aegir
[04:06:34]* stijnvbrande has quit (Quit: Connection closed for inactivity)
[04:14:36]* moshe has quit (Ping timeout: 250 seconds)
[04:16:08]* moshe has joined #aegir
[04:25:01]* gandhiano has quit (Ping timeout: 244 seconds)
[04:30:09]* gusaus has joined #aegir
[04:39:19]<maelstrom>hi folks I have another tricky question, can aegir connect to mysql server via an ssh tunneling? the mySql server is bhind a ssh bastion any help is appreciated ;)
[04:44:55]* zombiebeard has quit (Quit: zombiebeard)
[04:45:55]<colan>maelstrom: you should be able to set that up in the aegir user's ~/.ssh/config
[04:46:43]<colan>aegir itself shouldn't care as long as it can ssh to it somehow.
[04:50:55]<maelstrom>i already have a config file to connect to a target host behind an bastion ssh, and now i can add the target apache host as server in aegir, but can't figure out how to configure the Mysql connection to this target host
[04:52:03]<maelstrom>as i know, aegir must directly connect to mysql target host
[05:04:14]<helmo>maelstrom: what if you use a server name that points to localhost and use an alternate port .. for which you setup an ssh tunnel. I do think you'd have to start the tunnen yourself
[05:14:46]<maelstrom>helmo: if i start the ssh tunneling manually, i don't think that aegir can connect to the mysql target host, even if i point to localhost and use alternate port
[05:16:40]* zombiebeard has joined #aegir
[05:22:55]* maestrojed has quit (Quit: My Mac has gone to sleep. ZZZzzz…)
[05:23:44]* noecc has quit (Remote host closed the connection)
[05:25:59]* theMusician has quit (Quit: theMusician)
[05:26:26]<helmo>maelstrom: Il see if I can quickly test here
[05:28:48]<maelstrom>thanks a lot helmo ;)
[05:29:40]* theMusician has joined #aegir
[05:40:43]* theMusician_ has joined #aegir
[05:42:30]* theMusician has quit (Ping timeout: 276 seconds)
[05:42:30]* theMusician_ is now known as theMusician
[05:45:58]<helmo>Scrum anyone ? I'm already in https://appear.in/aegir
[05:57:10]* theMusician has quit (Quit: theMusician)
[06:01:03]<helmo>maelstrom: it works ... I've started to document my steps in https://www.drupal.org/node/2762479
[06:01:03]<hefring>https://www.drupal.org/node/2762479 => Use ssh tunnel to connect remote MySQL server [#2762479] => 0 comments, 1 IRC mention
[06:42:33]* maelstrom has quit (Ping timeout: 246 seconds)
[06:57:50]* theMusician has joined #aegir
[07:02:16]* theMusician has quit (Client Quit)
[07:18:36]* theMusician has joined #aegir
[07:20:08]* ybabel has quit (Quit: ybabel)
[08:12:19]* zombiebeard has quit (Quit: zombiebeard)
[08:46:46]* hosttor has quit (Read error: Connection reset by peer)
[08:52:23]* hestenet_ has quit ()
[09:02:12]* realityloop has joined #aegir
[09:31:58]<jonpugh>Hi everyone, I just sent out an email to the announce and develop mailing lists, but if you don't get that...
[09:32:33]<jonpugh>If you are in NYC and are planning to attend the Aegir Cooperative formation meeting tomorrow at 6:30 PM PLEASE email me your name at jon@opendevshop.com
[09:32:33]<jonpugh>thanks
[09:35:27]* helmo has quit (Ping timeout: 246 seconds)
[09:36:20]* helmo has joined #aegir
[09:46:05]* realityloop has quit (Remote host closed the connection)
[09:47:37]<bgm>done ✔ :)
[09:59:41]* theMusician has quit (Quit: theMusician)