Peter Amstutz [Tue, 2 Feb 2016 16:05:50 +0000 (11:05 -0500)]
Merge branch 'fix/build-python-llfuse-version' of https://github.com/wtsi-hgi/arvados
no issue #
Peter Amstutz [Tue, 2 Feb 2016 15:55:58 +0000 (10:55 -0500)]
Merge branch '8206-gce-retry-init' closes #8206
Peter Amstutz [Tue, 2 Feb 2016 15:55:39 +0000 (10:55 -0500)]
8206: Mock time.sleep() to avoid unnecessary delay in test.
Joshua Randall [Tue, 2 Feb 2016 15:45:46 +0000 (15:45 +0000)]
pins python-llfuse version to 0.41.1 for fpm on all platforms
Peter Amstutz [Tue, 2 Feb 2016 15:03:39 +0000 (10:03 -0500)]
8206: Refactor _retry to RetryMixin. Make retry timing consistent.
Brett Smith [Tue, 2 Feb 2016 12:23:10 +0000 (07:23 -0500)]
8005: Install guide suggests slurm-munge on Red Hat SLURM nodes.
This package includes the SLURM plugins that talk to MUNGE.
Refs #8005.
Brett Smith [Mon, 1 Feb 2016 17:43:04 +0000 (12:43 -0500)]
8014: Remove more upgrade script references from install guide.
The steps removed are now handled by Rails package postinst scripts.
This should've been done in
378a988bbf9e29736382339f587582259b641782,
but was overlooked. Refs #8014.
Brett Smith [Mon, 1 Feb 2016 16:53:29 +0000 (11:53 -0500)]
Refresh Gitolite install guide.
* Tested instructions still work with 3.6.4. So noted.
* Prefer cloning Gitolite over HTTPS, since that's less likely to be
firewalled.
No issue #.
Brett Smith [Mon, 1 Feb 2016 16:51:14 +0000 (11:51 -0500)]
Fix install doc rendering of API Nginx config.
<notextile> doesn't actually nest like proper HTML, it's just a
boolean that remembers the last state. Turn it back on after doing an
include that turns it off. No issue #.
Peter Amstutz [Mon, 1 Feb 2016 14:14:41 +0000 (09:14 -0500)]
Pin llfuse to 0.41.1 because 0.42 came out and broke things. no issue #
Brett Smith [Fri, 29 Jan 2016 00:38:04 +0000 (19:38 -0500)]
Merge branch '8005-centos-3rdparty-installs-wip'
Closes #8005, #8135.
Brett Smith [Fri, 29 Jan 2016 00:27:13 +0000 (19:27 -0500)]
8005: Add tar Ruby build dependency on CentOS 6.
Brett Smith [Thu, 28 Jan 2016 00:02:05 +0000 (19:02 -0500)]
8005: Install guide uses runit packages on Red Hat.
The runit RPMs only provide /etc/service. The .debs provide /etc/sv
and /etc/service. Our understanding is that /etc/sv is for all
service definitions (akin to /etc/init.d), and /etc/service is for
service definitions that runit should start at boot (akin to
/etc/rcN.d). To provide uniformity, our install guide instructs users
to make /etc/sv if needed, and link it to /etc/service.
This commit could go farther. Today it would be best if all the runit
sections in the install guide followed Tom's modern template used for
arv-git-httpd and arvados-docker-cleaner. However, that will probably
require some creation and testing of log/run scripts, and some
adaptation of the run scripts to fit the template. I wish I could
include those improvements now, but unfortunately I'm out of time, so
they'll have to wait for another day.
Brett Smith [Thu, 28 Jan 2016 00:08:33 +0000 (19:08 -0500)]
8005: Install guide gets SLURM and MUNGE from RPMs.
Brett Smith [Wed, 27 Jan 2016 23:54:57 +0000 (18:54 -0500)]
8005: Fix bad Textile markup in compute node install guide.
The switch dashes created strikethrough for much of the notebox.
Brett Smith [Wed, 27 Jan 2016 20:15:23 +0000 (15:15 -0500)]
8005: Document installing Git on CentOS 6 from RepoForge.
Brett Smith [Wed, 27 Jan 2016 20:00:17 +0000 (15:00 -0500)]
8005: DRY up PostgreSQL password auth instructions on CentOS 6.
Ward Vandewege [Thu, 28 Jan 2016 19:32:00 +0000 (14:32 -0500)]
Make our API server packages for debian-based distributions depend on
libcurl-ssl-dev rather than libcurl4-openssl-dev.
No issue #
radhika [Tue, 26 Jan 2016 17:10:04 +0000 (12:10 -0500)]
closes #8198
Merge branch '8198-node-ip-address'
radhika [Tue, 26 Jan 2016 17:09:37 +0000 (12:09 -0500)]
Merge branch 'master' into 8198-node-ip-address
radhika [Tue, 26 Jan 2016 17:08:21 +0000 (12:08 -0500)]
refs #8178
Merge branch '8178-keepstore-trash-interface'
radhika [Tue, 26 Jan 2016 15:41:00 +0000 (10:41 -0500)]
Merge branch '8178-keepstore-trash-interface' of git.curoverse.com:arvados into 8178-keepstore-trash-interface
Conflicts:
services/keepstore/handlers.go
services/keepstore/volume_test.go
radhika [Tue, 26 Jan 2016 15:38:28 +0000 (10:38 -0500)]
8178: untrash should fail when ErrNotImplemented is returned.
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 [Mon, 25 Jan 2016 22:02:40 +0000 (17:02 -0500)]
8206: Add test to support retry on create_driver.
Tom Clegg [Mon, 25 Jan 2016 21:08:14 +0000 (16:08 -0500)]
Merge branch '8123-crunchstat-graphs' closes #8123
Tom Clegg [Mon, 25 Jan 2016 21:05:56 +0000 (16:05 -0500)]
8123: Escape HTML chars in page title.
Peter Amstutz [Mon, 25 Jan 2016 20:36:34 +0000 (15:36 -0500)]
8206: Refactor _retry into common function wrapper usable by both dispatch and
compute drivers.
Tom Clegg [Mon, 25 Jan 2016 06:16:44 +0000 (01:16 -0500)]
8123: Explain existing_constraints and use a proper instance variable.
Tom Clegg [Mon, 25 Jan 2016 06:08:27 +0000 (01:08 -0500)]
8123: Fix accidental old-style class.
Tom Clegg [Mon, 25 Jan 2016 06:00:03 +0000 (01:00 -0500)]
8123: Fix type check to accommodate unicode.
Tom Clegg [Mon, 25 Jan 2016 05:59:46 +0000 (00:59 -0500)]
8123: Use -v,-vv instead of --verbose,--debug.
Tom Clegg [Mon, 25 Jan 2016 02:07:42 +0000 (21:07 -0500)]
8123: Change --include-child-jobs to --skip-child-jobs (default False).
Tom Clegg [Mon, 25 Jan 2016 02:06:48 +0000 (21:06 -0500)]
8123: Explain mysterious memory constraint logic.
Tom Clegg [Mon, 25 Jan 2016 02:05:28 +0000 (21:05 -0500)]
8123: Update test dependencies.
Tom Clegg [Sat, 23 Jan 2016 06:28:38 +0000 (01:28 -0500)]
8123: Include chartjs.js in package.
radhika [Fri, 22 Jan 2016 22:49:08 +0000 (17:49 -0500)]
Merge branch '8178-keepstore-trash-interface' of git.curoverse.com:arvados into 8178-keepstore-trash-interface
Conflicts:
services/keepstore/azure_blob_volume.go
services/keepstore/handler_test.go
services/keepstore/handlers.go
services/keepstore/keepstore.go
services/keepstore/s3_volume.go
services/keepstore/volume_test.go
services/keepstore/volume_unix.go
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.
radhika [Fri, 22 Jan 2016 18:34:07 +0000 (13:34 -0500)]
8198: consider X-Forwarded-For header by way of request.repote_ip while setting node ip address.
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.
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.
Peter Amstutz [Thu, 21 Jan 2016 19:07:11 +0000 (14:07 -0500)]
Merge branch '8008-package-testing' refs #8008
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 [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 08:40:46 +0000 (03:40 -0500)]
8123: Ignore crunchstat "caught signal:" log.
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.
Tom Clegg [Wed, 13 Jan 2016 15:18:17 +0000 (10:18 -0500)]
8123: Fix crunchstat formatting error and resulting crunchstat-summary crash.
Tom Clegg [Thu, 24 Dec 2015 18:51:35 +0000 (13:51 -0500)]
8123: Add option to include stats from child jobs.
Tom Clegg [Wed, 23 Dec 2015 19:09:37 +0000 (14:09 -0500)]
8123: Generate multiple sets of charts when data source is a pipeline instance.
Tom Clegg [Wed, 23 Dec 2015 16:39:14 +0000 (11:39 -0500)]
8123: Add option (--format html) to generate canvasjs charts.
Tom Clegg [Tue, 22 Dec 2015 21:16:15 +0000 (16:16 -0500)]
8123: Aim 5% below GiB memory size boundaries.
Tom Clegg [Mon, 21 Dec 2015 21:53:37 +0000 (16:53 -0500)]
8123: Recommend more economical values for resource_constraints.
Tom Clegg [Mon, 21 Dec 2015 19:42:44 +0000 (14:42 -0500)]
8123: Add --pipeline-instance mode: generate a report for each finished component.
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.