test_add_image_member got MismatchError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
zhufl |
Bug Description
When using pre-provisioned credentials(set use_dynamic_
running test_add_
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise mismatch_error
MismatchError: None not in [u'None']
The reason is:
When using pre-provisioned credentials, validating is done when the client sends its first request. So tenant_id is None before the client sends its first request.
Detail debug info:
(1) tenant_id is None in PUT request
204 PUT http://
(2) member_id is "None" in GET response
200 GET http://
Changed in tempest: | |
status: | New → In Progress |
assignee: | nobody → zhufl (zhu-fanglei) |
Fix proposed to branch: master /review. openstack. org/346564
Review: https:/