Cannot set only one of IPv6 attributes while second is None

Bug #1363064 reported by Jacek Świderski
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Invalid
Low
Henry Gessau

Bug Description

When trying to update ipv6 subnet's (created with default None attributes) ra_mode or address_mode operation is not permited (although it should be) :

neutron subnet-create --ip-version 6 Test fe80:8888::/40

+-------------------+---------------------------------------------------------------------------+
| Field | Value |
+-------------------+---------------------------------------------------------------------------+
| allocation_pools | {"start": "fe80:8888::2", "end": "fe80:8888:ff:ffff:ffff:ffff:ffff:fffe"} |
| cidr | fe80:8888::/40 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | fe80:8888::1 |
| host_routes | |
| id | 720d4f22-ee49-40c9-a865-cb31defcf6bd |
| ip_version | 6 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | 124826a4-77ed-4682-8e39-d9090689cb85 |
| tenant_id | d2b47b4677fb4e30ad1961fb7d51ffdc |
+-------------------+---------------------------------------------------------------------------+

neutron subnet-update 720d4f22-ee49-40c9-a865-cb31defcf6bd --ipv6_address_mode slaac
Invalid input for operation: ipv6_ra_mode set to 'None' with ipv6_address_mode set to 'slaac' is not valid. If both attributes are set, they must be the same value.

neutron subnet-update 720d4f22-ee49-40c9-a865-cb31defcf6bd --ipv6_ra_mode slaac
Invalid input for operation: ipv6_ra_mode set to 'slaac' with ipv6_address_mode set to 'None' is not valid. If both attributes are set, they must be the same value.

Clearly as message states leaving one attribute not set should be allowed (also I've found spec where attributes combinations are disccused)
http://specs.openstack.org/openstack/neutron-specs/specs/juno/ipv6-radvd-ra.html

Tags: api ipv6
tags: added: ipv6
Changed in neutron:
assignee: nobody → Jacek Świderski (jacek-swiderski)
status: New → Confirmed
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/117799

Changed in neutron:
status: Confirmed → In Progress
tags: added: api
Changed in neutron:
importance: Undecided → Low
Changed in neutron:
assignee: Jacek Świderski (jacek-swiderski) → Henry Gessau (gessau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Henry Gessau (<email address hidden>) on branch: master
Review: https://review.openstack.org/126781
Reason: As per IRC discussion we ran out of time to get this into Juno.

Akihiro Motoki (amotoki)
Changed in neutron:
assignee: Henry Gessau (gessau) → Jacek Świderski (jacek-swiderski)
Changed in neutron:
assignee: Jacek Świderski (jacek-swiderski) → Henry Gessau (gessau)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Henry Gessau (<email address hidden>) on branch: master
Review: https://review.openstack.org/117799
Reason: Updating of ipv6 mode attributes has been disabled.

Revision history for this message
Henry Gessau (gessau) wrote :

Now invalid because updating of ipv6 mode attributes has been disabled.

Changed in neutron:
status: In Progress → Invalid
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.