Comment 3 for bug 1674524

Revision history for this message
Hiroaki Kobayashi (hiro-kobayashi) wrote :

Updating or deleting of extra capabilities can break a lease. For example, the following scenario can happen:

1. A user create a lease including a host reservation with 'sample-excap=true'.
2. Then, a hostA which has 'sample-excap=true' in it's extra capability is reserved.
3. After that, the sample-excap is removed from the extra capability of the hostA.
4. Though the hostA does not satisfy 'sample-excap=true', it's still reserved for the user.

So, before updating or deleting extra capabilities, blazar should check if it breaks existing leases.