Multiple attempts to upload the same stemcell results in OM CLI continually re-uploading a stemcell that already exists.
OM documentation states -
This command will upload a stemcell to the target Ops Manager. Unless the force flag is used, if the stemcell already exists that upload will be skipped.
This results is wasteful cycles by platform automation or other anything leveraging OM.
% mv bosh-stemcell-1.1091-vsphere-esxi-ubuntu-jammy-go_agent.tgz bosh-vsphere-esxi-ubuntu-jammy-go_agent-1.1091.tgz
% om --env=$OM_ENV upload-stemcell -s bosh-vsphere-esxi-ubuntu-jammy-go_agent-1.1091.tgz
processing stemcell
stemcell has already been uploaded
Engineering is currently reviewing a permanent fix to this in OM CLI.