Commit b8f3be6
Set migrate_data.vifs only when using multiple port bindings
In the rocky cycle nova was enhanced to support the multiple
port binding live migration workflow when neutron supports
the binding-extended API extension.
When the migration_data object was extended to support
multiple port bindings, populating the vifs field was used
as a sentinel to indicate that the new workflow should
be used.
In the train release
I734cc01dce13f9e75a16639faf890ddb1661b7eb
(SR-IOV Live migration indirect port support)
broke the semantics of the migrate_data object by
unconditionally populating the vifs field
This change restores the rocky semantics, which are depended
on by several parts of the code base, by only conditionally
populating vifs if neutron supports multiple port bindings.
Co-Authored-By: Sean Mooney <[email protected]>
Change-Id: Ia00277ac8a68a635db85f9e0ce2c6d8df396e0d8
Closes-Bug: #18883951 parent 71bc6fc commit b8f3be6
File tree
5 files changed
+110
-23
lines changed- nova
- compute
- tests
- functional/regressions
- unit/compute
- releasenotes/notes
5 files changed
+110
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7650 | 7650 | | |
7651 | 7651 | | |
7652 | 7652 | | |
7653 | | - | |
7654 | | - | |
7655 | | - | |
7656 | | - | |
7657 | | - | |
7658 | | - | |
7659 | | - | |
7660 | | - | |
7661 | | - | |
| 7653 | + | |
| 7654 | + | |
| 7655 | + | |
| 7656 | + | |
| 7657 | + | |
| 7658 | + | |
| 7659 | + | |
| 7660 | + | |
| 7661 | + | |
| 7662 | + | |
| 7663 | + | |
| 7664 | + | |
7662 | 7665 | | |
7663 | 7666 | | |
7664 | 7667 | | |
| |||
7826 | 7829 | | |
7827 | 7830 | | |
7828 | 7831 | | |
| 7832 | + | |
| 7833 | + | |
7829 | 7834 | | |
7830 | | - | |
| 7835 | + | |
| 7836 | + | |
| 7837 | + | |
7831 | 7838 | | |
7832 | 7839 | | |
7833 | 7840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
70 | 107 | | |
71 | 108 | | |
72 | 109 | | |
| |||
86 | 123 | | |
87 | 124 | | |
88 | 125 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | 126 | | |
96 | | - | |
97 | | - | |
| 127 | + | |
98 | 128 | | |
99 | | - | |
| 129 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
6133 | 6134 | | |
6134 | 6135 | | |
6135 | 6136 | | |
6136 | | - | |
| 6137 | + | |
| 6138 | + | |
| 6139 | + | |
| 6140 | + | |
6137 | 6141 | | |
6138 | 6142 | | |
6139 | 6143 | | |
6140 | 6144 | | |
6141 | 6145 | | |
6142 | 6146 | | |
| 6147 | + | |
| 6148 | + | |
| 6149 | + | |
6143 | 6150 | | |
6144 | 6151 | | |
6145 | 6152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
3374 | 3375 | | |
3375 | 3376 | | |
3376 | 3377 | | |
| 3378 | + | |
3377 | 3379 | | |
3378 | 3380 | | |
| 3381 | + | |
| 3382 | + | |
| 3383 | + | |
3379 | 3384 | | |
3380 | 3385 | | |
3381 | 3386 | | |
| 3387 | + | |
| 3388 | + | |
| 3389 | + | |
3382 | 3390 | | |
3383 | | - | |
3384 | | - | |
3385 | | - | |
| 3391 | + | |
| 3392 | + | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
| 3396 | + | |
| 3397 | + | |
| 3398 | + | |
| 3399 | + | |
| 3400 | + | |
| 3401 | + | |
| 3402 | + | |
| 3403 | + | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
3386 | 3409 | | |
3387 | 3410 | | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
3388 | 3414 | | |
3389 | 3415 | | |
3390 | 3416 | | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
3391 | 3420 | | |
3392 | 3421 | | |
3393 | 3422 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments