-
Notifications
You must be signed in to change notification settings - Fork 14
Description
With the changes introduced in oxidecomputer/omicron#8194, the default rules inserted for any new VPC will need to include the new type
field. Firewall rules GET API are currently failing because of this:
oxide --profile recovery vpc firewall-rules view --project angela --vpc default
error
Invalid Response Payload (b"{"rules":[{"id":"6f952a37-cd87-459e-bd6d-b5f75ddc7a7e","name":"allow-icmp","description":"allow inbound ICMP traffic from anywhere","time_created":"2025-07-10T01:54:42.298715Z","time_modified":"2025-07-10T01:54:42.298715Z","status":"enabled","direction":"inbound","targets":[{"type":"vpc","value":"default"}],"filters":{"hosts":null,"protocols":[{"type":"icmp","value":null}],"ports":null},"action":"allow","priority":65534,"vpc_id":"f9965440-9547-4546-ae37-d423418799ad"},{"id":"f7c1f8ab-fc7e-4441-ae8b-585b4d3dab1c","name":"allow-internal-inbound","description":"allow inbound traffic to all instances within the VPC if originated within the VPC","time_created":"2025-07-10T01:54:42.298711Z","time_modified":"2025-07-10T01:54:42.298711Z","status":"enabled","direction":"inbound","targets":[{"type":"vpc","value":"default"}],"filters":{"hosts":[{"type":"vpc","value":"default"}],"protocols":null,"ports":null},"action":"allow","priority":65534,"vpc_id":"f9965440-9547-4546-ae37-d423418799ad"},{"id":"6c73b5d8-379c-47da-9525-75ca8632fd0b","name":"allow-ssh","description":"allow inbound TCP connections on port 22 from anywhere","time_created":"2025-07-10T01:54:42.298714Z","time_modified":"2025-07-10T01:54:42.298714Z","status":"enabled","direction":"inbound","targets":[{"type":"vpc","value":"default"}],"filters":{"hosts":null,"protocols":[{"type":"tcp"}],"ports":["22"]},"action":"allow","priority":65534,"vpc_id":"f9965440-9547-4546-ae37-d423418799ad"}]}"): unknown varianttype
, expected one ofTCP
,UDP
,ICMP
at line 1 column 353: unknown varianttype
, expected one ofTCP
,UDP
,ICMP
at line 1 column 353