Skip to content

Gophercloud: Unable to find image with name #222

@jtopjian

Description

@jtopjian

Describe the bug

For some reason the TestVolumeActionsUploadImageDestroy test keeps failing in Gophercloud and I'm not sure why.

I created a local devstack environment and the test passes for me, so it's hard for me to troubleshoot.

Related Job information

If the bug is related a CI job, put the job information below:

=== RUN   TestVolumeActionsUploadImageDestroy
--- FAIL: TestVolumeActionsUploadImageDestroy (55.54s)
    blockstorage.go:50: Attempting to create volume: ACPTTESTOkYVfh6vavC6VZFJ
    tools.go:72: {
          "id": "db04593b-61bd-4fa8-b89e-7d2c53d0a24f",
          "status": "creating",
          "size": 1,
          "availability_zone": "nova",
          "attachments": [],
          "name": "ACPTTESTOkYVfh6vavC6VZFJ",
          "description": "ACPTTEST-DESCgPmk3vB5G1M97Uhh",
          "volume_type": "lvmdriver-1",
          "snapshot_id": "",
          "source_volid": "",
          "metadata": {},
          "user_id": "0f8d6741e3bd45a08e9ba69708409289",
          "bootable": "false",
          "encrypted": false,
          "replication_status": "",
          "consistencygroup_id": "",
          "multiattach": false
        }
    blockstorage.go:73: Successfully created volume: db04593b-61bd-4fa8-b89e-7d2c53d0a24f
    extensions.go:35: Uploading volume db04593b-61bd-4fa8-b89e-7d2c53d0a24f as volume-backed image ACPTTESTY6Gta3TJ6kSgHo6q
    extensions.go:41: Uploaded volume db04593b-61bd-4fa8-b89e-7d2c53d0a24f as volume-backed image ACPTTESTY6Gta3TJ6kSgHo6q
    tools.go:72: {
          "id": "db04593b-61bd-4fa8-b89e-7d2c53d0a24f",
          "container_format": "bare",
          "disk_format": "raw",
          "display_description": "ACPTTEST-DESCgPmk3vB5G1M97Uhh",
          "image_id": "456930b0-922e-4b07-921d-d46b092a32ab",
          "image_name": "ACPTTESTY6Gta3TJ6kSgHo6q",
          "size": 1,
          "status": "uploading",
          "volume_type": {
            "id": "9ee7c4c7-c452-4c8a-b111-2663a2eb0804",
            "name": "lvmdriver-1",
            "display_description": "",
            "is_public": true,
            "extra_specs": {
              "volume_backend_name": "lvmdriver-1"
            },
            "qos_specs_id": "",
            "deleted": false
          }
        }
    extensions.go:54: Getting image id for image name ACPTTESTY6Gta3TJ6kSgHo6q
    convenience.go:35: ESC[1;31mFailure in volumeactions_test.go, line 33: unexpected error ESC[0mESC[1;33m"Unable to find image with name ACPTTESTY6Gta3TJ6kSgHo6q"ESC[0mESC[1;31mESC[0m
    blockstorage.go:121: Attempting to delete volume: db04593b-61bd-4fa8-b89e-7d2c53d0a24f
    blockstorage.go:128: Successfully deleted volume: db04593b-61bd-4fa8-b89e-7d2c53d0a24f

Steps to reproduce the issue

Describe how to reproduce the issue:

Additional context

I don't know if this is an OpenLab issue specifically. But since I can't reproduce the issue in a devstack environment, I'm not sure how else I can troubleshoot. Any pointers are appreciated 🙂

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions