no such option in group identity: username

Bug #1586129 reported by Aleksey Ruban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Low
Valeriy Ponomaryov

Bug Description

Manila tempest tests throw an exception:
Failed to import test module: manila_tempest_tests.tests.api.admin.test_admin_actions
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/opt/stack/manila/manila_tempest_tests/tests/api/admin/test_admin_actions.py", line 20, in <module>
    from manila_tempest_tests.tests.api import base
  File "/opt/stack/manila/manila_tempest_tests/tests/api/base.py", line 30, in <module>
    from manila_tempest_tests import clients_share as clients
  File "/opt/stack/manila/manila_tempest_tests/clients_share.py", line 24, in <module>
    class Manager(clients.Manager):
  File "/opt/stack/manila/manila_tempest_tests/clients_share.py", line 27, in Manager
    credentials=common_creds.get_configured_credentials('user'),
  File "tempest/common/credentials_factory.py", line 186, in get_configured_credentials
    params[attr] = getattr(_section, attr)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2955, in __getattr__
    return self._conf._get(name, self._group)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2576, in _get
    value = self._do_get(name, group, namespace)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2593, in _do_get
    info = self._get_opt_info(name, group)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2727, in _get_opt_info
    raise NoSuchOptError(opt_name, group)
NoSuchOptError: no such option in group identity: username

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Changed in manila:
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
status: New → In Progress
Changed in manila:
milestone: none → newton-2
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/322895
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=82a571c4861c03512f234d7e1f536900568a9afa
Submitter: Jenkins
Branch: master

commit 82a571c4861c03512f234d7e1f536900568a9afa
Author: Valeriy Ponomaryov <email address hidden>
Date: Mon May 30 18:16:15 2016 +0300

    [Tempest] Stop using deprecated Tempest opts

    Currently, Manila CI Tempest jobs use deprecated options of Tempest.
    Recently, latest version of Tempest dropped them [1].
    Manila CI jobs work ok, because they check out specific version of
    Tempest. But it will work until first Devstack update for some one
    more Tempest feature and then we will be forced to use latest Tempest
    again. Switch to supported approach of setting up users in Tempest,
    to avoid such sudden blockers.

    [1] I8c24cd17f643083dde71ab2bd2a38417c54aeccb

    Change-Id: I5b3ebab52ea1401f6f7a116d1260268eb10ebe0c
    Closes-Bug: #1586129

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/331870

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on manila (stable/mitaka)

Change abandoned by Alan Pevec (<email address hidden>) on branch: stable/mitaka
Review: https://review.openstack.org/331870
Reason: better backport https://review.openstack.org/332883

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/manila 3.0.0.0b2

This issue was fixed in the openstack/manila 3.0.0.0b2 development milestone.

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.