Differece behavior about enable subnet service types scenario
Bug #1707381 reported by
zhaobo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Low
|
Unassigned |
Bug Description
Repro:
1. create a net and a subnet 'A-compute-nova' with service_types "compute:nova"
2. exec neutron port-create only specified the network ID/name.
This will return "No valid service subnet for the given device owner."
We only can create port with device_owner "compute:nova"
3. create another subnet 'B-None', no specify the service_types.
Then create port with device_
But why not raise the error just the same with step 2? As we wish the IPs of port always allocate from the subnet which service_type is 'compute:nova'.
Changed in neutron: | |
assignee: | nobody → zhaobo (zhaobo6) |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
assignee: | zhaobo (zhaobo6) → nobody |
To post a comment you must log in.
Yes, fixed_ip always has precedence today, but I think it's correct to check the service type if we have the information.