IRC logs for #aegir, 2015-10-15 (GMT)

2015-10-14
2015-10-16
TimeNickMessage
[11:00:45]* zz_drakythe has quit (Ping timeout: 264 seconds)
[11:00:45]* dean has quit (Ping timeout: 264 seconds)
[11:00:45]* nulp_ has quit (Read error: Connection reset by peer)
[11:01:32]* zz_drakythe has joined #aegir
[11:01:40]* zz_drakythe is now known as drakythe
[11:04:42]* dean has joined #aegir
[11:39:20]* gusaus has quit (Quit: gusaus)
[12:01:24]* jerryitt has quit (Quit: Connection closed for inactivity)
[12:11:08]* Yaazkal has joined #aegir
[14:13:59]* Egyptian[Home] has quit (Ping timeout: 264 seconds)
[14:37:05]* Yaazkal has quit ()
[17:02:27]* David_Hernandez has joined #aegir
[17:39:34]* rominronin has joined #aegir
[17:51:43]* gusaus has joined #aegir
[18:05:05]* ivanjaros has joined #aegir
[18:09:34]* manningx has quit (Quit: ZNC - http://znc.in)
[18:15:54]* manningx has joined #aegir
[18:21:00]* manningx has quit (Ping timeout: 268 seconds)
[18:22:55]* manningx has joined #aegir
[18:58:03]* e-anima has joined #aegir
[19:01:21]* thunderWilly has joined #aegir
[19:02:10]* e-anima has quit (Ping timeout: 240 seconds)
[19:12:07]* sdrycroft has joined #aegir
[19:14:00]* gandhiano has joined #aegir
[19:44:55]* ivanjaros has quit (Quit: https://drupal.org/user/135190)
[19:49:48]* gusaus has quit (Quit: gusaus)
[19:56:37]* ivanjaros has joined #aegir
[21:23:06]* Egyptian[Home] has joined #aegir
[21:59:18]* Egyptian[Home] has quit (Ping timeout: 268 seconds)
[22:42:11]* gandhiano has quit (Ping timeout: 264 seconds)
[23:03:27]* ratioweb has joined #aegir
[23:10:24]* David_Hernandez has quit (Quit: :wq!)
[23:21:55]* gandhiano has joined #aegir
[23:58:24]* mstenta has joined #aegir
[00:11:44]* rominronin has quit (Quit: rominronin)
[01:02:06]<helmo>Hi all, ergonlogic gboudrias
[01:02:27]<helmo>I must run be off soon today ... so a few quick notes
[01:02:32]<helmo>I re-committed the systemd patch for the Debian packaging. But while testing ended up working more on the Jenkins jobs then on Aegir itself.
[01:02:36]<helmo>I now have a test which tries to replicate the inctructions from http://www.aegirproject.org/, so no puppet or ansible...
[01:02:39]<helmo>However that is failing to install, I pinged @ergonlogic about it but have not had more time to look at it since. :(
[01:02:42]<helmo>I hope to extend that test to cover multiple Debian/Ubuntu releases when I get it working.
[01:10:22]* rominronin has joined #aegir
[01:44:35]* dopey has joined #aegir
[01:44:47]<dopey>Hi, anyone good with drush/hostmaster CLI?
[01:45:30]* ivanjaros has quit (Quit: https://drupal.org/user/135190)
[01:45:54]<dopey>I do a provision-save for a new site with all parameters. The alias generated looks correct. However when I do a provision-install my db_server is overwritten to localhost? I'm completely baffled why it would do this, shouldn't it just read the alias file, not alter it?
[01:47:58]* hestenet has joined #aegir
[01:59:02]<dopey>actually it's the verify that is changing it
[02:02:59]* ivanjaros has joined #aegir
[02:07:49]* rominronin has quit (Quit: rominronin)
[02:08:00]<gboudrias>dopey: It doesn't read the alias file, it uses the parameters in the DB
[02:08:13]<gboudrias>In the hostmaster database I mean
[02:08:33]<gboudrias>(I think anyway)
[02:09:39]<gboudrias>It does make sense though, your site is associated with a db server in the frontend. If you're using another DB server, you need to add it there too.
[02:10:06]<gboudrias>And assign the site to it. I don't think you can change it once it's been created so you'll probably have to ues the import trick.
[02:12:26]<gboudrias>(Well, you can probably change it in the hostmaster DB if you care to try...)
[02:14:20]* jerryitt has joined #aegir
[02:14:53]<dopey>interesting
[02:15:29]<dopey>after provision-install the alias is right, but the next time the platform is verified is when it changes
[02:15:37]<dopey>but looking the DB is actually created on the remote node.
[02:16:04]<dopey>just when i thought i had mastered aegir/drush..
[02:18:56]<dopey>on the servers/dbs i am doing provision saves then hosting-imports
[02:19:26]<dopey>for the site I am doing provision-save, then provision-install then doing hosting-task verify on the platform of said site i just made
[02:19:32]<dopey>am i missing a step?
[02:22:16]<dopey>guess im confused why the frontend would have any idea which db the site should have, it should read it in from the alias file
[02:22:21]<gboudrias>dopey: Do you have the DB server in your frontend? You have to specify it at some point or it will use the default one (localhost)
[02:22:36]<dopey>aegir is using localhost for a db
[02:22:39]<dopey>sites have an external
[02:22:50]<dopey>i specify db-server during all of the provision activities
[02:23:40]<dopey>but when the platform the site is using is verified, and an import of the site happens it ovewrites what i set.. even tho i hadn't ever configured anything within aegir's web ui
[02:24:01]<gboudrias>dopey: Aegir has a list of database (and other) servers in the Servers tab, this is the canonical list, so you can't set a db-server that's not in there
[02:24:11]<gboudrias>(Sorry if I don't understand)
[02:24:18]<gboudrias>In the web UI you will see what is canonical
[02:24:24]<dopey>So I am trying to avoid the web ui:)
[02:24:39]<dopey>I have a big ansible play to kick a fresh server. So I can do everything with hostmaster, and hosting task
[02:25:02]<dopey>but to make aegir aware of the site I have to tell it with hosting-import commands
[02:25:09]<gboudrias>Okay, in this case you will probably need to add the server through the command line (provision-save? not sure)
[02:25:15]<dopey>i did that's what is odd
[02:25:16]<gboudrias>The database server that is
[02:25:38]<gboudrias>dopey: Keep in mind if you're using Aegir3 this could simply be a bug
[02:25:38]<dopey>I create all the servers. a FE apache nodes, a cluster of them, and a DB node
[02:25:48]<dopey>by doing provision-save, followed by hosting-import
[02:25:52]<dopey>each server shows up in aegir, is verified
[02:26:14]<dopey>then i do provision-save and create teh site, specifying all params.. and the alias file generated is correct
[02:26:27]<dopey>i do provision-install which succeeds, alias still correct. Site works
[02:27:01]<dopey>If I either click verify on the platform in aegir(so it can 'discover' the site) or do hosting-task @platformXX verify the site for the first time appears in aegir 'importing' and changes my alias file
[02:28:24]<gboudrias>You shouldn't need to Verify the platform for it to discover the site, that's what hosting-import is supposed to do as far as I know
[02:28:35]<dopey>so do hosting-import on the site?
[02:29:11]<dopey>I had used this one for reference, http://community.aegirproject.org/content/manage-your-aegir-system-comma...
[02:29:21]<dopey>it had you do a verify on the platform to import the site to aegir
[02:30:02]<gboudrias>I thought there was a more direct way, maybe not...
[02:30:27]<gboudrias>The guide knows better than me, maybe open an issue since this could be a bug
[02:31:16]<dopey>finding docs on CLI has not been an easy feat:)
[02:31:27]<dopey>I am unbelievably bloody close to having this entirely ansibilized
[02:32:11]<gboudrias>Heh, well I'm pretty sure there haven't been a lot of tests for this with Aegir3, especially in multiserver setup
[02:32:23]<dopey>i can't even see how to tell which version we are using:)
[02:32:52]<dopey>googled it, and looks like mine
[02:32:53]<dopey>https://www.drupal.org/files/project-images/aegir3.local_.png
[02:33:19]<gboudrias>They both look pretty similar, but you can just look at the hostmaster platform
[02:33:28]* Yaazkal has joined #aegir
[02:33:39]<gboudrias>If the frontend is in Drupal 7, you're using Aegir3
[02:33:44]<dopey>ah yep
[02:34:04]<dopey>not a web guy, but wanted to get everything ansibilized so it's reproducable and configs backed up centrally
[02:34:13]<dopey>i hate clicking 50 things on a gui to configure something
[02:34:21]<dopey>and if we had to rebuild
[02:34:24]<gboudrias>Always a good idea :)
[02:35:07]<dopey>only odd thing I am doing perhaps, i'm using hostnames pretty much across the board
[02:35:11]<dopey>and prior installs we did by hand used ip
[02:35:43]<gboudrias>Shouldn't make a difference but I think we still need more documentation in this area in general
[02:36:08]<dopey>well i noticed it didn't like platforms with - and . in the names
[02:36:15]<dopey>or rather it made a second alias file with them stripped
[02:36:41]<dopey>had the tag from the build as part of the platform name at first but changed it to use _ instead of ./-
[02:37:38]<dopey>just rewiped, all servers configured/up in aegir
[02:37:41]<dopey>doing provision-install on site now
[02:37:50]<dopey>which at this point it'll work, be using the right db but aegir won't know it exist
[02:38:59]<dopey>install done, site is up and working
[02:39:09]<dopey>so now do you think i should verify the platform, or do some other command?
[02:40:09]<gboudrias>dopey: I don't really know more than the guide, but it was made for Aegir2 so it might not be up to date or there might be a bug
[02:40:18]<dopey>alright i'll keep toying with it
[02:41:21]<gboudrias>This is the issue queue if you get tired :p https://www.drupal.org/project/issues/hostmaster
[02:41:30]<gboudrias>(Or the most general one anyway)
[02:43:22]* freiheit has joined #aegir
[02:46:16]<dopey>i've come too far to quit now:D
[02:56:20]* Egyptian[Home] has joined #aegir
[02:56:57]<dopey>ahah, not doing provision-install.. but rather *only* doing hosting-import @site resulted in the site being 'installed' in aegir and keeping my db settings
[02:57:15]<dopey>now to see if it works all in one flow. I had only done the server installs that play and did the import by hand
[02:59:12]<gboudrias>ah, I see
[03:04:10]<dopey>Victory! Fresh server fully installed all packages, and configured all the things and working site at the end
[03:05:32]<gboudrias>dopey: Awesome! Just curious, what are you using for this, is it the default multiserver functionality?
[03:05:57]<gboudrias>(As opposed to web packs, etc)
[03:08:11]<dopey>just the web_cluster plugin in aegir
[03:08:17]<dopey>two FE webservers, DB server
[03:08:25]<dopey>using ansible to do all the configuration
[03:10:22]<gboudrias>cool
[03:11:56]* hestenet has quit (Read error: Connection reset by peer)
[03:12:28]* hestenet has joined #aegir
[03:40:50]* sdrycroft has quit (Quit: Leaving.)
[04:05:36]* ratioweb has quit (Ping timeout: 268 seconds)
[04:15:39]* hestenet has quit (Read error: Connection reset by peer)
[04:16:15]* hestenet has joined #aegir
[04:36:54]* gandhiano has quit (Ping timeout: 260 seconds)
[04:57:06]* gusaus has joined #aegir
[05:21:12]* boshtian has joined #aegir
[05:30:29]* hestenet has quit (Read error: Connection reset by peer)
[05:31:07]* hestenet has joined #aegir
[05:36:37]<mstenta>question: Aegir disables .htaccess files, and copies rules from the platform .htaccess - what about ones in the individual sites files directories?
[05:36:57]<mstenta>is there any built-in mechanism that copies rules from those?
[05:37:25]<mstenta>or is that meant to be a manual process - using a provision hook to insert them into the individual site vhosts?
[05:40:42]<gboudrias>mstenta: Hi, I know it doesn't copy rules, I also know it puts one in the files and/or private directory, but I don't think it goes into subdirectories
[05:41:02]<gboudrias>mstenta: You can easily add stuff to the vhosts in post.d
[05:41:14]<gboudrias>(To the vhost generation I mean)
[05:41:36]<mstenta>gboudrias: ok - yea i don't think it does. i did notice that it seems to have some built-in logic for backup_migrate directories - but i assume that is just core Aegir looking out for a common module
[05:42:42]<gboudrias>I assume so too
[05:43:38]<gboudrias>These articles show two ways of injecting into vhosts: http://community.aegirproject.org/node/70/ and http://community.aegirproject.org/node/341/
[05:44:00]<gboudrias>mstenta: ^
[05:44:53]<mstenta>gboudrias: thanks!
[05:45:00]<gboudrias>No problem!
[06:03:20]* boshtian has quit (Quit: boshtian)
[06:54:28]* gandhiano has joined #aegir
[06:58:42]* mstenta has quit (Quit: Leaving.)
[07:01:24]* jerryitt has quit (Quit: Connection closed for inactivity)
[07:15:22]* hestenet has quit (Read error: Connection reset by peer)
[07:15:55]* hestenet has joined #aegir
[07:30:36]* Yaazkal has quit ()
[07:56:18]* ivanjaros has quit (Quit: https://drupal.org/user/135190)
[08:16:40]* thunderWilly has quit (Read error: Connection reset by peer)
[08:31:52]* gusaus has quit (Quit: gusaus)
[08:37:26]* gusaus has joined #aegir
[09:24:14]* gandhiano has quit (Ping timeout: 244 seconds)
[10:14:49]* mstenta has joined #aegir
[10:22:38]* hestenet has quit (Remote host closed the connection)
[10:30:19]* bgm has quit (Read error: Connection reset by peer)
[10:30:47]* bgm has joined #aegir
[10:30:47]* bgm has quit (Changing host)
[10:30:47]* bgm has joined #aegir
[10:34:50]* anarcat has quit (Ping timeout: 265 seconds)
[10:36:15]* anarcat has joined #aegir
[10:41:14]* gusaus has quit (Quit: gusaus)