How to use a persistent volume?

Asked by Pedro Sousa


can anybody tell me how do I use a persistent volume (cinder) in tacker or if this is supported?


Question information

English Edit question
tacker Edit question
Sridhar Ramaswamy Edit question
Solved by:
Sridhar Ramaswamy
Last query:
Last reply:
Revision history for this message
Best Sridhar Ramaswamy (srics-r) said :

My understanding is you are looking for a support similar to the one provided by HOT template,

.. but using TOSCA template and Tacker.

We don't this support yet. However we can extend Tacker's TOSCA to support this. In fact, in the OASIS TOSCA group, there is a proposal to model "VirtualStorage" for a VDU. I'll register a blueprint for this to see if some one can help to implement this.

Revision history for this message
Pedro Sousa (pgsousa) said :

Thanks Sridhar Ramaswamy, that solved my question.

Revision history for this message
futangw (futangw) said :

Tacker supports creating multiple volumes but only attaches one volume. is this the one you are looking for?
        - local_storage:
             node: lstorage
                type: tosca.relationships.AttachesTo
                device: /dev/vdb

      type: tosca.nodes.BlockStorage
        size: 10 GB

also refer to, looks it's going to solve this too.