From: Lucas Di Pentima Date: Mon, 31 Oct 2022 19:22:07 +0000 (-0300) Subject: Merge branch 'main' into 19582-aws-s3v2-driver X-Git-Tag: 2.5.0~47^2 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/refs/heads/19582-aws-s3v2-driver?hp=-c Merge branch 'main' into 19582-aws-s3v2-driver Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- 07baa0ed049746514495d1648c1aef0c40545141 diff --combined doc/admin/upgrading.html.textile.liquid index 40f7034c32,1fe6745b94..5fbbda2aef --- a/doc/admin/upgrading.html.textile.liquid +++ b/doc/admin/upgrading.html.textile.liquid @@@ -29,13 -29,17 +29,22 @@@ TODO: extract this information based o - h2(#main). development main (as of 2022-10-13) -h2(#main). development main (as of 2022-10-14) ++h2(#main). development main (as of 2022-10-31) "previous: Upgrading to 2.4.3":#v2_4_3 +h3. New keepstore S3 driver enabled by default + +A more actively maintained S3 client library is now enabled by default for keeepstore services. The previous driver is still available for use in case of unknown issues. To use the old driver, set @DriverParameters.UseAWSS3v2Driver@ to @false@ on the appropriate @Volumes@ config entries. ++h2(#main). development main (as of 2022-10-14) ++ + h3. Old container logs are automatically deleted from PostgreSQL + + Cached copies of log entries from containers that finished more than 1 month ago are now deleted automatically (this only affects the "live" logs saved in the PostgreSQL database, not log collections saved in Keep). If you have an existing cron job that runs @rake db:delete_old_container_logs@, you can remove it. See configuration options @Containers.Logging.MaxAge@ and @Containers.Logging.SweepInterval@. + + h3. Fixed salt installer template file to support container shell access + + If you manage your cluster using the salt installer, you may want to update it to the latest version, use the appropriate @config_examples@ subdirectory and re-reploy with your custom @local.params@ file so that the @arvados-controller@'s @nginx@ configuration file gets fixed. h3. Login-sync script requires configuration update on LoginCluster federations diff --combined lib/config/config.default.yml index ca54840fd4,559b57c8c4..5e46c290da --- a/lib/config/config.default.yml +++ b/lib/config/config.default.yml @@@ -1071,12 -1071,16 +1071,16 @@@ Clusters LocalKeepLogsToContainerLog: none Logging: - # When you run the db:delete_old_container_logs task, it will find - # containers that have been finished for at least this many seconds, + # Periodically (see SweepInterval) Arvados will check for + # containers that have been finished for at least this long, # and delete their stdout, stderr, arv-mount, crunch-run, and # crunchstat logs from the logs table. MaxAge: 720h + # How often to delete cached log entries for finished + # containers (see MaxAge). + SweepInterval: 12h + # These two settings control how frequently log events are flushed to the # database. Log lines are buffered until either crunch_log_bytes_per_event # has been reached or crunch_log_seconds_between_events has elapsed since @@@ -1495,7 -1499,7 +1499,7 @@@ RaceWindow: 24h PrefixLength: 0 # Use aws-s3-go (v2) instead of goamz - UseAWSS3v2Driver: false + UseAWSS3v2Driver: true # For S3 driver, potentially unsafe tuning parameter, # intentionally excluded from main documentation. @@@ -1716,6 -1720,10 +1720,10 @@@ # This feature is disabled when set to zero. IdleTimeout: 0s + # URL to a file that is a fragment of text or HTML which should + # be rendered in Workbench as a banner. + BannerURL: "" + # Workbench welcome screen, this is HTML text that will be # incorporated directly onto the page. WelcomePageHTML: |