15133: Add read-only jobs API to release notes
authorPeter Amstutz <pamstutz@veritasgenetics.com>
Fri, 9 Aug 2019 18:16:10 +0000 (14:16 -0400)
committerPeter Amstutz <pamstutz@veritasgenetics.com>
Fri, 9 Aug 2019 18:16:10 +0000 (14:16 -0400)
Also remove "crunchrunner" from package build.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz@veritasgenetics.com>

build/run-build-packages.sh
doc/admin/upgrading.html.textile.liquid
services/api/app/models/job.rb

index ae677a12c16059fc4ca7796a69dbf6337856f09e..ed027f23400b0597c7cfb99d2956434a93f2bfdc 100755 (executable)
@@ -290,8 +290,6 @@ package_go_binary cmd/arvados-server arvados-controller \
     "Arvados cluster controller daemon"
 package_go_binary cmd/arvados-server arvados-dispatch-cloud \
     "Arvados cluster cloud dispatch"
-package_go_binary sdk/go/crunchrunner crunchrunner \
-    "Crunchrunner executes a command inside a container and uploads the output"
 package_go_binary services/arv-git-httpd arvados-git-httpd \
     "Provide authenticated http access to Arvados-hosted git repositories"
 package_go_binary services/crunch-dispatch-local crunch-dispatch-local \
index da37d743de4aa43d821ff449f7a21d772af73bb2..dad4884a2424e212f34bd8d76266c64e09e11ff0 100644 (file)
@@ -39,11 +39,17 @@ table(table table-bordered table-condensed).
 |"v1.1.4":#v1_1_4|"v1.1.3":#v1_1_3|"v1.1.2":#v1_1_2|"v1.1.1":#v1_1_1|"v1.1.0":#v1_1_0|
 |\5. "older":#older|
 
-h3(#master). development master (as of 2019-06-07)
+h3(#master). development master (as of 2019-08-09)
+
+h4. Jobs API is read-only
+
+(task "#15133":https://dev.arvados.org/issues/15133 ) The legacy 'jobs' API is now read-only.  It has long been superceded by containers / container_requests (aka crunch v2).  Arvados installations since the end of 2017 (v1.1.0) have probably only used containers, and are unaffected by this change.
+
+So that older Arvados sites don't lose access to legacy records, the API has been converted to read-only.  Creating and updating jobs (and related types job_task, pipeline_template and pipeline_instance) is disabled and much of the business logic related has been removed, along with various other code specific to the jobs API.  Specifically, the following programs associated with the jobs API have been removed: @crunch-dispatch.rb@, @crunch-job@, @crunchrunner@, @arv-run-pipeline-instance@, @arv-run@.
 
 h4. No longer stripping ':' from strings in serialized database columns
 
- (bug #15311) Strings read from serialized columns in the database with a leading ':' would have the ':' stripped after loading the record.  This behavior existed due to legacy serialization behavior which stored Ruby symbols with a leading ':'.  Unfortunately this corrupted fields where the leading ":" was intentional.  This behavior has been removed.
+(bug "#15311":https://dev.arvados.org/issues/15311 ) Strings read from serialized columns in the database with a leading ':' would have the ':' stripped after loading the record.  This behavior existed due to legacy serialization behavior which stored Ruby symbols with a leading ':'.  Unfortunately this corrupted fields where the leading ":" was intentional.  This behavior has been removed.
 
 You can test if any records in your database are affected by going to the API server directory and running @bundle exec rake symbols:check@.  This will report which records contain fields with a leading ':' that would previously have been stripped.  If there are records to be updated, you can update the database using @bundle exec rake symbols:stringify@.
 
index 30a0294a3483f44b5f97961c53dd75482828cde5..799484b24f3a37544b197d2a03aacd527499a9cc 100644 (file)
@@ -7,7 +7,7 @@
 #
 # This is superceded by containers / container_requests (aka crunch v2)
 #
-# Arvados installations since the beginning of 2018 should have never
+# Arvados installations since the end of 2017 should have never
 # used jobs, and are unaffected by this change.
 #
 # So that older Arvados sites don't lose access to legacy records, the