-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
2
-
False
-
-
False
-
Not Selected
-
-
-
CoreOS West - Sprint 281
-
0
[3733975817] Upstream Reporter: Yasmin de Souza
Upstream issue status: Closed
Upstream description:
- Problem
After adding single-stack IPv6 support in PR #1909, the `fcos.ignition.misc.empty` kola test started failing. The test verifies that not injecting SSH keys into Ignition works on FCOS, which requires that when no config is provided, Ignition receives empty bytes (not an empty JSON object).
When dual-stack IPv4/IPv6 support was added, the code was changed to validate fetched data by unmarshalling it (see [this change](https://github.com/coreos/ignition/pull/1909/files#diff-b02bc22ca8a3ca32ae4ff99c51bed0d80e3c78234301d235506215d177079902R210)). However, the code then marshals the unmarshalled `types.Config` struct back to JSON before returning it.
- Error Logs
```
— FAIL: fcos.ignition.misc.empty (630.47s)
04:03:30 harness.go:106: TIMEOUT[10m0s]: SSH unsuccessful within allotted timeframe for 2be6b652-338a-4e7e-882a-9c43e4104138.from the console log:
ignition[677]: failed to fetch config: invalid config version (couldn't parse)
ignition[677]: failed to acquire config: invalid config version (couldn't parse)
ignition[677]: Ignition failed: invalid config version (couldn't parse)
```
- links to