11:30:12 <bkm> #startmeeting Don't destroy your machine with development sacrifice the vagrant box instead
11:30:12 <zodbot> Meeting started Wed Aug  3 11:30:12 2016 UTC.  The chair is bkm. Information about MeetBot at http://wiki.debian.org/MeetBot.
11:30:12 <zodbot> Useful Commands: #action #agreed #halp #info #idea #link #topic.
11:30:12 <zodbot> The meeting name has been set to 'don't_destroy_your_machine_with_development_sacrifice_the_vagrant_box_instead'
11:30:26 <bkm> Speaker: Dusty Mabe
11:32:32 <bkm> Introduction: Software engineer with redhat, before that was in Fedora cloud working group
11:33:14 <bkm> #topic what is vagrant?
11:34:05 <bkm> Sharing environments, folders, OS level development, ancible, multiple machine vagrant
11:34:22 <bkm> Ruby tool for bringing up virtual machines
11:34:35 <bkm> Maintained by Hashicorp
11:34:43 <bkm> developed by Mitchel Hashimoto
11:34:57 <bkm> Runs on Windows/Mac/Linux
11:35:27 <bkm> Most users use command line interface
11:35:35 <bkm> Vagrant up: Start virtual machine
11:35:47 <bkm> Vagrant ssh: connect to machine
11:36:25 <bkm> vagrant destroy: take down virtual machine
11:36:52 <bkm> #topic sharing your environment
11:37:27 <bkm> use vagrantfile - describes base disk image, Fedora, Debian, SUSE etc
11:37:39 <jflory7> #meetingname flock2016
11:37:39 <zodbot> The meeting name has been set to 'flock2016'
11:37:50 <bkm> also defines provisioning information, ansible playbook possible
11:38:09 <bkm> Many examples if do not know Ruby
11:38:33 <bkm> Example slide showing how to share environment
11:39:07 <bkm> Live Demo
11:39:47 <bkm> Example vagrant file to start a server using Fedora 24
11:41:41 <bkm> Question what is the difference between provision and up
11:41:59 <bkm> Up includes provision, but if up doesn't quite work can reprovision
11:43:44 <bkm> What if you have your own script for provisioning virtual machines?
11:44:15 <bkm> Custom script is hard to share with other people.
11:45:07 <bkm> Other projects use vagrant files: Eclipse Che, OpenShift, Gluster, Atomic Developer Bundle
11:46:16 <bkm> How move files into and out of the virtual machine?
11:46:50 <bkm> Can use rsync, NFS, Samba, VirtualBox Shared Folder
11:47:02 <bkm> Made it easier to use SSHS
11:47:14 <bkm> rsync - not true sharing
11:47:24 <bkm> NFS plugin does not work on Windows
11:47:45 <bkm> Virtual box shared folder - only if using virtualbox hypervisor
11:47:55 <bkm> Samba - only Windows
11:48:21 <bkm> SSHFS - works on Windows/Mac/Linux
11:48:37 <bkm> Picked it up, and have done a re-write
11:48:39 <itamarjp> bkm, samba only windows, jajajaja
11:48:56 <bkm> Can do reverse mounts
11:49:27 <bkm> DEMO
11:49:44 <bkm> check machine is running : vagrant status
11:51:17 <bkm> use vagrant sshfs - install client, then mount files
11:51:34 <bkm> then vagrant provision since changed script to allow files to be used
11:52:03 <bkm> showed how to move index.html file to virtual machine and displayed on webpage
11:52:37 <bkm> Made change to index.html on host and it shows up on guest
11:53:02 <bkm> #topic OS Level testing
11:54:27 <bkm> Use virtual machine to host OS from bleeding edge software
11:54:42 <bkm> Allows for fast, repeatable testing
11:55:53 <bkm> Example: Docker bug testing, check if it shows up in other distributions
11:56:42 <bkm> DEMO
11:56:52 <bkm> INstall fedora 24 and test docker
11:57:30 <bkm> second demo, install debian jessie and test docker
11:58:51 <bkm> connect to virtual machines using vagrant ssh
11:59:29 <bkm> Then change to root user in both, and run a fedora docker image for bash shell
12:00:18 <bkm> Demo done
12:00:28 <bkm> #topic How do I get it?
12:01:34 <bkm> in Fedora: sudo dnf install vagrant-libvert
12:01:53 <bkm> sudo systemctl start libvertd virtlogd
12:02:22 <bkm> see slides for rest of commands
12:02:40 <bkm> #topic Fedora on Vagrant on ????
12:03:00 <bkm> Fedora cloud working group produces the images
12:03:48 <bkm> Also have vagrant box for atomic host
12:04:10 <bkm> About 400-700 Mb for images
12:04:40 <bkm> Want to support hyperv in the future
12:05:04 <bkm> If have Mac/Windows can still have Fedora!
12:05:44 <bkm> Can use vagrant and ansible
12:05:57 <bkm> This is more reproducible than shell scripts
12:06:22 <bkm> #topic multimachine vagrant
12:06:37 <bkm> Example for multinode environments
12:06:44 <bkm> Openshift cluster
12:06:59 <bkm> Hello world type example
12:07:15 <bkm> #topic questions
12:07:36 <bkm> Can you use with RHEL images? Yes!
12:08:13 <bkm> Plugin in epel, but not in RHEL or CentOS
12:08:35 <bkm> contact dusty@dustymabe.com
12:09:03 <bkm> There is a 'halt option' to pause the machine but not destroy it.
12:10:49 <bkm> How is performance of sshfs? Not really measured, but has been fine for applications considered.
12:11:06 <bkm> Can also tweak sshfs options to try improve performance
12:14:43 <bkm> #topic Workshop to try get things installed and running.
12:15:05 <bkm> #endmeeting