arvados.git
5 years agoMerge remote-tracking branch 'origin/master' into 14484-collection-record-update
Eric Biagiotti [Wed, 3 Apr 2019 20:42:25 +0000 (16:42 -0400)]
Merge remote-tracking branch 'origin/master' into 14484-collection-record-update

refs #14484

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Adds test for updating a collection with file stats and manifest changes
Eric Biagiotti [Wed, 3 Apr 2019 20:20:26 +0000 (16:20 -0400)]
14484: Adds test for updating a collection with file stats and manifest changes

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Improves test coverage and attribute setting performance
Eric Biagiotti [Wed, 3 Apr 2019 20:01:26 +0000 (16:01 -0400)]
14484: Improves test coverage and attribute setting performance

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoGive up if test services don't come up.
Tom Clegg [Tue, 2 Apr 2019 18:18:17 +0000 (14:18 -0400)]
Give up if test services don't come up.

refs #15044

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoRemove dependency on jq.
Tom Clegg [Tue, 2 Apr 2019 18:11:55 +0000 (14:11 -0400)]
Remove dependency on jq.

refs #15044

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '15044-test-fixes'
Tom Clegg [Tue, 2 Apr 2019 17:28:10 +0000 (13:28 -0400)]
Merge branch '15044-test-fixes'

closes #15044

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Sanity-check test services when bringing them up.
Tom Clegg [Tue, 2 Apr 2019 17:24:45 +0000 (13:24 -0400)]
15044: Sanity-check test services when bringing them up.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14484: Update collection model to overwrite file stats if a change is attempted
Eric Biagiotti [Tue, 2 Apr 2019 15:49:29 +0000 (11:49 -0400)]
14484: Update collection model to overwrite file stats if a change is attempted

Also updates tests and documentation

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago15044: Require newer mocha.
Tom Clegg [Tue, 2 Apr 2019 14:20:45 +0000 (10:20 -0400)]
15044: Require newer mocha.

Without this, old dev environments will not necessarily support the
non-deprecated usage (require 'mocha/minitest').

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch 'arvbox-cert-docs' no issue #
Peter Amstutz [Mon, 1 Apr 2019 18:58:40 +0000 (14:58 -0400)]
Merge branch 'arvbox-cert-docs' no issue #

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

5 years ago14844: Adds collections controller tests and updates collection model tests
Eric Biagiotti [Mon, 1 Apr 2019 18:49:42 +0000 (14:49 -0400)]
14844: Adds collections controller tests and updates collection model tests

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoUpdate arvbox docs to describe how to install root cert
Peter Amstutz [Mon, 1 Apr 2019 16:28:12 +0000 (12:28 -0400)]
Update arvbox docs to describe how to install root cert

Remove slurm from arvbox

Arvbox cluster ids now always start with 'x' to be consistent with
cluster identifier guidelines for "experimental/local-only/private clusters"

no issue #

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

5 years ago14484: Moves the file count and total size callback to after_validation
Eric Biagiotti [Mon, 1 Apr 2019 15:37:33 +0000 (11:37 -0400)]
14484: Moves the file count and total size callback to after_validation

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoMerge branch '14758-keepproxy-panic'
Tom Clegg [Mon, 1 Apr 2019 15:16:58 +0000 (11:16 -0400)]
Merge branch '14758-keepproxy-panic'

fixes #14758

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14758: Fix panic on error reading request body.
Tom Clegg [Mon, 1 Apr 2019 14:40:43 +0000 (10:40 -0400)]
14758: Fix panic on error reading request body.

The deferred inline func panics if status != 200 && err == nil.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '15050-limit-cdl-containers' closes #15050
Peter Amstutz [Mon, 1 Apr 2019 15:08:53 +0000 (11:08 -0400)]
Merge branch '15050-limit-cdl-containers' closes #15050

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

5 years agoAdd another nil check to Azure driver.
Tom Clegg [Sun, 31 Mar 2019 19:25:11 +0000 (15:25 -0400)]
Add another nil check to Azure driver.

refs #15007

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15050: After waking up, check if the container was cancelled
Peter Amstutz [Fri, 29 Mar 2019 20:27:04 +0000 (16:27 -0400)]
15050: After waking up, check if the container was cancelled

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

5 years ago15044: Fix sensitivity to group existence on the testing host.
Tom Clegg [Fri, 29 Mar 2019 19:22:44 +0000 (15:22 -0400)]
15044: Fix sensitivity to group existence on the testing host.

Also fix some ruby warnings.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14484: Moves test for grouping pdhs to its own file
Eric Biagiotti [Fri, 29 Mar 2019 19:08:36 +0000 (15:08 -0400)]
14484: Moves test for grouping pdhs to its own file

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Moves pdh grouping into a lib module
Eric Biagiotti [Fri, 29 Mar 2019 18:46:30 +0000 (14:46 -0400)]
14484: Moves pdh grouping into a lib module

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago15050: Need to make sure to raise the semaphore when we're done
Peter Amstutz [Fri, 29 Mar 2019 18:28:01 +0000 (14:28 -0400)]
15050: Need to make sure to raise the semaphore when we're done

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

5 years ago15050: Limit number of containers that crunch-dispatch-local runs at a time
Peter Amstutz [Fri, 29 Mar 2019 18:06:22 +0000 (14:06 -0400)]
15050: Limit number of containers that crunch-dispatch-local runs at a time

So I can do some testing with submitting a huge number of containers
and not melt my machine.

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

5 years ago14484: Adds tests for Collection model and makes file attributes readonly
Eric Biagiotti [Fri, 29 Mar 2019 17:54:28 +0000 (13:54 -0400)]
14484: Adds tests for Collection model and makes file attributes readonly

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago15044: Don't kill run-tests's keepproxy server in sdk/python tests.
Tom Clegg [Fri, 29 Mar 2019 17:36:51 +0000 (13:36 -0400)]
15044: Don't kill run-tests's keepproxy server in sdk/python tests.

This was causing an apps/workbench test
(CollectionUploadTest#test_Upload_non-empty_files) to fail when
running after sdk/python tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoFix assigning APIHost in NewClientFromConfig refs #15045
Peter Amstutz [Fri, 29 Mar 2019 15:44:51 +0000 (11:44 -0400)]
Fix assigning APIHost in NewClientFromConfig refs #15045

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

5 years ago15044: Specify test database collation.
Tom Clegg [Thu, 28 Mar 2019 20:21:26 +0000 (16:21 -0400)]
15044: Specify test database collation.

apps/workbench/test/controllers/projects_controller_test.rb:546 fails
with other collations.

Remove obsolete websocket comment.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Fix unnecessarily unsafe yaml load.
Tom Clegg [Thu, 28 Mar 2019 20:01:28 +0000 (16:01 -0400)]
15044: Fix unnecessarily unsafe yaml load.

...and eliminate the associated warnings in test logs.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Fix workbench test args in interactive mode.
Tom Clegg [Thu, 28 Mar 2019 19:58:10 +0000 (15:58 -0400)]
15044: Fix workbench test args in interactive mode.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Improve error reporting in test case.
Tom Clegg [Thu, 28 Mar 2019 18:58:10 +0000 (14:58 -0400)]
15044: Improve error reporting in test case.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Listen on localhost instead of default dual-stack [::].
Tom Clegg [Thu, 28 Mar 2019 17:27:52 +0000 (13:27 -0400)]
15044: Listen on localhost instead of default dual-stack [::].

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Test gofmt as a separate suite, instead of refusing to run Go tests.
Tom Clegg [Thu, 28 Mar 2019 15:12:44 +0000 (11:12 -0400)]
15044: Test gofmt as a separate suite, instead of refusing to run Go tests.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Always use the en_US.UTF-8 locale. Add sanity check.
Tom Clegg [Thu, 28 Mar 2019 18:12:37 +0000 (14:12 -0400)]
15044: Always use the en_US.UTF-8 locale. Add sanity check.

Some tests are sensitive to charset and collation.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Fix error messages.
Tom Clegg [Thu, 28 Mar 2019 14:37:13 +0000 (10:37 -0400)]
15044: Fix error messages.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Fix interactive command handling.
Tom Clegg [Wed, 27 Mar 2019 20:46:04 +0000 (16:46 -0400)]
15044: Fix interactive command handling.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15044: Override unusable nginx defaults. Test nginx startup success.
Tom Clegg [Wed, 27 Mar 2019 20:42:25 +0000 (16:42 -0400)]
15044: Override unusable nginx defaults. Test nginx startup success.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '14998-hoststat-total'
Tom Clegg [Thu, 28 Mar 2019 17:44:05 +0000 (13:44 -0400)]
Merge branch '14998-hoststat-total'

fixes #14998

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14998: Report total_* (hierarchy) stats if available.
Tom Clegg [Tue, 19 Mar 2019 19:49:49 +0000 (15:49 -0400)]
14998: Report total_* (hierarchy) stats if available.

Otherwise, host stats only include the root cgroup.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoprepare.py in fed tests uses default python refs #15040
Peter Amstutz [Thu, 28 Mar 2019 16:56:44 +0000 (12:56 -0400)]
prepare.py in fed tests uses default python refs #15040

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

5 years ago14484: Updates collection documentation to include the new file stats
Eric Biagiotti [Thu, 28 Mar 2019 16:45:20 +0000 (12:45 -0400)]
14484: Updates collection documentation to include the new file stats

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Fixes performance test by changing file_size_total to bigint
Eric Biagiotti [Thu, 28 Mar 2019 14:44:42 +0000 (10:44 -0400)]
14484: Fixes performance test by changing file_size_total to bigint

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agorun prepare.py in fed tests in docker container refs #15040
Peter Amstutz [Thu, 28 Mar 2019 14:17:50 +0000 (10:17 -0400)]
run prepare.py in fed tests in docker container refs #15040

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

5 years ago14484: Fixes tests that intentionally pass in invalid manifests
Eric Biagiotti [Wed, 27 Mar 2019 21:28:31 +0000 (17:28 -0400)]
14484: Fixes tests that intentionally pass in invalid manifests

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Adds test for pdh grouping functionality in the container model
Eric Biagiotti [Wed, 27 Mar 2019 20:56:47 +0000 (16:56 -0400)]
14484: Adds test for pdh grouping functionality in the container model

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Simplifies pdh transaction grouping, keeps SQL in the migration
Eric Biagiotti [Wed, 27 Mar 2019 20:35:14 +0000 (16:35 -0400)]
14484: Simplifies pdh transaction grouping, keeps SQL in the migration

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agorun-tests.sh: don't prepopulate cmd if running in an emacs buffer.
Tom Clegg [Wed, 27 Mar 2019 20:34:36 +0000 (16:34 -0400)]
run-tests.sh: don't prepopulate cmd if running in an emacs buffer.

No issue #

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agotest mode creates certificate so that setting up SSO can succeed
Peter Amstutz [Wed, 27 Mar 2019 20:04:05 +0000 (16:04 -0400)]
test mode creates certificate so that setting up SSO can succeed

also added "arvbox update"

no issue #

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

5 years ago14484: Makes quotation marks consistent
Eric Biagiotti [Wed, 27 Mar 2019 17:50:26 +0000 (13:50 -0400)]
14484: Makes quotation marks consistent

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Updates the migration to use the sdk for manifest parsing
Eric Biagiotti [Wed, 27 Mar 2019 17:27:06 +0000 (13:27 -0400)]
14484: Updates the migration to use the sdk for manifest parsing

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoAccept :py3 modifier for any Python suite in interactive mode.
Tom Clegg [Wed, 27 Mar 2019 15:15:15 +0000 (11:15 -0400)]
Accept :py3 modifier for any Python suite in interactive mode.

(even ones that aren't normally run with python3 by jenkins)

refs #14939

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14484: Adds file count and size callback to the collection model
Eric Biagiotti [Tue, 26 Mar 2019 21:02:56 +0000 (17:02 -0400)]
14484: Adds file count and size callback to the collection model

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agono issue # Remove jessie-updates from sources.list as it is no longer supported
Fernando Monserrat [Tue, 26 Mar 2019 20:29:45 +0000 (17:29 -0300)]
no issue # Remove jessie-updates from sources.list as it is no longer supported
Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat@veritasgenetics.com>

5 years agoarvbox nginx redirects http to https
Peter Amstutz [Tue, 26 Mar 2019 20:09:31 +0000 (16:09 -0400)]
arvbox nginx redirects http to https

no issue #

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

5 years ago14484: Fixes grouping bug by simplifying nested pdhs arrays
Eric Biagiotti [Tue, 26 Mar 2019 18:50:18 +0000 (14:50 -0400)]
14484: Fixes grouping bug by simplifying nested pdhs arrays

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Changes file token to match the one used in collection.rb model
Eric Biagiotti [Tue, 26 Mar 2019 17:56:10 +0000 (13:56 -0400)]
14484: Changes file token to match the one used in collection.rb model

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Adds migration for collection file count and total size
Eric Biagiotti [Tue, 26 Mar 2019 16:47:06 +0000 (12:47 -0400)]
14484: Adds migration for collection file count and total size

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Fixes bug in pdh transaction grouping
Eric Biagiotti [Tue, 26 Mar 2019 16:46:15 +0000 (12:46 -0400)]
14484: Fixes bug in pdh transaction grouping

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoMerge branch '14807-prod-blockers'
Tom Clegg [Tue, 26 Mar 2019 14:28:19 +0000 (10:28 -0400)]
Merge branch '14807-prod-blockers'

refs #14807

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14484: Adds functionality and test for pdh grouping in the container model
Eric Biagiotti [Mon, 25 Mar 2019 22:30:40 +0000 (18:30 -0400)]
14484: Adds functionality and test for pdh grouping in the container model

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14484: Updates the db structure after db:migrate
Eric Biagiotti [Mon, 25 Mar 2019 20:17:37 +0000 (16:17 -0400)]
14484: Updates the db structure after db:migrate

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14807: Move "fallback to ARVADOS_*" logic out to lib/service.
Tom Clegg [Mon, 25 Mar 2019 14:47:37 +0000 (10:47 -0400)]
14807: Move "fallback to ARVADOS_*" logic out to lib/service.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Add lib/service test.
Tom Clegg [Fri, 22 Mar 2019 20:20:29 +0000 (16:20 -0400)]
14807: Add lib/service test.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Fix go vet warnings about %s args.
Tom Clegg [Fri, 22 Mar 2019 19:25:47 +0000 (15:25 -0400)]
14807: Fix go vet warnings about %s args.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Pass token to service handlers explicitly, not via context.
Tom Clegg [Fri, 22 Mar 2019 18:44:03 +0000 (14:44 -0400)]
14807: Pass token to service handlers explicitly, not via context.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14484: Adds migration file for collection file count and size
Eric Biagiotti [Fri, 22 Mar 2019 17:55:15 +0000 (13:55 -0400)]
14484: Adds migration file for collection file count and size

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14807: Refuse to create instance with AddedScratch>0.
Tom Clegg [Thu, 21 Mar 2019 18:47:53 +0000 (14:47 -0400)]
14807: Refuse to create instance with AddedScratch>0.

The resulting VM would be the wrong size because dynamically attached
scratch space is not implemented.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Load API host/token from cluster config if present.
Tom Clegg [Thu, 21 Mar 2019 18:36:29 +0000 (14:36 -0400)]
14807: Load API host/token from cluster config if present.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '15007-azure-panic'
Tom Clegg [Thu, 21 Mar 2019 20:55:00 +0000 (16:55 -0400)]
Merge branch '15007-azure-panic'

fixes #15007

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago15007: Fix crash when Azure nic has IP config but no IP address.
Tom Clegg [Thu, 21 Mar 2019 20:54:49 +0000 (16:54 -0400)]
15007: Fix crash when Azure nic has IP config but no IP address.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '14807-prod-blockers'
Tom Clegg [Thu, 21 Mar 2019 20:50:32 +0000 (16:50 -0400)]
Merge branch '14807-prod-blockers'

refs #14807

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '14451-crunchstat-summary-cache-ram'
Tom Morris [Thu, 21 Mar 2019 20:02:20 +0000 (16:02 -0400)]
Merge branch '14451-crunchstat-summary-cache-ram'

Fix three small crunchstat-summary issues:
- Use default of 1 if no cores requested. fixes #12026
- Don't recommend RAM or CPU changes based on zero usage. fixes #10570
- Remove extra MB (2**20) factor in Keep cache recommendation.  Fixes #14451

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoImprove wording with direction of recommendation change.
Tom Morris [Fri, 15 Mar 2019 05:11:59 +0000 (01:11 -0400)]
Improve wording with direction of recommendation change.

No issue.

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoUse default of 1 if no cores requested. refs #12026
Tom Morris [Fri, 15 Mar 2019 04:47:38 +0000 (00:47 -0400)]
Use default of 1 if no cores requested. refs #12026

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoDon't recommend RAM or CPU changes based on zero usage. refs #10570
Tom Morris [Fri, 15 Mar 2019 04:10:06 +0000 (00:10 -0400)]
Don't recommend RAM or CPU changes based on zero usage. refs #10570

Never recommend 0 MB RAM. If CPU usage is zero, don't make any
CPU recommendations.

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoFix Keep cache recommendation calculation.
Tom Morris [Fri, 15 Mar 2019 04:03:59 +0000 (00:03 -0400)]
Fix Keep cache recommendation calculation.

Remove extra MB (2**20) factor. Refs #14451

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoSpell MB consistently.
Tom Morris [Fri, 15 Mar 2019 02:11:45 +0000 (22:11 -0400)]
Spell MB consistently.

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoMerge branch '14645-fuse-operations-reporting'
Eric Biagiotti [Thu, 21 Mar 2019 19:52:26 +0000 (15:52 -0400)]
Merge branch '14645-fuse-operations-reporting'

refs #14645

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoMerge branch '14939-crunchstat-summary-python3'
Tom Morris [Thu, 21 Mar 2019 19:47:54 +0000 (15:47 -0400)]
Merge branch '14939-crunchstat-summary-python3'

Fixes #14939

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoResolve deprecation warnings
Tom Morris [Thu, 14 Mar 2019 22:47:20 +0000 (18:47 -0400)]
Resolve deprecation warnings

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoFix resource leak warned by Python 3
Tom Morris [Thu, 14 Mar 2019 22:30:52 +0000 (18:30 -0400)]
Fix resource leak warned by Python 3

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoAdd crunchstat-summary to Python 3 tests. refs #14939
Tom Morris [Wed, 13 Mar 2019 23:33:03 +0000 (19:33 -0400)]
Add crunchstat-summary to Python 3 tests. refs #14939

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoFix test Python 3 integer divide difference.
Tom Morris [Wed, 13 Mar 2019 23:26:00 +0000 (19:26 -0400)]
Fix test Python 3 integer divide difference.

Use float for both Python 2 & 3 like the rest of the metrics.
refs #14393

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years agoUpdate crunchstat-summary to Python 3. Refs #14939
Tom Morris [Fri, 8 Mar 2019 23:40:24 +0000 (18:40 -0500)]
Update crunchstat-summary to Python 3. Refs #14939

Arvados-DCO-1.1-Signed-off-by: Tom Morris <tfmorris@veritasgenetics.com>

5 years ago14807: Allow some fake nodes to remain unbroken.
Tom Clegg [Thu, 21 Mar 2019 18:12:54 +0000 (14:12 -0400)]
14807: Allow some fake nodes to remain unbroken.

If every fake node hits a fake failure mode in 200-400 ms, throughput
can fall below 20 containers per second and fail the test.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge remote-tracking branch 'origin/master' into 14645-fuse-operations-reporting
Eric Biagiotti [Thu, 21 Mar 2019 18:03:16 +0000 (14:03 -0400)]
Merge remote-tracking branch 'origin/master' into 14645-fuse-operations-reporting

refs #14645

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years ago14645: Updates crunchstat format for fuse ops
Eric Biagiotti [Thu, 21 Mar 2019 14:49:31 +0000 (10:49 -0400)]
14645: Updates crunchstat format for fuse ops

Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti@veritasgenetics.com>

5 years agoMerge branch '14873-google-api-client-update'
Lucas Di Pentima [Wed, 20 Mar 2019 20:17:07 +0000 (17:17 -0300)]
Merge branch '14873-google-api-client-update'
Refs #14873

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago14807: Give up if initial keep services list isn't loaded in 60s.
Tom Clegg [Wed, 20 Mar 2019 05:50:10 +0000 (01:50 -0400)]
14807: Give up if initial keep services list isn't loaded in 60s.

Otherwise, MakeKeepClient blocks forever when ARVADOS_* env vars are
bad.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Report queue metrics.
Tom Clegg [Tue, 19 Mar 2019 21:02:05 +0000 (17:02 -0400)]
14807: Report queue metrics.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Add "kill instance" management API.
Tom Clegg [Tue, 19 Mar 2019 17:40:10 +0000 (13:40 -0400)]
14807: Add "kill instance" management API.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Configurable rate limit for cloud provider API calls.
Tom Clegg [Mon, 18 Mar 2019 21:27:40 +0000 (17:27 -0400)]
14807: Configurable rate limit for cloud provider API calls.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Drain instances that crunch-run reports broken.
Tom Clegg [Mon, 18 Mar 2019 20:32:58 +0000 (16:32 -0400)]
14807: Drain instances that crunch-run reports broken.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '14807-escalate-sigterm'
Tom Clegg [Wed, 20 Mar 2019 19:24:02 +0000 (15:24 -0400)]
Merge branch '14807-escalate-sigterm'

refs #14807

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Merge branch 'master'
Tom Clegg [Wed, 20 Mar 2019 19:20:57 +0000 (15:20 -0400)]
14807: Merge branch 'master'

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14807: Tweak log message.
Tom Clegg [Wed, 20 Mar 2019 19:20:38 +0000 (15:20 -0400)]
14807: Tweak log message.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years agoMerge branch '14947-run-tests-interactive'
Tom Clegg [Wed, 20 Mar 2019 18:07:06 +0000 (14:07 -0400)]
Merge branch '14947-run-tests-interactive'

closes #14947

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14947: Ignore --only / --skip args in interactive mode.
Tom Clegg [Wed, 20 Mar 2019 17:41:35 +0000 (13:41 -0400)]
14947: Ignore --only / --skip args in interactive mode.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14873: Updates arvados & arvados-cli gems dependency on google-api-client.
Lucas Di Pentima [Wed, 20 Mar 2019 17:39:03 +0000 (14:39 -0300)]
14873: Updates arvados & arvados-cli gems dependency on google-api-client.

Start using our own fork arvados-google-api-client that ask for activesupport
version <5.1 so that it doesn't block the rails 5 upgrade.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>

5 years ago14947: Fix controller install in deps.
Tom Clegg [Wed, 20 Mar 2019 17:37:28 +0000 (13:37 -0400)]
14947: Fix controller install in deps.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>

5 years ago14947: Accept test suite options in interactive mode.
Tom Clegg [Wed, 20 Mar 2019 13:28:24 +0000 (09:28 -0400)]
14947: Accept test suite options in interactive mode.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>