Bryan Cosca [Tue, 18 Aug 2015 20:44:53 +0000 (16:44 -0400)]
6862: Fixed typos and syntax in git-arvados-guide
Bryan Cosca [Tue, 18 Aug 2015 19:36:53 +0000 (15:36 -0400)]
6862: Moved clone arvados repository from tutorial-submit-job to git-arvados-guide, fixed some headers to include Arvados repository
Bryan Cosca [Tue, 18 Aug 2015 15:25:14 +0000 (11:25 -0400)]
6862: Added a quick guide to git, from git clone to git push.
Brett Smith [Tue, 18 Aug 2015 12:44:06 +0000 (08:44 -0400)]
6095: Brown paper bag fix the last commit.
I swear I tried to test before I pushed, but I used --no-recursive,
which meant we never got to this code. That also explains why we
didn't catch the lack of recursion earlier. Apologies. Refs #6095.
Brett Smith [Mon, 17 Aug 2015 21:34:09 +0000 (17:34 -0400)]
6095: Stop demoting OrderedDicts to dicts in arv-copy.
History: first there was
79564b0ac7d03327cc351bbd6df544ab1f776380.
This preserved the order of copied pipeline templates, but that's in
part because it stopped recursing through those templates.
1b8caff3ad598744e4a0379b01fc95ca4838caa0 fixed the recursion, but then
started losing the order again. This retains the order by ensuring we
copy OrderedDicts as OrderedDicts.
Refs #6095, #7001.
Brett Smith [Mon, 17 Aug 2015 20:50:43 +0000 (16:50 -0400)]
6998: Set force_ssl: false in Workbench Docker image.
This better matches the existing Docker image configuration, which
currently does not serve HTTPS at all. Refs #6998.
Tom Clegg [Sun, 16 Aug 2015 01:01:02 +0000 (21:01 -0400)]
Accept libcurl4-openssl-dev as an alternative to libcurl4-gnutls-dev dependency. refs #6638
Tom Clegg [Sat, 15 Aug 2015 02:25:45 +0000 (22:25 -0400)]
Use relative data_files paths so package is installable in a virtualenv. refs #6934
Unfortunately this also means /usr/pam-configs/arvados moves to
/usr/local/pam-configs/arvados, where pam-auth-update(8) does not see
it.
Tom Clegg [Fri, 14 Aug 2015 21:34:02 +0000 (17:34 -0400)]
Merge branch '6638-backport-deps' refs #6638
Brett Smith [Fri, 14 Aug 2015 19:04:27 +0000 (15:04 -0400)]
Merge branch '6950-install-guide-job-test-wip'
Closes #6950, #6960.
Brett Smith [Tue, 11 Aug 2015 21:38:21 +0000 (17:38 -0400)]
6950: Improve "make a job" check in Crunch dispatch install guide.
* This check ensures that Crunch has something to dispatch. It
doesn't test anything about the disptacher itself. Move it up, as a
prerequisite sanity check.
* Explain what success looks like.
* Explain common error causes and how to debug them.
* Better markup for the user input.
Tom Clegg [Thu, 13 Aug 2015 14:34:12 +0000 (10:34 -0400)]
6638: 6934: Fix up shellinabox example and add to package.
Tom Clegg [Wed, 12 Aug 2015 15:52:13 +0000 (11:52 -0400)]
6638: Add package deps for llfuse and pycurl backports
radhika [Thu, 13 Aug 2015 15:13:06 +0000 (11:13 -0400)]
closes #6572
Merge branch '6572-doc-copy-pipeline'
radhika [Thu, 13 Aug 2015 15:12:32 +0000 (11:12 -0400)]
6572: minor section title updates
radhika [Thu, 13 Aug 2015 15:09:56 +0000 (11:09 -0400)]
Merge branch 'master' into 6572-doc-copy-pipeline
Tom Clegg [Wed, 12 Aug 2015 15:49:02 +0000 (11:49 -0400)]
6638: Add python sdk package dependencies.
Tom Clegg [Thu, 13 Aug 2015 03:04:35 +0000 (23:04 -0400)]
Merge branch '6934-pam' refs #6934
Tom Clegg [Thu, 13 Aug 2015 02:37:08 +0000 (22:37 -0400)]
6934: Recommend system-log-daemon metapackage, not rsyslog specifically.
Tom Clegg [Wed, 12 Aug 2015 20:41:38 +0000 (16:41 -0400)]
6934: Move integration tests into separate dir.
Now, "python setup.py --test-suite integration_tests" will run
integration tests, and "python setup.py" won't -- regardless of
whether you are root, and what your pam config looks like.
Tom Clegg [Wed, 12 Aug 2015 19:59:37 +0000 (15:59 -0400)]
6934: Fix Dockerfile instructions. Use default test port. Use arvados/foo tag convention.
Tom Clegg [Wed, 12 Aug 2015 17:55:56 +0000 (13:55 -0400)]
Merge branch '5824-go-sdk' refs #5824
Tom Clegg [Wed, 12 Aug 2015 17:45:43 +0000 (13:45 -0400)]
5824: Merge branch 'master' into 5824-go-sdk
Tom Clegg [Tue, 11 Aug 2015 14:46:28 +0000 (10:46 -0400)]
6934: Add pam_sm tests.
Tom Clegg [Tue, 11 Aug 2015 14:32:49 +0000 (10:32 -0400)]
6934: Split module
Tom Clegg [Tue, 11 Aug 2015 06:26:51 +0000 (02:26 -0400)]
6934: Put wrapper in /lib/security/ instead of writing dist-packages path in config file. Make integration test work.
Tom Clegg [Mon, 10 Aug 2015 14:42:17 +0000 (10:42 -0400)]
6934: Add packaging instructions
radhika [Wed, 12 Aug 2015 15:05:14 +0000 (11:05 -0400)]
Merge branch 'master' into 6572-doc-copy-pipeline
Tom Clegg [Tue, 11 Aug 2015 21:27:07 +0000 (17:27 -0400)]
5824: Test invalid argument vs. 404.
Brett Smith [Tue, 11 Aug 2015 19:59:53 +0000 (15:59 -0400)]
6938: Install guide covers git server before standard objects.
The standard objects page covers creating the arvados git repository,
which requires Git hosting to be set up already. It also feels like
this flows a little nicer because currently the Git server must be on
the same host as the API server.
Closes #6938.
Tom Clegg [Tue, 11 Aug 2015 19:38:40 +0000 (15:38 -0400)]
5824: Add tests for UUIDMatch and PDHMatch.
Tom Clegg [Tue, 11 Aug 2015 19:37:50 +0000 (15:37 -0400)]
5824: Return InvalidArgument (not 404) for poor argument choices that do not involve real HTTP failures.
Tom Clegg [Tue, 11 Aug 2015 17:51:09 +0000 (13:51 -0400)]
Merge branch '6260-work-queue-status' refs #6260
radhika [Tue, 11 Aug 2015 16:13:36 +0000 (12:13 -0400)]
6572: update to make it clear that the user can access anonymous token to use arv-copy.
Tom Clegg [Tue, 11 Aug 2015 15:13:34 +0000 (11:13 -0400)]
6260: Add explanatory comment about testing /status.json.
Tom Clegg [Tue, 11 Aug 2015 15:07:28 +0000 (11:07 -0400)]
6260: Rename ReportDone to DoneItem.
Tom Clegg [Tue, 11 Aug 2015 15:07:13 +0000 (11:07 -0400)]
6260: Improve Gate explanation.
radhika [Tue, 11 Aug 2015 14:47:02 +0000 (10:47 -0400)]
Merge branch 'master' into 6572-doc-copy-pipeline
Tom Clegg [Tue, 11 Aug 2015 00:45:38 +0000 (20:45 -0400)]
5824: Add test for nonexistent resource type.
Tom Clegg [Tue, 11 Aug 2015 00:39:39 +0000 (20:39 -0400)]
5824: Document ClientPool.
Tom Clegg [Tue, 11 Aug 2015 00:39:25 +0000 (20:39 -0400)]
5824: Doc/comment fixes, add test for "Get empty UUID"
Tom Clegg [Mon, 10 Aug 2015 23:51:27 +0000 (19:51 -0400)]
5824: Fix up comments for godoc.
Tom Clegg [Mon, 3 Aug 2015 04:39:28 +0000 (00:39 -0400)]
5824: Add UUID and PDH matchers.
Tom Clegg [Mon, 3 Aug 2015 04:38:36 +0000 (00:38 -0400)]
5824: Do not JSON-encode string params. Fixup comments for godoc.
Tom Clegg [Mon, 3 Aug 2015 04:36:46 +0000 (00:36 -0400)]
5824: Use fmt "%+q" instead of custom escaping.
Tom Clegg [Thu, 23 Jul 2015 04:01:52 +0000 (00:01 -0400)]
5824: Add Get() method to arvadosclient.
Tom Clegg [Wed, 17 Jun 2015 04:47:12 +0000 (00:47 -0400)]
Shut down API server after suite (noticed during 5824, otherwise no issue #)
Tom Clegg [Fri, 12 Jun 2015 06:43:19 +0000 (02:43 -0400)]
5824: Move client pool to SDK.
Tom Clegg [Fri, 12 Jun 2015 05:53:05 +0000 (01:53 -0400)]
5824: Move quoted-logging function to SDK.
Tom Clegg [Wed, 17 Jun 2015 05:57:33 +0000 (01:57 -0400)]
5824: gofmt
Tom Clegg [Fri, 12 Jun 2015 05:39:27 +0000 (01:39 -0400)]
5824: Move spying ResponseWriter to SDK.
Tom Clegg [Fri, 12 Jun 2015 05:01:52 +0000 (01:01 -0400)]
5824: Move HTTP server code to SDK.
Tom Clegg [Thu, 21 May 2015 04:33:56 +0000 (00:33 -0400)]
5824: Move request auth code into an SDK package. Support more ways of passing tokens.
Bryan Cosca [Mon, 10 Aug 2015 20:11:13 +0000 (16:11 -0400)]
closes #6858
Merge branch '6858-job-re-run-documentation'
radhika [Mon, 10 Aug 2015 18:35:16 +0000 (14:35 -0400)]
refs #6827
Merge branch '6827-short-token'
Brett Smith [Mon, 10 Aug 2015 18:23:09 +0000 (14:23 -0400)]
Improve crunch-dispatch runit script in install guide.
* Modernize crunch-dispatch's prerequisites.
* Document what this script is.
* Consolidate environment variables for easier configuration.
No issue #.
Brett Smith [Mon, 10 Aug 2015 18:17:59 +0000 (14:17 -0400)]
Include example service script for keepproxy.
Conveniently you just need this one line, which should work equally
well in all kinds of supervisors. No issue #.
radhika [Mon, 10 Aug 2015 18:32:50 +0000 (14:32 -0400)]
6827: fix error in setting valid token.
radhika [Mon, 10 Aug 2015 18:20:25 +0000 (14:20 -0400)]
6827: set validApiToken flag after ensuring that getting list of repositories work with the given credentials.
radhika [Mon, 10 Aug 2015 18:19:07 +0000 (14:19 -0400)]
Merge branch 'master' into 6827-short-token
Tom Clegg [Mon, 10 Aug 2015 17:07:58 +0000 (13:07 -0400)]
6827: Test logging handler with short token.
Tom Clegg [Mon, 10 Aug 2015 16:45:45 +0000 (12:45 -0400)]
6260: Pull entire status object out of WorkQueue atomically.
Tom Clegg [Mon, 10 Aug 2015 15:56:48 +0000 (11:56 -0400)]
6260: Expose queue sizes in /status.json. Fix sleep/race in trash_worker_test.
Tom Clegg [Thu, 6 Aug 2015 03:38:12 +0000 (23:38 -0400)]
6260: gofmt
Tom Clegg [Thu, 6 Aug 2015 03:38:05 +0000 (23:38 -0400)]
6260: Fix races in keepstore tests. Expose WorkQueue in-progress/queued stats.
radhika [Mon, 10 Aug 2015 15:41:12 +0000 (11:41 -0400)]
closes #6827
Merge branch '6827-no-passwords-in-logs'
radhika [Mon, 10 Aug 2015 15:40:24 +0000 (11:40 -0400)]
6827: add a comment that only the first 10 characters of a valid token are logged.
radhika [Mon, 10 Aug 2015 15:33:32 +0000 (11:33 -0400)]
Merge branch 'master' into 6827-no-passwords-in-logs
radhika [Mon, 10 Aug 2015 15:25:02 +0000 (11:25 -0400)]
6572: add a new page in install guide to "copy a pipeline template from Curoverse cloud" using arv-copy.
Tom Clegg [Sun, 9 Aug 2015 05:05:05 +0000 (01:05 -0400)]
6934: Load config from pam conf instead of yaml. Add docker/integration tests and example configs.
Tom Clegg [Sat, 8 Aug 2015 15:32:44 +0000 (11:32 -0400)]
6934: Improve and test logging
Tom Clegg [Sat, 8 Aug 2015 15:17:38 +0000 (11:17 -0400)]
6934: Replace custom config with yaml. Simplify code path.
Tom Clegg [Sat, 8 Aug 2015 02:50:24 +0000 (22:50 -0400)]
6934: Add arvados_pam package.
Tom Clegg [Fri, 7 Aug 2015 17:57:15 +0000 (13:57 -0400)]
Merge branch '6844-py-mem-leak' closes #6844
Tom Clegg [Fri, 7 Aug 2015 17:55:33 +0000 (13:55 -0400)]
6844: Clean up websocket tests, fix possible deadlock, reduce unnecessary sleep().
* Use onevent=q.put_nowait, so "too many events" raises Queue.Full
instead of blocking the websocket thread.
* Simplify test strategy: get the events we expect (waiting <5s for
each), then make sure no more events arrive for >2s.
* Delete "no logs arrive from 1 day in the future" test:
indistinguishable from "no logs arrive from 1 hour in the future".
* Delete "use today's date, with no time, as a threshold" test:
indistinguishable from "can fetch logs 1 hour in the past"
* De-duplicate strftime(), datetime arithmetic, and "how to ask for
logs starting at time X" logic.
* Express timestamp thresholds in ISO8601. Existing tests continue to
use localtime. Two new tests use UTC.
radhika [Fri, 7 Aug 2015 15:25:51 +0000 (11:25 -0400)]
6827: log only valid token and only the first 10 characters.
Brett Smith [Fri, 7 Aug 2015 12:59:40 +0000 (08:59 -0400)]
Make rvm-exec version in crunch-dispatch run script less specific.
Any Ruby 2.1 is fine; we don't specifically need 2.1.1. We use
`default` elsewhere throughout our documentation, so follow that
pattern here. No issue #.
Brett Smith [Fri, 7 Aug 2015 12:54:13 +0000 (08:54 -0400)]
Add Gitolite UMASK setting to install guide.
No issue #.
Brett Smith [Fri, 7 Aug 2015 12:50:48 +0000 (08:50 -0400)]
Add client_max_body_size to Nginx install configurations.
Nginx's default value for this setting is 1m, so adjusting it is all
but required to do useful work. No issue #.
Brett Smith [Fri, 7 Aug 2015 12:44:27 +0000 (08:44 -0400)]
Highlight dynamic fields in Keep service registration instructions.
No issue #.
Brett Smith [Fri, 7 Aug 2015 12:42:38 +0000 (08:42 -0400)]
Install Git in shell server install guide.
I don't think we expressly use curl for anything, but reusing the
install template seemed easy enough. In the future we might want to
expand this to a list of packages that are useful for Arvados work
generally (like maybe jq), but I wanted to keep this commit simple.
No issue #.
Brett Smith [Fri, 7 Aug 2015 12:38:59 +0000 (08:38 -0400)]
Remove redundant console line from Workbench install guide.
No issue #.
Tom Clegg [Fri, 7 Aug 2015 05:26:57 +0000 (01:26 -0400)]
6844: Clear inserted data/logs after websocket tests.
Tom Clegg [Fri, 7 Aug 2015 03:35:42 +0000 (03:35 +0000)]
6844: Do not use inspect.getcallargs: it leaks memory. Passing num_retries as a positional argument is no longer supported.
Tom Clegg [Fri, 7 Aug 2015 03:33:26 +0000 (03:33 +0000)]
6844: Always write a valid \n-terminated manifest. Confine exception-catching to expected exceptions.
Tom Clegg [Fri, 7 Aug 2015 03:30:31 +0000 (03:30 +0000)]
6844: Skip uselessly writing unsigned manifest to Keep.
Tom Clegg [Fri, 7 Aug 2015 03:22:55 +0000 (03:22 +0000)]
6844: Return valid locator (hash+size) if 0 copies requested.
Brett Smith [Thu, 6 Aug 2015 21:46:24 +0000 (17:46 -0400)]
API server install guide suggests a more likely websocket_address.
/websocket is hardcoded as the websocket endpoint in our own code, so
that's where it'll be when people use the provided nginx configuration.
No issue #.
Bryan Cosca [Thu, 6 Aug 2015 20:27:11 +0000 (16:27 -0400)]
Merge branch '6858-job-re-run-documentation'
closes #6858
Bryan Cosca [Thu, 6 Aug 2015 19:06:34 +0000 (15:06 -0400)]
6858: Fixed syntax and added notes to re-use the same hashes from previous runs
Bryan Cosca [Thu, 6 Aug 2015 18:22:31 +0000 (14:22 -0400)]
6858: Added new section 'Re-using your pipeline run' and moved all version control parameters there for ease of reading. Added more explanation of all parameters
Bryan Cosca [Thu, 6 Aug 2015 15:54:42 +0000 (11:54 -0400)]
6858: Added note about job reproducibility and version control with arvados_sdk_version, script_version, and docker_image to Writing a Pipeline template
radhika [Thu, 6 Aug 2015 12:48:46 +0000 (08:48 -0400)]
6851: reorder install guide pages; right after api server, install workbench, shell server and standard objects.
Brett Smith [Thu, 6 Aug 2015 19:48:24 +0000 (15:48 -0400)]
Haha, no seriously, don't deploy Workbench with snakeoil certs.
No issue #.
radhika [Thu, 6 Aug 2015 19:33:15 +0000 (15:33 -0400)]
closes #6880
closes #6916
Merge branch '6880-remove-user-delete-button'
radhika [Thu, 6 Aug 2015 19:31:52 +0000 (15:31 -0400)]
6880: improved deletable? check
radhika [Thu, 6 Aug 2015 19:21:45 +0000 (15:21 -0400)]
Merge branch 'master' into 6880-remove-user-delete-button
Brett Smith [Thu, 6 Aug 2015 17:21:09 +0000 (13:21 -0400)]
crunch-dispatch preserves LD_LIBRARY_PATH environment variable.
This helps it run better in environments using Software Collections to
satisfy dependencies. No issue #.
Brett Smith [Thu, 6 Aug 2015 16:52:20 +0000 (12:52 -0400)]
Install guide notes that snakeoil certs break browser uploads.
You know, with all the usual caveats that users theoretically control
what certs their browser does and doesn't trust, etc. No issue #.
Brett Smith [Thu, 6 Aug 2015 16:14:05 +0000 (12:14 -0400)]
Add perl-Crypt-SSLeay as a Perl SDK dependency on Red Hat.
No issue #.