Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swift at root URL checks #619

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

TejasC88
Copy link
Contributor

Operations:

  1. Set the rgw_swift_url_prefix
  2. Check the swift at "/" urls
  3. With swift at root set , check S3 access is not allowed in the same namespace.

Pass log : http://magna002.ceph.redhat.com/cephci-jenkins/tchandra/swift_at_root.txt

@TejasC88 TejasC88 requested a review from a team July 24, 2024 12:03
@ckulal ckulal added the RGW RGW label Jul 26, 2024
proto = "https" if config.ssl else "http"
url = f"{proto}://{ip_and_port}/"

log.info("CHeck swift /info")
Copy link
Contributor

@ckulal ckulal Jul 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: typo, please make. a changes in all the places

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done , pls review

Copy link
Contributor

@ckulal ckulal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other than minor comment,
remaining changes looks good

@@ -51,6 +51,7 @@
import traceback

import names
import requests
import v2.lib.manage_data as manage_data
import v2.lib.resource_op as swiftlib
import v2.utils.utils as utils
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the config file : configs/test_swift_at_root.yaml

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done , pls review

Signed-off-by: Tejas Chandramouli <[email protected]>
Copy link
Contributor

@ckulal ckulal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci openshift-ci bot added the lgtm Looks good to me label Jul 31, 2024
Copy link
Contributor

@anrao19 anrao19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

openshift-ci bot commented Aug 6, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: anrao19, ckulal, hmaheswa, TejasC88, viduship

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mergify mergify bot merged commit 8c89735 into red-hat-storage:master Aug 6, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Looks good to me RGW RGW
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants