Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1526750

Summary: api_v2_admin ignored when running test_associate_floating_ip_with_port_from_another_tenant
Product: Red Hat OpenStack Reporter: Arie Bregman <abregman>
Component: openstack-tempestAssignee: Chandan Kumar <chkumar>
Status: CLOSED DUPLICATE QA Contact: Martin Kopec <mkopec>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 11.0 (Ocata)CC: amuller, apevec, chkumar, chrisw, lhh, nyechiel, parora, slinaber, srevivo
Target Milestone: ---Keywords: AutomationBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1526944 (view as bug list) Environment:
Last Closed: 2017-12-18 10:36:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1526944    
Attachments:
Description Flags
tempest config none

Description Arie Bregman 2017-12-17 07:55:44 UTC
Description of problem:

Although api_v2_admin is set to True in tempest configuration, the following test is being skipped with exception:

neutron.tests.tempest.api.admin.test_floating_ips_admin_actions.FloatingIPAdminTestJSON.test_associate_floating_ip_with_port_from_another_tenant


Version-Release number of selected component (if applicable): Latest OSP 11


How reproducible: 100%


Steps to Reproduce:
1. Deploy OSP 11
2. Set api_v2_admin to true before running tempest
3. Run neutron tests

Actual results:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_floating_ips_admin_actions.py", line 47, in test_associate_floating_ip_with_port_from_another_tenant
    if not CONF.identity_feature_enabled.api_v2_admin:
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 3061, in __getattr__
    return self._conf._get(name, self._group)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2672, in _get
    value = self._do_get(name, group, namespace)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2689, in _do_get
    info = self._get_opt_info(name, group)
  File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2828, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
oslo_config.cfg.NoSuchOptError: no such option api_v2_admin in group [identity-feature-enabled]


Expected results: Test passed successfully

Comment 2 Arie Bregman 2017-12-17 09:36:15 UTC
Created attachment 1368947 [details]
tempest config

Comment 5 Arie Bregman 2017-12-18 10:36:13 UTC

*** This bug has been marked as a duplicate of bug 1511169 ***