You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, pushing the same stemcell multiple times leads to multiple uploads.
This causes delays in our automation pipeline as one of our sandbox environments is on an unfortunately tiny internet connection.
Reproduction steps
Download stemcell using om download-product
Upload stemcell for the first time, wait for success
Run upload command again and observe second transfer
We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.
The labels on this github issue will be updated when the story is started.
Describe the bug
Stemcells downloaded using om download-product are prefixed with [name,version] metadata.
The CheckStemcellAvailability method uses the full filename against the listed stemcells from ops manager diagnostic report:
om/api/stemcell_service.go
Line 78 in b5cc183
On OpsMan 2.10.58, this does not match as the [metadata] prefix is not listed as part of the filename:
Note that after upgrading to Opsman 3.0.28, the output in the diagnostic report has changed:
As a result, pushing the same stemcell multiple times leads to multiple uploads.
This causes delays in our automation pipeline as one of our sandbox environments is on an unfortunately tiny internet connection.
Reproduction steps
om download-product
Expected behavior
Second upload should be skipped as stemcell already exists.
Additional context
Upload-product checks the presence of the product using the metadata name/version instead of file paths.
The text was updated successfully, but these errors were encountered: