OctopusDeploy / Issues

| Public | Bug reports and known issues for Octopus Deploy and all related tools
https://octopus.com
162 stars 20 forks source link

Unable to delete CaC projects if Git Repo unavailable #8990

Open SeanStanway-Octopus opened 2 months ago

SeanStanway-Octopus commented 2 months ago

Severity

1 customer reported, can be recreated

Version

2024.2.9313

Latest Version

None

What happened?

User deleted a repository for their config-as-code project, and when they tried to remove the project it stated that there was an uninitialised branch, which once it was past this error the process then errored on "missing resource". Engineering investigated and found that we are still looking for the project summary from GIT, even though this is available in the database. This can be changed to avoid this problem.

Reproduction

  1. Have a version controlled project
  2. Delete the repository that the project is based on
  3. Attempt to delete the project

Error and Stacktrace

2024-08-27 09:17:39.5146      1     10 ERROR  Error getting summary for { Id: "Projects-285"...

More Information

Internal slack link Internal ticket link

Workaround

No response

felixi-octopus commented 1 month ago

This project in question has ~38K runbook runs and also exhibited timeouts when deleting. A workaround in this case was to set an aggressive runbook retention policy, reducing the amount of runbook runs. The project could then be deleted.

felixi-octopus commented 1 month ago

The Octopus engineering team has reviewed this issue.
After careful consideration, we’ve classed this low priority. This means we won’t work on it in the near future. We prioritize issues based on the number of people affected, the impact type, and available workarounds. If you’ve encountered this issue and haven’t informed our support team, please email support@octopus.com. Knowing how many people this issue affects helps us determine its priority.