Tests with image creation fail when allow_tenant_isolation=True and glance_store=swift
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Undecided
|
Andrey Pavlov |
Bug Description
Tests that create image fail when I set 'allow_
For example - tempest.
10:15:49 Traceback (most recent call last):
10:15:49 File "/var/lib/
10:15:49 self.client.
10:15:49 File "/var/lib/
10:15:49 resp, image = self.get_
10:15:49 File "/var/lib/
10:15:49 resp, body = self.get(
10:15:49 File "/var/lib/
10:15:49 return self.request('GET', url, headers)
10:15:49 File "/var/lib/
10:15:49 resp, resp_body)
10:15:49 File "/var/lib/
10:15:49 raise exceptions.
10:15:49 NotFound: Object not found
10:15:49 Details: {"itemNotFound": {"message": "Image not found.", "code": 404}}
This happens because created user has no 'Member' role in created tenant. (Swift allows to create container only for specific roles)
But tests in object_storage group have this functionality - adding this role for new users.
Changed in tempest: | |
assignee: | nobody → Andrey Pavlov (apavlov-e) |
Fix proposed to branch: master /review. openstack. org/96460
Review: https:/