[nova][ptg] Allow compute nodes to use DISK_GB from shared storage RP by using aggregate relationship

Balázs Gibizer balazs.gibizer at est.tech
Wed Nov 13 14:22:17 UTC 2019



On Fri, Nov 8, 2019 at 08:05, Matt Riedemann <mriedemos at gmail.com> 
wrote:
> 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.
> 
> Correct?

Seems correct to me.

gibi

> 
> --
> 
> Thanks,
> 
> Matt
> 





More information about the openstack-discuss mailing list