"Expecting to find domain in project" as result of volume retyping

Bug #1788857 reported by koy gwaewion
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned

Bug Description

Hello. I've get follow error in cinder-volume log after attempt to change type of volume:

BadRequest: Expecting to find domain in project. The server could not comply with the request since it is either malformed or other
wise incorrect. The client is assumed to be in error.

More logs here: https://pastebin.com/740kdLXJ

Here dump of request/response sended/received from/to storage node: https://pastebin.com/PrAVsPNP

If i insert domain name in request's body like this:

{
 "auth": {
  "scope": {
   "project": {
    "domain": {
                    "name": "Default"
                },
    "name": "admin"
   }
  },
  "identity": {
   "token": {
    "id": "gAAAAABbf8j-QJirDtLcCXmx0xAtrW-5X-KILCr_Ca53OS9IMzf76MTPn0JNzTLYytNOd73uKLHJhjzfbPd0j4NIPuoRcg9IwOosZflHtPbflCzfd43MQs-f7K7XfqpAkFe6LZIVBYxrzl9tSnPJh9omej0IXx2jq8EVHxb2YTufdDkbx5RHITs"
   },
   "methods": ["token"]
  }
 }
}

keystone return valid response.

Same thing if i use cinder cli tool.

Revision history for this message
koy gwaewion (gwaewion) wrote :

Here is an object created in /usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py in get_auth_ref method:

2018-09-04 16:22:23.336 3652 ERROR keystoneauth.identity.v3.base [req-5febc275-e413-4ca2-bc55-5179d83a3120 eb582cfa8be247fbbf2a275ea9c41085 cbd35110996d4179a4473ca121bbfbd4 - - -] {'project
_name': u'admin', 'unscoped': False, 'reauthenticate': True, '_discovery_cache': {}, '_lock': <Semaphore at 0x82ad790 c=1 _w[0]>, 'auth_ref': None, 'domain_name': None, 'system_scope': None
, 'auth_methods': [<keystoneauth1.identity.v3.token.TokenMethod object at 0x82ad690>], 'auth_url': u'http://os-ctrlr-meta:5000/v3/', 'project_domain_name': None, 'include_catalog': True, 'p
roject_id': None, 'domain_id': None, 'trust_id': None, 'project_domain_id': None}

No project_domain_id or project_domain_name there.

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.