Return unintelligible message when create ipv6 subnet

Bug #1481554 reported by zhaobo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

version: master

I just create a network , and then create a ipv6 subnet like "neutron subnet-create ${NETWORK_NAME}--ip-version 6 ::/126".
But the server returned the message like:
xxx@xxx:~$ neutron subnet-create ll ::/126 --ip-version 6
Created a new subnet:
+-------------------+--------------------------------------+
| Field | Value |
+-------------------+--------------------------------------+
| allocation_pools | {"start": "::2", "end": "::3"} |
| cidr | ::/126 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | ::1 |
| host_routes | |
| id | 09470e62-8d09-445b-8a6c-6677da23fa17 |
| ip_version | 6 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | 3985d44b-1054-4697-b372-20f06f6fdda7 |
| subnetpool_id | |
| tenant_id | a089ad6018554142a57a9dd705f53c5b |
+-------------------+--------------------------------------+

The gateway ip is the loopback address for ipv6. And the allocation_pools may make the user confused just like 0.0.0.2 / 0.0.0.3 based on ipv4 addresses.

This behavior is so strange, but I think this should be an error.So I need someone to confirm it.

zhaobo (zhaobo6)
Changed in neutron:
assignee: nobody → zhaobo (zhaobo6)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/249205

Changed in neutron:
assignee: zhaobo (zhaobo6) → Gary Kotton (garyk)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Armando Migliaccio (<email address hidden>) on branch: master
Review: https://review.openstack.org/249205
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in neutron:
status: In Progress → Incomplete
assignee: Gary Kotton (garyk) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.