X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/cd30657803a2fe49077f58891230460c9689b874..HEAD:/doc/admin/upgrading.html.textile.liquid diff --git a/doc/admin/upgrading.html.textile.liquid b/doc/admin/upgrading.html.textile.liquid index 6d37009e91..23b701dcd1 100644 --- a/doc/admin/upgrading.html.textile.liquid +++ b/doc/admin/upgrading.html.textile.liquid @@ -32,6 +32,51 @@ h2(#main). development main "previous: Upgrading to 2.7.1":#v2_7_1 +h3. Legacy container logging system has been removed + +The following configuration keys are no longer supported. Remove them from your @/etc/arvados/config.yml@ file to avoid warnings when services start up. +* @Containers.Logging.LimitLogBytesPerJob@ +* @Containers.Logging.LogBytesPerEvent@ +* @Containers.Logging.LogPartialLineThrottlePeriod@ +* @Containers.Logging.LogSecondsBetweenEvents@ +* @Containers.Logging.LogThrottleBytes@ +* @Containers.Logging.LogThrottleLines@ +* @Containers.Logging.LogThrottlePeriod@ +* @Containers.Logging.MaxAge@ +* @Containers.Logging.SweepInterval@ + +Any container logging content remaining in the database from the legacy system will be deleted. + +h3. Virtual environments inside distribution Python packages have moved + +The distribution packages that we publish for Python packages include an entire virtualenv with all required libraries. In Arvados 3.0 these virtualenvs have moved from @/usr/share/python3/dist/PACKAGE_NAME@ to @/usr/lib/PACKAGE_NAME@ to prevent conflicts with distribution packages and better conform to filesystem standards. + +If you only run the executables installed by these packages, you don't need to change anything. Those are still installed under @/usr/bin@ and will use the new location when you upgrade. If you have written your own scripts or tools that rely on these virtualenvs, you may need to update those with the new location. For example, if you have a shell script that activates the virtualenv by running: + +
source /usr/share/python3/dist/python3-arvados-python-client/bin/activate
+ +You must update it to: + + +
source /usr/lib/python3-arvados-python-client/bin/activate
+
+ +If you have a Python script with this shebang line: + +
#!/usr/share/python3/dist/python3-arvados-python-client/bin/python
+ +You must update it to: + + +
#!/usr/lib/python3-arvados-python-client/bin/python
+
+ +h3. WebDAV service uses @/var/cache@ for file content + +@keep-web@ now stores copies of recently accessed data blocks in @/var/cache/arvados/keep@ instead of in memory. That directory will be created automatically. The default cache size is 10% of the filesystem size. Use the new @Collections.WebDAVCache.DiskCacheSize@ config to specify a different percentage or an absolute size. + +If the previously supported @MaxBlockEntries@ config is present, remove it to avoid warning messages at startup. + h3. Check MaxGatewayTunnels config If you use the LSF or Slurm dispatcher, ensure the new @API.MaxGatewayTunnels@ config entry is high enough to support the size of your cluster. See "LSF docs":{{site.baseurl}}/install/crunch2-lsf/install-dispatch.html#MaxGatewayTunnels or "Slurm docs":{{site.baseurl}}/install/crunch2-slurm/install-dispatch.html#MaxGatewayTunnels for details. @@ -112,7 +157,7 @@ We have introduced a small exception to the previous behavior of "Arvados API to h3. Deprecated/legacy APIs slated for removal -The legacy APIs "humans":../api/methods/humans.html, "specimens":../api/methods/specimens.html, "traits":../api/methods/traits.html, "jobs":../api/methods/jobs.html, "job_tasks":../api/methods/job_tasks.html, "pipeline_instances":../api/methods/pipeline_instances.html, "pipeline_templates":../api/methods/pipeline_templates.html, "nodes":../api/methods/nodes.html, "repositories":../api/methods/repositories.html, and "keep_disks":../api/methods/keep_disks.html are deprecated and will be removed in a future major version of Arvados. +The legacy APIs "humans":https://doc.arvados.org/v2.7/api/methods/humans.html, "specimens":https://doc.arvados.org/v2.7/api/methods/specimens.html, "traits":https://doc.arvados.org/v2.7/api/methods/traits.html, "jobs":https://doc.arvados.org/v2.7/api/methods/jobs.html, "job_tasks":https://doc.arvados.org/v2.7/api/methods/job_tasks.html, "pipeline_instances":https://doc.arvados.org/v2.7/api/methods/pipeline_instances.html, "pipeline_templates":https://doc.arvados.org/v2.7/api/methods/pipeline_templates.html, "nodes":https://doc.arvados.org/v2.7/api/methods/nodes.html, "repositories":https://doc.arvados.org/v2.7/api/methods/repositories.html, and "keep_disks":https://doc.arvados.org/v2.7/api/methods/keep_disks.html are deprecated and will be removed in a future major version of Arvados. In addition, the @default_owner_uuid@, @api_client_id@, and @user_id@ fields of "api_client_authorizations":../api/methods/api_client_authorizations.html are deprecated and will be removed from @api_client_authorization@ responses in a future major version of Arvados. This should not affect clients as @default_owner_uuid@ was never implemented, and @api_client_id@ and @user_id@ returned internal ids that were not meaningful or usable with any other API call.