[nova][ptg] Allow compute nodes to use DISK_GB from shared storage RP by using aggregate relationship
On 11/8/2019 2:01 AM, BalÃ¡zs Gibizer wrote:
> * when compute restarts and sees that 'using_shared_disk_provider' =
> True in the config, it adds the its compute RP to the aggregate defined
> in 'sharing_disk_aggregate' Then if it sees that the root RP still has
> DISK_GB inventory then trigger a reshape
Conversely, if the deployer decides to use local disk for the host
again, what are the steps?
1. Change using_shared_disk_provider=False
2. Restart/SIGHUP compute service
3. Compute removes itself from the aggregate
4. Compute reshapes to add DISK_GB inventory on the root compute node
resource provider and moves DISK_GB allocations from the sharing
provider back to the root compute node provider.