Hi Dalmiro,
Our Project currently consists of two steps, deploying the packages WordWatch.Server and WordWatch.Monitor. The current deployment process is described in the attached deploymentProcess.json file.
[cid:image003.jpg@01D08719.2DB36C90]
I’ve attached deployment logs and also the json documents from the API describing 5 releases, let me walk you through the scenario to explain:
o This is the previous good deploy, deploying WordWatch.Server and WordWatch.Monitor
o The ProjectDeploymentProcessSnapshot is deploymentprocess-projects-65-snapshot-7
o We added a new deployment step, “Deploy Ingester” with a nuget package id of “WordWatch.Ingester”.
o This nuget package does not exist with the given version number and so the deployment will fail because it cannot find the given Nuget package.
o The ProjectDeploymentProcessSnapshot is deploymentprocess-projects-65-snapshot-8
o We removed the “Deploy Ingester” step from the project and attempted to deploy it
o Octopus still attempted to perform the “Deploy Ingester” step
o The deployment failed because it could not find the “WordWatch.Ingester” nuget package
o The ProjectDeploymentProcessSnapshot is deploymentprocess-projects-65-snapshot-8
o We did not make any changes to the project in Octopus
o We retried the build and it failed because it was trying to run the “Deploy Ingester” step
o It seems that Octopus is intent on running the “Deploy Ingester” step even though we have removed it and the Process UI seems to show that it has been removed.
o The ProjectDeploymentProcessSnapshot is deploymentprocess-projects-65-snapshot-8
o We did not make any changes to the project in Octopus
o I shut down Octopus
o I deleted and recreated the RavenDb indexes as described here: https://octopusdeploy.com/blog/resetting-raven-indexes (out of date but still relevant – replace port 10930 with 10931 for Octopus v2)
o I restarted Octopus
o The ProjectDeploymentProcessSnapshot is deploymentprocess-projects-65-snapshot-9
o The deploy worked, it did not try to run the “Deploy Ingester” step
o I’m not sure if recreating the indexes or restarting Octopus fixed the issue, in hindsight I should have tried restarting Octopus first
I hope that is enough information to go on, I haven’t tried to recreate the issue in isolation yet so it could be one of those weird heisenbugs.
Regards,
Dan
Octopus_Deploy_Logs.zip (18 KB)