diff --git a/Rakefile b/Rakefile index 54b5271e08a094a41b89776d48a9fcb126403601..babd9358223486048a1261f3850a0e8f7238edcb 100644 --- a/Rakefile +++ b/Rakefile @@ -592,6 +592,29 @@ task :build_deb, [:dir] => :build do sh "mv #{tmp}-#{VERSION}.tar.gz #{tmp}_#{VERSION}.orig.tar.gz" end +desc "Show information about the Debian package building process" +task :deb_info do |f, args| + suff = args.branch_suffix || '' + deb_version, tag_version = deb_versions() + puts <<-EOF +## When you package is ready, you will need to: +### Push upstream and merge modifications and tags + First, push your changes on the master or 3.X branch (e.g. git push origin HEAD:refs/for/master) + Then: + git push origin upstream#{suff}:refs/for/upstream#{suff} + git push origin debian#{suff}:refs/for/debian#{suff} + git push origin #{tag_version}:refs/tags/#{tag_version} + git push origin pristine-tar#{suff}:refs/for/pristine-tar#{suff} + git push origin upstream#{suff}/#{tag_version}:refs/tags/upstream#{suff}/#{tag_version} +### After the packaging work, tag the final Debian package, push the tag: + git commit -m "Update Debian changelog for #{deb_version}" debian/changelog + git-buildpackage --git-tag-only --git-no-hooks --git-ignore-new + git push origin debian#{suff}/#{tag_version}-1:refs/tags/debian#{suff}/#{tag_version}-1 +### If you want to build a -dev package, use: + DEB_BUILD_OPTIONS=devpkg=dev git-buildpackage -us -uc +EOF +end + desc "Generate debian package (Be careful it will break your Git repository !)" task :deb, [:dir,:branch_suffix] => :build_deb do |f,args| suff = args.branch_suffix || '' @@ -606,21 +629,10 @@ task :deb, [:dir,:branch_suffix] => :build_deb do |f,args| "--upstream-vcs-tag='#{tag_version}' "\ "#{File.join(D[:build],"kadeploy_#{VERSION}.orig.tar.gz")}" sh "dch -v '#{deb_version}-1' 'New Git snapshot based on #{tag_version}.'" - sh 'git-buildpackage --git-ignore-new -uc -us' + sh 'git-buildpackage --git-ignore-new -uc -us || true' Rake::Task[:build_clean].reenable Rake::Task[:build_clean].invoke - puts <<-EOF -## When you package is ready, you will need to: -### Push upstream and merge modifications and tags - git push origin upstream#{suff}:refs/for/upstream#{suff} - git push origin debian#{suff}:refs/for/debian#{suff} - git push origin #{tag_version}:refs/tags/#{tag_version} - git push origin upstream#{suff}/#{tag_version}:refs/tags/upstream#{suff}/#{tag_version} -### After the packaging work, tag the final Debian package, push the tag: - git commit -m "Update Debian changelog for #{deb_version}" debian/changelog - git-buildpackage --git-tag-only --git-no-hooks --git-ignore-new - git push origin debian#{suff}/#{tag_version}-1:refs/tags/debian#{suff}/#{tag_version}-1 -EOF + Rake::Task[:deb_info].invoke end desc "Generate debian changelog file" diff --git a/addons/kanalyze/analyze-csv b/addons/kanalyze/analyze-csv new file mode 100755 index 0000000000000000000000000000000000000000..1c13ed3eed3e1ff0eb5589dec127551fbc2f83b5 --- /dev/null +++ b/addons/kanalyze/analyze-csv @@ -0,0 +1,35 @@ +#!/usr/bin/ruby +# Simple script to analyze Kanalyze csv files + +require 'csv' +require 'pp' +require 'array_stats' + +d = CSV.read(ARGV[0]) +h = [] +d[1..-1].each do |r| + r2 = {} + (0...r.length).each do |i| + r2[d[0][i]] = r[i] + end + h << r2 +end +#pp h + +#puts "Experiments:" +#h.each do |r| +# puts "#{r['iter']} #{r['branch']} #{r['time2']}/#{r['time2_1']}" +#end + +times = h.map { |r| r['time2_1'].to_i } +puts "count: #{times.length}" +puts "mean: #{times.mean}" +puts "median: #{times.median}" +puts "min: #{times.min}" +puts "max: #{times.max}" +puts "three worst:" +sorted = h.sort { |a, b| a['time2_1'].to_i <=> b['time2_1'].to_i }.reverse +sorted[0..2].each do |r| + puts "#{r['iter']} #{r['branch']} #{r['time2']}/#{r['time2_1']}" +end + diff --git a/addons/kanalyze/list-failures b/addons/kanalyze/list-failures new file mode 100755 index 0000000000000000000000000000000000000000..a973b78afd6810b9cedb1648e806e1146541fff7 --- /dev/null +++ b/addons/kanalyze/list-failures @@ -0,0 +1,13 @@ +#!/usr/bin/ruby +# Simple script to list deployment failures +# ./list-failures /path/to/kanalyze/results +require 'pp' + +Dir::glob(ARGV[0]+'/**/debug').sort.each do |f| + puts "======= #{f} =========" + s = IO::readlines(f) + idx = s.index("The deployment failed on nodes\n") + if idx + puts s[idx+1..-1] + end +end diff --git a/conf/version b/conf/version index fb50aa149df3aadc0e42eed853d95730ea15a7fb..883b6d1abed8a655c681b19dde1db768a329f29f 100644 --- a/conf/version +++ b/conf/version @@ -1 +1 @@ -3.3.0.rc0 +3.3.0.rc0.2 diff --git a/doc/Kadeploy-3.3.0.rc0.pdf b/doc/Kadeploy-3.3.0.rc0.2.pdf similarity index 99% rename from doc/Kadeploy-3.3.0.rc0.pdf rename to doc/Kadeploy-3.3.0.rc0.2.pdf index 6e263a5cc0bb907bf21e3c7f9b8629c2f53bbe82..2f1e2d8657eb231d0daff388eda2b2c8fb2a5f40 100644 Binary files a/doc/Kadeploy-3.3.0.rc0.pdf and b/doc/Kadeploy-3.3.0.rc0.2.pdf differ diff --git a/doc/api/api_specs-3.3.0.rc0.html b/doc/api/api_specs-3.3.0.rc0.2.html similarity index 97% rename from doc/api/api_specs-3.3.0.rc0.html rename to doc/api/api_specs-3.3.0.rc0.2.html index d8e0a94d416a1634133464a0273fa1cc182cd039..174c770aa44769945d0128f873a8df08c1aaf609 100644 --- a/doc/api/api_specs-3.3.0.rc0.html +++ b/doc/api/api_specs-3.3.0.rc0.2.html @@ -1,4 +1,4 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>Kadeploy 3.3.0.rc0 REST API specifications</TITLE><LINK rel="stylesheet" type="text/css" href="api.css"></HEAD><BODY><DIV class="apidoc_frame"><H1 class="apidoc_title"><A class="apidoc_title_link" id="title">Kadeploy 3.3.0.rc0 REST API specifications</A></H1><DIV class="apidoc_index_frame"><UL class="apidoc_index_list"><LI><A class="apidoc_index_link" href="#intro">Introduction</A></LI><UL class="operation_index_list"><LI><A class="intro_index_link" href="#request_parameters">Request's parameters</A></LI><LI><A class="intro_index_link" href="#output_type">Output type and encoding</A></LI><LI><A class="intro_index_link" href="#Global parameters">Global parameters</A></LI><LI><A class="intro_index_link" href="#Authentication">Authentication</A></LI><LI><A class="intro_index_link" href="#Errors management">Errors management</A></LI><LI><A class="intro_index_link" href="#workflow_operations">Workflow based operations</A></LI><LI><A class="intro_index_link" href="#file_export">Exporting files for the server</A></LI><LI><A class="intro_index_link" href="#API documentation notations">API documentation notations</A></LI></UL><LI><A class="apidoc_index_link" href="#Environments management">Environments management</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/environments"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/environments</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/environments/:username?/:name?/:version?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/environments/:username?/:name?/:version?</SPAN></A></LI><LI><A class="operation_index_link" href="#PUT/environments/:username/:name/:version?"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/environments/:username/:name/:version?</SPAN></A></LI><LI><A class="operation_index_link" href="#PUT/environments/:username?/:name?/:version?"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/environments/:username?/:name?/:version?</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/environments/:username/:name/:version?"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/environments/:username/:name/:version?</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Reboot operations">Reboot operations</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/reboot"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/reboot</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Deployment">Deployment</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/deployment"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/deployment</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Power operations">Power operations</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#PUT/power"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/power</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/power"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/power</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Statistics">Statistics</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#GET/stats/%OPERATION?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/stats/%OPERATION?</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Rights management">Rights management</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/rights"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/rights</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/rights/:username?/:node?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/rights/:username?/:node?</SPAN></A></LI><LI><A class="operation_index_link" href="#PUT/rights/:username?/:node?"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/rights/:username?/:node?</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/rights/:username/:node?/:partition?"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/rights/:username/:node?/:partition?</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Console">Console</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/console"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/console</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/console"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/console</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/console/:id"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/console/:id</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/console/:id/error"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/console/:id/error</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/console/:id"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/console/:id</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Global information">Global information</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#GET/clusters"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/clusters</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/auth_headers_prefix"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/auth_headers_prefix</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/info"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/info</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/version"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/version</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Workflow-based operations">Workflow-based operations</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/%OPERATION"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/%OPERATION</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/logs/:cluster?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/logs/:cluster?</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/debugs/:node?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/debugs/:node?</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/state"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/state</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/status"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/status</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/error"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/error</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/%OPERATION/:id"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Nodes information">Nodes information</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#GET/nodes/:nodename?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/nodes/:nodename?</SPAN></A></LI></UL></UL></DIV><HR class="apidoc_index_sep"><DIV class="intro_frame"><H1 class="intro_title"><A class="intro_title_link" id="intro">Introduction</A></H1><DIV class="section_frame"><H2 class="section_title"><A id="request_parameters">Request's parameters</A></H2><P class="section_paragraph">There is several ways to specify parameters when using the network API. Parameters can be specified in the query's URI parameter but also in the query's body. Remark: it's only possible to use String and Array data structures when specifying parameters using the query's URI to specify more advanced parameters (Numbers, Hashs, ...) it's necessary to specify the parameters using a more advanced description language (JSON/YAML) in the query's body.</P><P class="section_paragraph">The following examples are equivalent:</P><P class="section_paragraph"><B>Specifying parameters in the query's URI</B></P><P class="section_paragraph"><PRE class="code_sample"> POST /deploy?nodes=node-1.testbed.lan&nodes=node-2.testbed.lan HTTP/1.1 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><HTML><HEAD><TITLE>Kadeploy 3.3.0.rc0.2 REST API specifications</TITLE><LINK rel="stylesheet" type="text/css" href="api.css"></HEAD><BODY><DIV class="apidoc_frame"><H1 class="apidoc_title"><A class="apidoc_title_link" id="title">Kadeploy 3.3.0.rc0.2 REST API specifications</A></H1><DIV class="apidoc_index_frame"><UL class="apidoc_index_list"><LI><A class="apidoc_index_link" href="#intro">Introduction</A></LI><UL class="operation_index_list"><LI><A class="intro_index_link" href="#request_parameters">Request's parameters</A></LI><LI><A class="intro_index_link" href="#output_type">Output type and encoding</A></LI><LI><A class="intro_index_link" href="#Global parameters">Global parameters</A></LI><LI><A class="intro_index_link" href="#Authentication">Authentication</A></LI><LI><A class="intro_index_link" href="#Errors management">Errors management</A></LI><LI><A class="intro_index_link" href="#workflow_operations">Workflow based operations</A></LI><LI><A class="intro_index_link" href="#file_export">Exporting files for the server</A></LI><LI><A class="intro_index_link" href="#API documentation notations">API documentation notations</A></LI></UL><LI><A class="apidoc_index_link" href="#Environments management">Environments management</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/environments"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/environments</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/environments/:username?/:name?/:version?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/environments/:username?/:name?/:version?</SPAN></A></LI><LI><A class="operation_index_link" href="#PUT/environments/:username/:name/:version?"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/environments/:username/:name/:version?</SPAN></A></LI><LI><A class="operation_index_link" href="#PUT/environments/:username?/:name?/:version?"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/environments/:username?/:name?/:version?</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/environments/:username/:name/:version?"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/environments/:username/:name/:version?</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Reboot operations">Reboot operations</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/reboot"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/reboot</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Deployment">Deployment</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/deployment"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/deployment</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Power operations">Power operations</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#PUT/power"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/power</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/power"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/power</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Statistics">Statistics</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#GET/stats/%OPERATION?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/stats/%OPERATION?</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Rights management">Rights management</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/rights"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/rights</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/rights/:username?/:node?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/rights/:username?/:node?</SPAN></A></LI><LI><A class="operation_index_link" href="#PUT/rights/:username?/:node?"><SPAN class="resource_id_method_PUT">PUT</SPAN> <SPAN class="resource_id_path">/rights/:username?/:node?</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/rights/:username/:node?/:partition?"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/rights/:username/:node?/:partition?</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Console">Console</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/console"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/console</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/console"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/console</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/console/:id"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/console/:id</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/console/:id/error"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/console/:id/error</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/console/:id"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/console/:id</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Global information">Global information</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#GET/clusters"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/clusters</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/auth_headers_prefix"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/auth_headers_prefix</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/info"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/info</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/version"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/version</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Workflow-based operations">Workflow-based operations</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#POST/%OPERATION"><SPAN class="resource_id_method_POST">POST</SPAN> <SPAN class="resource_id_path">/%OPERATION</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/logs/:cluster?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/logs/:cluster?</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/debugs/:node?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/debugs/:node?</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/state"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/state</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/status"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/status</SPAN></A></LI><LI><A class="operation_index_link" href="#GET/%OPERATION/:id/error"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id/error</SPAN></A></LI><LI><A class="operation_index_link" href="#DELETE/%OPERATION/:id"><SPAN class="resource_id_method_DELETE">DELETE</SPAN> <SPAN class="resource_id_path">/%OPERATION/:id</SPAN></A></LI></UL><LI><A class="apidoc_index_link" href="#Nodes information">Nodes information</A></LI><UL class="operation_index_list"><LI><A class="operation_index_link" href="#GET/nodes/:nodename?"><SPAN class="resource_id_method_GET">GET</SPAN> <SPAN class="resource_id_path">/nodes/:nodename?</SPAN></A></LI></UL></UL></DIV><HR class="apidoc_index_sep"><DIV class="intro_frame"><H1 class="intro_title"><A class="intro_title_link" id="intro">Introduction</A></H1><DIV class="section_frame"><H2 class="section_title"><A id="request_parameters">Request's parameters</A></H2><P class="section_paragraph">There is several ways to specify parameters when using the network API. Parameters can be specified in the query's URI parameter but also in the query's body. Remark: it's only possible to use String and Array data structures when specifying parameters using the query's URI to specify more advanced parameters (Numbers, Hashs, ...) it's necessary to specify the parameters using a more advanced description language (JSON/YAML) in the query's body.</P><P class="section_paragraph">The following examples are equivalent:</P><P class="section_paragraph"><B>Specifying parameters in the query's URI</B></P><P class="section_paragraph"><PRE class="code_sample"> POST /deploy?nodes=node-1.testbed.lan&nodes=node-2.testbed.lan HTTP/1.1 Accept: */* Host: kadeploy.testbed.lan:25300 X-Kadeploy-User: frontend diff --git a/man/kaconsole3.1 b/man/kaconsole3.1 index 2d42073c67b6b2f7c8c30a6d28d91b7b422b50b8..1d6e77784ccba9da634352b69eeba81a5e3e0cd0 100644 --- a/man/kaconsole3.1 +++ b/man/kaconsole3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KACONSOLE3 "1" "July 2014" "kaconsole3 3.3.0.rc0" "User Commands" +.TH KACONSOLE3 "1" "July 2014" "kaconsole3 3.3.0.rc0.2" "User Commands" .SH NAME kaconsole3 \- allows to get a console on the deploying nodes .SH SYNOPSIS diff --git a/man/kadeploy3.1 b/man/kadeploy3.1 index 60da26a6958026a42096a8a7c52e5349701f442b..e1705e6bf1e8b689580966f874d631c14c5de21a 100644 --- a/man/kadeploy3.1 +++ b/man/kadeploy3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KADEPLOY3 "1" "July 2014" "kadeploy3 3.3.0.rc0" "User Commands" +.TH KADEPLOY3 "1" "July 2014" "kadeploy3 3.3.0.rc0.2" "User Commands" .SH NAME kadeploy3 \- allows to perform efficient deployments on cluster nodes .SH SYNOPSIS diff --git a/man/kadeploy3d.8 b/man/kadeploy3d.8 index 30a253c064fb08eae002f0041423ca3d28f8e26e..685f8a2bd4398eddaacd6c9b98352bfc6280e08c 100644 --- a/man/kadeploy3d.8 +++ b/man/kadeploy3d.8 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KADEPLOY3D "8" "July 2014" "kadeploy3d 3.3.0.rc0" "System Administration Utilities" +.TH KADEPLOY3D "8" "July 2014" "kadeploy3d 3.3.0.rc0.2" "System Administration Utilities" .SH NAME kadeploy3d \- the launcher of Kadeploy server .SH SYNOPSIS diff --git a/man/kaenv3.1 b/man/kaenv3.1 index f186148ba51d7ba052b0f726c7967234cf9b3cd5..6709acb73b73ed0e8ffb81e38b8cce21fe44a88e 100644 --- a/man/kaenv3.1 +++ b/man/kaenv3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KAENV3 "1" "July 2014" "kaenv3 3.3.0.rc0" "User Commands" +.TH KAENV3 "1" "July 2014" "kaenv3 3.3.0.rc0.2" "User Commands" .SH NAME kaenv3 \- allows to manage the Kadeploy environments .SH SYNOPSIS diff --git a/man/kanodes3.1 b/man/kanodes3.1 index 1f50167a4187a111c91a24463fbdbeed288d9ad1..7075deffb21441329888d8defae94a0ab68ac73c 100644 --- a/man/kanodes3.1 +++ b/man/kanodes3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KANODES3 "1" "July 2014" "kanodes3 3.3.0.rc0" "User Commands" +.TH KANODES3 "1" "July 2014" "kanodes3 3.3.0.rc0.2" "User Commands" .SH NAME kanodes3 \- allows to get information on the current deployments .SH SYNOPSIS diff --git a/man/kapower3.1 b/man/kapower3.1 index 03d18572a6fdf9e3a409da9a06fd82d66a71ecb1..88bd6532e34aded8ac41057fab00791ad7d82529 100644 --- a/man/kapower3.1 +++ b/man/kapower3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KAPOWER3 "1" "July 2014" "kapower3 3.3.0.rc0" "User Commands" +.TH KAPOWER3 "1" "July 2014" "kapower3 3.3.0.rc0.2" "User Commands" .SH NAME kapower3 \- allows to perform several operations to control the power status of nodes .SH SYNOPSIS diff --git a/man/kareboot3.1 b/man/kareboot3.1 index 6b23b7dafbd11ed55351c4703092966d1ba8bf35..1b3c433f8cd4e111a88b421662e24efa4a12c725 100644 --- a/man/kareboot3.1 +++ b/man/kareboot3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KAREBOOT3 "1" "July 2014" "kareboot3 3.3.0.rc0" "User Commands" +.TH KAREBOOT3 "1" "July 2014" "kareboot3 3.3.0.rc0.2" "User Commands" .SH NAME kareboot3 \- allows to perform several reboot operations on the nodes involved in a deployment .SH SYNOPSIS diff --git a/man/karights3.8 b/man/karights3.8 index 36d15a028d14c2ff5bbb54fc7823fd960b0a208a..d2c05116921c0687b33a345d592a17ec83e02e7f 100644 --- a/man/karights3.8 +++ b/man/karights3.8 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KARIGHTS3 "8" "July 2014" "karights3 3.3.0.rc0" "System Administration Utilities" +.TH KARIGHTS3 "8" "July 2014" "karights3 3.3.0.rc0.2" "System Administration Utilities" .SH NAME karights3 \- allows to set the deployment rights to users .SH SYNOPSIS diff --git a/man/kastat3.1 b/man/kastat3.1 index ad7c275017c98d1474b084007fc815873b139ed1..2d95aa0036197c4ff445634d26033326a72c4032 100644 --- a/man/kastat3.1 +++ b/man/kastat3.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.45.1. -.TH KASTAT3 "1" "July 2014" "kastat3 3.3.0.rc0" "User Commands" +.TH KASTAT3 "1" "July 2014" "kastat3 3.3.0.rc0.2" "User Commands" .SH NAME kastat3 \- allows to get statistics on the deployments .SH SYNOPSIS diff --git a/release_version b/release_version index b6ad2c300605db54dc469807767c13705ec4eb69..56c362039dfce40e482645067b4ededb7678bc06 100644 --- a/release_version +++ b/release_version @@ -1 +1 @@ -rc0 +rc0.2