Skip to content

Modify OpenStack Powered Compute to make it work #990

Closed

Description

@mbuechse

Apparently, some test cases are not suitable in their present state. This issue is meant as a place for collecting the findings.

  • test_default_domain_exists seems to need admin access (either that or the test must be configured in another way?)
  • test_rebuild_server has issues with a changed SSH cert (which is to be expected, however)

Big thanks to @fzakfeld for finding these things!

Details:

test_default_domain_exists

  • required since June 2022
  • "the test is wrong from any possible perspective. It claims to test "default" domain existence which is in public cloud a) not guaranteed to exist b) no user is going to be able to list other domains. I really believe it was a mistake to add it and very soon the whole interop died so nobody noticed"
  • you can, however, change the domain_id that you test through config (identity.default_domain_id) to "show" details of the domain you use for testing

Maybe the latter item is a solution?

test_rebuild_server

Activity

  1. self-assigned this
    on Sep 17, 2025
  2. added
    question
    on Sep 17, 2025
  3. removed
    question
    on Sep 17, 2025
  4. fzakfeld commented on Sep 17, 2025

    @fzakfeld
    Contributor
  5. mbuechse commented on Sep 17, 2025

    @mbuechse
    ContributorAuthor

    @fzakfeld Wow, that is great work! I suppose other CSPs are now highly indebted to Scaleup!

  6. fzakfeld commented on Sep 18, 2025

    @fzakfeld
    Contributor

    On 2024.1, there is a problem with image uploads from volumes. This will also make some test case fail.

    See:

    https://bugs.launchpad.net/glance/+bug/2065143
    https://bugs.launchpad.net/glance/+bug/1595335

    A quick workaround would be setting this in the glance-api config:

    [DEFAULT]
    show_multiple_locations = True
    show_image_direct_url = True
    

    Please evaluate carefully if this is secure in your environments (e. g. if the backend location can be exposed to the end user)

  7. mbuechse commented on Sep 19, 2025

    @mbuechse
    ContributorAuthor

    What are we to do about this bug? The Launchpad entries seem a bit underdeveloped, even though the latter one is rather old and definitely predates the OpenStack-powered Compute JSON file. What exactly are the security ramifications of this (deprecated!!) option? Or do we want to say that converting a volume into an image is not super important (which feels true to me, but I wouldn't know)?

  8. mbuechse commented on Sep 19, 2025

    @mbuechse
    ContributorAuthor

    Also, I'd still like to know if test_default_domain_exists can be healed by setting the config the way @gtema described.

  9. fzakfeld commented on Sep 19, 2025

    @fzakfeld
    Contributor

    For the Glance "Bug" I saw some other providers in the SCS field do the same. The image upload is something that should definitely work regardless of the tests.

    For the domain test, I'll see if that can be configured or if we need to patch that into tempest as well. Will try that next or the following week

  10. mbuechse commented on Jan 21, 2026

    @mbuechse
    ContributorAuthor

    superseded by #1010 -- just make sure we incorporate the findings from this issue into #1047 !

  11. toothstone commented on Feb 5, 2026

    @toothstone
    Contributor

    For the record, I have another testcase that is not guaranteed to succeed on fully functional, even SCS-IaaS compliant clouds:
    tempest.api.identity.v3.test_catalog.IdentityCatalogTest.test_catalog_standardization[id-56b57ced-22b8-4127-9b8a-565dfb0207e2]

    This one will only succeed if you have a service of type object-store in your catalog, which is not only completely nonsensical and badly implemented (it's supposed to test that IF you have swift, it has the type object-store), but more importantly in clear contradiction to SCS-0123.

    I'll add this to #1047 as well.

  12. mbuechse commented on Feb 5, 2026

    @mbuechse
    ContributorAuthor
  13. toothstone commented on Feb 5, 2026

    @toothstone
    Contributor

    Reopening since so far no one actually incorporated the findings here into #1047 and it would be quite sad if we end up putting out a new standard that contains test cases that we know to be impossible or pointlessly hard to pass.

    Also, there has been no clear resolution here IMHO. My proposal would be to simply drop both test cases since they seem really cursed and of very little value to end users.

  14. mbuechse commented on Feb 5, 2026

    @mbuechse
    ContributorAuthor

    @toothstone I don't see how re-opening this issue ensures that #1047 will be done properly. It needs to be added to the definition of done there. Having a second issue helps nothing.

  15. mbuechse commented on Feb 5, 2026

    @mbuechse
    ContributorAuthor

    but more importantly in clear contradiction to SCS-0123

    Not necessarily. It is well possible that two standards overlap a bit and one is stricter than the other.

  16. toothstone commented on Feb 5, 2026

    @toothstone
    Contributor

    @toothstone I don't see how re-opening this issue ensures that #1047 will be done properly. It needs to be added to the definition of done there. Having a second issue helps nothing.

    It obviously prevents us from forgetting about this whole thing?! Sorry but I consider it a common best practice that you only close issues once a resolution is on track to be released, which usually means a code change has been merged. This is even how GitHub and GitLab treat issues linked to PRs/MRs, they are closed upon merge.

  17. toothstone commented on Feb 5, 2026

    @toothstone
    Contributor

    Also, there has been no clear resolution here IMHO. My proposal would be to simply drop both test cases since they seem really cursed and of very little value to end users.

    To get back to the questions at hand, @fzakfeld @depressiveRobot @mbuechse do you agree?

  18. mbuechse commented on Feb 5, 2026

    @mbuechse
    ContributorAuthor

    @toothstone This issue has been superseded by #1010 (not of my volition), and #1047 is linked to that issue. There is no PR for this issue, nor will there ever be one. End of discussion.

  19. toothstone commented on Feb 5, 2026

    @toothstone
    Contributor

    @toothstone Seems like something that can be configured:

    https://opendev.org/openstack/tempest/src/branch/master/tempest/config.py#L1270

    Good catch, thanks. The test case indeed passes if Swift is explicitly marked as unavailable in the Tempest config, I've updated #1047 accordingly.

  20. mbuechse commented on Feb 5, 2026

    @mbuechse
    ContributorAuthor

    Also, it should be noted that we won't merge #1047 if it hasn't been proven to work. Which does mean it cannot include failing testcases.

  21. depressiveRobot commented on Feb 6, 2026

    @depressiveRobot
    Contributor

    @toothstone @fzakfeld If you think some findings from this issue are not incorporated into #1047, like removing tests from the currently agreed list ('tempest-tests-non-admin.lst') due to reasons or necessary Tempest configuration to comply with our standards, please do so. I agree with @mbuechse to not have different issues on the same topic with fragmentation of findings and comments.

  22. mbuechse commented on Feb 6, 2026

    @mbuechse
    ContributorAuthor

    Yes, I too am wondering why we aren't working on the files in #1047 now that this PR exists! Also, if possible, I'd like to keep the tests in the file and just add a note which tests are exempted from the final evaluation. (Paralleling what we're doing with the Sonobuoy tests; see #1087)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions