Tempest Rhel7: Slaac attributes are ignored

Bug #1654179 reported by Nagendra Prasath on 2017-01-05
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Won't Fix
Medium
Hampapur Ajay
R3.0.2.x
Won't Fix
Medium
Hampapur Ajay
R3.0.3.x
Won't Fix
Medium
Hampapur Ajay
R3.1
Won't Fix
Medium
Hampapur Ajay
R3.1.1.x
Won't Fix
Medium
Hampapur Ajay
R3.2
Won't Fix
Medium
Hampapur Ajay
R4.0
Won't Fix
High
Sachin Bansal
R4.1
New
Medium
Nagendra Prasath
R5.0
Won't Fix
Medium
Nagendra Prasath
Trunk
New
Medium
Nagendra Prasath

Bug Description

Build: R3.0/51/RHEL/LIBERTY

Testcase: tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_v6_attributes_slaac
https://github.com/openstack/tempest/blob/master/tempest/api/network/test_networks.py#L605

Above testcase creates subnet with Slaac attributes ("ipv6_address_mode": "slaac") but its silent ignored ("ipv6_address_mode": null)

Body: {"subnet": {"network_id": "f2e263b9-6e79-4554-bcb2-d5b87b245bce", "ipv6_ra_mode": "slaac", "gateway_ip": null, "ip_version": 6, "ipv6_address_mode": "slaac", "cidr": "2003::/64"}}
    Response - Headers: {'status': '201', 'content-length': '423', 'connection': 'close', 'date': 'Thu, 05 Jan 2017 08:34:56 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-eeb6a76d-a321-40e7-b909-fe6ac23dd61b'}
        Body: {"subnet": {"name": "", "enable_dhcp": true, "network_id": "f2e263b9-6e79-4554-bcb2-d5b87b245bce", "tenant_id": "9502a5c21ff0420f93362f6498711c92", "dns_nameservers": [], "ipv6_ra_mode": null, "allocation_pools": [{"start": "2003::1", "end": "2003::ffff:ffff:ffff:fffe"}], "gateway_ip": "::", "ipv6_address_mode": null, "ip_version": 6, "host_routes": [], "cidr": "2003::/64", "id": "75180973-95da-4a85-b773-7f724184a14f"}}
}}}

Nagendra Prasath (npchandran) wrote :

Also affects below cases:

tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_v6_attributes_stateful
tempest.api.network.test_networks.NetworksIpV6TestAttrs.test_create_delete_subnet_with_v6_attributes_stateless

Jeba Paulaiyan (jebap) on 2017-01-05
tags: added: config
tags: added: osp8-cert rhos-tempest
removed: rhosp-tempest
information type: Proprietary → Public
Andrey Pavlov (apavlov-e) wrote :

R4.0 + OSPD10, build CB-25 rhel7+newton

same situation.

Traceback (most recent call last):
  File "tempest/api/network/test_networks.py", line 593, in test_create_delete_subnet_with_v6_attributes_slaac
    ipv6_address_mode='slaac')
  File "tempest/api/network/test_networks.py", line 169, in _create_verify_delete_subnet
    self._compare_resource_attrs(subnet, compare_args)
  File "tempest/api/network/test_networks.py", line 141, in _compare_resource_attrs
    expected, exclude_keys))
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: Differences:
  ipv6_ra_mode: expected slaac, actual None
  ipv6_address_mode: expected slaac, actual None

tags: added: certification redhat
tikitavi (rtikitavi) wrote :

R4.1 + OSPD10

same situation

Traceback (most recent call last):
  File "tempest/api/network/test_networks.py", line 593, in test_create_delete_subnet_with_v6_attributes_slaac
    ipv6_address_mode='slaac')
  File "tempest/api/network/test_networks.py", line 169, in _create_verify_delete_subnet
    self._compare_resource_attrs(subnet, compare_args)
  File "tempest/api/network/test_networks.py", line 141, in _compare_resource_attrs
    expected, exclude_keys))
  File "/usr/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
    raise mismatch_error
testtools.matchers._impl.MismatchError: Differences:
  ipv6_ra_mode: expected slaac, actual None
  ipv6_address_mode: expected slaac, actual None

shajuvk (shajuvk) on 2018-05-21
tags: added: rhosp
removed: rhos-tempest
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers