enable validation fails when swift endpoint is available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Snap |
Triaged
|
Critical
|
Unassigned |
Bug Description
Recent changes to Sunbeam enable radosgw in microceph.
sunbeam enable validation then fails because of missing role
```
Traceback (most recent call last):
File "/lib/python3.
resources.
File "/lib/python3.
resources.
File "/lib/python3.
credentials = self._create_
File "/lib/python3.
self.
File "/lib/python3.
raise lib_exc.
tempest.
Details: No "ResellerAdmin" role found
```
Changed in snap-openstack: | |
status: | New → Triaged |
importance: | Undecided → Critical |
It appears that tempest account generator will try to generate an account with this role if it detects swift support[0]. It's currently crashing because the role doesn't exist. Some things we could investigate:
- what is this role for? Maybe it should exist in the deployment? Perhaps we can add it through microceph radosgw.
- we could disable swift user account support (probably by manually turning off swift support in tempest.conf)
- we could contribute to tempest to add an option to turn off just the ResellerAdmin role
[0]: https:/ /opendev. org/openstack/ tempest/ src/commit/ 1be8cabb46b9363 37fdc759d3033da 52bf8a89f0/ tempest/ cmd/account_ generator. py#L159- L161