Can't get keystone token

Bug #1652307 reported by Pavel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Invalid
Undecided
Unassigned

Bug Description

Detailed bug description:
Problem discovered on MOS 9.2 ISO #607

Problem was discovered during execution of KeystonePlugin.get_token: "The request you have made requires authentication. (HTTP 401) (Request-ID: req-79463e9e-573e-48a5-88c6-c16218030290)".

Unfourtunately I have only this rally log:
Traceback (most recent call last):
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/task/runner.py", line 73, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
  File "/opt/rally/plugins/keystone_plugin.py", line 138, in get_token
    self._authenticate()
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/task/atomic.py", line 84, in func_atomic_actions
    f = func(self, *args, **kwargs)
  File "/opt/rally/plugins/keystone_plugin.py", line 35, in _authenticate
    password=password)
  File "/opt/stack/.venv/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/keystoneclient/httpclient.py", line 578, in authenticate
    resp = self.get_raw_token_from_identity_service(**kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/keystoneclient/v2_0/client.py", line 210, in get_raw_token_from_identity_service
    return plugin.get_auth_ref(self.session)
  File "/opt/stack/.venv/lib/python2.7/site-packages/keystoneclient/auth/identity/v2.py", line 89, in get_auth_ref
    authenticated=False, log=False)
  File "/opt/stack/.venv/lib/python2.7/site-packages/keystoneauth1/session.py", line 675, in post
    return self.request(url, 'POST', **kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
    return wrapped(*args, **kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/keystoneauth1/session.py", line 570, in request
    raise exceptions.from_response(resp, method, url)
Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-79463e9e-573e-48a5-88c6-c16218030290)

and this keystone warning:
2016-12-20 14:16:42.938 18108 WARNING keystone.common.wsgi [req-79463e9e-573e-48a5-88c6-c16218030290 - - - - -] Authorization failed. The request you have made requires authentication. from 192.168.0.2

Steps to reproduce:
 Start rally test KeystonePlugin.get_token
Expected results:
 Test passed.
Actual result:
 Test failed.
Reproducibility:
 Iterations: 7, Failures: 7
Workaround:
 n/a
Impact:
 unknown
Description of the environment:
 * 10 virt nodes:
    - CPU: 10 x 2.10 GHz
    - Disks: 2 drives (SSD - 80 GB, HDD - 931.5 GB), 1006.0 GB total
    - Memory: 2 x 16.0 GB x 10, 320.0 GB total
    - NUMA topology: 1 NUMA node
 * Node roles:
   - 3 controllers
   - 7 computes
   - 7 Ceph OSD
 * Details:
   - OS on controllers: Mitaka on Ubuntu 14.04
   - OS on computes: Red Hat 4.8.3-9
   - Compute: KVM
   - Neutron with VLAN segmentation
   - Ceph RBD for volumes (Cinder)
   - Ceph RadosGW for objects (Swift API)
   - Ceph RBD for ephemeral volumes (Nova)
   - Ceph RBD for images (Glance)

Additional information:
 Diagnostic snapshot download link: http://mos-scale-share.mirantis.com/14_env_timmy_23.12.2016/

Tags: keystone
Revision history for this message
Boris Bobrov (bbobrov) wrote :

  Iterations: 7, Failures: 7

Are you sure that you are using the correct credentials? If credentials are invalid, this is the correct behavior. Please check your username, password and project name/id.

I cannot make any diagnosis from what is in the bugreport.

Changed in mos:
status: New → Incomplete
assignee: MOS Keystone (mos-keystone) → nobody
Revision history for this message
Vitaly Sedelnik (vsedelnik) wrote :

Invalid as the bug statys in Incomplete for more than one month

Changed in mos:
status: Incomplete → 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.