<     May 2017     >
Su Mo Tu We Th Fr Sa  
    1  2  3  4  5  6  
 7  8  9 10 11 12 13  
14 15 16 17 18 19 20  
21 22 23 24 25 _2_6 27  
28 29 30 31
00:18 dumbitguy2 joined
00:19 njbair joined
00:23 csotelo joined
00:30 gm2052 joined
00:33 gm2051 joined
00:42 livingstn joined
01:07 csotelo joined
01:15 bmurt joined
01:20 Wicaeed joined
01:38 zerocoolback joined
01:40 kaileylampert joined
01:40 gm2052 joined
01:45 enderandpeter joined
01:49 cqi joined
01:59 nicolasbock joined
02:00 d^sh joined
02:01 voodoolost joined
02:05 wlightning-fuel joined
02:08 gm2053 joined
02:18 dumbitguy2 joined
02:20 voodoolost left
03:30 k0nsl joined
03:30 k0nsl joined
03:30 Croves joined
03:46 enderandpeter joined
03:59 wlightning-fuel joined
04:09 zerocool_ joined
04:10 Croves joined
04:28 zerocool_ joined
04:50 gm2052 joined
04:50 Wicaeed joined
05:09 gm2053 joined
05:16 d^sh joined
05:23 trepmal joined
05:47 kharloss joined
05:59 Wanderer- joined
06:03 budhram joined
06:10 Wanderer- joined
06:12 indistylo joined
06:24 napramirez joined
06:27 trepmal joined
06:28 nshaikh joined
06:40 notdaniel joined
06:51 kwladyka joined
07:00 last_staff joined
07:08 zerocoolback joined
07:13 TomyWork joined
07:14 atomekk joined
07:14 atomekk joined
07:15 zerocoolback joined
07:30 DinCahill joined
07:33 kharloss joined
07:35 indistylo joined
07:59 kharloss joined
08:00 marcogmonteiro joined
08:04 cstratak joined
08:15 atomekk joined
08:15 atomekk joined
08:30 RxMcDonald joined
08:31 <RxMcDonald> please anyone knows how to restore ssh access to a machine? i'm tired of typing the password, i wrongfully deleted the dotfiles in /home/vagrant/
08:32 trepmal joined
08:32 nicolasbock joined
08:37 notebox joined
08:43 serque joined
08:44 ogny joined
08:44 ogny joined
08:47 _ADN_ joined
08:59 oshabrz joined
09:08 electrofelix joined
09:18 nshaikh joined
09:19 napramirez joined
09:25 blizzkid joined
09:26 <blizzkid> lo all. Using 1.9.4 and host_key_checking = False, I still get errors about remote host identification has changed.
09:26 <blizzkid> Do I need to use a key per machine as from now?
09:27 <ikopico> double-p: sorry just saw the messages now. Living in Dublin at the moment :)
09:29 gbt joined
09:51 Croves joined
09:57 moozer joined
10:09 Jimmyc joined
10:10 nshaikh joined
10:13 Wicaeed joined
10:17 <Jimmyc> Hi All
10:18 <Jimmyc> I've a prob with vagrant and vmware_fusion provider
10:18 <Jimmyc> Vagrant wait on Bringing machine 'default' up with 'vmware_fusion' provider...
10:19 <Jimmyc> This is a debug : https://pastebin.com/HvK3yreK
10:21 cqi joined
10:51 trepmal joined
10:58 marcogmonteiro joined
10:59 Jimmyc left
11:04 kwladyka joined
11:28 oshabrz joined
11:33 Croves joined
11:35 Croves left
11:49 enderandpeter joined
12:00 <RxMcDonald> lmao
12:08 spiette_ joined
12:10 bmurt joined
12:12 salios joined
12:15 uebera|| joined
12:22 TsunamiFoodTarge joined
12:23 zerocoolback joined
12:26 bmurt joined
12:42 Archrover joined
12:45 livingstn joined
12:48 jeffreylevesque joined
13:00 snowmizer joined
13:05 notebox joined
13:12 bmurt joined
13:15 oshabrz joined
13:18 jane_booty_doe joined
13:21 wlightning-fuel joined
13:28 livingstn joined
13:28 marcogmonteiro joined
13:35 pgdagenais joined
13:38 winem_ joined
13:38 charginghawk joined
13:49 dumbitguy2 joined
13:55 computeracer joined
14:01 tapoxi joined
14:11 wlightning-fuel joined
14:17 trepmal joined
14:31 last_staff joined
14:40 wlightning-fuel joined
14:40 atomi joined
14:45 arcanine joined
14:56 wlightning-fuel joined
15:11 setuid joined
15:12 <setuid> If I'm building out 4 VMs, all idenitical except for hostname, and then into those I'll install 90% of the same packages, is there a rapid way to deploy them, vs. just "vagrant up" for each one separately (serially)?
15:13 <setuid> I'm trying to minimize the bootstrap/deployment time
15:19 __ddd__ joined
15:19 vb_jasonc joined
15:20 njbair joined
15:21 <spox> setuid: you can use packer to build yourself a pre-loaded box so you don't need to wait for all the installs
15:22 <setuid> spox: So if I'm building out 4 VMs, and I pull the remote box down in the first install, how do I use that downloaded version to 'clone' to the other 3?
15:22 <spox> and one thing i do thats handy is run `vagrant up --no-provision` to let all the instances come up, then loop through the names doing a `vagrant provision $name` and backgrounding them so the provisioning step can run in parallel
15:23 <spox> setuid: if the configuration has them all using the same `box` value, they will all be using the same base image
15:26 slentzen joined
15:27 <setuid> spox: this is what I'm working with: https://github.com/bloomberg/chef-bcpc/blob/master/bootstrap/vagrant_scripts/vagrant_create.sh
15:28 <setuid> Can you show me an example of how you're doing that, with a single Vagrantfile?
15:29 <spox> how i'm doing which part? building images or running vagrant?
15:30 bob_cheesey left
15:31 <spox> setuid: ^ ?
15:31 snowmizer joined
15:31 <setuid> How you're doing the 'provision $name' part in parallel
15:32 <spox> it's just a bash script. loop through list of names and run `vagrant provision $name` backgrounding and storing the pid. then another loop to wait for all the backgrounded pids to complete.
15:33 <spox> i don't have the full script available to paste, but it's pretty straight forward. just a couple loops to start the provisioning then collect the results
15:35 livingstn joined
15:36 snowmizer2 joined
15:37 <setuid> Before I do that, do you see anything obvious that needs attention with: https://github.com/bloomberg/chef-bcpc/blob/master/bootstrap/vagrant_scripts/Vagrantfile
15:38 <* MajObviousman> gets a sense that his services are in demand
15:38 <MajObviousman> mmmm hmm. Yep. Mmmmmm hmmm. Those are letters and symbols all right
15:39 <MajObviousman> no need to thank me, setuid, just doing my job
15:39 <setuid> hrm?
15:40 salios joined
15:41 <* MajObviousman> activates the vornado so it looks like he's flying away
15:43 salios joined
15:43 <* setuid> casts MajObviousman to MajNot-So-Obvious-man
15:44 <MajObviousman> I'd play along, but that would bruise my idlerpg score
15:48 salios joined
15:48 jayunit100 joined
15:51 jayunit100 joined
15:54 utkonos joined
15:55 <utkonos> Is there a way to configure rsync-auto in the Vagrantfile? I have tried appending rsync-auto: true to the end of the config.vm.synced_folder statements, but it does not seem to work.
15:57 <setuid> ooo, you just gave me an idea. If I have 4 identcal VMs, and into each one I do 'apt-get update && apt-get -y upgrade', they'll all pull down the same package lists and packages. If I use rsync-auto, I could avoid the multiple downloads, right?
15:58 <utkonos> probably so
15:58 <utkonos> I have been able to get it working with the command line "vagrant rsync-auto" just fine, but I want to know how to have that happen automagically via Vagrantfile
15:58 <utkonos> It seems like it should be possible, but it doesn't work.
16:00 <setuid> "To ensure that the command works properly, you should start rsync-auto only when the machine is running, and shut it down before any machine state changes."
16:00 <setuid> It apparently doesn't handle state changes gracefully
16:01 <utkonos> so it's something that always gets run manually?
16:01 <setuid> spox: with --no-provision, 149s, without, 196s. Not a big appreciable savings.
16:14 Wicaeed joined
16:26 livingstn joined
16:27 <setuid> oof. With vagrant-cachier, 6m11s.
16:28 <setuid> It should not take ~2x-3x longer with a caching proxy
16:32 <setuid> ==> vm2: Configuring cache buckets...
16:32 <setuid> It's definitely "trying" to cache
16:35 oshabrz joined
16:36 TsunamiFoodTarge joined
16:37 davidmichaelkarr joined
16:56 livingstn joined
17:10 indistylo joined
17:11 energizer joined
17:13 <energizer> There's a staging server with database, web server, app code, etc. I want to make a local copy of the server so I can easily try database-altering code on my laptop locally. Does this make sense for vagrant?
17:14 <vb_jasonc> @energizing - is the creation of that server at all automated now? can you apply some chef/puppet/ansible items to rapidly deploy the same as a vagrant box?
17:14 <vb_jasonc> I can't spell it seems
17:15 <vb_jasonc> @energizer ^
17:16 <energizer> vb_jasonc: there's no automation on it at all now; it's just a server with some db, nginx, python app on it
17:17 <vb_jasonc> well - vagrant isn't really a backup system, it's more of a bootstrapper - at least imo, so if you don't aleady have that automation, you'd need to create some in order to make vagrant useful to you
17:17 <vb_jasonc> vagrant is great for testing, and I'm sure some would say that's its primary area of usefulness
17:18 <setuid> energizer: what's the OS of the server?
17:18 <energizer> setuid: ubuntu 14
17:18 <vb_jasonc> but those components all have public domain cookbooks (or similar coverage for the provisioner of your choice) that would make setting up a box like that pretty straight forward
17:19 <setuid> energizer: you could clone it with dpkg --get-selections, then dpkg --set-selections in your vagrant provisioner
17:19 <setuid> you won't get the _data_, but you'll get an exact build
17:19 balkamos joined
17:19 balkamos joined
17:21 <energizer> vb_jasonc: were you thinking i should write an ansible playbook to install db, python, uwsgi, clone app; then make a vm with vagrant and run the playbook?
17:21 <vb_jasonc> something like that
17:21 <vb_jasonc> vagrant will run the playbook for you
17:21 <vb_jasonc> as part of bringing up the vm for the first time
17:22 <vb_jasonc> and you can likely get your data on it too the same way
17:24 <energizer> vb_jasonc: how would i get the data
17:24 <vb_jasonc> if you want to build something more detailed, packer -> vagrant would allow you to use kickstart files (or debconf) to set up the box
17:24 <vb_jasonc> typically, vagrant provides either a filesystem connection (local "Vagrantfile" path = /vagrant on the host) or you can scp
17:25 <vb_jasonc> vagrant also has file/shell provisioners that will get stuff onto the guest and execute it
17:26 <vb_jasonc> how to say, out of the box vagrant is kind of clever, but if you need it to be very clever, you need to add that part
17:27 <vb_jasonc> all the hooks are there - and there are probably some good examples out there that would be close to what you need
17:33 TsunamiFoodTarge joined
17:36 <setuid> I've done some work using packer to build an image, with an injected HWE kernel, which is then fed to vagrant to bootstrap, avoiding the reboot
17:41 caper joined
17:41 <vb_jasonc> packer can provision most of the same things - it's just that it can go from "bare metal" where vagrant really can't
17:41 <vb_jasonc> vagrant needs that "box" as a starting point
17:42 <vb_jasonc> fortunately, packer can make vagrant boxes, as setuid suggests
17:43 <setuid> My packer json uses a preseed to do an unattnded Ubuntu install, injects the hwe kernel, then packs it up into an image, which vagrant can use to provision vms against it
17:50 <setuid> This is not very user friendly: https://paste.debian.net/hidden/38417904/
17:50 <setuid> There's a --machine-readable flag, but no help on that flag or others
17:51 enderandpeter1 joined
17:57 __ddd__ joined
17:58 livingstn joined
18:02 notdaniel joined
18:11 <setuid> Is there an easier way to filter that output?
18:18 Wicaeed joined
18:21 bmurt joined
18:27 dumbitgu_ joined
18:34 runway joined
18:48 bmurt joined
19:19 Wanderer- joined
19:30 Faulkner joined
19:40 utkonos left
19:41 dprophit joined
19:41 <dprophit> Is there a channel for puppet in vagrant builds? I have questions about module manifest
19:41 ahrs joined
19:43 utkonos joined
19:51 <energizer> vb_jasonc: I'm trying to use packer build, and i get "virtualbox-iso: Timeout waiting for SSH."
20:06 <vb_jasonc> there is a fairly broad number of reasons that happens - including that there's just not enough time in the default to complete provisioning
20:07 <vb_jasonc> do you have a rdp/gui available on the vm that's being built?
20:12 dumbitguy2 joined
20:35 preyalone joined
20:36 njbair joined
20:38 <dprophit> Is there a channel for puppet in vagrant builds? I have questions about module manifest
20:57 Wanderer- joined
20:57 vb_jason_c joined
21:14 dumbitguy2 joined
21:22 kwladyka joined
21:26 winem_ joined
21:29 energizer joined
21:47 Wanderer- joined
22:42 GenteelBen joined
22:45 utkonos left
23:10 Archrover joined
23:20 PaulCape_ joined
23:25 dprophit left