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

Change iSCSI storage connection validation to properly avoid duplications #551

Merged

Commits on Jul 27, 2022

  1. core: change storage connection validation

    Currently when adding/updating iSCSI storage server connection, there
    is a validation that checks if duplicate connection exists by iqn,
    address, port, portal, username and password. This allows creating
    two storage connections with the same iqn, address and port, but with
    different portals.
    
    There cannot be two portals with the same iqn-address-port, thus
    creating two such connections does not make sense and will lead to
    errors connecting the host to storage.
    
    This change fixes the validation to fail add/update request if
    connection with the same iqn-address-port combination exists
    
    Bug-Url: https://bugzilla.redhat.com/2079903
    mkemel committed Jul 27, 2022
    Configuration menu
    Copy the full SHA
    cfbf20d View commit details
    Browse the repository at this point in the history