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

Hitting Key error while finding topology mode in RGW service in stretch cluster #10961

Open
udaysk23 opened this issue Dec 2, 2024 · 0 comments

Comments

@udaysk23
Copy link
Contributor

udaysk23 commented Dec 2, 2024

Hitting Key error while finding topology mode in RGW service in stretch cluster

@tier3
    @rgw
    @red_squad
    @stretchcluster_required
    @bugzilla("2209098")
    @polarion_id("OCS-5407")
    def test_rgw_svc_annotations():
    rgw_svc = OCP(
        kind="Service",
        resource_name=constants.RGW_SERVICE_INTERNAL_MODE,
        namespace=config.ENV_DATA["cluster_namespace"],
    )
  assert (
        rgw_svc.get()["metadata"]["annotations"][
            constants.RGW_SVC_TOPOLOGY_ANNOTATIONS.split(":")[0]
        ]
        == "Auto"
    ), f"{constants.RGW_SVC_TOPOLOGY_ANNOTATIONS} not found in the RGW service"
E       KeyError: 'service.kubernetes.io/topology-mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant