I have a 2 releases/projects, which deploy from an on-prem Octopus Server to Azure App Services via an on-prem tentacle in a worker pool.
Both releases have effectively two steps in the process:
- Deploy an Azure AppService using the standard template to an Azure App Service staging slot
- Swap the staging and production slots using AzureRM powershell script
7 days ago we upgraded to 2021.1 build 7379, from 2020.11 or there about, the tentacle is currently 6.1.670
Now in several places in the Octopus Portal it recommends an upgrade, such as “Upgrade Calamari” in above screen shot. Have tried this option several times to no avail - so we think we are all up to date.
4 days ago we deployed the releases to Azure through the worker. In the second step, the process failed - though the deployment to the app service was successful. To complete the deployment we swapped the slots manually through the Azure Portal. Ending up with the following state (putting aside the dates that is, which relate to today as we have tried re-deploying without success)
Today having corrected a variable within the project settings, updated snapshot variables and also restarted both the Octopus Server and Tentacle worker (which both releases use) to hopefully rectify the error in the second step and after also …
manually replacing the target staging slot with an empty slot by; creating an empty slot and swapping within Azure Portal (we do this to get round another issue we face)…
Then, instead of failing on the second step…it failed on the first, the relevant lines from the a task log are as follows:
Now something in common with both releases, now failing consistently, and different from the initial release and all other releases I have witnessed in our projects, is the line:
Adding MSDeploy.contentPath (MSDeploy.contentPath)
This is not occurring on on the same release, deployed to another environment and app service via a different tentacle, albeit a different version … 6.1.736.
Apart from upgrading the tentacle to the same version, which we are looking to do. Any ideas where this mysterious new line comes from?