Hi Octopus support,
We were trying to redeploy a release that was created a couple of weeks ago to one environment and noticed the package was missing from Octopus. The Octopus version we are using is 3.17.14
We are using external team city NuGet feeds, and we can confirm that the package we would like to deploy is still in the feed and we can download the target version using NuGet Package manager without any issue.
Our retention policy for both octopus and team city is keeping the packages forever.
It seems that octopus is calling the api below to get the package from team city.
https://octopus server/api/feeds/feeds-team-city-builds/packages/notes?packageId=XXXX&version=YYYY
and it is returning 404 error. We can see that there is an error from team city server log saying
that the package Id XXXX with version YYYY is not found.
However, if we call team city NuGet feed API as below, we can get the package info without any issue.
http://team city server/httpAuth/app/nuget/v1/FeedService.svc/Packages(Id=‘XXXX’,Version=‘YYYY’)
I have tried to rebuild the team city NuGet feed index, but it does not work.
Another thing is that this does not seem to happen to every package.
It seems that it only happens when the same version of the package is built from two different team city projects, but I am not 100% sure. Even though it does not explain why we can find the package from team city NuGet feed directly, but Octopus can not…
Is that possible to know what function and parameters Octopus will call and pass to team city NuGet feed api?
Can someone please shed some lights on this?
Kind regards,
Jin