← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2075559] [NEW] 未经授权:您提出的请求需要身份验证

 

Public bug reported:

openstack图形化页面中,创建实例的时候报网页错误,到keystone日志中发现是没有经过授权这个是最主要的错误,openstack的版本是2019年的train

下面是keystone的主要报错日志
keystone.server.flask.application [req-d28c65c7-cfd0-4625-b787-e2657d64fe36 - - - - -] Authorization failed. The request you have made requires authentication. from 192.168.119.128: Unauthorized: The request you have made requires authentication.


下面是nova-api的日志
1:INFO nova.osapi_compute.wsgi.server [req-61f1270f-389d-4907-add3-b31c2024785e 525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb - default default] 192.168.119.128 "POST /v2.1/servers HTTP/1.1" status: 500 len: 755 time: 3.1186621

2:INFO nova.osapi_compute.wsgi.server
[req-173dcf7a-e404-4959-aa35-4bf23840299b
525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
default default] 192.168.119.128 "GET
/v2.1/flavors/detail?is_public=None&limit=21&sort_dir=asc&sort_key=name
HTTP/1.1" status: 200 len: 858 time: 0.6456420

3:INFO nova.osapi_compute.wsgi.server
[req-63f7eb78-6da4-4d6c-8649-7726d61bd478
525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
default default] 192.168.119.128 "GET /v2.1/extensions HTTP/1.1" status:
200 len: 23101 time: 0.0172739

4:INFO nova.osapi_compute.wsgi.server
[req-e90fbfd2-4652-47ed-8e48-ff9e452f0d04
525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
default default] 192.168.119.128 "GET
/v2.1/flavors/0590885e-8466-4c18-90e0-120ce38aecff/os-extra_specs
HTTP/1.1" status: 200 len: 417 time: 0.0464470

5:INFO nova.osapi_compute.wsgi.server
[req-85e225a4-5591-4e73-a04b-c8495f419bbc
525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
default default] 192.168.119.128 "GET
/v2.1/flavors/0590885e-8466-4c18-90e0-120ce38aecff HTTP/1.1" status: 200
len: 855 time: 0.0335319

6:ERROR nova.api.openstack.wsgi
[req-8f66ef9c-d905-45b0-8509-f17491790ae6
525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
default default] Unexpected exception in API method: Unauthorized: The
request you have made requires authentication. (HTTP 401) (Request-ID:
req-d28c65c7-cfd0-4625-b787-e2657d64fe36)

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2075559

Title:
   未经授权:您提出的请求需要身份验证

Status in OpenStack Compute (nova):
  New

Bug description:
  openstack图形化页面中,创建实例的时候报网页错误,到keystone日志中发现是没有经过授权这个是最主要的错误,openstack的版本是2019年的train

  下面是keystone的主要报错日志
  keystone.server.flask.application [req-d28c65c7-cfd0-4625-b787-e2657d64fe36 - - - - -] Authorization failed. The request you have made requires authentication. from 192.168.119.128: Unauthorized: The request you have made requires authentication.

  
  下面是nova-api的日志
  1:INFO nova.osapi_compute.wsgi.server [req-61f1270f-389d-4907-add3-b31c2024785e 525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb - default default] 192.168.119.128 "POST /v2.1/servers HTTP/1.1" status: 500 len: 755 time: 3.1186621

  2:INFO nova.osapi_compute.wsgi.server
  [req-173dcf7a-e404-4959-aa35-4bf23840299b
  525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
  default default] 192.168.119.128 "GET
  /v2.1/flavors/detail?is_public=None&limit=21&sort_dir=asc&sort_key=name
  HTTP/1.1" status: 200 len: 858 time: 0.6456420

  3:INFO nova.osapi_compute.wsgi.server
  [req-63f7eb78-6da4-4d6c-8649-7726d61bd478
  525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
  default default] 192.168.119.128 "GET /v2.1/extensions HTTP/1.1"
  status: 200 len: 23101 time: 0.0172739

  4:INFO nova.osapi_compute.wsgi.server
  [req-e90fbfd2-4652-47ed-8e48-ff9e452f0d04
  525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
  default default] 192.168.119.128 "GET
  /v2.1/flavors/0590885e-8466-4c18-90e0-120ce38aecff/os-extra_specs
  HTTP/1.1" status: 200 len: 417 time: 0.0464470

  5:INFO nova.osapi_compute.wsgi.server
  [req-85e225a4-5591-4e73-a04b-c8495f419bbc
  525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
  default default] 192.168.119.128 "GET
  /v2.1/flavors/0590885e-8466-4c18-90e0-120ce38aecff HTTP/1.1" status:
  200 len: 855 time: 0.0335319

  6:ERROR nova.api.openstack.wsgi
  [req-8f66ef9c-d905-45b0-8509-f17491790ae6
  525b2bb9a9e649beb15da84bbb38ffff c3b2d39335a248b7bfa65672a49eb7eb -
  default default] Unexpected exception in API method: Unauthorized: The
  request you have made requires authentication. (HTTP 401) (Request-ID:
  req-d28c65c7-cfd0-4625-b787-e2657d64fe36)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2075559/+subscriptions