Updates:
        Status: Fixed

Comment #2 on issue 995 by [email protected]: gnt-instance grow-disk doesn't check ipolicy
https://code.google.com/p/ganeti/issues/detail?id=995

Fixed in

commit f1e2d4f4f74a6ba4fbb44a831fc0553bcabe8980
Author: Petr Pudlak <[email protected]>
Date:   Fri Nov 28 13:26:44 2014 +0100

    Check disk size ipolicy during "gnt-instance grow-disk"

    If a new disk size doesn't fit the ipolicy and --ignore-ipolicy is
    given, just log warnings. If it's not, fail the operation.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 91f2d02ca44c1d361b76a63f7be4ed0c6e9001b9
Author: Petr Pudlak <[email protected]>
Date:   Tue Dec 2 14:40:54 2014 +0100

    Test function ComputeIPolicyDiskSizesViolation

    The class tests basic properties of the function.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 17daebc30ddb75bdf80fe4d992a3f6cb473ca080
Author: Petr Pudlak <[email protected]>
Date:   Fri Nov 28 13:24:54 2014 +0100

    Add a helper function for checking the disk size ipolicy

    The function only checks the disk-related parameters: The disk sizes
    (and their count) and the disk template.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 128f067936d0c8ae8667111466abfa564fd611d0
Author: Petr Pudlak <[email protected]>
Date:   Thu Nov 27 12:08:53 2014 +0100

    Add "ignore-ipolicy" option to gnt-instance grow-disk

    Unless the option is given, growing disks outside the ipolicy limits
    will fail.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to