Commit 87129c8
authored
Skip UUID resolution for image URLs in conductor config (#1542)
The conductor configuration now preserves image URLs instead of attempting
to resolve them to OpenStack image UUIDs. This allows using external image
sources like HTTP URLs for Ironic deployments.
- Add validators dependency for robust URL/UUID validation
- Replace custom is_uuid() function with validators.uuid()
- Skip image resolution when value is already a URL or UUID
- Affects image_source, deploy_kernel, and deploy_ramdisk parameters
AI-assisted: Claude Code
Signed-off-by: Christian Berendt <[email protected]>1 parent 0599bb8 commit 87129c8
File tree
4 files changed
+60
-21
lines changed- osism/tasks/conductor
4 files changed
+60
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 10 | | |
21 | 11 | | |
22 | 12 | | |
| |||
39 | 29 | | |
40 | 30 | | |
41 | 31 | | |
42 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
43 | 35 | | |
44 | 36 | | |
45 | 37 | | |
| |||
53 | 45 | | |
54 | 46 | | |
55 | 47 | | |
56 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
57 | 51 | | |
58 | 52 | | |
59 | 53 | | |
| |||
68 | 62 | | |
69 | 63 | | |
70 | 64 | | |
71 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
72 | 68 | | |
73 | 69 | | |
74 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
0 commit comments