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

Scale: Noobaa enpoint tests failed with AttributeError #9718

Open
tiffanyn108 opened this issue Apr 24, 2024 · 0 comments
Open

Scale: Noobaa enpoint tests failed with AttributeError #9718

tiffanyn108 opened this issue Apr 24, 2024 · 0 comments
Assignees
Labels
MCG Multi Cloud Gateway / NooBaa related issues scale

Comments

@tiffanyn108
Copy link
Contributor

Test cases:

  • test_scale_endpoint_and_respin_ceph_pods[mgr]
  • test_scale_endpoint_and_respin_ceph_pods[mon]
  • test_scale_endpoint_and_respin_ceph_pods[osd]
  • test_scale_endpoint_and_respin_ceph_pods[mds]

Error logs:

check for aws and IPI platform

    if config.ENV_DATA["platform"].lower() == "aws":
        machinesets_obj = OCP(
            kind=constants.MACHINESETS,
            namespace=constants.OPENSHIFT_MACHINE_API_NAMESPACE,
        )
        m4_xlarge = "m4.xlarge"
        aws_instance = instance_type if instance_type else m4_xlarge
        for machine in machinesets_obj.get()["items"]:
            # Get inputs from existing machineset config.
            region = (
              machine.get("spec")
                .get("template")
                .get("spec")
                .get("providerSpec")
                .get("value")
                .get("placement")
                .get("region")
            )

E AttributeError: 'NoneType' object has no attribute 'get'

ocs_ci/ocs/machine.py:230: AttributeError

@tiffanyn108 tiffanyn108 added scale MCG Multi Cloud Gateway / NooBaa related issues labels Apr 24, 2024
@tiffanyn108 tiffanyn108 self-assigned this Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MCG Multi Cloud Gateway / NooBaa related issues scale
Projects
None yet
Development

No branches or pull requests

1 participant