Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-37667

Fix error in robottelo where libvirt image with invalid uuid can't be created anymore, breaking module_libvirt_image fixture

XMLWordPrintable

    • sat-rocket
    • False
    • None

      Description of problem:

      In Robottelo, we have fixture module_libvirt_image which creates fake CR and on it, attempts to create a fake image. However, SAT-35208 made it impossible to create such an image because it first connects to the CR to verify that image exists. At this point, the fixture fails because the CR itself doesn't exist, causing:

      requests.exceptions.HTTPError: ('500 Server Error: Internal Server Error for url: https://<FQDN>/api/v2/compute_resources/10/images', {'error': {'message': "Error making a connection to libvirt URI http://mvAYrDNEfy.com:\nCall to virConnectOpen failed: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory"}})

              Unassigned Unassigned
              lhellebr@redhat.com Lukas Hellebrandt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: