Upgrades of Continuous Delivery for Puppet Enterprise might fail with error messages that mention a job called "cd4pe-migrate-object-store-<VERSION>"
and end with field is immutable
. You might also get this error when re-deploying Continuous Delivery for PE after a configuration change.
Error messages and logs
The Job "cd4pe-migrate-object-store-v7" is invalid: spec.template: Invalid value:core.PodTemplateSpec{...} field is immutable
Version and installation information
Product: Continuous Delivery for Puppet Enterprise
Version: 4.x
Solution
Clear the error by completing these steps.
-
On the node where Puppet Application Manager is installed, run
kubectl delete job cd4pe-migrate-object-store-v7
.The error message (and the job you need to delete) vary based on the version of Continuous Delivery for PE you’re using. If you have a different version number in your error, for example, v6 instead of v7, change the command to match it:
kubectl delete job cd4pe-migrate-object-store-v6
-
Log into Puppet Application Manager on port 8800. In the Version history tab, click Redeploy.
How can we improve this article?
2 comments
I did have to use this same process to delete the "cd4pe-object-store-minio-bucket" job. I could tell this was the one at issue since it had a much older age than the "cd4pe-migrate-object-store-v10" Deleting the -v<version> didn't resolve my issue in this case.
Zach, I see that you're working with someone on the team right now, I've passed this on to them so that they can provide assistance. If something needs to change here, they'll let me know.
Please sign in to leave a comment.
Related articles