Skip to content

Feature/swift and keystone#1

Open
Lykos153 wants to merge 14 commits into
masterfrom
feature/swift-and-keystone
Open

Feature/swift and keystone#1
Lykos153 wants to merge 14 commits into
masterfrom
feature/swift-and-keystone

Conversation

@Lykos153
Copy link
Copy Markdown
Owner

only for integration tests

sebastianriese and others added 14 commits November 23, 2023 14:12
For the specification see:
<https://github.com/rook/rook/blob/master/design/ceph/object/swift-and-keystone-integration.md>

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
* The parameter lists of the API call have changes, as parameters
  ignored by the RGW Admin Ops API are no longer serialized,
  therefore the mock has to be adapted.

* There is now validation for the user keys that are passed to
  the User get API, therefore things failed when we had empty
  keys in our User proxy object.

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
For the specification see:
<https://github.com/rook/rook/blob/master/design/ceph/object/swift-and-keystone-integration.md>

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
For the specification of the swift and keystone integration see:
<https://github.com/rook/rook/blob/master/design/ceph/object/swift-and-keystone-integration.md>

Signed-off-by: Sebastian Riese <sebastian.riese@cloudandheat.com>
Signed-off-by: Silvio Ankermann <silvio.ankermann@cloudandheat.com>
* roll-out with swift enabled in e2e tests works, but the
  swift/keystone features are not yet actually tested
  (this requires also spinning up a keystone/keystone mock
  to test the integration).
If a config object (e.g. secret) is missing, only the line

> ceph-object-controller: skipping reconcile since operator is still initializing

is logged.

This commit adds the actual error message to the log
No error messages are returned in case of an error.

This commit adds an error message on each possible error.
secret.StringData is a write only construct

This commit takes a different approach to
reading the secrets data.

Signed-off-by: Jan Klippel <jan.klippel@uhurutec.com>
The config option rgw_keystone_revocation_interval no longer exists.

See
- https://docs.ceph.com/en/mimic/radosgw/config-ref/
- https://docs.ceph.com/en/latest/radosgw/config-ref/

Setting it currenlty leads to an incomplete config as not
every config option is set afterwards.

Remove old config option.

Signed-off-by: Jan Klippel <jan.klippel@uhurutec.com>
Failing option sets are not seen in the log.

This commit adds a debug message to the log including
the error message of the failed set.
Additionally it adds a TODO in the code to review the
error handling at setting the configuration options.

Signed-off-by: Jan Klippel <jan.klippel@uhurutec.com>
Currently the api version is not provided in which
case ceph/rgw falls back to v2.

Set the rgw_keystone_adi_version explicitly to 3

Signed-off-by: Jan Klippel <jan.klippel@uhurutec.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants