Open
Description
I encountered following error while trying to create a patch for hashicorp/nomad#11085
2024-12-16T22:24:41.186+0200 [ERROR] client.driver_mgr.nomad-driver-podman: failed to inspect container: driver=podman @module=podman error="json: cannot unmarshal object into Go struct field InspectNetworkSettings.NetworkSettings.SecondaryIPAddresses of type string" timestamp="2024-12-16T22:24:41.185+0200"
2024-12-16T22:24:41.186+0200 [DEBUG] client.driver_mgr.nomad-driver-podman: Cleaning up: driver=podman @module=podman container=2274a57f2913499b6ac48cfe6ca56e5418aa8b30e21790827e8bec731fb830da timestamp="2024-12-16T22:24:41.185+0200"
2024-12-16T22:24:41.589+0200 [DEBUG] nomad: memberlist: Stream connection from=127.0.0.1:57566
2024-12-16T22:24:44.847+0200 [DEBUG] http: request complete: method=GET path=/v1/agent/health?type=client duration="216.508µs"
2024-12-16T22:24:49.292+0200 [DEBUG] http: request complete: method=GET path=/v1/agent/health?type=server duration=1.193728ms
2024-12-16T22:24:51.600+0200 [DEBUG] nomad: memberlist: Stream connection from=127.0.0.1:42830
If I do podman inspect on a container with multiple network interface I obtain
...
"NetworkSettings": {
"EndpointID": "",
"Gateway": "172.26.64.1",
"IPAddress": "172.26.64.36",
"IPPrefixLen": 20,
"SecondaryIPAddresses": [
{
"Addr": "172.27.64.31",
"PrefixLength": 24
}
],
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "72:a4:c6:5c:3f:e8",
"AdditionalMACAddresses": [
"72:b9:01:bf:9f:e1"
],
"Bridge": "",
...
Metadata
Metadata
Assignees
Labels
No labels