Huawei driver can not attach volume to Windows OS

Bug #1229759 reported by zhangchao on 2013-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Undecided
zhangchao
Havana
Undecided
Unassigned

Bug Description

Huawei drivers create Linux hosts by default when attaching volumes. It's necessary to support XenServer, Windows, VMware ESX, etc.

zhangchao (zhangchao010) on 2013-09-24
description: updated
Changed in cinder:
assignee: nobody → zhangchao (zhangchao010)
description: updated
zhangchao (zhangchao010) on 2013-09-24
Changed in cinder:
status: New → In Progress

Reviewed: https://review.openstack.org/48079
Committed: http://github.com/openstack/cinder/commit/b30402eeeddefb855126a32fee15db164684ba8c
Submitter: Jenkins
Branch: master

commit b30402eeeddefb855126a32fee15db164684ba8c
Author: zhangchao010 <email address hidden>
Date: Mon Oct 14 12:47:44 2013 +0800

    Fix Huawei drivers to support other host OSs

    Huawei drivers create Linux hosts by default when attaching volumes.
    This patch makes them also support Windows, XenServer, AIX, etc.
    The default OS is still Linux if it is not specified.

    Users need to configure the host OS types in Huawei XML configuration
    file. They need to set the items like this:
    <Host OSType="Windows" HostIP="10.10.0.1, 10.10.0.2, ..." />
    <Host .../>

    When attaching a volume, the driver will get the host IP from nova. We
    compare that IP with the IP in "HostIP" to get the corresponding OS type.

    Closes-bug: #1229759
    Change-Id: I36fd52b97f790f1c68eaf24b6c12e7ef5d16145d

Changed in cinder:
status: In Progress → Fix Committed

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/52118

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/52449

Thierry Carrez (ttx) on 2013-12-04
Changed in cinder:
milestone: none → icehouse-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2014-04-17
Changed in cinder:
milestone: icehouse-1 → 2014.1

Reviewed: https://review.openstack.org/52449
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=0d9f2594fd98975c38998810b572cb1e223629b8
Submitter: Jenkins
Branch: stable/havana

commit 0d9f2594fd98975c38998810b572cb1e223629b8
Author: zhangchao010 <email address hidden>
Date: Mon Oct 14 12:47:44 2013 +0800

    Fix Huawei drivers to support other host OSs

    Huawei drivers create Linux hosts by default when attaching volumes.
    This patch makes them also support Windows, XenServer, AIX, etc.
    The default OS is still Linux if it is not specified.

    Users need to configure the host OS types in Huawei XML configuration
    file. They need to set the items like this:
    <Host OSType="Windows" HostIP="10.10.0.1, 10.10.0.2, ..." />
    <Host .../>

    When attaching a volume, the driver will get the host IP from nova. We
    compare that IP with the IP in "HostIP" to get the corresponding OS type.

    Closes-bug: #1229759

    (cherry picked from I36fd52b97f790f1c68eaf24b6c12e7ef5d16145d)

    Change-Id: I6792aaae050b126088447a0df65e10c425b84102

tags: added: in-stable-havana
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers