Back to the news overview

LXD 3.10 リリースのお知らせ

7th of February 2019

はじめに

LXD チームは LXD 3.10 のリリースをお知らせすることにとてもワクワクしています!

このリリースでは、LXD 3.8 で導入された自動スナップショットと組み合わせた、スナップショットの有効期限が導入されています。この機能は、LXD でスナップショットの生成とクリーンアップをバックグラウンドで行う良い方法です。

さらに、コンテナのインポート・エクスポートでの取り組みをいくつか行い、インポート中にストレージプールを指定できるようになりました。

このリリースでは広範囲でバグが修正されました。また、Google ChromeOS グループのおかげで、圧縮・解凍まわりのパフォーマンスが大幅に向上し、進捗レポートも改良されています。

Enjoy!

新機能

スナップショットの有効期限

新たなコンテナ設定オプションである snapshots.expiry で、新たに作成したコンテナに対して(訳注: スナップショットの)有効期限が定義できるようになりました。あるいは、スナップショットを直接編集して、新たに導入した Expiry フィールドを編集できます。

スナップショットが有効期限を迎えると、自動的に削除されます。この機能は、自動スナップショットと組み合わせると特に便利です。

インポート時のプール指定

コンテナのバックアップをどのストレージプールにインポートするかを選択できるようになりました。コマンドラインでは --storage で指定します。

バグ修正

  • client: エラー時に適切にリスナーをリセットするようにしました
  • client: URL の末尾のスラッシュを削除するようにしました
  • doc: btrfs のリサイズについて記載しました
  • doc: backup.md の Typo を修正しました
  • global: {Creation,LastUsed}Date から {Created,LastUsed}At へリネームしました
  • i18n: 重複していた言語を修正しました
  • i18n: 翻訳をWeblate から更新しました
  • i18n: 翻訳テンプレートを更新しました
  • lxc/image: ヘルプを修正しました
  • lxd/apparmor: ルールのデフォルトを調整しました
  • lxd/backups: unpack 時にメモリを浪費しないようにしました
  • lxd/backups: fd のリークを修正しました
  • lxd/backups: バックアップ時にストレージプールがない場合を適切に扱うようにしました
  • lxd/backups: export と import 操作の進捗情報を送るようにしました
  • lxd/cluster: 内部的な設定値を表示しないようにしました
  • lxd/containers: 作成エラーの際はコンテナを常に削除するようにしました
  • lxd/containers: デタッチ時はストレージのアンマウントを呼ぶようにしました
  • lxd/containers: 作成時のディスクの制限値の設定時の問題を修正しました
  • lxd/containers: 自動スナップショットのエラーの扱いを修正しました
  • lxd/containers: musl ライブラリ使用時の lxc.mount.entry の問題を修正しました
  • lxd/containers: 実行中のコンテナのリフレッシュを拒否するようにしました
  • lxd/images: イメージの書き込み中に sha256 を計算するようにしました
  • lxd/images: compressFile の引数として io.Reader、io.Write を取るように変更しました
  • lxd/images: イメージのインポート中の CreateImage のエラーではメタデータを送るようにしました
  • lxd/images: CreateImage のエラーの際にレスポンスにメタデータを送るようにしました
  • lxd/images: イメージ作成時に tar と圧縮を組み合わせたストリームで行うようにしました
  • lxd/internal: GCをトリガーするための内部コマンドを追加しました
  • lxd/migration: アボート時の競合状態を修正しました
  • lxd/migration: 送出側のエラーハンドリングを修正しました
  • lxd/migration: rsync のクラッシュを扱うようにしました
  • lxd/storage/ceph: 存在しない場合にカスタムのマウントポイントを作成するようにしました
  • lxd/storage/ceph: CEPH 設定のバリデーションを修正しました
  • lxd/storage/ceph: アンマウント時に unmap するようにしました
  • lxd/storage/ceph: 作成後にボリュームを unmap するようにしました
  • lxd/storage/lvm: エクスポート時に正しい VG 名を使うようにしました
  • lxd/tasks: タスクで segfaults が起こる可能性があったのを修正しました
  • shared: unpack 中の ProgressTracker サポートを追加しました
  • shared: 進捗メタデータを map にしました
  • shared: 圧縮されていない tarball を適切に扱うようにしました
  • shared/osarch: armhfp (centos) を追加しました
  • storage: ストレージに ioprogress.ProgressTracker を追加しました
  • tests: コンテナのスナップショットテストをさらに追加しました
  • tests: 残ったコンテナを削除するようにしました
  • tests: バックアップのインポートテストを拡張しました
  • tests: Fix bad test in clustering
  • tests: Fix bad test in container local pool handling
  • tests: Fix bad test in external_auth
  • tests: Fix bad test in security
  • tests: Fix bad test in sql
  • tests: Fix bad test in storage
  • tests: Fix container leak
  • tests: Fix negative tests in backup.sh
  • tests: Fix negative tests in basic.sh
  • tests: Fix negative tests in clustering.sh
  • tests: Fix negative tests in config.sh
  • tests: Fix negative tests in container_local_cross_pool_handling.sh
  • tests: Fix negative tests in database_update.sh
  • tests: Fix negative tests in devlxd.sh
  • tests: Fix negative tests in external_auth.sh
  • tests: Fix negative tests in idmap.sh
  • tests: Fix negative tests in incremental_copy.sh
  • tests: Fix negative tests in lxc-to-lxd.sh
  • tests: Fix negative tests in migration.sh
  • tests: Fix negative tests in pki.sh
  • tests: Fix negative tests in projects.sh
  • tests: Fix negative tests in remote.sh
  • tests: Fix negative tests in security.sh
  • tests: Fix negative tests in serverconfig.sh
  • tests: Fix negative tests in snapshots.sh
  • tests: Fix negative tests in sql.sh
  • tests: Fix negative tests in storage_driver_ceph.sh
  • tests: Fix negative tests in storage_local_volume_handling.sh
  • tests: Fix negative tests in storage_profiles.sh
  • tests: Fix negative tests in storage.sh
  • tests: Fix negative tests in storage_snapshots.sh
  • tests: Fix negative tests in storage_volume_attach.sh
  • tests: Fix negative tests in template.sh
  • tests: Fix volume list in cluster
  • tests: Fix volume list in projects
  • tests: fd リークのテストを調整しました

試用環境

この新しい LXD リリースは私たちの デモサービス で利用できます。

ダウンロード

このリリースの tarball は ダウンロードページ から取得できます。