[Bug 1757350] Re: Sync etcd 3.2.17+dfsg-1 (universe) from Debian unstable (main)

Anthony Fok foka at debian.org
Wed Mar 21 14:56:45 UTC 2018


Hi Simon!

> Does this need to be a Feature Freeze Exception?

Good question!  It might need it, or might not; it is a bit of a
borderline case.

I presume the changes from v3.2.9 to v3.2.17 contain mostly bugfixes, as
new features are being added to the new v3.3.x branch.

> Could you please give more details as to what the new upstream release
contains?

Most certainly!  From
https://github.com/coreos/etcd/blob/master/CHANGELOG-3.2.md:


## [v3.2.17](https://github.com/coreos/etcd/releases/tag/v3.2.17) (2018-03-08)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.16...v3.2.17) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Fixed: v2

- Fix [v2 proxy leaky HTTP
requests](https://github.com/coreos/etcd/pull/9336).

### Fixed: v3

- Fix [server panic on invalid Election Proclaim/Resign HTTP(S) requests](https://github.com/coreos/etcd/pull/9379).
  - Previously, wrong-formatted HTTP requests to Election API could trigger panic in etcd server.
  - e.g. `curl -L http://localhost:2379/v3/election/proclaim -X POST -d '{"value":""}'`, `curl -L http://localhost:2379/v3/election/resign -X POST -d '{"value":""}'`.
- Prevent [overflow by large `TTL` values for `Lease` `Grant`](https://github.com/coreos/etcd/pull/9399).
  - `TTL` parameter to `Grant` request is unit of second.
  - Leases with too large `TTL` values exceeding `math.MaxInt64` [expire in unexpected ways](https://github.com/coreos/etcd/issues/9374).
  - Server now returns `rpctypes.ErrLeaseTTLTooLarge` to client, when the requested `TTL` is larger than *9,000,000,000 seconds* (which is >285 years).
  - Again, etcd `Lease` is meant for short-periodic keepalives or sessions, in the range of seconds or minutes. Not for hours or days!
- Enable etcd server [`raft.Config.CheckQuorum` when starting with `ForceNewCluster`](https://github.com/coreos/etcd/pull/9347).

### Go

- Compile with [*Go
1.8.7*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.16](https://github.com/coreos/etcd/releases/tag/v3.2.16) (2018-02-12)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.15...v3.2.16) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Fixed: v3

- Fix [`mvcc` "unsynced" watcher restore operation](https://github.com/coreos/etcd/pull/9297).
  - "unsynced" watcher is watcher that needs to be in sync with events that have happened.
  - That is, "unsynced" watcher is the slow watcher that was requested on old revision.
  - "unsynced" watcher restore operation was not correctly populating its underlying watcher group.
  - Which possibly causes [missing events from "unsynced" watchers](https://github.com/coreos/etcd/issues/9086).

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.15](https://github.com/coreos/etcd/releases/tag/v3.2.15) (2018-01-22)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.14...v3.2.15) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Fixed: v3

- Prevent [server panic from member update/add](https://github.com/coreos/etcd/pull/9174) with [wrong scheme URLs](https://github.com/coreos/etcd/issues/9173).
- Log [user context cancel errors on stream APIs in debug level with TLS](https://github.com/coreos/etcd/pull/9178).

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.14](https://github.com/coreos/etcd/releases/tag/v3.2.14) (2018-01-11)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.13...v3.2.14) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Improved

- Log [user context cancel errors on stream APIs in debug
level](https://github.com/coreos/etcd/pull/9105).

### Fixed: v3

- Fix [`mvcc/backend.defragdb` nil-pointer dereference on create bucket
failure](https://github.com/coreos/etcd/pull/9119).

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.13](https://github.com/coreos/etcd/releases/tag/v3.2.13) (2018-01-02)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.12...v3.2.13) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Fixed: v3

- Remove [verbose error messages on stream cancel and gRPC info-level logs](https://github.com/coreos/etcd/pull/9080) in server-side.
- Fix [gRPC server panic on `GracefulStop` TLS-enabled server](https://github.com/coreos/etcd/pull/8987).

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.12](https://github.com/coreos/etcd/releases/tag/v3.2.12) (2017-12-20)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.11...v3.2.12) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Dependency

- Upgrade [`google.golang.org/grpc`](https://github.com/grpc/grpc-go/releases/tag) from [**`v1.7.4`**](https://github.com/grpc/grpc-go/releases/tag/v1.7.4) to [**`v1.7.5`**](https://github.com/grpc/grpc-go/releases/tag/v1.7.5).
- Upgrade [`github.com/grpc-ecosystem/grpc-gateway`](https://github.com/grpc-ecosystem/grpc-gateway/releases) from [**`v1.3`**](https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v1.3) to [**`v1.3.0`**](https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v1.3.0).

### Fixed: v3

- Fix [error message of `Revision`
compactor](https://github.com/coreos/etcd/pull/8999) in server-side.

### Added: `clientv3`

- Add [`MaxCallSendMsgSize` and `MaxCallRecvMsgSize`](https://github.com/coreos/etcd/pull/9047) fields to [`clientv3.Config`](https://godoc.org/github.com/coreos/etcd/clientv3#Config).
  - Fix [exceeded response size limit error in client-side](https://github.com/coreos/etcd/issues/9043).
  - Address [kubernetes#51099](https://github.com/kubernetes/kubernetes/issues/51099).
    - In previous versions(v3.2.10, v3.2.11), client response size was limited to only 4 MiB.
  - `MaxCallSendMsgSize` default value is 2 MiB, if not configured.
  - `MaxCallRecvMsgSize` default value is `math.MaxInt32`, if not configured.

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.11](https://github.com/coreos/etcd/releases/tag/v3.2.11) (2017-12-05)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.10...v3.2.11) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Dependency

- Upgrade [`google.golang.org/grpc`](https://github.com/grpc/grpc-
go/releases/tag) from [**`v1.7.3`**](https://github.com/grpc/grpc-
go/releases/tag/v1.7.3) to [**`v1.7.4`**](https://github.com/grpc/grpc-
go/releases/tag/v1.7.4).

### Security, Authentication

See [security
doc](https://github.com/coreos/etcd/blob/master/Documentation/op-
guide/security.md) for more details.

- Log [more details on TLS handshake
failures](https://github.com/coreos/etcd/pull/8952/files).

### Fixed: `clientv3`

- Fix racey grpc-go's server handler transport `WriteStatus` call to prevent [TLS-enabled etcd server crash](https://github.com/coreos/etcd/issues/8904).
- Add [gRPC RPC failure warnings](https://github.com/coreos/etcd/pull/8939) to help debug such issues in the future.

### Documentation

- Remove `--listen-metrics-urls` flag in monitoring document (non-
released in `v3.2.x`, planned for `v3.3.x`).

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


## [v3.2.10](https://github.com/coreos/etcd/releases/tag/v3.2.10) (2017-11-16)

See [code
changes](https://github.com/coreos/etcd/compare/v3.2.9...v3.2.10) and
[v3.2 upgrade
guide](https://github.com/coreos/etcd/blob/master/Documentation/upgrades/upgrade_3_2.md)
for any breaking changes.

### Dependency

- Upgrade [`google.golang.org/grpc`](https://github.com/grpc/grpc-go/releases/tag) from [**`v1.2.1`**](https://github.com/grpc/grpc-go/releases/tag/v1.2.1) to [**`v1.7.3`**](https://github.com/grpc/grpc-go/releases/tag/v1.7.3).
- Upgrade [`github.com/grpc-ecosystem/grpc-gateway`](https://github.com/grpc-ecosystem/grpc-gateway/releases) from [**`v1.2.0`**](https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v1.2.0) to [**`v1.3`**](https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v1.3).

### Security, Authentication

See [security
doc](https://github.com/coreos/etcd/blob/master/Documentation/op-
guide/security.md) for more details.

- Revert [discovery SRV auth `ServerName` with `*.{ROOT_DOMAIN}`](https://github.com/coreos/etcd/pull/8651) to support non-wildcard subject alternative names in the certs (see [issue #8445](https://github.com/coreos/etcd/issues/8445) for more contexts).
  - For instance, `etcd --discovery-srv=etcd.local` will only authenticate peers/clients when the provided certs have root domain `etcd.local` (**not `*.etcd.local`**) as an entry in Subject Alternative Name (SAN) field.

### Fixed: v3

- Replace backend key-value database `boltdb/bolt` with
[`coreos/bbolt`](https://github.com/coreos/bbolt/releases) to address
[backend database size
issue](https://github.com/coreos/etcd/issues/8009).

### Fixed: `clientv3`

- Rewrite balancer to handle [network
partitions](https://github.com/coreos/etcd/issues/8711).

### Go

- Compile with [*Go
1.8.5*](https://golang.org/doc/devel/release.html#go1.8).


** Bug watch added: github.com/coreos/etcd/issues #9374
   https://github.com/coreos/etcd/issues/9374

** Bug watch added: github.com/coreos/etcd/issues #9086
   https://github.com/coreos/etcd/issues/9086

** Bug watch added: github.com/coreos/etcd/issues #9173
   https://github.com/coreos/etcd/issues/9173

** Bug watch added: github.com/coreos/etcd/issues #9043
   https://github.com/coreos/etcd/issues/9043

** Bug watch added: github.com/kubernetes/kubernetes/issues #51099
   https://github.com/kubernetes/kubernetes/issues/51099

** Bug watch added: github.com/coreos/etcd/issues #8904
   https://github.com/coreos/etcd/issues/8904

** Bug watch added: github.com/coreos/etcd/issues #8445
   https://github.com/coreos/etcd/issues/8445

** Bug watch added: github.com/coreos/etcd/issues #8009
   https://github.com/coreos/etcd/issues/8009

** Bug watch added: github.com/coreos/etcd/issues #8711
   https://github.com/coreos/etcd/issues/8711

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1757350

Title:
  Sync etcd 3.2.17+dfsg-1 (universe) from Debian unstable (main)

Status in etcd package in Ubuntu:
  New

Bug description:
  Please sync etcd 3.2.17+dfsg-1 (universe) from Debian unstable (main)

  This version fixes FTBFS problems with etcd 3.2.9+dfsg-3
  and other packages that Build-Depends on it, especially:

      src:docker.io
      src:docker-libkv
      src:golang-github-docker-libnetwork
      src:golang-github-spf13-viper
      src:golang-github-xordataexchange-crypt
      src:skydns

  See https://bugs.debian.org/890939 for more information.

  (Prerequisites: LP:1757351, and _maybe_ LP:1757452)

  Changelog entries since current bionic version 3.2.9+dfsg-3:

  etcd (3.2.17+dfsg-1) unstable; urgency=medium

    * New upstream release.
    * Fix FTBFS:
       - New upstream release contains regenerated gRPC *.pb.go and *.pb.gw.po
         files (since etcd 3.2.10) which build correctly with the updated gPRC
         packages in Debian.
       - Add "export DH_GOLANG_GO_GENERATE := 1" to debian/rules
         to fix FTBFS by re-generating keys.generated.go at build time
         with the same version of codecgen as golang-github-ugorji-go-codec-dev.
         See also https://github.com/coreos/etcd/issues/8715.
       - Add "Depends: golang-github-ugorji-go-codec" to have codecgen available
         at build time.
      (Closes: #890939)
    * Depend on golang-github-coreos-bbolt-dev, replacing
      golang-github-boltdb-bolt-dev, to "address backend database size
      issue" (since etcd 3.2.10)
    * Revert incoming-outgoing-context.patch (commit 5e059fd from upstream)
      which has been backported upstream in commit d62e39d from v3.3 branch
      to v3.2 branch since etcd 3.2.10
    * Add match-ugorji-go-codec-native-time.Time-support.patch, which updates
      etcd/client/keys{,_test}.go to match the latest
      golang-github-ugorji-go-codec-dev to prevent a new "cannot use
      x.Expiration (type *time.Time) as type time.Time in argument to
      r.encDriver.EncodeTime" error, see https://github.com/ugorji/go/issues/224
      and https://github.com/ugorji/go/commit/8badb25.
    * Apply "cme fix dpkg" to debian/control,
      bumping Standards-Version to 4.1.3, setting Priority to optional,
      and adding Testsuite: autopkgtest-pkg-go, etc.
    * Add myself to the list of Uploaders

   -- Anthony Fok <foka at debian.org>  Fri, 16 Mar 2018 18:20:05 -0600

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/etcd/+bug/1757350/+subscriptions



More information about the Ubuntu-sponsors mailing list