えっ、ないの? 日を改めてリトライでも、かわらず。
c:\projects\NetCommons3>vagrant up default
Bringing machine 'default' up with 'virtualbox' provider...
default: The Berkshelf shelf is at "C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default"
==> default: Sharing cookbooks with VM
==> default: Importing base box 'precise64'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: NetCommons3_default_1449378382154_84316
==> default: Updating Vagrant's Berkshelf...
==> default: Resolving cookbook dependencies...
==> default: Fetching 'apt' from https://github.com/topaz2/apt (at firewall_workaround)
==> default: Fetching 'boilerplate_jenkins' from https://github.com/topaz2/chef_boilerplate_jenkins.git (at master)
==> default: Fetching 'composer' from https://github.com/Morphodo/chef-composer.git (at master)
==> default: Fetching 'netcommons' from https://github.com/NetCommons3/chef_netcommons.git (at master)
==> default: Fetching 'php' from https://github.com/trinitronx/php.git (at COOK-4439-add-php-5.5.9-support-on-ubuntu-12.04)
==> default: Fetching cookbook index from https://api.berkshelf.com...
==> default: Installing 7-zip (1.0.2) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing apache2 (2.0.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing application (5.0.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing ark (0.9.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Using apt (2.6.0) from https://github.com/topaz2/apt (at firewall_workaround)
==> default: Installing boilerplate (0.5.10) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Using boilerplate_jenkins (0.0.1) from https://github.com/topaz2/chef_boilerplate_jenkins.git (at master)
==> default: Installing boilerplate_php (0.5.4) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing build-essential (2.1.2) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing chef-dk (2.0.3) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing chef-server (2.1.6) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing chef-sugar (2.4.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing chef_handler (1.1.6) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing chocolatey (0.4.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing compat_resource (12.5.14) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Using composer (0.2.1) from https://github.com/Morphodo/chef-composer.git (at master)
==> default: Installing database (4.0.9) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing dmg (2.2.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing docker (2.3.2) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing dotdeb_repo (1.1.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing hhvm (0.6.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing homebrew (2.0.2) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing iis (2.1.5) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing iptables (0.14.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing jenkins (2.4.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing logrotate (1.7.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing mroonga (0.0.3) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing mysql (5.6.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Using netcommons (0.1.0) from https://github.com/NetCommons3/chef_netcommons.git (at master)
==> default: Installing nodejs (2.4.2) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing openssl (4.2.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing packagecloud (0.1.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing pacman (1.1.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing phantomjs (1.0.3) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Using php (1.4.0) from https://github.com/trinitronx/php.git (at COOK-4439-add-php-5.5.9-support-on-ubuntu-12.04)
==> default: Installing poise (2.4.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing poise-service (1.0.3) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing postgresql (3.4.24) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing python (1.4.6) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing ruby (0.9.3) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing runit (1.7.4) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing vagrant (0.2.0) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing virtualbox (1.0.3) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing windows (1.34.8) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing xml (1.2.6) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing yum (3.4.1) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing yum-epel (0.5.2) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Installing yum-mysql-community (0.1.10) from https://api.berkshelf.com ([opscode] https://supermarket.chef.io:443/api/v1)
==> default: Vendoring 7-zip (1.0.2) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/7-zip
==> default: Vendoring apache2 (2.0.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/apache2
==> default: Vendoring application (5.0.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/application
==> default: Vendoring apt (2.6.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/apt
==> default: Vendoring ark (0.9.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/ark
==> default: Vendoring boilerplate (0.5.10) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/boilerplate
==> default: Vendoring boilerplate_jenkins (0.0.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/boilerplate_jenkins
==> default: Vendoring boilerplate_php (0.5.4) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/boilerplate_php
==> default: Vendoring build-essential (2.1.2) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/build-essential
==> default: Vendoring chef-dk (2.0.3) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/chef-dk
==> default: Vendoring chef-server (2.1.6) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/chef-server
==> default: Vendoring chef-sugar (2.4.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/chef-sugar
==> default: Vendoring chef_handler (1.1.6) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/chef_handler
==> default: Vendoring chocolatey (0.4.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/chocolatey
==> default: Vendoring compat_resource (12.5.14) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/compat_resource
==> default: Vendoring composer (0.2.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/composer
==> default: Vendoring database (4.0.9) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/database
==> default: Vendoring dmg (2.2.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/dmg
==> default: Vendoring docker (2.3.2) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/docker
==> default: Vendoring dotdeb_repo (1.1.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/dotdeb_repo
==> default: Vendoring hhvm (0.6.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/hhvm
==> default: Vendoring homebrew (2.0.2) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/homebrew
==> default: Vendoring iis (2.1.5) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/iis
==> default: Vendoring iptables (0.14.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/iptables
==> default: Vendoring jenkins (2.4.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/jenkins
==> default: Vendoring logrotate (1.7.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/logrotate
==> default: Vendoring mroonga (0.0.3) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/mroonga
==> default: Vendoring mysql (5.6.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/mysql
==> default: Vendoring netcommons (0.1.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/netcommons
==> default: Vendoring nodejs (2.4.2) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/nodejs
==> default: Vendoring openssl (4.2.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/openssl
==> default: Vendoring packagecloud (0.1.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/packagecloud
==> default: Vendoring pacman (1.1.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/pacman
==> default: Vendoring phantomjs (1.0.3) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/phantomjs
==> default: Vendoring php (1.4.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/php
==> default: Vendoring poise (2.4.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/poise
==> default: Vendoring poise-service (1.0.3) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/poise-service
==> default: Vendoring postgresql (3.4.24) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/postgresql
==> default: Vendoring python (1.4.6) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/python
==> default: Vendoring ruby (0.9.3) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/ruby
==> default: Vendoring runit (1.7.4) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/runit
==> default: Vendoring vagrant (0.2.0) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/vagrant
==> default: Vendoring virtualbox (1.0.3) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/virtualbox
==> default: Vendoring windows (1.34.8) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/windows
==> default: Vendoring xml (1.2.6) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/xml
==> default: Vendoring yum (3.4.1) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/yum
==> default: Vendoring yum-epel (0.5.2) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/yum-epel
==> default: Vendoring yum-mysql-community (0.1.10) to C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default/yum-mysql-community
==> default: Loading Berkshelf datafile...
==> default: Sharing cookbooks with VM
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 80 => 9090 (adapter 1)
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 4.2.0
default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /tmp/vagrant-chef/736b0ecafbe5fb89942dcc228f244c6f/roles => C:/projects/NetCommons3/tools/chef/roles
default: /tmp/vagrant-chef/4e885acc632290e1d30ae8f8d3ecc97a/cookbooks => C:/Users/akaga/.berkshelf/vagrant-berkshelf/shelves/berkshelf20151206-4272-h2fefs-default
default: /tmp/vagrant-chef/c61ead485fa5c5ba67716db8ff05c147/data_bags => C:/projects/NetCommons3/tools/chef/data_bags
default: /tmp/vagrant-chef/f06d969d84df03d8c46514e774d2a4d6/environments => C:/projects/NetCommons3/tools/chef/environments
==> default: Updating /etc/hosts file on active guest machines...
==> default: Updating /etc/hosts file on host machine (password may be required)...
==> default: Installing Chef 12.5.1 Omnibus package...
==> default: Downloading Chef 12.5.1 for ubuntu...
==> default: downloading https://www.getchef.com/chef/metadata?v=12.5.1&prerelease=false&nightlies=false&p=ubuntu&pv=12.04&m=x86_64
==> default: to file /tmp/install.sh.1544/metadata.txt
==> default: trying wget...
==> default: url https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.1-1_amd64.deb
==> default: md5 d8fec2da288e94a7e2d649803a9d70f4
==> default: sha256 656a4c4a8fd64d74d1d970fb0d07076d6f1d8230d37d751f2c3698a52d82c070
==> default: downloaded metadata file looks valid...
==> default: downloading https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef_12.5.1-1_amd64.deb
==> default: to file /tmp/install.sh.1544/chef_12.5.1-1_amd64.deb
==> default: trying wget...
==> default: Comparing checksum with sha256sum...
==> default: Installing Chef 12.5.1
==> default: installing with dpkg...
==> default: Selecting previously unselected package chef.
==> default: (Reading database ...
==> default: 51095 files and directories currently installed.)
==> default: Unpacking chef (from .../chef_12.5.1-1_amd64.deb) ...
==> default: Setting up chef (12.5.1-1) ...
==> default: Thank you for installing Chef!
==> default: Running provisioner: hostmanager...
==> default: Running provisioner: chef_solo...
==> default: Detected Chef (latest) is already installed
Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: stdin: is not a tty
==> default: [2015-12-06T05:11:22+00:00] INFO: Forking chef instance to converge...
==> default: Starting Chef Client, version 12.5.1
==> default: [2015-12-06T05:11:22+00:00] INFO: *** Chef 12.5.1 ***
==> default: [2015-12-06T05:11:22+00:00] INFO: Chef-client pid: 1769
==> default: [2015-12-06T05:11:24+00:00] INFO: Setting the run_list to ["apt", "boilerplate::apt_fast", "netcommons::git", "php::apt_ondrej_ppa", "chef-dk", "nodejs::nodejs_from_package", "phantomjs", "python", "apache2", "database::mysql", "mysql::server", "jenkins::master", "boilerplate", "boilerp
late_php", "netcommons", "mroonga"] from CLI options
==> default: [2015-12-06T05:11:24+00:00] INFO: Run List is [recipe[apt], recipe[boilerplate::apt_fast], recipe[netcommons::git], recipe[php::apt_ondrej_ppa], recipe[chef-dk], recipe[nodejs::nodejs_from_package], recipe[phantomjs], recipe[python], recipe[apache2], recipe[database::mysql], recipe[mysq
l::server], recipe[jenkins::master], recipe[boilerplate], recipe[boilerplate_php], recipe[netcommons], recipe[mroonga]]
==> default: [2015-12-06T05:11:24+00:00] INFO: Run List expands to [apt, boilerplate::apt_fast, netcommons::git, php::apt_ondrej_ppa, chef-dk, nodejs::nodejs_from_package, phantomjs, python, apache2, database::mysql, mysql::server, jenkins::master, boilerplate, boilerplate_php, netcommons, mroonga]
==> default: [2015-12-06T05:11:24+00:00] INFO: Starting Chef Run for app.local
==> default: [2015-12-06T05:11:24+00:00] INFO: Running start handlers
==> default: [2015-12-06T05:11:24+00:00] INFO: Start handlers complete.
==> default: Compiling Cookbooks...
==> default: [2015-12-06T05:11:27+00:00] WARN: WindowsPackage already exists! Deprecation class overwrites LWRP resource windows_package from cookbook windows
==> default:
==> default: ================================================================================
==> default: Recipe Compile Error
==> default: ================================================================================
==> default:
==> default: Chef::Exceptions::RecipeNotFound
==> default: --------------------------------
==> default: could not find recipe mysql for cookbook database
==> default: Running handlers:
==> default: [2015-12-06T05:11:28+00:00] ERROR: Running exception handlers
==> default: Running handlers complete
==> default: [2015-12-06T05:11:28+00:00] ERROR: Exception handlers complete
==> default: Chef Client failed. 0 resources updated in 05 seconds
==> default: [2015-12-06T05:11:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2015-12-06T05:11:28+00:00] ERROR: could not find recipe mysql for cookbook database
==> default: [2015-12-06T05:11:28+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
// NetCommons3フォルダ全削除
>git clone https://github.com/NetCommons3/NetCommons3.git
C:\projects\NetCommons3\Vagrantfile (53,63):
node.vm.synced_folder '.', '/var/www/app',
↓
node.vm.synced_folder '.', '/var/www/app', disabled: true,
// .berkshelf フォルダごと削除(キャッシュたまってる)
C:\Users\akaga\.berkshelf
// とりあえず(could not find recipe mysql for cookbook database)は解消した