Commit f671461
authored
Fix for create template from snapshot (for snapshots on primary storage and storage doesn't support create snapshot to template directly) (#11452)
* Fix for create template from snapshot
* code improvements, for create volume from snapshot1 parent ba2d70a commit f671461
3 files changed
Lines changed: 33 additions & 20 deletions
File tree
- engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration
- server/src/main/java
- com/cloud/template
- org/apache/cloudstack/snapshot
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
| 584 | + | |
| 585 | + | |
584 | 586 | | |
585 | | - | |
586 | 587 | | |
587 | | - | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
590 | 595 | | |
591 | 596 | | |
592 | 597 | | |
| |||
600 | 605 | | |
601 | 606 | | |
602 | 607 | | |
603 | | - | |
| 608 | + | |
604 | 609 | | |
605 | 610 | | |
606 | 611 | | |
| |||
Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1692 | 1692 | | |
1693 | 1693 | | |
1694 | 1694 | | |
1695 | | - | |
| 1695 | + | |
1696 | 1696 | | |
1697 | 1697 | | |
1698 | | - | |
1699 | | - | |
1700 | | - | |
| 1698 | + | |
| 1699 | + | |
1701 | 1700 | | |
1702 | | - | |
| 1701 | + | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
| 1708 | + | |
1703 | 1709 | | |
1704 | | - | |
1705 | | - | |
1706 | | - | |
1707 | 1710 | | |
1708 | 1711 | | |
1709 | 1712 | | |
| |||
1713 | 1716 | | |
1714 | 1717 | | |
1715 | 1718 | | |
1716 | | - | |
| 1719 | + | |
1717 | 1720 | | |
1718 | 1721 | | |
1719 | 1722 | | |
| |||
1722 | 1725 | | |
1723 | 1726 | | |
1724 | 1727 | | |
| 1728 | + | |
| 1729 | + | |
1725 | 1730 | | |
1726 | 1731 | | |
1727 | 1732 | | |
| |||
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