Skip to content

Conversation

@mbuechse
Copy link
Contributor

The cases actually warrant FAIL:

  • backup test fails because cinder-backup missing
  • backup test fails because older leftovers cannot be removed (usually a problem with backups or with volumes, but both are supposed to work)
  • swift/s3 test fails because no object-store service is present

Reporting those as ABORT doesn't do the severity of the failures justice.

Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
@mbuechse mbuechse requested review from fkr and garloff January 24, 2026 19:33
Signed-off-by: Matthias Büchse <matthias.buechse@alasca.cloud>
It will abort with an exception if no service of type object-storage is present. As of now, we deem
this behavior adequate.
"""
if 'object-store' not in services_lookup:
Copy link
Contributor

Choose a reason for hiding this comment

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

Do I misunderstand something here or should this be s3 here instead? s3 is listed in the Mandatory IaaS APIs, whereas object-store is listed optional.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I know what you mean, but this test requires the catalog entry to derive the S3 host. We can improve this test if and when a test subject arrives that satisfies our standard without offering object-store.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One alternative would be to have the test succeed, and I'm open to that.

Copy link
Contributor

Choose a reason for hiding this comment

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

As this seems to be related to the issue #1003, let's discuss this in the next SIG Std/Cert.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The thing is that we also have the testcase scs-0123-service-object-store listed as mandatory, which would then be wrong as well, and I have a hunch that this was a conscious decision to make testing possible. We would have to check the supplement.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apart from that, the script used to have this capability:

If the deployment uses s3 only and does not have the object store endpoint specified in the service catalog, the "--s3-endpoint" flag may be used to specify the s3 endpoint. In that case the "--s3-access" and "--s3-access-secret" flags must also be set, to give all necessery credentials to the test suite

This capability has since been removed (I think) because it's hard to automate. However, it can be added in again should the need arise.

That doesn't affect the matter regarding object-store.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, I have to retract the last sentence:

    if s3_credentials:
        mandatory_services.remove("object-store")

this was in the original code and has since been removed 👀

@depressiveRobot
Copy link
Contributor

Case "swift/s3" is also related to #1003.

@mbuechse
Copy link
Contributor Author

@depressiveRobot actually, I think this is more a case of this: #1004

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