Skip to content

Instantly share code, notes, and snippets.

@aaronfeng
Created October 31, 2013 17:11
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 aaronfeng/7253383 to your computer and use it in GitHub Desktop.
Save aaronfeng/7253383 to your computer and use it in GitHub Desktop.
─➤ vagrant provision 1 ↵
[default] The cookbook path '/Users/aaron.feng/code/artifact-cookbook-good/fixtures/databags' doesn't exist. Ignoring...
[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant.
[Berkshelf] You should check for a newer version of vagrant-berkshelf.
[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues
[Berkshelf] You can also join the discussion in #berkshelf on Freenode.
[Berkshelf] Updating Vagrant's berkshelf: '/Users/aaron.feng/.berkshelf/default/vagrant/berkshelf-20131029-50324-z5k7zn-default'
[Berkshelf] Using artifact (1.10.3)
[Berkshelf] Using artifact_test (0.1.0) at './fixtures/artifact_test'
[Berkshelf] Using windows (1.8.10)
[Berkshelf] Using chef_handler (1.1.4)
[default] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
[2013-10-31T17:11:28+00:00] INFO: *** Chef 10.14.2 ***
[2013-10-31T17:11:29+00:00] INFO: Setting the run_list to ["recipe[artifact_test::default]", "recipe[artifact_test::nexus_anon]"] from JSON
[2013-10-31T17:11:29+00:00] INFO: Run List is [recipe[artifact_test::default], recipe[artifact_test::nexus_anon]]
[2013-10-31T17:11:29+00:00] INFO: Run List expands to [artifact_test::default, artifact_test::nexus_anon]
[2013-10-31T17:11:29+00:00] INFO: Starting Chef Run for artifact-berkshelf
[2013-10-31T17:11:29+00:00] INFO: Running start handlers
[2013-10-31T17:11:29+00:00] INFO: Start handlers complete.
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[manifest_differences?] Currently installed version of artifact is 1.2.3.
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[has_manifest_changed?] Saved manifest from /srv/artifact_test/releases/1.2.3 is the same as regenerated manifest. Not Deploying.
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[manifest_differences?] Currently installed version of artifact is 1.2.3.
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[has_manifest_changed?] Saved manifest from /srv/artifact_test/releases/1.2.3 is the same as regenerated manifest. Not Deploying.
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[setup_deploy_directories!] Creating /var/chef/cache/artifact_deploys/artifact_test/1.2.3
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[setup_deploy_directories!] Creating /srv/artifact_test/releases/1.2.3
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[setup_deploy_directories!] Creating /srv/artifact_test/shared
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[setup_shared_directories!] Creating /srv/artifact_test/shared/system
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[setup_shared_directories!] Creating /srv/artifact_test/shared/pids
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[setup_shared_directories!] Creating /srv/artifact_test/shared/log
[2013-10-31T17:11:29+00:00] INFO: artifact_deploy[retrieve_artifact!] Retrieving artifact local path /vagrant/fixtures/artifact_test-1.2.3.tgz
================================================================================
Error executing action `deploy` on resource 'artifact_deploy[/srv/jetty-hightide-server]'
================================================================================
NexusCli::ArtifactMalformedException
------------------------------------
Please submit your request using 4 colon-separated values. `groupId:artifactId:version:extension`
Cookbook Trace:
---------------
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/artifact/libraries/chef_artifact_nexus.rb:31:in `new'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/artifact/libraries/chef_artifact_nexus.rb:31:in `get_actual_version'
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/artifact/providers/deploy.rb:59:in `load_current_resource'
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/artifact_test/recipes/nexus_anon.rb
35:
36: artifact_deploy deploy_to do
37: after_download Proc.new { Chef::Log.info "*** artifact_deploy after_download was called ***" }
38: version version
39: artifact_location location
40: nexus_configuration nexus_configuration
41: deploy_to deploy_to
42: owner "artifacts"
43: group "artifact"
44: action :deploy
45: end
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/artifact_test/recipes/nexus_anon.rb:36:in `from_file'
artifact_deploy("/srv/jetty-hightide-server") do
action [:deploy]
retries 0
retry_delay 2
cookbook_name :artifact_test
recipe_name "nexus_anon"
version "8.1.13.v20130916"
artifact_location "org.mortbay.jetty.dist:jetty-rpm:jar:sources:8.1.13.v20130916"
deploy_to "/srv/jetty-hightide-server"
owner "artifacts"
group "artifact"
after_download #<Proc:0x00000002b64700@/tmp/vagrant-chef-1/chef-solo-1/cookbooks/artifact_test/recipes/nexus_anon.rb:37>
nexus_configuration #<Chef::Artifact::NexusConfiguration:0x00000002b5cb18 @url="https://maven-us.nuxeo.org/nexus", @repository="central", @username=nil, @password=nil, @ssl_verify=true>
end
[2013-10-31T17:11:29+00:00] ERROR: Running exception handlers
[2013-10-31T17:11:29+00:00] ERROR: Exception handlers complete
[2013-10-31T17:11:29+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-10-31T17:11:29+00:00] FATAL: NexusCli::ArtifactMalformedException: Please submit your request using 4 colon-separated values. `groupId:artifactId:version:extension`
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment