We have a self hosted Octopus cluster. We are on version 2021.3.8275. When we try to retrieve one project either in the UI or via the api we get this message
This ‘AWS Backup Jobs Status check’ seems to be related to a runbook that we added a few days ago. it isn’t the name of the runbook. however, looking in the database at the [RunbookProcess] table. I see this in the json
{
“Steps”: [
{
“Id”: “be16f6f5-7178-45a7-87d5-126a1b3581c0”,
“Name”: “AWS Backup Jobs Status check”,
“Condition”: “Success”,
“StartTrigger”: “StartAfterPrevious”,
“PackageRequirement”: “LetOctopusDecide”,
Which is the name of the first step in the runbook.
Executing this:
SELECT *
FROM [OctopusDeploy].[dbo].[RunbookProcess]
WHERE OwnerId = ‘Runbooks-2761’
ORDER BY Version DESC
I see this:
A side effect of this is a lot of our automation is currently broken because it relies on /api/projects/all, which returns the same error as the api call above.
Thank you for getting in touch, though I’m sorry to see it’s due to you encountering this annoying bug. Fortunately this looks like a known and open issue that I’ll link below.
TL;DR we’ve reproduced it via these steps:
Have a deployment process with a package step
Set the project versioning strategy to that step
Create a runbook with a package step using the same package
Update the name of the runbook step
We also did notice the side effect you mentioned with API calls failing. Does this sound like it lines up with your scenario? If it does, I’m hoping the following script which we were able to use as a workaround would also work in your case.