Commit 3cbac98
Offline volume migrations for Vmware (#6)
* [CLOUDSTACK-9858] Retirement of midonet plugin (build disabling)
* build problem workaround for conflicting java versions
* research comments
* Adding marvin tests for:
1) simple VM migration with root volume
2) migration of vm and volume for a vm with 2 data disks
3) volume migration of detached disk
* the hypervisor-guru made migrate aware
implemented for vmware
* enable canHandle and implement detached volume migration for vmware
* rename method to fit naming scheme
* command rename to better specify scope of action
* pull up condition for readability
* extract some logic for readability
* fixing the migrate detached volume test
* info on destination cluster
* extra attempts on volume paths
* logging on name not found
* move volume to root after migration
* vmdk-extension
* nuage profile readded
* defensive debug logging
* Fix tag matching in 'migrateVolume'`
* Fix was meant for disk offering replacement and addapted for regular migration
* tagging tests
* reset status on failure
* Revert "nuage profile readded"
This reverts commit 05664c1801163ae2959052fa88cb87303ad93972.
* limit migration jobs
* null pointers during startup
* old style config
* space
* job count method
* job count check
* implement global setting fixes
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* option2: implement throwing exception if async_job table pending jobs exceed the threshold for migration
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* option1: use the sync_queue mechanism to limit execution per DS
This uses the ideal way that must be accepted by the community that uses
the sync_queue + the global setting via API dispatcher to enforce the
number of async API jobs executed for a sync Obj ID (datastore in our cases).
This is much cleaner implementation but involves changes to the
job framework, in case of any regressions we'll partially revert this
commit and aim to fix this during community submission.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* revert option2 - removes check/exception way
We can re-revert this commit to get the changes back
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
* Revert "option1: use the sync_queue mechanism to limit execution per DS"
This reverts commit c4c286c5ac87171018b99fb079e512477fcb0aa0.
* Revert "revert option2 - removes check/exception way"
This reverts commit c610f476ddc9f42ab7e6f7a799c1b825cf96ae99.1 parent b011402 commit 3cbac98
File tree
55 files changed
+1681
-3141
lines changed- api/src
- com/cloud
- hypervisor
- storage
- org/apache/cloudstack/api
- command
- admin/vm
- user/volume
- client
- core
- resources/META-INF/cloudstack/core
- src/com/cloud/agent/api
- storage
- engine
- api/src/org/apache/cloudstack/engine/subsystem/api/storage
- components-api/src/com/cloud/storage
- orchestration
- src
- com/cloud/vm
- org/apache/cloudstack/engine/orchestration
- test/com/cloud/vm
- storage/volume/src/org/apache/cloudstack/storage/volume
- framework
- jobs/src/org/apache/cloudstack/framework/jobs
- dao
- impl
- managed-context
- src/main/java/org/apache/cloudstack/managed/context
- impl
- plugins
- hypervisors/vmware/src
- com/cloud/hypervisor
- guru
- vmware/resource
- org/apache/cloudstack/storage/motion
- network-elements
- f5
- midonet
- resources/META-INF/cloudstack/midonet
- src/com/cloud/network
- element
- guru
- resource
- test/com/cloud/network/element
- scripts/installer/windows
- server
- src/com/cloud
- api
- configuration
- deploy
- hypervisor
- server
- storage
- vm
- test/com/cloud/storage
- test/integration/smoke
- tools/eclipse
- ui/scripts
- utils/src/main/java/com/cloud/utils
- vmware-base/src/com/cloud/hypervisor/vmware/mo
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+1681
-3141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
87 | 97 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
189 | 210 | | |
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
| |||
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 167 | + | |
173 | 168 | | |
174 | 169 | | |
175 | 170 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
122 | 137 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 139 | | |
145 | 140 | | |
146 | 141 | | |
| |||
995 | 990 | | |
996 | 991 | | |
997 | 992 | | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | 993 | | |
1014 | 994 | | |
1015 | 995 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | 137 | | |
139 | 138 | | |
140 | 139 | | |
| |||
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
148 | | - | |
149 | 147 | | |
150 | 148 | | |
151 | 149 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
0 commit comments