Comment 8 for bug 1642945

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/400511
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=9b0c5c4318d3c348ce185a3f4dd94f9e803bf264
Submitter: Jenkins
Branch: master

commit 9b0c5c4318d3c348ce185a3f4dd94f9e803bf264
Author: Vijay Ladani <email address hidden>
Date: Mon Nov 21 20:31:08 2016 -0800

    HPE3PAR: handle conflict in iscsi host create

    One of the step in creating iSCSI VLUN is to create a host on array.
    If there are simultaneous requests comming on 3par array for creating
    same host, hpe3parclient creates host for first request and returns
    HTTP 409 conflict error for others, with error code 73, message "host
    WWN/iSCSI name already used by another host". This was not handled by
    3PAR iscsi driver and the HTTP exception would propagate up to volume
    manager where it would log it. This patch addresses issue by catching
    this exception and reusing the same host.

    Change-Id: I102409539c9a691c1816a342163dd049855f57da
    Closes-Bug: #1642945