Skip to content

[BUG] Misleading error messages in standard flavors check #504

Closed

Description

@Nils98Ar

./scs-compliance-check.py -V v4 ./scs-compatible-iaas.yaml --os-cloud=XYZ

Output:

[...]

DEBUG: Checking 28 flavor specs against 20 flavors
ERROR: Missing mandatory flavor 'SCS-1V-4'
ERROR: Missing mandatory flavor 'SCS-2V-8'
ERROR: Missing mandatory flavor 'SCS-4V-16'
ERROR: Missing mandatory flavor 'SCS-8V-32'
ERROR: Missing mandatory flavor 'SCS-1V-2'
ERROR: Missing mandatory flavor 'SCS-2V-4'
ERROR: Missing mandatory flavor 'SCS-4V-8'
ERROR: Missing mandatory flavor 'SCS-8V-16'
ERROR: Missing mandatory flavor 'SCS-16V-32'
ERROR: Missing mandatory flavor 'SCS-1V-8'
ERROR: Missing mandatory flavor 'SCS-2V-16'
ERROR: Missing mandatory flavor 'SCS-4V-32'
ERROR: Missing mandatory flavor 'SCS-1L-1'
ERROR: Missing mandatory flavor 'SCS-2V-4-20s'

[...]

But the flavors are there:

openstack flavor list -c Name

+----------------+
| Name           |
+----------------+
| SCS-2V-16      |
| SCS-1V-2       |
| SCS-2V-2       |
| SCS-16V-32     |
| SCS-2V-8       |
| SCS-4V-2       |
| SCS-1V-8       |
| SCS-1L-1       |
| SCS-8V-32      |
| SCS-4V-16      |
| SCS-4V-16-100s |
| SCS-4V-8       |
| SCS-8V-16      |
| SCS-1V-4       |
| SCS-8V-32-100s |
| SCS-4V-4       |
| SCS-2V-4       |
| SCS-2V-4-20s   |
| SCS-2V-1       |
| SCS-4V-32      |
+----------------+

And also the v3 test is passing with only INFOs and WARNINGs.

Activity

  1. added
    bug
    on Mar 6, 2024
  2. mbuechse commented on Mar 6, 2024

    @mbuechse
    Contributor

    @Nils98Ar The extra_specs must be set in order for the flavors to be found. Without them, the test will fail either way, even if it found them.

  3. mbuechse commented on Mar 6, 2024

    @mbuechse
    Contributor

    So this is merely a matter of confusing output. We can rededicate this issue to improving the output.

  4. Nils98Ar commented on Mar 6, 2024

    @Nils98Ar
    MemberAuthor

    Sounds good. I will try to re-create the flavors via openstack-flavor-manager while keeping the IDs.

  5. changed the title [-][BUG] Compliance check complains about missing mandatory flavors that are actually there for v4 scs-compatible-iaas test[/-] [+][BUG] Misleading error messages in standard flavors check[/+] on Mar 7, 2024
  6. self-assigned this
    on Mar 7, 2024
  7. added
    SCS is standardized
    SCS-VP10
    on Mar 7, 2024
  8. moved this from Backlog to Doing in Sovereign Cloud Stackon Mar 7, 2024
  9. added a commit that references this issue on Mar 8, 2024
    b020594
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

SCS is standardizedSCS-VP10bug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions