Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add wait loop for multipath devices to appear #67140

Merged
merged 1 commit into from
Aug 11, 2018

Commits on Aug 8, 2018

  1. Add wait loop for multipath devices to appear

    It takes a variable amount of time for the multipath daemon
    to create /dev/dm-XX in response to new LUNs being discovered.
    The old iscsi_util code only discovered the multipath device
    if it was created quickly enough, but in a significant number
    of cases, kubelet would grab one of the individual paths and
    put a filesystem it on before multipathd could construct a
    multipath device.
    
    This change waits for the multipath device to get created for
    up to 10 seconds, but only if the PV actually had more than
    one portal.
    bswartz committed Aug 8, 2018
    Configuration menu
    Copy the full SHA
    39e52dd View commit details
    Browse the repository at this point in the history