Fixed wrong attached volume's names via Heat

* Added "name" property to the 'volume.heat' template

Change-Id: I18b5e59adeea7ba348366b0975b396dca028102d
Closes-Bug: #1278817
This commit is contained in:
Alexander Ignatov 2014-03-26 16:47:37 +04:00 committed by Gerrit Code Review
parent 1b040dd227
commit f4d426148b
2 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
"%(volume_name)s" : {
"Type" : "OS::Cinder::Volume",
"Properties" : {
"name" : "%(volume_name)s",
"size" : "%(volumes_size)s"
}
},

View File

@ -32,6 +32,7 @@
"cluster-worker-001-volume-0" : {
"Type" : "OS::Cinder::Volume",
"Properties" : {
"name" : "cluster-worker-001-volume-0",
"size" : "10"
}
},
@ -46,6 +47,7 @@
"cluster-worker-001-volume-1" : {
"Type" : "OS::Cinder::Volume",
"Properties" : {
"name" : "cluster-worker-001-volume-1",
"size" : "10"
}
},