Commit 2143559
authored
server: fix volume migration check for local volume attach on a stopped (#9578)
vm
Fixes #8645
When a local storage volume is being attached to a stopped VM, volume
migration is only needed when it is not present on the last host as the
current host ID will be null in the database.
Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>1 parent b78aede commit 2143559
File tree
1 file changed
+5
-1
lines changed- server/src/main/java/com/cloud/storage
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4312 | 4312 | | |
4313 | 4313 | | |
4314 | 4314 | | |
4315 | | - | |
| 4315 | + | |
| 4316 | + | |
| 4317 | + | |
| 4318 | + | |
| 4319 | + | |
4316 | 4320 | | |
4317 | 4321 | | |
4318 | 4322 | | |
| |||
0 commit comments