Packer openstack plugin failed to upload the image

2021/11/02 13:02:10 [INFO] RPC endpoint: Communicator ended with: 0
2021/11/02 13:02:10 packer-provisioner-shell plugin: [INFO] RPC client: Communicator ended with: 0
2021/11/02 13:02:10 [INFO] (telemetry) ending shell ----Here I can see Provisioner shell script ends successfully-----
==> openstack: Stopping server: 48a9118f-3bea-4511-805a-607089cdaad7 …
openstack: Waiting for server to stop: 48a9118f-3bea-4511-805a-607089cdaad7 …
2021/11/02 13:02:13 packer-builder-openstack plugin: Waiting for state to become: [SHUTOFF STOPPED]
2021/11/02 13:02:13 packer-builder-openstack plugin: Waiting for state to become: [SHUTOFF STOPPED] currently ACTIVE (0%)
==> openstack: Creating the image: test-packer
openstack: Image: 8bad3b85-1b33-41b0-b5c4-8ab5aa9bfef1
==> openstack: Waiting for image test-packer (image id: 8bad3b85-1b33-41b0-b5c4-8ab5aa9bfef1) to become ready…
2021/11/02 13:02:17 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:20 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:22 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:24 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:26 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:28 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:30 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:33 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:35 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:37 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:39 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:41 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:43 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:45 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:47 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:50 packer-builder-openstack plugin: Waiting for image creation status: queued
2021/11/02 13:02:52 packer-builder-openstack plugin: Waiting for image creation status: queued
==> openstack: Error waiting for image: Resource not found
==> openstack: Provisioning step had errors: Running the cleanup provisioner, if present…
==> openstack: Terminating the source server: 48a9118f-3bea-4511-805a-607089cdaad7 …
2021/11/02 13:02:54 packer-builder-openstack plugin: Waiting for state to become: [DELETED]
2021/11/02 13:02:54 packer-builder-openstack plugin: Waiting for state to become: [DELETED] currently SHUTOFF (0%)
2021/11/02 13:02:57 packer-builder-openstack plugin: Waiting for state to become: [DELETED] currently SHUTOFF (0%)
2021/11/02 13:02:59 packer-builder-openstack plugin: [INFO] 404 on ServerStateRefresh, returning DELETED
==> openstack: Deleting temporary keypair: packer_618136a1-18a7-1909-f4bd-af8091d6d6f5 …
2021/11/02 13:02:59 [INFO] (telemetry) ending openstack
==> Wait completed after 1 minute 37 seconds
2021/11/02 13:02:59 machine readable: error-count string{“1”}
==> Some builds didn’t complete successfully and had errors:
2021/11/02 13:02:59 machine readable: openstack,error string{“Error waiting for image: Resource not found”}
==> Builds finished but no artifacts were created.
Build ‘openstack’ errored after 1 minute 37 seconds: Error waiting for image: Resource not found

on openstack gui I can see the status of packer created instance changes to image uploading… but in few secs the instance is getting terminated with above error…
Any help to get this fix will be really appreciable :slight_smile: .