Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-7184

Tempest cleanup not cleaning all leaked resources (keypairs): not properly listing the resource

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • openstack-tempest
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?
    • None
    • Low

      The work is tracked in upstream launchpad [1].

      TL;DR of this issue is that tempest cleanup is not capable of cleaning up keypairs. The issue is caused by the fact that Nova API probably does not offer a simple solution how to list all available keypairs on a system. Because of that we need to probably find a way how to use to current nova API call that allows to list keypairs only for individual users [2].

      DoD:

      • The upstream bug is resolved.
      • running tempest cleanup with --prefix on keypair resources is fixed

      [1] https://bugs.launchpad.net/tempest/+bug/2066214
      [2] https://docs.openstack.org/api-ref/compute/#list-keypairs

      Reviews:

              rh-ee-kstrenko Katarina Strenkova
              kopecmartin Martin Kopec
              rhos-tempest
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: