← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1533034] [NEW] an unclear error info returned when create an ipv6 subnetpool associate to ipv4 address scope

 

You have been subscribed to a public bug:

[Summary]
an unclear error info returned when create an ipv6 subnetpool associate to ipv4 address scope
[Topo]
devstack all-in-one node

[Description and expect result]
need to return a clear error info

[Reproduceable or not]
reproduceable 

[Recreate Steps]
1) create an ipv4 address scope:
root@45-59:/opt/stack/devstack# neutron address-scope-create   
--tenant-id ebbcdabd911340efa9a3430488c43304 scope1 --ip_version 4
Created a new address_scope:
+------------+--------------------------------------+
| Field      | Value                                |
+------------+--------------------------------------+
| id         | 8902c850-5e2a-41fd-898e-204d9cf0429e |
| ip_version | 4                                    |
| name       | scope1                               |
| shared     | False                                |
| tenant_id  | ebbcdabd911340efa9a3430488c43304     |
+------------+--------------------------------------+

2) create an ipv6 subnetpool associate to the ipv4 address scope, 
an unclear error info returned:
root@45-59:/opt/stack/devstack#  neutron subnetpool-create --pool-prefix 
2::1/64 --address-scope scope1 pool1
Illegal subnetpool association: subnetpool <built-in function id> cannot 
associate with address scope 8902c850-5e2a-41fd-898e-204d9cf0429e because 
subnetpool ip_version is not 4.
root@45-59:/opt/stack/devstack# 

ISSUE: "subnetpool <built-in function id>" is unclear, also not readable
for user

[Configration]
reproduceable bug, no need

[logs]
reproduceable bug, no need

[Root cause anlyze or debug inf]
reproduceable bug

[Attachment]
None

** Affects: neutron
     Importance: Undecided
     Assignee: linwei,wu (wlwwu)
         Status: New

-- 
an unclear error info returned when create an ipv6 subnetpool associate to ipv4 address scope
https://bugs.launchpad.net/bugs/1533034
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.