NetApp バックエンド(OpenStack Cinder)の Horizon ダッシュボードに表示されるオーバーサブスクリプション率に一貫性がない
環境
- Cinder NetApp バックエンド(ONTAP ドライバー)
- 複数のコントローラーノードを持つ Cinder
問題
OpenStack CinderでバックエンドとしてNetApp ONTAPを使用する場合、サブスクリプション比率(オーバープロビジョニング比率)がHorizonダッシュボード上の各コンピュート/コントローラーノードで一貫性なく表示されます。各ノードは同じNetAppバックエンドボリュームプールに対して異なる比率を表示するため、混乱やオーバーサブスクリプションのリスクが生じます。
ログ出力の例:
DEBUG cinder.scheduler.filters.capacity_filter [...] Space information for volume creation on host hyd03ctrl01@cinder-netapp#OS_G01_NA01_POOL1 (requested/avail): 600/972.8 backend_passes DEBUG cinder.scheduler.host_manager [...] Consumed 600GB from backend: host 'hyd03ctrl02@cinder-netapp#OS_G01_NA01_POOL1': free_capacity_gb: 372.79, total_capacity_gb: 972.8, allocated_capacity_gb: 600, max_over_subscription_ratio: 1.0, provisioned_capacity_gb: 600 WARNING cinder.scheduler.filters.capacity_filter [...] Insufficient free space for thin provisioning. The ratio of provisioned capacity over total capacity 1.13 has exceeded the maximum oversubscription ratio 1.00 on host hyd03ctrl03@cinder-netapp#OS_G01_NA01_POOL1. ERROR cinder.scheduler.flows.create_volume [...] No valid backend was found. No weighed backends available.
症状:
- Horizon ダッシュボードには、ノードごとにバックエンドごとに異なるサブスクリプション比率が表示されます。
- バックエンドの合計容量を超過してもボリュームの作成が成功することがあります(レポートに一貫性がない場合)。
-
max_over_subscription_ratio=1.0を使用する際のオーバープロビジョニングのリスク。