No validation of imageRef, snapshot and source volume for cinder volume

Bug #1451713 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
huangtianhua

Bug Description

No validation of imageRef, snapshot and source volume for cinder volume.

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Changed in heat:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/180096
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=a26d1fcdd9568c21282878821b6decc7545616b1
Submitter: Jenkins
Branch: master

commit a26d1fcdd9568c21282878821b6decc7545616b1
Author: huangtianhua <email address hidden>
Date: Tue May 5 18:25:41 2015 +0800

    Add validation for cinder volume

    Add validation for cinder volume, should specify only one
    of snapshot_id, image, source_volid if don't specify backup_id
    or size.
    And also add validation of image and imageRef, user can't
    set both of them.

    Change-Id: Ibc9e75c338d07896e399267c366dd9167229ba9d
    Closes-Bug: #1451713

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to heat (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/183392

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to heat (master)

Reviewed: https://review.openstack.org/183392
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=d52f8c7210eff866dccd6faa5afe8c94c6375e8e
Submitter: Jenkins
Branch: master

commit d52f8c7210eff866dccd6faa5afe8c94c6375e8e
Author: huangtianhua <email address hidden>
Date: Fri May 15 12:52:02 2015 +0800

    Improve cinder volume validation and tests related

    There are some improvement of error message and tests
    related of bug/1451713.

    Change-Id: I78b609c8f1c8d04835f4a9dbadae51e2013fa753
    Related-Bug: #1451713

Thierry Carrez (ttx)
Changed in heat:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-1 → 5.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.