Commit ef348c4
committed
only wait for plugtime events in pre-live-migration
This change modifies _get_neutron_events_for_live_migration
to filter the event to just the subset that will be sent
at plug-time.
Currently neuton has a bug where by the dhcp agent
send a network-vif-plugged event during live migration after
we update the port profile with "migrating-to:"
this cause a network-vif-plugged event to be sent for
configuration where vif_plugging in nova/os-vif is a noop.
when that is corrected the current logic in nova cause the migration
to time out as its waiting for an event that will never arrive.
This change filters the set of events we wait for to just the plug
time events.
This backport has squashed the follow up change
I37c712ba9a0ab88c44d10f80da3254ab6c463a68 to remove the unused
migration paramater orginally added by this patch to
_get_neutron_events_for_live_migration
Related-Bug: #1815989
Closes-Bug: #1901707
Change-Id: Id2d8d72d30075200d2b07b847c4e5568599b0d3b
(cherry picked from commit 8b33ac0)1 parent d3968f1 commit ef348c4
File tree
3 files changed
+48
-11
lines changed- nova
- compute
- network
- tests/unit/compute
3 files changed
+48
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8053 | 8053 | | |
8054 | 8054 | | |
8055 | 8055 | | |
8056 | | - | |
8057 | | - | |
| 8056 | + | |
| 8057 | + | |
8058 | 8058 | | |
8059 | 8059 | | |
8060 | 8060 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
472 | 480 | | |
473 | 481 | | |
474 | 482 | | |
| |||
530 | 538 | | |
531 | 539 | | |
532 | 540 | | |
533 | | - | |
534 | | - | |
| 541 | + | |
| 542 | + | |
535 | 543 | | |
536 | 544 | | |
537 | 545 | | |
538 | 546 | | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
539 | 554 | | |
540 | | - | |
541 | | - | |
| 555 | + | |
| 556 | + | |
542 | 557 | | |
543 | 558 | | |
544 | 559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9320 | 9320 | | |
9321 | 9321 | | |
9322 | 9322 | | |
| 9323 | + | |
| 9324 | + | |
| 9325 | + | |
| 9326 | + | |
9323 | 9327 | | |
9324 | 9328 | | |
9325 | 9329 | | |
9326 | 9330 | | |
9327 | 9331 | | |
9328 | | - | |
| 9332 | + | |
| 9333 | + | |
| 9334 | + | |
9329 | 9335 | | |
9330 | 9336 | | |
9331 | 9337 | | |
| |||
9334 | 9340 | | |
9335 | 9341 | | |
9336 | 9342 | | |
9337 | | - | |
| 9343 | + | |
| 9344 | + | |
| 9345 | + | |
| 9346 | + | |
| 9347 | + | |
| 9348 | + | |
| 9349 | + | |
| 9350 | + | |
| 9351 | + | |
| 9352 | + | |
| 9353 | + | |
| 9354 | + | |
9338 | 9355 | | |
9339 | 9356 | | |
9340 | 9357 | | |
| |||
9352 | 9369 | | |
9353 | 9370 | | |
9354 | 9371 | | |
| 9372 | + | |
9355 | 9373 | | |
9356 | 9374 | | |
9357 | | - | |
| 9375 | + | |
| 9376 | + | |
9358 | 9377 | | |
9359 | 9378 | | |
9360 | 9379 | | |
| |||
9384 | 9403 | | |
9385 | 9404 | | |
9386 | 9405 | | |
| 9406 | + | |
9387 | 9407 | | |
9388 | 9408 | | |
9389 | 9409 | | |
9390 | 9410 | | |
9391 | | - | |
| 9411 | + | |
9392 | 9412 | | |
9393 | 9413 | | |
9394 | 9414 | | |
| |||
9532 | 9552 | | |
9533 | 9553 | | |
9534 | 9554 | | |
| 9555 | + | |
9535 | 9556 | | |
9536 | 9557 | | |
9537 | | - | |
| 9558 | + | |
| 9559 | + | |
9538 | 9560 | | |
9539 | 9561 | | |
9540 | 9562 | | |
| |||
0 commit comments