Commit 3a2bd26
Fix for create template from snapshot (for snapshots on primary storage and storage doesn't support create snapshot to template directly) (apache#11452)
* Fix for create template from snapshot
* code improvements, for create volume from snapshot1 parent b94f914 commit 3a2bd26
File tree
3 files changed
+33
-20
lines changed- engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration
- server/src/main/java
- com/cloud/template
- org/apache/cloudstack/snapshot
3 files changed
+33
-20
lines changedLines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
693 | 693 | | |
| 694 | + | |
| 695 | + | |
694 | 696 | | |
695 | | - | |
696 | 697 | | |
697 | | - | |
698 | 698 | | |
699 | | - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
700 | 705 | | |
701 | 706 | | |
702 | 707 | | |
| |||
710 | 715 | | |
711 | 716 | | |
712 | 717 | | |
713 | | - | |
| 718 | + | |
714 | 719 | | |
715 | 720 | | |
716 | 721 | | |
| |||
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1696 | 1696 | | |
1697 | 1697 | | |
1698 | 1698 | | |
1699 | | - | |
| 1699 | + | |
1700 | 1700 | | |
1701 | 1701 | | |
1702 | | - | |
1703 | | - | |
1704 | | - | |
| 1702 | + | |
| 1703 | + | |
1705 | 1704 | | |
1706 | | - | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
1707 | 1713 | | |
1708 | | - | |
1709 | | - | |
1710 | | - | |
1711 | 1714 | | |
1712 | 1715 | | |
1713 | 1716 | | |
| |||
1717 | 1720 | | |
1718 | 1721 | | |
1719 | 1722 | | |
1720 | | - | |
| 1723 | + | |
1721 | 1724 | | |
1722 | 1725 | | |
1723 | 1726 | | |
| |||
1726 | 1729 | | |
1727 | 1730 | | |
1728 | 1731 | | |
| 1732 | + | |
| 1733 | + | |
1729 | 1734 | | |
1730 | 1735 | | |
1731 | 1736 | | |
| |||
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
217 | 222 | | |
218 | 223 | | |
219 | | - | |
| 224 | + | |
220 | 225 | | |
221 | 226 | | |
222 | 227 | | |
223 | 228 | | |
224 | 229 | | |
225 | 230 | | |
226 | | - | |
227 | 231 | | |
228 | 232 | | |
229 | 233 | | |
230 | 234 | | |
231 | 235 | | |
232 | | - | |
233 | 236 | | |
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
237 | 240 | | |
238 | 241 | | |
239 | 242 | | |
240 | | - | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
245 | 247 | | |
246 | | - | |
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| |||
255 | 256 | | |
256 | 257 | | |
257 | 258 | | |
| 259 | + | |
258 | 260 | | |
259 | 261 | | |
260 | 262 | | |
261 | 263 | | |
262 | 264 | | |
| 265 | + | |
263 | 266 | | |
264 | 267 | | |
265 | 268 | | |
| |||
0 commit comments