IRC logs for #aegir, 2016-09-02 (GMT)

2016-09-01
2016-09-03
TimeNickMessage
[10:00:12]* tommycox has quit (Ping timeout: 240 seconds)
[10:04:33]* tommycox has joined #aegir
[10:09:02]* tommycox has quit (Remote host closed the connection)
[10:25:38]* tommycox has joined #aegir
[10:55:49]* tommycox has quit (Remote host closed the connection)
[11:38:18]* tommycox has joined #aegir
[12:03:28]* gusaus has quit (Ping timeout: 264 seconds)
[12:05:26]* tommycox has quit (Remote host closed the connection)
[12:14:34]* gusaus has joined #aegir
[12:24:05]* gusaus_ has joined #aegir
[12:25:09]* gusaus has quit (Ping timeout: 276 seconds)
[12:25:10]* gusaus_ is now known as gusaus
[13:05:55]* tommycox has joined #aegir
[13:09:52]* tommycox has quit (Ping timeout: 240 seconds)
[13:37:34]* tommycox has joined #aegir
[13:42:12]* tommycox has quit (Ping timeout: 240 seconds)
[13:50:58]* gusaus has quit (Quit: gusaus)
[14:04:04]* gusaus has joined #aegir
[14:10:45]* gusaus has quit (Ping timeout: 265 seconds)
[14:19:13]* gusaus has joined #aegir
[14:19:19]* gusaus has quit (Client Quit)
[14:38:46]* tommycox has joined #aegir
[14:43:32]* tommycox has quit (Ping timeout: 240 seconds)
[15:19:02]* stijnvbrande has joined #aegir
[15:40:35]* tommycox has joined #aegir
[15:42:45]* boshtian has joined #aegir
[15:44:27]* boshtian has left #aegir ()
[15:45:28]* tommycox has quit (Ping timeout: 264 seconds)
[16:08:24]* bgm has quit (Ping timeout: 260 seconds)
[16:20:48]* bgm has joined #aegir
[16:46:43]* tommycox has joined #aegir
[16:50:54]* ybabel has joined #aegir
[16:51:12]* tommycox has quit (Ping timeout: 240 seconds)
[17:47:56]* tommycox has joined #aegir
[17:52:52]* tommycox has quit (Ping timeout: 240 seconds)
[18:49:17]* tommycox has joined #aegir
[18:54:43]* tommycox has quit (Ping timeout: 258 seconds)
[20:14:27]* jonpugh has quit (Ping timeout: 276 seconds)
[20:14:51]* jonpugh has joined #aegir
[20:29:36]* joestewart_ has quit (Quit: No Ping reply in 180 seconds.)
[20:30:56]* joestewart_ has joined #aegir
[21:02:29]* tommycox has joined #aegir
[21:07:31]* joestewart_ has quit (*.net *.split)
[21:07:39]* tommycox has quit (Ping timeout: 250 seconds)
[21:09:51]* joestewart_ has joined #aegir
[21:17:59]* tommycox has joined #aegir
[22:13:44]* zombiebeard has joined #aegir
[22:17:13]* tommycox has quit (Remote host closed the connection)
[22:22:54]* tommycox has joined #aegir
[22:28:18]* zombiebeard has quit (Quit: zombiebeard)
[23:03:23]* boshtian has joined #aegir
[23:07:43]* tommycox_ has joined #aegir
[23:10:07]* tommycox has quit (Ping timeout: 250 seconds)
[23:23:06]* zombiebeard has joined #aegir
[23:24:02]* boshtian has quit (Ping timeout: 244 seconds)
[23:33:59]* tommycox_ has quit (Remote host closed the connection)
[00:01:03]* mstenta has joined #aegir
[00:06:02]* tommycox has joined #aegir
[00:07:57]* jerryitt has joined #aegir
[00:13:53]* shaneonabike has joined #aegir
[00:15:37]* boshtian has joined #aegir
[00:31:50]* tommycox has quit (Remote host closed the connection)
[00:43:53]* tommycox has joined #aegir
[00:51:37]<jonpugh>helmo: I went ahead and turned the "Investigate Docker.io" issue into a META for Docker
[00:51:39]<jonpugh>https://www.drupal.org/node/2309547
[00:51:40]<hefring>https://www.drupal.org/node/2309547 => [meta] Aegir & Docker [#2309547] => 12 comments, 1 IRC mention
[00:51:48]<jonpugh>Preserving your original comment for posterity :)
[00:59:03]* boshtian has quit (Quit: boshtian)
[01:06:10]* azend|vps has quit (Remote host closed the connection)
[01:06:38]* azend|vps has joined #aegir
[01:15:56]* tommycox has quit (Remote host closed the connection)
[01:31:19]* tommycox has joined #aegir
[01:32:48]* zombiebeard has quit (Quit: zombiebeard)
[01:54:10]* tommycox has quit (Remote host closed the connection)
[02:04:22]* tommycox has joined #aegir
[02:28:41]* tommycox has quit (Remote host closed the connection)
[02:30:48]* tommycox has joined #aegir
[02:34:06]* tommycox has quit (Remote host closed the connection)
[02:55:59]* gusaus has joined #aegir
[02:56:09]* tommycox has joined #aegir
[03:02:33]* zombiebeard has joined #aegir
[03:07:03]* stijnvbrande has quit (Quit: Connection closed for inactivity)
[03:11:22]<bgm>anyone familiar with bootstrapping drush itself? for phpunit testing, ex:
[03:11:23]<bgm>https://github.com/mlutfy/hosting_civicrm/pull/8/files#diff-3454db42f366...
[03:11:49]<bgm>I copied most of that from drush's own tests, but drush runs most of its tests in no context at all, or in the default context
[03:11:57]<bgm>and not sure how to tell it to bootstrap with @hostmaster
[03:34:44]* tommycox has quit (Remote host closed the connection)
[03:58:10]* tommycox has joined #aegir
[04:34:57]* tommycox has quit (Ping timeout: 276 seconds)
[04:49:44]* tommycox has joined #aegir
[04:53:04]* erortiz has joined #aegir
[05:00:08]* tommycox has quit (Remote host closed the connection)
[05:01:05]* shaneonabike has quit (Remote host closed the connection)
[05:06:58]* tommycox has joined #aegir
[05:26:29]* |gatsby| has joined #aegir
[05:37:56]* jerryitt has quit (Quit: Connection closed for inactivity)
[05:53:22]<|gatsby|>When I run a server verify (apache) for a remote server, I run into: " rsync: connection unexpectedly closed (0 bytes received so far) [sender] ; rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.1]"
[05:53:23]<|gatsby|>The rsync command in question runs perfectly fine when I run it from the command line (as aegir). What could be the issue here?
[05:54:44]* memtkmcc has joined #aegir
[05:55:43]<|gatsby|>This happens five times during the verify: for the post.d, platform.d, subdir.d, apache.conf, vhost.d rsyncs.
[05:56:22]<|gatsby|>(This is from the provision-verify --debug output.)
[05:57:29]<|gatsby|>Incidentally, the "Expand" JS link does not function in the task log output on the Aegir hostmaster.
[05:57:52]<|gatsby|>Is drupal.org still the correct place to file bug reports?
[06:06:37]<viashimo>I think so
[06:06:57]<viashimo>did you used have to multiple servers that configs were deployed to and you removed one or more recently?
[06:07:28]* viashimo doesn't really have any ideas though
[06:09:04]* memtkmcc has quit (Quit: Leaving.)
[06:11:09]<ergonlog1c>|gatsby|: the "Expand" links will sometimes take a while to render
[06:11:24]<ergonlog1c>get d.o is the correct place to file bugs
[06:11:58]<ergonlog1c>are you just trying to the rsync command, or the `drush @server_alias provision-verify --debug`?
[06:14:37]<|gatsby|>ergonlog1c: I saw the error on the site, then tried @server_alias provision-verify --debug. I then manually tried the rsync command in the debug output.
[06:14:44]<|gatsby|>(The manual try worked)
[06:18:09]* memtkmcc has joined #aegir
[06:18:16]<|gatsby|>(Also FWIW, the remote server being verified was already being used as a remote DB server by the same hostmaster. I am trying to set it up to also function as a webserver.)
[06:22:19]* tommycox has quit (Remote host closed the connection)
[06:23:51]<ergonlog1c>ah
[06:24:00]<ergonlog1c>did you follow the docs on that?
[06:24:46]<ergonlog1c>|gatsby|: a verify of the db service will just check that mysql is running on port 3306 (by default)
[06:25:21]<ergonlog1c>a web server verify will ssh into the server and check a bunch of files and settings, as well as rsync platforms
[06:25:39]<ergonlog1c>can you ssh into the remote server as the aegir user?
[06:25:44]<ergonlog1c>without a password?
[06:26:00]<|gatsby|>ergonlog1c: Yes, passwordless ssh works fine as aegir
[06:26:19]<ergonlog1c>how are you running the task queue?
[06:26:25]<ergonlog1c>hosting_queued?
[06:26:37]<ergonlog1c>or crontab entry?
[06:27:13]<ergonlog1c>maybe double check that that's running as the proper user
[06:28:10]<ergonlog1c>also check the file permissions and ownership of the remote directories
[06:28:43]<|gatsby|>Hmm, that's actually another wrinkle. The task queue used to run automatically via cron. Now I have to trigger it manually every time using drush @hostmaster hosting-tasks
[06:28:49]<|gatsby|>Could that be the problem?
[06:29:07]<|gatsby|>(I'm running that as aegir btw)
[06:29:27]<|gatsby|>but lemme double check everything on the remote server.
[06:31:19]<ergonlog1c>what version of Aegir are you running?
[06:32:12]<|gatsby|>ergonlog1c: 3.7
[06:32:35]* tommycox has joined #aegir
[06:33:30]<ergonlog1c>I suppose you should check the crontab for aegir
[06:33:53]<ergonlog1c>and perhaps try `drush @hostmaster hosting-resume`
[06:34:03]<ergonlog1c>which should re-write the crontab entry
[06:37:39]<|gatsby|>The new crontab looks identical to the old one. However, running drush @hostmaster gave me a PHP Fatal error: Call to a member function get_services() on null in /usr/share/drush/commands/provision/Provision/Context.php on line 298
[06:38:09]<|gatsby|>drush @sites worked fine. Now drush @hostmaster again works fine.
[06:38:24]<|gatsby|>No idea what's going on here :|)
[06:41:48]<|gatsby|>OK, the above error is being triggered becase presumably the hosting-resume require a reverification of the hostmaster *site*. This reverification is triggering that error.
[07:00:07]<|gatsby|>ergonlog1c: Ugh. Firewall issue :/ SSH login rate limitation.
[07:05:03]<ergonlog1c>yeah... it didn't look like an Aegir issue
[07:05:14]<ergonlog1c>|gatsby|: so it's working now?
[07:05:44]<|gatsby|>ergonlog1c: Yep, the remote webserver is now verified :)
[07:05:57]<|gatsby|>The hostmaster site, however, is now not verifying!
[07:06:09]<|gatsby|>Always spits out the PHP fatal error above.
[07:06:25]<ergonlog1c>try agin
[07:06:30]<ergonlog1c>again*
[07:06:40]<ergonlog1c>it might have been caused by the server issue
[07:07:45]<|gatsby|>ergonlog1c: It not also says "Could not find provision alias named: @"
[07:07:51]<|gatsby|>s/not/now/
[07:08:27]<|gatsby|>This might be related to the cron issue? I still have to trigger it using drush @hostmaster hosting-tasks
[07:09:15]<ergonlog1c>hard to say
[07:09:23]* |gatsby| reboots to see what happens.
[07:09:28]<ergonlog1c>try to verify the hostmaster platform
[07:09:38]<ergonlog1c>that's not likely to help...
[07:10:12]* erortiz has quit (Ping timeout: 240 seconds)
[07:13:33]<viashimo>I think I've seen that error before
[07:13:38]<|gatsby|>ergonlog1c: What is weird is that none of the URLs link to platform_hostmaster are correct. They simply end at "hosting/c/"
[07:13:50]<|gatsby|>However visiting /hosting/c/platform_hostmaster directly works.
[07:13:54]<viashimo>(I mean it could anywhere); are you using ssl?
[07:13:59]<|gatsby|>So alias corruption?
[07:14:09]<|gatsby|>viashimo: Yes
[07:14:16]<viashimo>which module?
[07:14:53]<|gatsby|>viashimo: SSL support.
[07:15:12]<viashimo>is that ... hosting_ssl ?
[07:15:13]<|gatsby|>(Apache)
[07:15:40]<|gatsby|>viashimo: yep, looks like it.
[07:16:08]<viashimo>k, I had ssl issues with a very similar error, but on the hosting_certs / LE modules
[07:16:49]<ergonlog1c>btw, with a bit more testing/feedback, the new hosting_https will be added to the 'experimental' features
[07:17:19]<ergonlog1c>it's a full re-write of HTTPS-handling, and natively supports Let's Encrypt
[07:17:30]<viashimo>ergonlog1c: it doesn't support the old certs paths from what I saw. it just returns TRUE and has a todo to fill that in later
[07:17:39]<ergonlog1c>It's still a WIP, but already probably more stable than hosting_ssl.
[07:18:12]<ergonlog1c>yes, CA certs are currently not supported
[07:18:15]<viashimo>|gatsby|: I guess print debug to see what is returning the unexpected value
[07:18:34]<ergonlog1c>but then, they're really only half-heartedly supported in hosting_ssl
[07:19:07]* tommycox has quit (Remote host closed the connection)
[07:19:49]<viashimo>ergonlog1c: not supported is a step back imo. I don't mind that they don't get generated (it's clear the self-signed module does that), but it would make sense to at least support the old structure since it was relatively broadly used
[07:20:48]<viashimo>the existing todo with returning a boolean causes vague errors like the one above for any sites that have certs configured beforehand and you move to hosting_https
[07:21:25]* viashimo shrugs
[07:22:21]<ergonlog1c>well, it's not even in alpha yet
[07:22:32]<ergonlog1c>and I just haven't gotten around to the CA certs one yet
[07:22:35]<viashimo>yup
[07:22:48]<viashimo>if I had more time I'd roll a patch too, but I've been busy :/
[07:22:52]<ergonlog1c>which, btw, will allow you to simply paste the certs into the front-end
[07:23:01]<viashimo>ah nice
[07:23:20]<ergonlog1c>the problem with the existing structure is that it has this concept of shared certs
[07:23:42]<ergonlog1c>which means they're saved in one place, then deployed somewhere else to actually being server
[07:23:45]* spyd has quit (Quit: leaving)
[07:23:47]<ergonlog1c>served*
[07:24:04]* spyd has joined #aegir
[07:24:15]<ergonlog1c>so, if you try to track down the cert by looking in the vhost, say to replace it with an updated one,
[07:24:19]<|gatsby|>viashimo: Thanks. I'll have a look at this tomorrow. Turning off the module (or the settings) hasn't helped and the aliases in .drush look fine.
[07:24:32]<ergonlog1c>it'll end up being over-written the next time the site is verified
[07:25:05]<ergonlog1c>and there's a tonne of convoluted code to make shared certs feasible
[07:25:11]<viashimo>ergonlog1c: yup definitely run into issues with problems surfacing on the next verify because of that :)
[07:25:37]<ergonlog1c>the only reason for sharing certs that way, is that the deployment method is so clunky
[07:25:52]<ergonlog1c>create a self-signed cert, then over-write it
[07:25:54]<ergonlog1c>ick
[07:26:14]<ergonlog1c>that'd work with the self-signed ones in hosting_https, btw
[07:26:29]<ergonlog1c>but I'd never recommend that as a reasonable process
[07:26:49]<ergonlog1c>anyway, "soon come" as my Jamaican wife would say
[07:26:59]<viashimo>haha yeh
[07:28:22]<ergonlog1c>fwiw. we've basically started upgrading Aegir core towards Aegir 4, but in contrib
[07:28:44]<ergonlog1c>in Aegir 4, those'll just become the core components, and we can strip out the older cruft
[07:29:42]<ergonlog1c>I'm thinking of doing that with both hosting_site and hosting_platform, to make support for wordpress and other CMSs easier
[07:30:00]<ergonlog1c>though that might be overly ambitious
[07:30:08]<ergonlog1c>in the short-term, anyway
[07:30:25]<viashimo>right, but a step towards some of the ideas to come out of the brainstorm from last year's nyccamp
[07:34:13]<ergonlog1c>developing hosting_https was interesting, as we came up with this idea of *replacing* core functionality, and making that available as contrib in Aegir 3
[07:34:41]<ergonlog1c>we'll see fi/how well it'll work...
[07:41:05]<gusaus>is Aegir 4 the one that will host Drupal, Wordpress, and any other OSS product :)
[07:52:51]<viashimo>I guess platform/site become what they really are Drupal platform / Drupal site. I guess though it means re-plumbing much of the contrib built on top
[08:00:36]* zombiebeard has quit (Quit: zombiebeard)
[08:02:57]* ybabel has quit (Quit: ybabel)
[08:03:43]<ergonlog1c>yeah, that's the idea. De-coupling Drupal from sites and platforms
[08:04:13]<ergonlog1c>gusaus: I actually installed a wordpress site on Aegir earlier this week
[08:04:27]<ergonlog1c>still rough around the edges, but a very good start
[08:05:21]* memtkmcc has quit (Quit: Leaving.)
[08:05:38]<gusaus>great to hear!
[08:05:38]<ergonlog1c>hefring tell helmo I think I've found a pretty nasty CiviCRM bug in Aegir 3.7; we may have to do 3.8 sooner than planned, as it can lead to silent data loss.
[08:05:39]<hefring>ergonlog1c: I'll pass that on when helmo is around.
[08:05:40]* erortiz has joined #aegir
[08:06:49]<viashimo>is there a d.org issue for that?
[08:07:14]<ergonlog1c>as soon as I replicate it on a fresh install, I'll post one
[08:07:19]<ergonlog1c>and announce it here
[08:07:31]<viashimo>k
[08:07:38]<viashimo>thx!
[08:07:50]<ergonlog1c>there's too much custom stuff running on that server to be sure it's in hosting_civicrm
[08:08:27]<ergonlog1c>viashimo: to be on the safe side, avoid 'verify' taks on civi sites
[08:08:46]<ergonlog1c>at least, on Aegir 3.7
[08:11:38]<viashimo>noted
[08:16:09]* erortiz has quit (Ping timeout: 260 seconds)
[08:19:40]* tommycox has joined #aegir
[08:27:39]* tommycox has quit (Ping timeout: 276 seconds)
[08:31:49]* tommycox has joined #aegir
[08:57:28]* tommycox has quit (Remote host closed the connection)
[09:50:15]* theMusician has joined #aegir