Gyuho Lee
da52b23542
hack/scripts-dev/docker-dns: add "certs-common-name" test case
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-15 13:33:41 -08:00
Gyuho Lee
9deaee3ea1
Merge pull request #9020 from mkumatag/fix_govet
...
Clientv3: Fix govet error for gotip
2017-12-15 09:21:19 -08:00
Gyuho Lee
b0f0ba7f81
Merge pull request #9018 from gyuho/auth-ctx
...
*: fix server-side lease expire when auth is enabled
2017-12-15 08:57:26 -08:00
Manjunath A Kumatagi
18746c65da
Clientv3: Fix govet error for gotip
2017-12-15 14:31:27 +05:30
Gyuho Lee
9fb7bbdb2d
integration: add "TestV3AuthWithLeaseRevokeWithRoot"
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:50 -08:00
Gyuho Lee
85af65eca9
etcdserver: log lease revoke error
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:20 -08:00
Gyuho Lee
1f191a0e34
auth: use NewIncomingContext for "WithRoot"
...
"WithRoot" is only used within local node, and
"AuthInfoFromCtx" expects token from incoming context.
Embed token with "NewIncomingContext" so that token
can be found in "AuthInfoFromCtx".
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:16 -08:00
Gyuho Lee
014c375099
Merge pull request #9012 from gyuho/gyuho/help-flag
...
etcdmain: display default --enable-v2, --strict-reconfig-check value ("true")
2017-12-14 11:40:52 -08:00
Gyuho Lee
608961b2b8
Merge pull request #8921 from gyuho/fileutil-darwin
...
pkg/fileutil: fix preallocate under OS X kernel
2017-12-14 11:38:17 -08:00
Gyuho Lee
0133d77f0a
etcdmain: display default --enable-v2, --strict-reconfig-check value ("true")
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 11:25:20 -08:00
Gyuho Lee
954ced48d2
Merge pull request #8923 from gyuho/client-logger
...
clientv3: simplify balancer level logging
2017-12-14 10:39:02 -08:00
Gyu-Ho Lee
962976f2df
pkg/fileutil: fix preallocate under OS X kernel
...
ftruncate changes st_blocks, and following fallocate
syscalls would return EINVAL when allocated block size
is already greater than requested block size
(e.g. st_blocks==8, requested blocks are 2).
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-14 10:36:57 -08:00
Xiang Li
b48cf77abb
Merge pull request #9004 from spzala/readme
...
Update Running etcd section for pre-built install of etcd
2017-12-13 09:11:41 -08:00
Sahdev P. Zala
24bdfed0a5
README: update running etcd section for pre-built etcd install
...
The current Running etcd section only shows how to run etcd for installation
with master branch. If user has installed a pre-built release following the
instructions on the release page, the ./bin/etcd won't work to bring up the
etcd. The Getting etcd section covers both, pre-built and master branch,
with recommendation of pre-built usage so the Running etcd section is updated
accordingly.
fix #9003
2017-12-12 22:43:24 -05:00
Xiang Li
c886bda7fe
Merge pull request #8996 from tinx/api_md_typo_fixes
...
Documentation/learning/api.md: fix typos
2017-12-12 13:23:02 -08:00
Andreas Jaekel
5a2b0dd0a7
Documentation/learning/api.md: fix markup, wording
...
A few words have been emphasized to be consistent with the rest
of the text. Also, some phrases have been altered for better
readability.
2017-12-12 18:48:06 +01:00
Xiang Li
b52856d4f6
Merge pull request #8999 from yudai/fix_revision_failed_message
...
compactor: fix error message of Revision compactor
2017-12-11 11:44:13 -08:00
Iwasaki Yudai
06365b6008
compactor: fix error message of Revision compactor
...
Reorder the parameters so that Noticef can output the error properly.
2017-12-11 10:39:00 -08:00
Andreas Jaekel
5f24a81f64
Documentation/learning/api.md: fix typos
2017-12-10 15:18:45 +01:00
Xiang Li
809b0d71a3
Merge pull request #8995 from hexfusion/perl_intergration
...
Documentation/integrations: add Perl clients.
2017-12-09 15:49:03 -08:00
Sam Batschelet
e8ff7da057
Documentation/integrations: add Perl clients.
2017-12-09 13:33:14 -05:00
Gyuho Lee
a7f1fbe00e
Merge pull request #8992 from gyuho/server-close
...
embed: stop *grpc.Server on *serveCtx serve error
2017-12-08 19:54:03 -08:00
Gyuho Lee
e5e109609f
Merge pull request #8991 from gyuho/upgrade-guide
...
Documentation/upgrades: highlight 3.2 breaking change, require gRPC v1.7.4
2017-12-08 18:55:46 -08:00
Gyuho Lee
9744e1ee87
embed: stop *grpc.Server on *serveCtx serve error
...
If serve errors before *grpc.Server is sent to serversC,
it should be closed manually.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-08 18:50:37 -08:00
Gyuho Lee
e3da56a8df
Merge pull request #8985 from gyuho/update-dep
...
*: update bbolt, gogo/protobuf, golang/protobuf, regenerate protobuf
2017-12-08 08:57:49 -08:00
Gyuho Lee
bbd2147248
Merge pull request #8988 from gyuho/error-return
...
embed/config: remove v3.2 TODO
2017-12-08 06:41:12 -08:00
Gyuho Lee
015c04bcf5
Merge pull request #8987 from gyuho/tls-shutdown
...
embed: fix *grpc.Server panic on GracefulStop with TLS-enabled server
2017-12-08 06:40:50 -08:00
Gyuho Lee
4d1a95c18b
bill-of-materials: regenerate
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:31:13 -08:00
Gyuho Lee
bcd5390b35
*: regenerate protobuf, grpc-gateway
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:31:13 -08:00
Gyuho Lee
b1c6b98f3d
scripts/genproto: require protoc 3.5, update gogo/proto
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:31:13 -08:00
Gyuho Lee
749a9b14e0
vendor: upgrade bbolt, gogo/protobuf, golang/protobuf
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:31:13 -08:00
Gyuho Lee
605dcb57a8
Documentation/upgrades: highlight 3.2 breaking change, require gRPC v1.7.4
...
There's already a section called "Server upgrade checklists" below.
Instead, highlight the listen URLs change as a breaking change in
server. Also update 3.2 and 3.3 gRPC requirements as v1.7.4.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 21:28:19 -08:00
Gyuho Lee
af5a5b3998
embed/config: remove v3.2 TODO
...
Already returning error.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 20:37:12 -08:00
Gyuho Lee
9bd07c91de
integration: test GracefulStop on secure embedded server
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 20:36:31 -08:00
Gyuho Lee
552b58dcfb
embed: only gracefully shutdown insecure grpc.Server
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 20:36:31 -08:00
James Phillips
e39915feec
embed: Avoid panic when shutting down gRPC Server
...
Avoid panic when stopping gRPC Server if TLS configuration is present.
Provided solution (attempts to) implement suggestion from gRPC team: https://github.com/grpc/grpc-go/issues/1384#issuecomment-317124531 .
Fixes #8916
2017-12-07 20:36:31 -08:00
Gyuho Lee
fc2eecf90c
Merge pull request #8989 from gyuho/upgrade-doc
...
Document/upgrades: add server upgrade checklists on listen URLs
2017-12-07 19:59:59 -08:00
Gyuho Lee
3d44e55179
Document/upgrades: add server upgrade checklists on listen URLs
...
Address https://github.com/coreos/etcd/issues/6336#issuecomment-246486183
about https://github.com/coreos/etcd/pull/7236 .
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 17:45:26 -08:00
Gyuho Lee
5b059acd65
semaphore: run upgrade tests against v3.2.11
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-07 14:35:41 -08:00
Gyuho Lee
a2256a6f24
hack/scripts-dev/Makefile: grpc-proxy with additional metrics URLs
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-06 14:24:11 -08:00
Gyuho Lee
84e51cabc7
hack/scripts-dev: fix Makefile quoute, configurable host tmp dir
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-06 11:16:53 -08:00
Gyu-Ho Lee
805bcc828c
clientv3: simplify V(4) logger with Lvl(4)
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-05 18:48:36 -08:00
Gyu-Ho Lee
5d2461e139
clientv3: add Lvl method to logger
...
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-12-05 18:48:36 -08:00
Gyuho Lee
7e0fc6136e
Merge pull request #8970 from gyuho/coverage-test
...
*: fix coverage test failures
2017-12-05 18:38:51 -08:00
Gyuho Lee
f97233d206
test: log gocovmerge merging
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-05 17:18:13 -08:00
Gyuho Lee
89047ab598
Dockerfile-test: use forked version of gocovmerge
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-05 17:17:17 -08:00
Gyuho Lee
1b280a5a12
Merge pull request #8978 from gyuho/clientv3-doc
...
clientv3/config.go: remove extra whitespace character
2017-12-05 17:14:38 -08:00
Gyuho Lee
944bd2c663
hack/scripts-dev: remove "Too many goroutines" in test scripts
...
Otherwise, "pkg/testutil" unit tests will trigger test failures.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-05 17:02:24 -08:00
Gyuho Lee
3a941c9455
clientv3/config.go: remove extra whitespace character
...
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-05 14:51:36 -08:00
Gyuho Lee
3ecd69cc2f
hack/scripts-dev: mount host /tmp for Jenkins tests
...
Was running out of disk space in Jenkins.
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-05 10:09:32 -08:00