3par drivers terminate connection requires host validation

Bug #1214994 reported by Kurt Martin on 2013-08-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
Kurt Martin

Bug Description

The 3PAR backend does not allow FQDN host names (i.e. foo.rose.hp.com), it requires just foo without the rose.hp.com. The 3PAR driver are checking the host name in the initialize connection but not in the terminate connection. This is causing the following exception:

 HTTPNotFound: Not found (HTTP 404) 17 - host does not exist

Changed in cinder:
assignee: nobody → Kurt Martin (kurt-f-martin)
Changed in cinder:
status: New → Confirmed

Fix proposed to branch: master
Review: https://review.openstack.org/43163

Changed in cinder:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/43163
Committed: http://github.com/openstack/cinder/commit/5a49640ba85adceb9fe91f745e5e374c3ee5a112
Submitter: Jenkins
Branch: master

commit 5a49640ba85adceb9fe91f745e5e374c3ee5a112
Author: Kurt Martin <email address hidden>
Date: Wed Aug 21 09:38:54 2013 -0700

    3PAR driver terminate connection host validation

    The 3PAR backend does not allow FQDN host names (i.e. foo.rose.hp.com),
    instead it requires just foo without the rose.hp.com. This patch will
    now validate the host name in terminate connection by calling
    _safe_host just as it was doing in initialize connection when creating
    the host on the 3PAR backend.

    Change-Id: I52e90938c782473edc93f30672a0530ab5934edc
    Fixes: bug 1214994

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2013-09-05
Changed in cinder:
milestone: none → havana-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2013-10-17
Changed in cinder:
milestone: havana-3 → 2013.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers