• Iustin Pop's avatar
    Add OS verification support to cluster verify · b0d85178
    Iustin Pop authored
    
    
    For this, we needed to extend the NodeImage class with a few extra
    variables, and we do a trick in the node verification where we pick the
    first node that returned valid OS data as the reference node, and then
    we compare all other nodes against it.
    
    The checks added are:
    
    - consistency of DiagnoseOS responses
    - multiple paths for an OS
    - inconsistent OS between a reference node and the current node
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    b0d85178
cmdlib.py 358 KB