radhika [Fri, 22 Jan 2016 22:37:15 +0000 (17:37 -0500)]
8178: (for now) all volumes must return ErrNotImplemented if trash-lifetime != 0
radhika [Thu, 21 Jan 2016 20:25:06 +0000 (15:25 -0500)]
8178: All three currently supported volumes return error when trash-lifetime period is not configured. azure blob and s3 volumes are updated to do so.
Returning an error is causing test failures in unix volume and hence is still a work in progress.
radhika [Thu, 21 Jan 2016 18:59:36 +0000 (13:59 -0500)]
8178: rename Delete api as Trash; add Untrash to volume interface; add UndeleteHandler and test for this endpoint.
Peter Amstutz [Fri, 22 Jan 2016 13:23:48 +0000 (08:23 -0500)]
Fix python sdk tests refs #6833
Tom Clegg [Thu, 21 Jan 2016 22:25:48 +0000 (17:25 -0500)]
Merge branch '8281-arv-mount-retry' closes #8281
Peter Amstutz [Thu, 21 Jan 2016 22:25:22 +0000 (17:25 -0500)]
Merge branch '6833-test-token-expiry' closes #6833
Peter Amstutz [Thu, 21 Jan 2016 21:49:45 +0000 (16:49 -0500)]
Merge branch '7846-magic-invalidate-entry' closes #7846
Tom Clegg [Thu, 21 Jan 2016 21:10:11 +0000 (16:10 -0500)]
8281: Limit # write threads to #copies remaining, not #copies total.
Tom Clegg [Thu, 21 Jan 2016 19:35:34 +0000 (14:35 -0500)]
8281: Fix KeepClient retry bugs.
get() and put() were both handling all Curl exceptions -- including
timeouts -- by marking the keep service as unusable. For example, if a
single proxy is the only service available, a single timeout was
fatal. This is fixed by setting the retry loop status to None instead
of False after curl exceptions.
put() was repeating its retry loop until it achieved the desired
number of replicas _in a single iteration_. For example, when trying
to store 2 replicas, 6 loop iterations with a single success in each
iteration would result in 6 copies being stored but put() declaring
failure. This is fixed by checking against a cumulative "done" counter
instead of the "copies done in this loop iteration" counter.
Tom Clegg [Thu, 21 Jan 2016 09:01:16 +0000 (04:01 -0500)]
8281: Fix arv-mount ignoring --retries argument when writing file data.
"num_retries" arguments get passed around extensively in arvfile.py
and collection.py in the Python SDK, but ultimately the writing of
file data is done by a _BlockManager which doesn't have any way to
accept that argument or pass it along to a KeepClient, so PUT requests
always use the CollectionWriter's KeepClient's default num_retries.
In arv-mount's case, we have been telling CollectionWriter the
num_retries we want. When CollectionWriter creates a KeepClient,
num_retries gets passed along -- normally this works around the fact
that num_retries gets lost by the _BlockManager layer. However, we
provided our own KeepClient to use instead of letting CollectionWriter
create one, and we forgot to set num_retries on our own KeepClient, so
we weren't retrying PUT requests.
Peter Amstutz [Thu, 21 Jan 2016 20:46:53 +0000 (15:46 -0500)]
6833: Test setting small blobSignatureTtl. Fix earlier fix.
Peter Amstutz [Thu, 21 Jan 2016 16:30:23 +0000 (11:30 -0500)]
6833: Test to confirm that enabling polling on CollectionDirectory causes
tokens to be refreshed.
Peter Amstutz [Thu, 21 Jan 2016 16:29:40 +0000 (11:29 -0500)]
6833: Collection update file block list (to get most recent tokens) even when actual
content hasn't changed.
Tom Clegg [Fri, 15 Jan 2016 21:20:49 +0000 (16:20 -0500)]
6833: Add (most of) a test case for token expiry.
Peter Amstutz [Thu, 21 Jan 2016 19:07:11 +0000 (14:07 -0500)]
Merge branch '8008-package-testing' refs #8008
Peter Amstutz [Thu, 21 Jan 2016 18:37:20 +0000 (13:37 -0500)]
7846: Better directory entry invalidation, fixes MagicDirApiError test. Also
fix bug in typo in exception handler.
radhika [Wed, 20 Jan 2016 21:15:12 +0000 (16:15 -0500)]
refs #6833
Merge branch '6833-arv-mount-cache-refresh'
radhika [Mon, 11 Jan 2016 14:37:10 +0000 (09:37 -0500)]
6833: get blobSignatureTtl from discovery document and use it to set the poll_time.
radhika [Thu, 7 Jan 2016 18:14:05 +0000 (13:14 -0500)]
6833: add poll_time to CollectionDirectory.
Ward Vandewege [Wed, 20 Jan 2016 18:19:58 +0000 (13:19 -0500)]
Fix typo.
refs #8248
radhika [Wed, 20 Jan 2016 17:37:34 +0000 (12:37 -0500)]
closes #8028
Merge branch '8028-crunch-dispatch-local'
radhika [Wed, 20 Jan 2016 17:33:16 +0000 (12:33 -0500)]
8028: Update the stub based test to use waitGroup.Wait() instead of sleep.
radhika [Wed, 20 Jan 2016 17:05:59 +0000 (12:05 -0500)]
8028: In runningCmds loop, no need to wait for process termination.
radhika [Wed, 20 Jan 2016 16:40:30 +0000 (11:40 -0500)]
8028: add command to waitGroup during run method itself; not during signal handling.
radhika [Wed, 20 Jan 2016 12:16:05 +0000 (07:16 -0500)]
8028: when a signal is received, terminate all running commands and wait in a WaitGroup.
radhika [Wed, 20 Jan 2016 02:40:59 +0000 (21:40 -0500)]
8028: add signal handling to dispatcher.
radhika [Tue, 19 Jan 2016 17:16:51 +0000 (12:16 -0500)]
8028: After getting list of Queued containers, instead of looking for containers.ItemsAvailable, look for len(containers.Items)
radhika [Wed, 13 Jan 2016 16:15:28 +0000 (11:15 -0500)]
8028: crunch-dispatch-local implementation
Ward Vandewege [Wed, 20 Jan 2016 16:26:16 +0000 (11:26 -0500)]
Merge branch '8248-explain-serialize'
closes #8248
Ward Vandewege [Wed, 20 Jan 2016 16:25:20 +0000 (11:25 -0500)]
Doc improvement: explain in more detail what the -serialize argument to
keepstore does.
closes #8248
Peter Amstutz [Wed, 20 Jan 2016 16:04:51 +0000 (11:04 -0500)]
Merge branch '7816-crunch2-exec' closes #7816
Tom Clegg [Wed, 20 Jan 2016 02:12:38 +0000 (21:12 -0500)]
Merge branch '8177-keep-web-trust-all-content-flag' closes #8177
Tom Clegg [Tue, 19 Jan 2016 22:38:05 +0000 (17:38 -0500)]
8177: Offer -trust-all-content option for no-wildcard installs.
Add alert about XSS on intranet sites.
Peter Amstutz [Tue, 19 Jan 2016 22:07:59 +0000 (17:07 -0500)]
7816: CopyReaderToLog renamed to ReadWriteLines. Use Writer instead of Logger
to avoid unnecessary copy.
Tom Clegg [Mon, 18 Jan 2016 21:17:17 +0000 (16:17 -0500)]
8177: Expand trust_all_content comments.
Skip whole check_uri block when trust_all_content.
Fix test name.
radhika [Mon, 18 Jan 2016 05:04:48 +0000 (00:04 -0500)]
8177: add trust_all_content config to Workbench.
Peter Amstutz [Tue, 19 Jan 2016 21:43:54 +0000 (16:43 -0500)]
7816: Rename to crunch-run
Tom Clegg [Tue, 19 Jan 2016 04:19:35 +0000 (23:19 -0500)]
Merge branch '7996-keep-web-doc' closes #7996
Tom Clegg [Mon, 18 Jan 2016 02:45:46 +0000 (21:45 -0500)]
7996: Add keep-web to install TOC and server/cert lists.
Peter Amstutz [Fri, 15 Jan 2016 21:32:08 +0000 (16:32 -0500)]
7816: Fixes recommended by golint.
Peter Amstutz [Fri, 15 Jan 2016 20:50:33 +0000 (15:50 -0500)]
7816: Change ThrottledLogger Stop() to Close(). Choose finalState once so that
log and container record can't go out of sync. Add comments.
Peter Amstutz [Fri, 15 Jan 2016 15:10:48 +0000 (10:10 -0500)]
8008: Remove workbench git version constraint.
Tom Clegg [Thu, 14 Jan 2016 20:20:46 +0000 (15:20 -0500)]
Fix cli "update" example. No issue #
Tom Clegg [Thu, 14 Jan 2016 20:19:48 +0000 (15:19 -0500)]
Merge branch '8189-handle-large-collections-better' refs #8189
Tom Clegg [Thu, 14 Jan 2016 18:15:08 +0000 (13:15 -0500)]
8189: Use large page size only when fetching all pages.
Peter Amstutz [Thu, 14 Jan 2016 16:44:18 +0000 (11:44 -0500)]
8008: Add dependencies on libcurl and postgresql dev packages in order to build
gems.
Tom Clegg [Thu, 14 Jan 2016 16:27:08 +0000 (11:27 -0500)]
8189: Replace MAX_LIMIT const with max_items_per_response config.
Ward Vandewege [Thu, 14 Jan 2016 16:01:04 +0000 (11:01 -0500)]
8189: Fix too-small page size in "fetch all pages" code.
Python SDK and workbench effectively default to the API server's
MAX_LIMIT when requesting a list of objects, in those cases where no
explicit limit is set in the client code.
Peter Amstutz [Wed, 13 Jan 2016 21:21:27 +0000 (16:21 -0500)]
8008: Add git dependency to api server and workbench.
Brett Smith [Tue, 12 Jan 2016 01:23:56 +0000 (20:23 -0500)]
Merge branch '8014-rails-postinst-doc-update-wip'
Refs #8014. Closes #8111.
Brett Smith [Tue, 5 Jan 2016 22:33:11 +0000 (17:33 -0500)]
8014: Install guide uses new Rails postinst scripts for configuration.
Peter Amstutz [Wed, 6 Jan 2016 21:38:58 +0000 (16:38 -0500)]
7816: Converted testing to use stubbed out ThinDockerClient instead of real Docker.
Peter Amstutz [Wed, 6 Jan 2016 15:52:07 +0000 (10:52 -0500)]
7816: Crunch2 executor prototype work in progress.
Peter Amstutz [Wed, 6 Jan 2016 15:51:28 +0000 (10:51 -0500)]
7816: Update Go SDK to use correct block locator pattern. Change FileToken
string in manifest to FileStreamSegment struct.
radhika [Tue, 5 Jan 2016 22:37:46 +0000 (17:37 -0500)]
closes #7607
Merge branch '7607-getting-started-flag'
radhika [Tue, 5 Jan 2016 22:37:08 +0000 (17:37 -0500)]
Merge branch 'master' into 7607-getting-started-flag
Brett Smith [Tue, 5 Jan 2016 19:54:42 +0000 (14:54 -0500)]
Merge branch '8095-install-guide-rails-sudo-wip'
Closes #8095, #8096.
Brett Smith [Thu, 31 Dec 2015 16:23:34 +0000 (11:23 -0500)]
8095: Make install guide bundle commands more consistent.
* Always instruct the user to use `sudo -u`. This prevents the
commands from generating cache files that the web server can't write
later.
* Always execute the command in the server's main directory. This
helps people run on automatic: if they leave a shell session open at
the API server directory, they can paste in a combination of Rails
console and script commands without `cd`ing around.
* Always give both RVM and non-RVM instructions. There might be a
good way to streamline this, e.g., by telling them to use rvmsudo
when available, but that can be a later optimization.
Peter Amstutz [Tue, 5 Jan 2016 17:44:42 +0000 (12:44 -0500)]
Add pycurl version constraint to Python SDK because of breaking API change, refs #8104
radhika [Tue, 5 Jan 2016 13:32:09 +0000 (08:32 -0500)]
7607: updated user_profile_test to set getting_started config in test.
radhika [Mon, 4 Jan 2016 23:42:34 +0000 (18:42 -0500)]
7607: Update application layout tests; by default getting_started is disabled and hence the help menu will not include this option.
Also, added an additional test case for user with profile but no getting_started flag and expect the popup upon first login.
Tom Clegg [Mon, 4 Jan 2016 21:02:54 +0000 (16:02 -0500)]
7942: Skip unreliable test. refs #7942
Brett Smith [Mon, 4 Jan 2016 20:07:39 +0000 (15:07 -0500)]
Merge branch '7957-new-software-collections-install-wip'
Closes #7957, #8097.
Brett Smith [Thu, 31 Dec 2015 17:08:17 +0000 (12:08 -0500)]
7957: Update Software Collections instructions in install guide.
* Document the process we currently follow on CentOS 6.
* Add a reference for RHEL instructions.
* Move noteboxes up, so people can follow the instructions
linearly ("enable Software Collections, then install the packages").
Peter Amstutz [Mon, 4 Jan 2016 19:34:47 +0000 (14:34 -0500)]
Merge branch '7816-exit-code' refs #7816
Peter Amstutz [Mon, 4 Jan 2016 19:34:12 +0000 (14:34 -0500)]
8080: Pull c.reload etc out of the assert_raises. Remove spurious blank lines.
Tom Clegg [Mon, 4 Jan 2016 17:58:17 +0000 (12:58 -0500)]
Merge branch '8082-col-markup' refs #8082
Tom Clegg [Mon, 4 Jan 2016 17:55:54 +0000 (12:55 -0500)]
8082: Fix column markup (always use up "log" grid column, always use up all 12 grid columns).
Brett Smith [Fri, 1 Jan 2016 20:26:22 +0000 (15:26 -0500)]
8014: Add #configure anchors to API server and Workbench install guides.
Package postinst scripts will use these to point people to the right
places in the documentation to read what steps they need to take
manually. The SSO server docs+package already follow this
convention. Refs #8014.
Brett Smith [Wed, 30 Dec 2015 23:53:12 +0000 (18:53 -0500)]
8082: Ensure consistent column widths in Workbench job banner.
4dcf4e849f242a929ce03b5d529e0e1a63fbaeb0 is the commit that introduced
the column inconsistencies. This is the smallest patch I could find
to address the issue. It may be less than ideal because it always
allocates a column to something that may not be displayed, but the
logic to keep track of column widths is already hairy and there are so
many conditions here that it stood to get a lot worse. Closes #8082.
Brett Smith [Wed, 30 Dec 2015 23:10:38 +0000 (18:10 -0500)]
8077: Tutorial suggests using the arvados/jobs Docker image.
This is all the hash script needs, and clusters are more likely to
have it than arvados/jobs-java-bwa-samtools, which is more of an
internal thing. Closes #8077.
Peter Amstutz [Tue, 29 Dec 2015 22:01:24 +0000 (17:01 -0500)]
7816: Add exit_code field to Container model. Can only be set when container
is marked "Complete".
Tom Clegg [Wed, 23 Dec 2015 20:30:41 +0000 (15:30 -0500)]
Increase timeout for bringing up test server.
No issue #
Tom Clegg [Wed, 23 Dec 2015 19:28:41 +0000 (14:28 -0500)]
Merge branch '7965-fail-abandoned-jobs' closes #7965
Tom Clegg [Fri, 18 Dec 2015 19:33:28 +0000 (14:33 -0500)]
7965: Fail orphaned jobs still marked "running" after reboot.
Peter Amstutz [Sun, 20 Dec 2015 02:59:26 +0000 (21:59 -0500)]
Fix documentation typo git_repo_https_base not git_repo_http_base, no issue #
Tom Clegg [Fri, 18 Dec 2015 20:40:40 +0000 (15:40 -0500)]
Merge branch '7884-ajax-log-redirect' closes #7884
Tom Clegg [Fri, 18 Dec 2015 20:40:11 +0000 (15:40 -0500)]
7884: Clarify "credentials" comment.
Tom Clegg [Thu, 17 Dec 2015 06:07:32 +0000 (01:07 -0500)]
7884: Detect when a "download log" response has a JSON-encoded redirect
to keep-web, and convert it to POST to avoid a second redirect that
would be forbidden by SOP.
Tom Clegg [Thu, 17 Dec 2015 06:03:37 +0000 (01:03 -0500)]
7884: Serve simple cross-origin AJAX POST requests without redirecting.
Brett Smith [Fri, 18 Dec 2015 18:30:10 +0000 (13:30 -0500)]
Merge branch '7927-docker-cleaner-api-version-wip'
Closes #7927, #8025.
Brett Smith [Wed, 16 Dec 2015 16:07:24 +0000 (11:07 -0500)]
7927: Docker cleaner service uses Docker API v1.14.
This helps it work consistently across a variety of Docker versions.
See the comment in the tests for more background.
Tom Clegg [Thu, 17 Dec 2015 18:50:01 +0000 (13:50 -0500)]
Log request body size. No issue #
Tom Clegg [Thu, 17 Dec 2015 15:06:50 +0000 (10:06 -0500)]
Merge branch '7901-human-summary' closes #7901
Tom Clegg [Thu, 17 Dec 2015 15:05:30 +0000 (10:05 -0500)]
7901: Add job stats, elapsed time, summed user+sys and tx+rx, and some human-readable highlights.
Tom Clegg [Wed, 16 Dec 2015 20:34:43 +0000 (15:34 -0500)]
7942: Skip unreliable test. refs #7942
Tom Clegg [Wed, 16 Dec 2015 19:51:44 +0000 (14:51 -0500)]
Merge branch '7888-azure-read-mux' refs #7888
Tom Clegg [Wed, 16 Dec 2015 19:51:25 +0000 (14:51 -0500)]
7888: Fix whitespace / gofmt
Tom Clegg [Wed, 16 Dec 2015 17:43:35 +0000 (12:43 -0500)]
7888: Option to use multiple concurrent range requests when fetching from Azure.
Peter Amstutz [Wed, 16 Dec 2015 15:29:51 +0000 (10:29 -0500)]
Merge branch '7454-azure-custom-data' closes #7454
Peter Amstutz [Wed, 16 Dec 2015 14:49:52 +0000 (09:49 -0500)]
7454: switch order of arvados_create_kwargs() to be consistent with
create_node(). Use pipes.quote() to shellquote values. Add ex_customdata
test.
Peter Amstutz [Tue, 15 Dec 2015 15:00:46 +0000 (10:00 -0500)]
Merge branch '6429-fix-container-indexes' refs #6429
Peter Amstutz [Tue, 15 Dec 2015 14:56:38 +0000 (09:56 -0500)]
Add required indexes to containers and container_requests tables. refs #6429
Tom Clegg [Tue, 15 Dec 2015 14:54:37 +0000 (09:54 -0500)]
Increase default Python SDK timeout to 256s.
No issue #
Brett Smith [Mon, 14 Dec 2015 22:23:22 +0000 (17:23 -0500)]
7901: Fix variable name typo in crunchstat-summary.
Refs #7901.
Tom Clegg [Mon, 14 Dec 2015 21:56:53 +0000 (16:56 -0500)]
Merge branch '7901-crunchstat-summary' refs #7901
Tom Clegg [Mon, 14 Dec 2015 21:07:32 +0000 (16:07 -0500)]
7901: Add crunchstat-summary program.
Peter Amstutz [Mon, 14 Dec 2015 20:38:58 +0000 (15:38 -0500)]
Cleanup of test cleanup. refs #6429
Peter Amstutz [Mon, 14 Dec 2015 20:31:07 +0000 (15:31 -0500)]
Small test cleanup. refs #6429
Peter Amstutz [Mon, 14 Dec 2015 20:22:39 +0000 (15:22 -0500)]
Merge branch '6429-crunch2-api' closes #6429