Commit def4508
fix: Avoid race when removing interfaces via NNCP [4.17] (#2628)
* fix: Avoid race when removing interfaces via NNCP [4.17]
Removing an interface that was created using an NNCP, is done by editing the same
NNCP. This sometimes resulted in a race, in which the NNCP success status actually
presented the prvious status, leading to deleting the NNCP before the configuration
was completed, leaving hanging interfaces in the cluster nodes, with
node native interfaces occupied as the ports of these tests-created interfaces.
A recent PR made this failed flow to always occur.
This PR aims to assure that the timestamp of the AVAIALBLE status is updated for
the recent change (the interface removal) and not the previous change (setup or
modification).
* Satisfy pre-commit and flake requirements
* Now I have a clear picture of the changes:
1. **pyproject.toml**: Fixed `requires-python` → `python` key, updated `packaging` version constraint
2. **tox.ini**: Updated basepython from `python3` to `python3.13` across all test environments
3. **poetry.lock**: Regenerated with Poetry 2.2.1 (adds groups/markers metadata)
chore: update Python tooling for Poetry 2.x and Python 3.13
- Fix pyproject.toml: requires-python → python key
- Bump packaging dependency to >=24.0
- Update tox.ini basepython to python3.13
- Regenerate poetry.lock with Poetry 2.2.1 format
---------
Co-authored-by: Yossi Segev <40713576+yossisegev@users.noreply.github.com>
Co-authored-by: Yossi Segev <ysegev@redhat.com>1 parent 362e5b9 commit def4508
5 files changed
Lines changed: 131 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | | - | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
328 | 332 | | |
329 | 333 | | |
330 | 334 | | |
331 | 335 | | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
332 | 366 | | |
333 | 367 | | |
334 | 368 | | |
| |||
0 commit comments