Skip to content

[BUG] SCS-compatible IaaS tests fail due to entropy test #456

Closed

Description

@mbuechse

Current info

I think we are seeing several problems.

wavestack: bug (resource leak) leading to subsequent failure

The first run didn't produce any logs. Now the relevant part of the log of the second run:

Testing standard Entropy ...
Reference: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Standards/scs-0101-v1-entropy.md ...
INFO: Flavor 'SCS-16V-64-500s_GNa-14h' missing recommended attributes: hw_rng:allowed=True; additionally, missing optional attributes: hw_rng:rate_bytes, hw_rng:rate_period
CRITICAL: ConflictException('ConflictException: 409')
... returned 0 errors, 1 aborts

Locally, with debug output activated, I see this

DEBUG: Exception info
Traceback (most recent call last):
  File "/home/matthiasbuechse/opensrc/scs/standards/Tests/iaas/entropy/./entropy-check.py", line 404, in main
    with TestEnvironment(conn) as env:
  File "/home/matthiasbuechse/opensrc/scs/standards/Tests/iaas/entropy/./entropy-check.py", line 275, in __enter__
    self.prepare()
  File "/home/matthiasbuechse/opensrc/scs/standards/Tests/iaas/entropy/./entropy-check.py", line 167, in prepare
    self.keypair = self.conn.compute.create_keypair(name=KEYPAIR_NAME)
  File "/home/matthiasbuechse/.local/lib/python3.10/site-packages/openstack/compute/v2/_proxy.py", line 628, in create_keypair
    return self._create(_keypair.Keypair, **attrs)
  File "/home/matthiasbuechse/.local/lib/python3.10/site-packages/openstack/proxy.py", line 594, in _create
    return res.create(self, base_path=base_path)
  File "/home/matthiasbuechse/.local/lib/python3.10/site-packages/openstack/resource.py", line 1522, in create
    self._translate_response(response, **response_kwargs)
  File "/home/matthiasbuechse/.local/lib/python3.10/site-packages/openstack/resource.py", line 1271, in _translate_response
    exceptions.raise_from_response(response, error_message=error_message)
  File "/home/matthiasbuechse/.local/lib/python3.10/site-packages/openstack/exceptions.py", line 263, in raise_from_response
    raise cls(
openstack.exceptions.ConflictException: ConflictException: 409: Client Error for url: https://api.wavestack.de:8774/v2.1/os-keypairs, Key pair 'scs-0101-keypair' already exists.

gx-scs: probably incorrect application credentials in Zuul secrets

This error can be seen in every run on gx-scs:

Testing standard Entropy ...
Reference: https://raw.githubusercontent.com/SovereignCloudStack/standards/main/Standards/scs-0101-v1-entropy.md ...
INFO: Image 'Ubuntu 18.04' missing recommended attributes: hw_rng_model=virtio
CRITICAL: HttpException('HttpException: 403')
... returned 0 errors, 1 aborts

I can't reproduce this locally when I use the correct application credentials, so I presume that the Zuul secrets contain some application credential that I once created with the wrong permissions. I will update the Zuul secrets.

Initial comment:

see, e.g.,

Activity

  1. added
    bug
    SCS is standardized
    SCS-VP10
    on Jan 24, 2024
  2. added this to the R6 (v7.0.0) milestone on Jan 24, 2024
  3. self-assigned this
    on Jan 24, 2024
  4. moved this from Backlog to Doing in Sovereign Cloud Stackon Jan 24, 2024
  5. berendt commented on Jan 24, 2024

    @berendt
    Contributor

    @mbuechse Can you please add the interesting parts of the logs here. Sometimes we loose old logs.

  6. mbuechse commented on Jan 24, 2024

    @mbuechse
    ContributorAuthor

    @berendt Yes, I will do that. So far I'm still trying to figure out the interesting parts though ;)

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

Relationships

None yet

Development

No branches or pull requests

Issue actions