Commit d159e66
Tim Smith
CA-414438 Defend against unexpected VDI name_description contents
It seems to be possible for a description field on an LV snapshot to be
converted to a dictionary, which results in attempts to remove it from
the MGT volume failing after it is deleted, which in turn results in a
subsequent scan failing because an LV which should exist does not.
It is not immediately clear how this ended up as a dictionary as it has
been back and forth through XMLRPC a few times, but to solve the
immediate issue, defend against such things.
Signed-off-by: Tim Smith <[email protected]>1 parent fbb729d commit d159e66
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
716 | | - | |
| 715 | + | |
| 716 | + | |
717 | 717 | | |
718 | 718 | | |
719 | 719 | | |
| |||
0 commit comments