Support persistent block storage in Tacker TOSCA

Registered by Sridhar Ramaswamy on 2016-07-22

Currently Tacker doesn't have many storage related attributes exposed in its TOSCA template. VDU disk_size is probably the only thing. We don't have support for attaching a persistent virtual storage (like Cinder volume) to Tacker VDU (as requested in [1]). This blueprint is to implement such a support by using Heat's Cinder volume support [2]

[1] https://answers.launchpad.net/tacker/+question/300814
[2] https://github.com/openstack/heat-templates/blob/96a0b0b3d2af2dbb266d1048360ab6992dc3ca3e/hot/vm_with_cinder.yaml

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Sridhar Ramaswamy
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Hi,
It seems that this BP can be closed, the attachment of Cinder volumes works (at least in Tacker 0.7.0).
The mentionned Bug #1649459 is wider an concern the boot from Cinder.

A sample that works:
- Create a VDU node with the requirement:
      requirements:
        - local_storage:
            node: my_storage
            relationship:
              type: AttachesTo
              properties:
                location: /dev/test

- Add a storage node:
    my_storage:
      type: BlockStorage
      properties:
        size: 1 GB

BR.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.