• Helga Velroyen's avatar
    Trigger renew-crypto on downgrade to 2.11 · 9d1c128b
    Helga Velroyen authored
    With the upcoming changes in 2.12, is it necessary to run
    'gnt-cluster renew-crypto --new-node-certificates'. To
    ensure that our QA runs smoothely, this means that this
    command needs to be added to the post-upgrade hooks of
    2.11. To ensure that it is only run when coming from
    2.12.X or from before 2.11, the utility functions are
    extended by an equal operator for versions.
    
    Note that it is unlikely that 2.11 will get another release,
    so this is mainly to fix our QA. However, users downgrading
    to a previous version of 2.11 will get a nagging message
    to re-run renew-crypto manually.
    Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
    Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
    9d1c128b
version.py 6.25 KB