oxidecomputer / oxidecomputer/omicron
Firewall rules not updated for renamed VPC
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 572
- Forks
- 97
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 96
Description
Perhaps this should be in https://github.com/oxidecomputer/omicron but I experienced it in the web console so I'll file it here.
- Create a VPC named
k8s. - Observe the default
allow-icmpfirewall rule targets thek8sVPC. - Rename the
k8sVPC toms-k8s. - Observe the default
allow-icmpfirewall rule still targets the oldk8sVPC. - Attempt to update the
allow-icmpfirewall rule.- Delete the
k8sVPC target. - Add the
ms-k8sVPC target. - Click "Update Rule" and note the
Cross-VPC firewall host filter unsupportederror.
- Delete the
- Refresh the VPC firewall rules list and note the
allow-icmprule was indeed updated with thems-k8sVPC target.
Here's what the JavaScript console showed when I clicked "Update Rule".
API URL: https://oxide.sys.r3.oxide-preview.com/v1/vpc-firewall-rules?project=matthewsanabria&vpc=ms-k8s
Request ID: 21647ed3-cef9-4b39-9068-c74fbe1d6925
Error code: InvalidRequest
Error message: Cross-VPC firewall host filter unsupported
I'd do more digging on this but I'm in the middle of a few things. I wanted to file the issue though so I didn't forget about it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the VPC firewall-rules API request shown in the report and reproduce the rename and rule-update sequence. Inspect how the renamed VPC target is handled and verify that the allow-icmp rule points to the new name and can be updated without the Cross-VPC firewall host filter unsupported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- api, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 56/100