Closed fb-tricent closed 2 years ago
When running puppet code deploy --all --wait all environments should be updated
get the following error: "errored-deploys": [], "timeout": 300, "unsynced-deploys": [ { "deploy-signature": "bd69e516a0399f50c7d298de7b81fe837715ab78", "environment": "dev_fb", "file-sync": { "code-commit": "d8eaaddb41a19193718291c8c42060bc80cdb1bd", "environment-commit": "354046f7eda9e64e4988eb608a910b49160b8dba" }, "id": 4, "status": "complete", "sync-clients-status": { "": { "cause": { "last_check_in_time": "2022-05-16T10:29:11.981981Z", "last_sync": { "puppet-code": { "cause": "org.eclipse.jgit.api.errors.JGitInternalException: Checkout conflict with files: \nmodules/tinydata/data/puppet-agent/default.yaml\nmodules/tinydata/data/puppet-agent/hiera.yaml\nmodules/tinydata/data/puppet-agent/osfamily\nmodules/tinydata/data/puppet-agent/osfamily/Debian.yaml\nmodules/tinydata/data/puppet-agent/osfamily/RedHat.yaml\nmodules/tinydata/data/puppet-agent/osfamily/windows.yaml", "kind": ":puppetlabs.enterprise.file-sync-errors/sync-error", "live-dir": "/etc/puppetlabs/code", "live-dir-diff": null, "msg": "Error while sync'ing live code directory", "repo-name": "puppet-code", "repo-path": "/opt/puppetlabs/server/data/puppetserver/filesync/client/puppet-code.git" } } }, "status": "error"
Please add this info:
facter -p
So @fb-tricent , is it now ok? I removed the symlink from tiny data
Expected Behavior
When running puppet code deploy --all --wait all environments should be updated
Actual Behavior
get the following error: "errored-deploys": [], "timeout": 300, "unsynced-deploys": [ { "deploy-signature": "bd69e516a0399f50c7d298de7b81fe837715ab78", "environment": "dev_fb", "file-sync": { "code-commit": "d8eaaddb41a19193718291c8c42060bc80cdb1bd", "environment-commit": "354046f7eda9e64e4988eb608a910b49160b8dba" }, "id": 4, "status": "complete", "sync-clients-status": { "": {
"cause": {
"last_check_in_time": "2022-05-16T10:29:11.981981Z",
"last_sync": {
"puppet-code": {
"cause": "org.eclipse.jgit.api.errors.JGitInternalException: Checkout conflict with files: \nmodules/tinydata/data/puppet-agent/default.yaml\nmodules/tinydata/data/puppet-agent/hiera.yaml\nmodules/tinydata/data/puppet-agent/osfamily\nmodules/tinydata/data/puppet-agent/osfamily/Debian.yaml\nmodules/tinydata/data/puppet-agent/osfamily/RedHat.yaml\nmodules/tinydata/data/puppet-agent/osfamily/windows.yaml",
"kind": ":puppetlabs.enterprise.file-sync-errors/sync-error",
"live-dir": "/etc/puppetlabs/code",
"live-dir-diff": null,
"msg": "Error while sync'ing live code directory",
"repo-name": "puppet-code",
"repo-path": "/opt/puppetlabs/server/data/puppetserver/filesync/client/puppet-code.git"
}
}
},
"status": "error"
Steps to Reproduce the Problem
Specifications
Please add this info:
facter -p
on the failing node (at least the OS related facts)