RATATOSK
← リリース一覧

CloudNativePGv1.30.2

セキュリティ 2破壊的変更 1非推奨 1重大な修正 6その他の変更 15

CloudNativePGの通知を受け取る

週次メールは確認すべき変更がある週だけ、深刻度がcriticalのセキュリティアドバイザリは即時に届きます。

アップグレード前の確認事項

既知の問題1
PostgreSQL 14のコミュニティによる修正終了

PostgreSQLコミュニティは2026年11月12日にPostgreSQL 14の修正を終了しました。PostgreSQL 15の修正提供は2027年11月11日に終了する予定です。

  - **PostgreSQL 14 is no longer supported**: the PostgreSQL community stopped fixing PostgreSQL 14 on November 12, 2026, and CloudNativePG supports a major version only as long as PostgreSQL does. If you still run PostgreSQL 14, plan an upgrade to a newer major version. PostgreSQL 15 stops receiving fixes on November 11, 2027. ([\#11935](https://github.com/cloudnative-pg/cloudnative-pg/pull/11935)) <!-- 1.28 -->
github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2

セキュリティ2

golang.org/x/net の HTTP/2 と HTML 処理の不具合修正

影響対象影響を受ける golang.org/x/net の HTTP/2 クライアントまたはサーバーの処理経路にトラフィックが到達する構成

アップグレード前は、影響を受ける HTTP/2 の処理経路でクラッシュが発生する、フロー制御のクレジットが二重に返却される、CPU を過剰に消費する、不正なフレーミング関連ヘッダーが正しく処理されない、といった問題がありました。また、ピアがストリームをリセットする、設定フレームを繰り返し送信する、または多数のトレーラーフィールドを宣言すると、メモリーが不釣り合いに多く割り当てられる場合がありました。この更新では、特定の HTML テキスト入力による二次的なメモリー割り当てと、レンダリング後に再解析した際の名前空間の変更も修正されています。x/net/html は間接依存関係であり、CloudNativePG のコードからはインポートされていません。

原文を表示
  - Updated `golang.org/x/net` to v0.62.0, fixing GO-2026-6617, GO-2026-6612, GO-2026-6611, GO-2026-6610, GO-2026-6603, GO-2026-6860 and GO-2026-6866, and bumped the other `golang.org/x` modules. ([\#11631](https://github.com/cloudnative-pg/cloudnative-pg/pull/11631), <!-- 1.28 --> [\#11867](https://github.com/cloudnative-pg/cloudnative-pg/pull/11867)) <!-- 1.28 -->
github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2

新しいデフォルトオペランドイメージとしての PostgreSQL 18.7

影響対象イメージが設定されていない新規クラスター、および imageName または ImageCatalog を使用する既存クラスター
追加の対応既存クラスターで修正を適用するために必要な、imageName または ImageCatalog の 18.7、17.12、16.16、または 15.20 への変更

更新されたイメージでは複数のCVEが修正されていますが、既存クラスターのイメージは自動では変更されません。

原文を表示
  - **PostgreSQL 18.7 is the new default image**: the default operand image is now `18.7-system-trixie`, which fixes several CVEs. It applies only to new clusters that don't set an image. To get the fixes, update existing clusters to 18.7, 17.12, 16.16 or 15.20 by changing `imageName` or the `ImageCatalog`. Before updating, read the [PostgreSQL 18.7 announcement](https://www.postgresql.org/about/news/postgresql-187-1712-1616-1520-1425-and-19-rc-2-released-3442/) and the release notes it links. ([\#11833](https://github.com/cloudnative-pg/cloudnative-pg/pull/11833)) <!-- 1.28 -->
github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2

破壊的変更1

デフォルトの PgBouncer イメージを 1.26.1 に更新

影響対象デフォルトの PgBouncer イメージを使用するプーラー

従来のイメージは 1.25.2 でした。オペレーターをアップグレードすると、これらのプーラーに新しいイメージが展開されます。

原文を表示
  - Updated the default PgBouncer image from 1.25.2 to 1.26.1. Poolers that use the default image roll out the new version when the operator is upgraded. ([\#11571](https://github.com/cloudnative-pg/cloudnative-pg/pull/11571), <!-- 1.28 --> [\#11704](https://github.com/cloudnative-pg/cloudnative-pg/pull/11704)) <!-- 1.28 -->
github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2

非推奨1

barmanObjectStore バックアップの削除に関する警告

影響対象barmanObjectStore メソッドを使用する Backup および ScheduledBackup リソース
削除予定1.32

この警告は、1.32でネイティブな Barman Cloud サポートが削除されることに関するものです。Cluster リソースには、この警告がすでにありました。この警告の動作は前のリリースですでに導入されているため、アップグレードしても新たな警告は追加されません。

原文を表示
  - `Backup` and `ScheduledBackup` resources that use the `barmanObjectStore` method now return an admission warning about the removal of native Barman Cloud support in 1.32, as `Cluster` resources already did. ([\#11725](https://github.com/cloudnative-pg/cloudnative-pg/pull/11725)) <!-- 1.28 -->
github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2

重大な修正6

  • インスタンスマネージャーによる拡張機能イメージ内の存在しないパスの省略
    影響対象デフォルトパスまたはカスタムパスを設定した拡張機能イメージを使用するクラスター

    拡張機能イメージにデフォルトパスまたはカスタムパスで指定されたディレクトリがない場合(lib だけを含むイメージでの share など)、生成される extension_control_path と dynamic_library_path にはそのディレクトリが記載されていましたが、PostgreSQL は警告なしに無視していました。現在は、カスタムパスを含め、存在しないディレクトリはエラーを発生させずに記載されなくなりました。

      - `extension_control_path` and `dynamic_library_path` no longer list directories that are missing from an extension image, for example `share` in an image that ships only `lib`. ([\#11652](https://github.com/cloudnative-pg/cloudnative-pg/pull/11652))
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • WAL 件数・サイズメトリクスのファイル計数の修正
    影響対象WAL 件数・サイズメトリクスを使用する環境(推定)

    メトリクスの集計対象に .partial、.backup、.history ファイルが含まれていました。

      - Fixed the WAL count and size metrics counting `.partial`, `.backup` and `.history` files. ([\#9967](https://github.com/cloudnative-pg/cloudnative-pg/pull/9967)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • 復元した Cluster の primary Lease 処理の修正
    影響対象OwnerReferencesPermissionEnforcement を使用する Cluster

    リソースが残った状態で Cluster を再作成すると、オペレーターが既存の primary Lease を引き継げず、Cluster が Unable to create required cluster objects の状態にとどまることがありました。ステータスのない孤立 PVC を使った復元では、所有者のない古い Lease を引き継ぐと、新しい primary の起動がリース期間分遅れる可能性がありました。オペレーターはその Lease を削除して新しい Lease を作成し、ほかの残存 Lease は引き継ぐようになりました。これらの操作を機能させるには、RBAC を手動管理している場合、leases に対する delete 権限を付与する必要があります。

      - The operator now needs the `delete` permission on `leases`. Users who manage the RBAC manually must add it. ([\#11609](https://github.com/cloudnative-pg/cloudnative-pg/pull/11609))
      - Fixed a `Cluster` recreated over leftover resources (for example by a backup tool) staying in `Unable to create required cluster objects` with `cannot set an ownerRef on a resource you can't delete`. This happened with the `OwnerReferencesPermissionEnforcement` admission plugin. When restoring over orphan PVCs, the operator now deletes the stale primary `Lease`, so the new primary does not wait for it to expire. ([\#11609](https://github.com/cloudnative-pg/cloudnative-pg/pull/11609))
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • バックアップカタログ読み取り時に失敗したバックアップのスキップ
    影響対象barman-cloud でバックアップカタログを読み取る構成(推定)
      - Updated the `barman-cloud` library to v0.7.0, which skips failed backups when it reads the backup catalog. ([\#11711](https://github.com/cloudnative-pg/cloudnative-pg/pull/11711)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • ホットスタンバイパラメーター削除後にレプリカがクラッシュループする問題の修正
    影響対象max_connections などのホットスタンバイパラメーターを使用するレプリカ

    .spec.postgresql.parameters からホットスタンバイパラメーターを削除した後、レプリカが recovery aborted because of insufficient parameter settings というエラーでクラッシュループすることがありました。この状況で、レプリカがこのエラーによってクラッシュループすることはなくなりました。

      - Fixed replicas crash looping with `recovery aborted because of insufficient parameter settings` after a hot standby parameter such as `max_connections` was removed from `.spec.postgresql.parameters`. Contributed by @ichibahn. ([\#11236](https://github.com/cloudnative-pg/cloudnative-pg/pull/11236)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • インスタンスマネージャーがフリーズした postmaster を待ち続ける問題の修正
    影響対象postmaster がフリーズする可能性のある PostgreSQL インスタンス

    フリーズした postmaster が接続を受け付けても応答しない場合、インスタンスマネージャーが無期限に待機し、インスタンスの状態確認、メトリクスエクスポーター、インツリーのバックアップ前チェックがブロックされることがありました。代わりに、ローカル接続の試行は5秒後にタイムアウトするようになりました。

      - Fixed the instance manager waiting forever on a frozen postmaster, one that accepts connections but never answers. This blocked the instance status, the metrics exporter and the check before an in-tree backup. Local connection attempts to PostgreSQL now time out after 5 seconds. ([\#11718](https://github.com/cloudnative-pg/cloudnative-pg/pull/11718)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
その他の変更15
  • スタンバイのアーカイブ復元を契機とするストリーミング再試行
      - **Streaming retry for standbys on the WAL archive**: PostgreSQL tries streaming only after a restore from the archive fails. If WAL is produced about as fast as it is restored, that may never happen, and the standby stays on the archive, with no WAL receiver and no part in synchronous replication. Now, after 30 seconds of continuous restores, WAL restore fails on purpose for 5 seconds, so PostgreSQL tries streaming. These failures are expected and can appear in the logs. ([\#11868](https://github.com/cloudnative-pg/cloudnative-pg/pull/11868)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • S3 互換オブジェクトストア向け SSE-C キーフィールド
      - **Server-side encryption with customer-provided keys (SSE-C)**: added `sseCustomerKey` in `s3Credentials`, to use SSE-C with S3-compatible object stores. It works with backups, WAL archiving and recovery. ([\#11711](https://github.com/cloudnative-pg/cloudnative-pg/pull/11711), <!-- 1.28 --> [\#11775](https://github.com/cloudnative-pg/cloudnative-pg/pull/11775)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • barman-cloud-wal-restore による一時的な接続エラーのログ記録
      - Transient network errors from `barman-cloud-wal-restore` are now logged (needs Barman 3.20.0 or later). ([\#11541](https://github.com/cloudnative-pg/cloudnative-pg/pull/11541)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • オペレーターのデフォルト値設定ログをデバッグレベルに
      - Moved the "Defaulting for ..." operator log lines from info to debug level. They were printed at every reconciliation and hid other messages. ([\#11790](https://github.com/cloudnative-pg/cloudnative-pg/pull/11790)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • kubectl cnpg status の pods/exec 権限不足への対応
          - `kubectl cnpg status` no longer fails without the `pods/exec` permission. It shows `not permitted: requires the pods/exec permission` instead of the size and configuration sections. ([\#11687](https://github.com/cloudnative-pg/cloudnative-pg/pull/11687)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • 稼働中クラスターでのサイドカープラグイン Pod の再作成
      - Fixed enabling a sidecar plugin on a running cluster. Pods created before that have no sidecar until they are recreated. They logged `Unknown plugin` errors, their metrics scrapes failed, and a switchover could wait forever. When the plugin archives WAL, the former primary crash looped until the Pod was deleted. The operator now recreates it. ([\#11858](https://github.com/cloudnative-pg/cloudnative-pg/pull/11858)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • オンラインスナップショットレプリカのWALアーカイブリカバリ修正
      - Fixed replicas created from an online volume snapshot ignoring the `backup_label` and `tablespace_map` stored in the snapshot. PostgreSQL did crash recovery and did not fetch WAL from the archive. ([\#11847](https://github.com/cloudnative-pg/cloudnative-pg/pull/11847)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • ブートストラップ中のレプリカをスタンバイスロット一覧から除外
      - Fixed logical decoding stalling while a new replica was bootstrapping, with `synchronizeLogicalDecoding` enabled. The replica is now left out of `synchronized_standby_slots` (or `pg_failover_slots.standby_slot_names`) until its volume is initialized. ([\#11802](https://github.com/cloudnative-pg/cloudnative-pg/pull/11802)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • CloudNativePG オペレーターによる status.phaseReason の連続更新停止
      - Fixed `status.phaseReason` being cleared and set again several times a second while a cluster was being created or changed, for example "Some instances are not yet active". This loaded the API server and made `kubectl get cluster -w` noisy. ([\#11789](https://github.com/cloudnative-pg/cloudnative-pg/pull/11789))
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • インスタンス状態エラーのネットワーク障害扱いによる再試行の停止
      - Fixed the operator retrying instance status requests that failed with an error response, as if the failure was a network error. During a switchover the old primary answers with an error while PostgreSQL is stopped, so each reconciliation waited about 1.6 seconds, which slowed the whole switchover. Contributed by @kabbydriver. ([\#11793](https://github.com/cloudnative-pg/cloudnative-pg/pull/11793)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • WAL リストアのアーカイブ終端マーカーの適用範囲を修正
      - Fixed WAL restore reporting the end of the WAL archive on the wrong timeline. A replica restored from a snapshot could miss valid WAL of the new timeline and replay WAL of the parent timeline instead. Contributed by @ardentperf. ([\#11133](https://github.com/cloudnative-pg/cloudnative-pg/pull/11133)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • 遅延なしで再キューするプラグインの1秒後の再試行
      - Fixed a `Cluster` not being reconciled again when a plugin asked for a retry without a delay. For example, a `Cluster` created before the `ObjectStore` of the Barman Cloud plugin stayed in `BootstrapPending`. The operator now retries after one second. Contributed by @valeriodelsarto. ([\#11683](https://github.com/cloudnative-pg/cloudnative-pg/pull/11683)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • PostgreSQL 停止中に pg_control からシステム ID を読み取るステータスプローブ
      - Fixed `ConsistentSystemID` turning `False` while PostgreSQL is not running, for example in replica clusters after a demotion, or on fenced instances. The system ID is now read from disk, so it no longer needs a running PostgreSQL. ([\#11645](https://github.com/cloudnative-pg/cloudnative-pg/pull/11645)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • 古い Backup の再調整による重複起動とステータスの巻き戻り防止
      - Fixed a `Backup` that could be started more than once, or moved back to `pending` after it started. ([\#11617](https://github.com/cloudnative-pg/cloudnative-pg/pull/11617)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2
  • ボリュームスナップショットバックアップでクラスター設定を保持するオプション
      - `cnpg` plugin:
          - Fixed `kubectl cnpg backup` for volume snapshot backups: when only one of `--immediate-checkpoint` and `--wait-for-archive` was set, the other option used its default instead of the value in `.spec.backup.volumeSnapshot.onlineConfiguration`. ([\#11733](https://github.com/cloudnative-pg/cloudnative-pg/pull/11733)) <!-- 1.28 -->
    github.com/cloudnative-pg/cloudnative-pg/releases/tag/v1.30.2

整理した内容は AI が作成するため誤っている可能性があり、無保証で提供されます。