Merge "Remove seed_hypervisor_libvirt_pool_capacity variable"

This commit is contained in:
Zuul 2020-03-28 00:28:31 +00:00 committed by Gerrit Code Review
commit ea070e42c3
4 changed files with 9 additions and 8 deletions

View File

@ -80,7 +80,6 @@ seed_hypervisor_libvirt_pools:
seed_hypervisor_libvirt_pool: seed_hypervisor_libvirt_pool:
name: "{{ seed_hypervisor_libvirt_pool_name }}" name: "{{ seed_hypervisor_libvirt_pool_name }}"
type: dir type: dir
capacity: "{{ seed_hypervisor_libvirt_pool_capacity }}"
path: "{{ seed_hypervisor_libvirt_pool_path }}" path: "{{ seed_hypervisor_libvirt_pool_path }}"
mode: "{{ seed_hypervisor_libvirt_pool_mode }}" mode: "{{ seed_hypervisor_libvirt_pool_mode }}"
owner: "{{ seed_hypervisor_libvirt_pool_owner }}" owner: "{{ seed_hypervisor_libvirt_pool_owner }}"
@ -89,9 +88,6 @@ seed_hypervisor_libvirt_pool:
# Name of the libvirt storage pool for the seed VM. # Name of the libvirt storage pool for the seed VM.
seed_hypervisor_libvirt_pool_name: "default" seed_hypervisor_libvirt_pool_name: "default"
# Capacity of the libvirt storage pool for the seed VM.
seed_hypervisor_libvirt_pool_capacity: "{{ 75 * 2**30 }}"
# Directory path of the libvirt storage pool for the seed VM. # Directory path of the libvirt storage pool for the seed VM.
seed_hypervisor_libvirt_pool_path: "/var/lib/libvirt/images" seed_hypervisor_libvirt_pool_path: "/var/lib/libvirt/images"

View File

@ -67,9 +67,6 @@
# Name of the libvirt storage pool for the seed VM. # Name of the libvirt storage pool for the seed VM.
#seed_hypervisor_libvirt_pool_name: #seed_hypervisor_libvirt_pool_name:
# Capacity of the libvirt storage pool for the seed VM.
#seed_hypervisor_libvirt_pool_capacity:
# Directory path of the libvirt storage pool for the seed VM. # Directory path of the libvirt storage pool for the seed VM.
#seed_hypervisor_libvirt_pool_path: #seed_hypervisor_libvirt_pool_path:

View File

@ -0,0 +1,8 @@
---
fixes:
- |
Removes the ``seed_hypervisor_libvirt_pool_capacity`` variable, which was
passed to Libvirt through the libvirt-host role when creating a storage
pool. This information is actually ignored by Libvirt, which gathers
capacity and other metadata from the storage backend. See `story 2007381
<https://storyboard.openstack.org/#!/story/2007381>`__ for details.

View File

@ -24,7 +24,7 @@
- src: stackhpc.grafana-conf - src: stackhpc.grafana-conf
version: 1.1.0 version: 1.1.0
- src: stackhpc.libvirt-host - src: stackhpc.libvirt-host
version: v1.3.0 version: v1.3.1
- src: stackhpc.libvirt-vm - src: stackhpc.libvirt-vm
version: v1.10.0 version: v1.10.0
- src: stackhpc.mellanox-switch - src: stackhpc.mellanox-switch