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

KIM: Exploratory testing #351

Open
13 of 23 tasks
akgalwas opened this issue Aug 22, 2024 · 3 comments
Open
13 of 23 tasks

KIM: Exploratory testing #351

akgalwas opened this issue Aug 22, 2024 · 3 comments
Assignees

Comments

@akgalwas
Copy link
Contributor

akgalwas commented Aug 22, 2024

We need to perform testing of the current implementation to:

  • Spot defects in the current implementation
  • Verify what is missing in the current implementation
  • Walk through the full flow: creating new clusters, migrating clusters
  • Assess how far we are from being "production ready"

Proposed tests

  • Make e2e tests for AWS (26.09.2024)
    • Functional tests
      • Create clusters with various settings
      • Verify Audit log is configured properly Problems on DEV : according to the status configured correctly but we were not able to find entries for the specific cluster in the Audit log tool
      • Verify administrator list is set correctly
      • Verify OIDC is configured properly (new implementation not merged yet)
      • Apply couple of Runtime CRs a once - its expected to have all shoots created
      • Prepare series of updates (purpose, workers.volume.size, kubernetes.version, machine.type) Problem: Updating machine version to c1.xlarge failed ; setting it back for correct value in Runtime CR didn't cause shoot spec to reconcile to the correct value (shoot was in error state, incorrect machine type was set, runtime was in Pending state)
      • Prepare runtime with incorrect values to see how the error status will be set
    • Lifecycle tests
      • Create Runtime CR, update and delete. Repeat couple of times.
      • Perform two separate updates, one by one in some short time
  • Verify migration tool works correctly. Compare shoot files that were created after migrator (existent shoot->migrator->Runtime CR->new shoot) to make sure migrator does the job correctly
    • GCP - issues found, to be retested
    • AWS
    • Azure
    • Openstack
  • Provision new clusters for all hyperscalers: @akgalwas
    • Use examples from documentation and make sure they are up to date
    • Read log files to verify they are descriptive enough - we need log levels
  • Provision new clusters for all hyperscalers with KEB (Provisioner is the leading system, KIM only stores shoot spec)
    • Verify KIM, and Provisioner create logically equal files on DEV (mind there are some slight differences)
    • Verify KIM, and Provisioner create logically equal files on STAGE (mind there are some slight differences) In progress
@akgalwas akgalwas self-assigned this Aug 22, 2024
@akgalwas
Copy link
Contributor Author

Findings:

PRs:

@tobiscr
Copy link
Contributor

tobiscr commented Oct 9, 2024

Latest findings:

@mvshao
Copy link
Contributor

mvshao commented Oct 21, 2024

Audit Logs not visible in Auditlog-Viewer
During my verification, I found that the Audit Service took about 20 minutes to successfully record the action performed on the cluster in the audit log viewer.

Verification was done on DEV, cluster was created by KIM. Action (create namespace) was performed at 11:39:22 and this record was visible in Audit Log Viewer around 12:00

First test
Image

Second test (namespace creation) was executed at 11:45:39, and record was visible in Audit Log Viewer around 12:07
Image

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

No branches or pull requests

3 participants