ironic/releasenotes/notes/configdrive-format-1b11f6068bd742cd.yaml
Dmitry Tantsur cf5deb77ab Validate configdrive string format
The ironicclient CLI silently passes invalid JSON as a configdrive
blob, which fails much later with a confusing errors. Add an early
check in the API.

Change-Id: Ifa9993a9454fe036a600ca8b855397321d4fbc04
2021-02-17 13:38:04 +01:00

7 lines
228 B
YAML

---
fixes:
- |
Rejects ``configdrive`` that is not a JSON, a URL or a base64 string.
Previously invalid JSON supplied to ironicclient could end up accepted
as a configdrive, which would cause a failure much later.