Skip to content

Instantly share code, notes, and snippets.

@michaelcoburn
Created May 6, 2015 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michaelcoburn/053620fa2ee7c6b4e507 to your computer and use it in GitHub Desktop.
Save michaelcoburn/053620fa2ee7c6b4e507 to your computer and use it in GitHub Desktop.
[michael@Michaels-MacBook-Pro vagrant-percona-michaelcoburn]$vagrant destroy --force && vagrant up
==> ps1: Forcing shutdown of VM...
==> ps1: Destroying VM and associated drives...
==> ps1: Running cleanup tasks for 'hostmanager' provisioner...
==> ps1: Running cleanup tasks for 'puppet' provisioner...
Bringing machine 'ps1' up with 'virtualbox' provider...
==> ps1: Importing base box 'perconajayj/centos-x86_64'...
==> ps1: Matching MAC address for NAT networking...
==> ps1: Checking if box 'perconajayj/centos-x86_64' is up to date...
==> ps1: Setting the name of the VM: ps1
==> ps1: Clearing any previously set network interfaces...
==> ps1: Preparing network interfaces based on configuration...
ps1: Adapter 1: nat
ps1: Adapter 2: hostonly
==> ps1: Forwarding ports...
ps1: 22 => 2222 (adapter 1)
==> ps1: Running 'pre-boot' VM customizations...
==> ps1: Booting VM...
==> ps1: Waiting for machine to boot. This may take a few minutes...
ps1: SSH address: 127.0.0.1:2222
ps1: SSH username: root
ps1: SSH auth method: private key
ps1: Warning: Connection timeout. Retrying...
ps1:
ps1: Vagrant insecure key detected. Vagrant will automatically replace
ps1: this with a newly generated keypair for better security.
ps1:
ps1: Inserting generated public key within guest...
ps1: Removing insecure key from the guest if its present...
ps1: Key inserted! Disconnecting and reconnecting using new SSH key...
==> ps1: Machine booted and ready!
==> ps1: Checking for guest additions in VM...
==> ps1: Setting hostname...
==> ps1: Configuring and enabling network interfaces...
==> ps1: Mounting shared folders...
ps1: /vagrant => /Users/michael/Vagrant/vagrant-percona-michaelcoburn
==> ps1: Running provisioner: hostmanager...
==> ps1: Running provisioner: percona_server.pp (puppet)...
==> ps1: Running Puppet with percona_server.pp...
==> ps1: Warning: Setting manifestdir is deprecated. See http://links.puppetlabs.com/env-settings-deprecations
==> ps1: (at /usr/share/ruby/vendor_ruby/puppet/settings.rb:1095:in `block in issue_deprecations')
==> ps1: Info: Loading facts in /vagrant/modules/staging/lib/facter/staging_http_get.rb
==> ps1: Info: Loading facts in /vagrant/modules/staging/lib/facter/staging_windir.rb
==> ps1: Info: Loading facts in /vagrant/modules/stdlib/lib/facter/facter_dot_d.rb
==> ps1: Info: Loading facts in /vagrant/modules/stdlib/lib/facter/pe_version.rb
==> ps1: Info: Loading facts in /vagrant/modules/stdlib/lib/facter/puppet_vardir.rb
==> ps1: Info: Loading facts in /vagrant/modules/stdlib/lib/facter/root_home.rb
==> ps1: Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
==> ps1: Notice: Compiled catalog for ps1.cap.lan in environment production in 1.33 seconds
==> ps1: Warning: The package type's allow_virtual parameter will be changing its default value from false to true in a future release. If you do not want to allow virtual packages, please explicitly set allow_virtual to false.
==> ps1: (at /usr/share/ruby/vendor_ruby/puppet/type.rb:816:in `set_default')
==> ps1: Info: Applying configuration version '1430926549'
==> ps1: Notice: /Stage[main]/Base::Swappiness/Exec[swappiness_sysctl_conf]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Base::Swappiness/Exec[apply_sysctl]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]/device: device changed '/dev/mapper/VolGroup-lv_mysql' to '/dev/dm-2'
==> ps1: Notice: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]/pass: pass changed '2' to '0'
==> ps1: Notice: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]/dump: dump changed '1' to '0'
==> ps1: Info: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]: Scheduling refresh of Mount[/var/lib/mysql]
==> ps1: Info: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]: Scheduling refresh of Mount[/var/lib/mysql]
==> ps1: Info: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]: Scheduling refresh of Mount[/var/lib/mysql]
==> ps1: Info: Mount[/var/lib/mysql](provider=parsed): Remounting
==> ps1: Notice: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]: Triggered 'refresh' from 3 events
==> ps1: Info: /Stage[main]/Mysql::Datadir/Mount[/var/lib/mysql]: Scheduling refresh of Mount[/var/lib/mysql]
==> ps1: Notice: /Stage[main]/Base::Packages/Package[psmisc]/ensure: created
==> ps1: Notice: /Stage[main]/Test::Sysbench_test_script/File[/usr/local/bin/run_sysbench_reload.sh]/ensure: created
==> ps1: Notice: /Stage[main]/Test::Sysbench_test_script/File[/usr/local/bin/run_sysbench_oltp.sh]/ensure: created
==> ps1: Notice: /Stage[main]/Test::Sysbench_test_script/File[/usr/local/bin/run_sysbench_update_index.sh]/ensure: created
==> ps1: Notice: /Stage[main]/Base::Insecure/Service[firewalld]/ensure: ensure changed 'running' to 'stopped'
==> ps1: Notice: /Stage[main]/Base::Packages/Service[ntpd]/ensure: ensure changed 'stopped' to 'running'
==> ps1: Info: /Stage[main]/Base::Packages/Service[ntpd]: Unscheduling refresh on Service[ntpd]
==> ps1: Notice: /Stage[main]/Misc::Myq_gadgets/Exec[myq_gadgets]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Percona::Repository/Package[percona-release]/ensure: created
==> ps1: Notice: /Stage[main]/Percona::Sysbench/Package[sysbench]/ensure: created
==> ps1: Notice: /Stage[main]/Percona::Sysbench/File[/root/sysbench_tests]/ensure: created
==> ps1: Notice: /Stage[main]/Percona::Server/Package[Percona-Server-shared-56.x86_64]/ensure: created
==> ps1: Notice: /Stage[main]/Percona::Server/Package[Percona-Server-client-56.x86_64]/ensure: created
==> ps1: Notice: /Stage[main]/Percona::Server/Package[Percona-Server-server-56.x86_64]/ensure: created
==> ps1: Info: /Stage[main]/Percona::Config/File[/etc/my.cnf]: Filebucketed /etc/my.cnf to puppet with sum 80e1eb23d5fbd77fc0ff681b0f0df297
==> ps1: Notice: /Stage[main]/Percona::Config/File[/etc/my.cnf]/content: content changed '{md5}80e1eb23d5fbd77fc0ff681b0f0df297' to '{md5}434c5ed0238bb7dcda8dfc17d77e8f89'
==> ps1: Info: /Stage[main]/Percona::Config/File[/etc/my.cnf]: Scheduling refresh of Service[mysql]
==> ps1: Notice: /Stage[main]/Percona::Service/Service[mysql]/ensure: ensure changed 'stopped' to 'running'
==> ps1: Info: /Stage[main]/Percona::Service/Service[mysql]: Unscheduling refresh on Service[mysql]
==> ps1: Notice: /Stage[main]/Percona::Tokudb_install/Package[Percona-Server-tokudb-56.x86_64]/ensure: created
==> ps1: Notice: /Stage[main]/Percona::Tokudb_enable/Exec[MySQL-TokuDB-enable]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Percona::Toolkit/Package[percona-toolkit]/ensure: created
==> ps1: Notice: /Stage[main]/Test::User/Exec[create_test_localhost_user]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Test::User/Exec[create_test_global_user]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[create_schema]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: sysbench 0.5: multi-threaded system evaluation benchmark
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Running the test with following options:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Number of threads: 1
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Random number generator seed is 0 and will be ignored
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Threads started!
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: thread prepare0
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Creating table 'sbtest1'...
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Inserting 1000000 records into 'sbtest1'
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: OLTP test statistics:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: queries performed:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: read: 0
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: write: 388
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: other: 2
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: total: 390
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: transactions: 0 (0.00 per sec.)
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: read/write requests: 388 (9.68 per sec.)
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: other operations: 2 (0.05 per sec.)
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: ignored errors: 0 (0.00 per sec.)
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: reconnects: 0 (0.00 per sec.)
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: General statistics:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: total time: 40.0995s
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: total number of events: 10000
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: total time taken by event execution: 0.0011s
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: response time:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: min: 0.00ms
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: avg: 0.00ms
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: max: 0.01ms
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: approx. 95 percentile: 0.00ms
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: Threads fairness:
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: events (avg/stddev): 10000.0000/0.00
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: execution time (avg/stddev): 0.0011/0.00
==> ps1: Notice: /Stage[main]/Test::Sysbench_load/Exec[prepare_database]/returns: executed successfully
==> ps1: Notice: /Stage[main]/Misc::Myq_tools/Exec[myq_tools]/returns: executed successfully
==> ps1: Info: Creating state file /var/lib/puppet/state/state.yaml
==> ps1: Notice: Finished catalog run in 449.78 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment