-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Milestone
Description
I tried creating this dual-stack instance with two ephemeral IP addresses and got the following validation errors:
oxide --insecure --profile local2-admin api "/v1/instances?project=v6" --method POST --input - <<EOF
> {
> "name":"dual-stack",
> "description":"v4 and v6",
> "hostname":"vm",
> "memory":8589934592,
> "ncpus":2,
> "disks":[
> {
> "type":"attach",
> "name":"focal1"
> }
> ],
> "network_interfaces":{
> "type":"default_dual_stack"
> },
> "external_ips": [
> {
> "type": "ephemeral",
> "pool_selector": {"ip_version": "v4", "type": "auto"}
> },
> {
> "type": "ephemeral",
> "pool_selector": {"ip_version": "v6", "type": "auto"}
> }
> ],
> "start":false
> }
> EOF
error; status code: 400 Bad Request
{
"error_code": "InvalidRequest",
"message": "An instance may not have more than 1 ephemeral IP address",
"request_id": "b14c4e45-301b-4cce-9b73-a12ecf56bdaa"
}
error
Metadata
Metadata
Assignees
Labels
No labels