Project

Profile

Help

Task #7088

The server returned a HTTP 404. This usually indicates that your chef_server_url is incorrect.

Added by Mark Zaslavskiy over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
mdbci features
Sprint/Milestone:
Start date:
21.06.2016
Due date:
% Done:

0%

Estimated time:
2:00 h
Target branch:
Test scenario:

Description

> node0: [2016-06-21T04:12:35+00:00] INFO: HTTP Request Returned 404 Not Found: Parent not found: chefzero://localhost:8889/nodes
> node0: ================================================================================
> node0: Chef encountered an error attempting to load the node data for "vagrant-5db64908"
> node0: ================================================================================
> node0: Resource Not Found:
> node0: -------------------
> node0: The server returned a HTTP 404. This usually indicates that your chef_server_url is incorrect.
> node0:
> node0: Relevant Config Settings:
> node0: -------------------------
> node0: chef_server_url "chefzero://localhost:8889"
> node0: Platform:
> node0:
> node0: ---------
> node0: x86_64-linux
> node0:
> node0: Running handlers:
> node0: [2016-06-21T04:12:35+00:00] ERROR: Running exception handlers
> node0: Running handlers complete
> node0: [2016-06-21T04:12:35+00:00] ERROR: Exception handlers complete
> node0: Chef Client failed. 0 resources updated in 00 seconds
> node0: [2016-06-21T04:12:35+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
> node0: [2016-06-21T04:12:35+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
> node0: [2016-06-21T04:12:35+00:00] ERROR: 404 "Not Found"
==> node0: [2016-06-21T04:12:37+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

History

#1 Updated by Mark Zaslavskiy over 5 years ago

{
"cookbook_path" : "../recipes/cookbooks/",
"node0" : {
"hostname" : "node0",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "mariadb",
"version": "10.0",
"cnf_template" : "server1.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}

},

"node1" : {
"hostname" : "node1",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "mariadb",
"version": "10.0",
"cnf_template" : "server2.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"node2" : {
"hostname" : "node2",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "mariadb",
"version": "10.0",
"cnf_template" : "server3.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"node3" : {
"hostname" : "node3",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "mariadb",
"version": "10.0",
"cnf_template" : "server4.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"galera0" : {
"hostname" : "galera0",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "galera",
"version": "5.5",
"cnf_template" : "galera_server1.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"galera1" : {
"hostname" : "galera1",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "galera",
"version": "5.5",
"cnf_template" : "galera_server2.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"galera2" : {
"hostname" : "galera2",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "galera",
"version": "5.5",
"cnf_template" : "galera_server3.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"galera3" : {
"hostname" : "galera3",
"box" : "ubuntu_trusty_docker",
"memory_size" : "1024",
"product" : {
"name": "galera",
"version": "5.5",
"cnf_template" : "galera_server4.cnf",
"cnf_template_path": "~/build-scripts/test-setup-scripts/cnf"
}
},

"maxscale" : {
"hostname" : "maxscale",
"box" : "ubuntu_trusty_docker",
"product" : {
"name" : "packages"
},
"memory_size" : "1024"
}
}

#2 Updated by Mark Zaslavskiy over 5 years ago

Add CommentCollapse

markusjm [11:06 AM] 
it might be that I'm just using the build system in the wrong way

markusjm [11:19 AM] 
centos_7 images fail with a different error

[11:20] 
it fails to install chef

[11:20] 
I think this is an old problem with the image itself

#3 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from New to Active / In progress

#4 Updated by Mark Zaslavskiy over 5 years ago

  • Estimated time set to 2:00 h

#5 Updated by Mark Zaslavskiy over 5 years ago

/var/chef/cache/chef-stacktrace.out on maxscale

Generated at 2016-06-22 12:44:21 +0000
Chef::Exceptions::CookbookNotFound: Cookbook packages not found. If you're loading packages from another cookbook, make sure you configu
re the dependency in your metadata
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/cookbook/cookbook_collection.rb:39:in `block in initialize'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.14.0/lib/ohai/mash.rb:77:in `yield'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.14.0/lib/ohai/mash.rb:77:in `default'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/ohai-8.14.0/lib/ohai/mash.rb:77:in `default'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:276:in `[]'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:276:in `each_cookbook_dep'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:255:in `add_cookbook_with_deps'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:88:in `block in cookbook_order'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:86:in `each'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:86:in `cookbook_order'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:98:in `compile_libraries'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context/cookbook_compiler.rb:71:in `compile'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/run_context.rb:176:in `load'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/policy_builder/expand_node_object.rb:97:in `setup_run_context'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/client.rb:508:in `setup_run_context'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/client.rb:278:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application.rb:285:in `block in fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application.rb:273:in `fork'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application.rb:273:in `fork_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application.rb:238:in `block in run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/local_mode.rb:44:in `with_server_connectivity'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application.rb:226:in `run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application/solo.rb:301:in `block in interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application/solo.rb:290:in `loop'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application/solo.rb:290:in `interval_run_chef_client'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application/solo.rb:269:in `run_application'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/lib/chef/application.rb:58:in `run'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.9.38/bin/chef-solo:25:in `<top (required)>'
/usr/bin/chef-solo:51:in `load'
/usr/bin/chef-solo:51:in `<main>'

#6 Updated by Mark Zaslavskiy over 5 years ago

Ask Markus about:
- used sources version
- version of Docker and host os
Check repo of maxscale

#7 Updated by Mark Zaslavskiy over 5 years ago

  • Sprint/Milestone changed from 0.83 to 0.9

#8 Updated by Mark Zaslavskiy over 5 years ago

mark.zaslavskiy [5:59 PM]
Hello, Markus! Have you tried to check problem https://dev.osll.ru/issues/7088 (The server returned a HTTP 404. This usually indicates that your chef_server_url is incorrect.) on max-tst01 ?
dev.osll.ru
Task #7088: The server returned a HTTP 404. This usually indicates that your chef_server_url is incorrect. - [mdbci] Maria DB Continuous integration tool - OSLL - [mdbci] Maria DB Continuous integration tool - OSLL
Main site: * http://osll.ru h3. Our mission * Gaining experience with leading technologies and sharing knowledge. * Spreading the spirit of Open Source community. * Connecting organizations interested in Open Source research and development with people willing and able to research and develop. * Raising Open Source activity in Russia. h3. Who we are We are a small group of students, postgraduates, professors and independent professionals in Computer science and Software development. We collaborate with several universities, Show more...

markusjm [6:02 PM]
mark.zaslavskiy: sorry, I've been on vacation for the last week

[6:02]
I think I could check it now

mark.zaslavskiy [6:04 PM]
It would be great!

markusjm [11:01 PM]
I'm not getting that error on max-tst-01 so I think it's some problem with my local setup

markusjm [11:10 PM]
I think it's probably related to the local repository

#9 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Active / In progress to Review

#10 Updated by Mark Zaslavskiy over 5 years ago

  • Status changed from Review to Closed

Also available in: Atom PDF