Project

General

Profile

Actions

Bug #18892

closed

Technique Upgrade failed with a JGit error after upgrading from 5.0.20 to 6.1.9

Added by Andras Miko about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
N/A
Assignee:
-
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Hi Team,
After upgrading from rudder 5.0.20 to 6.1.9 on SLES12 SP4 we performed the rudder server upgrade-techniques -o command which failed with the below output:

SERVER:~ # rudder server upgrade-techniques  -o
Overriding existing techniques
Please keep in mind that if you did manual modifications on the Techniques in existing directories, they will be overwritten.

Type ctrl-c to abort now and return to continue.

INFO: Correcting permissions on /var/rudder/configuration-repository... Done
Unstaged changes after reset:
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_NFS_T/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_Xen_OS_Settings/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_group_sudo/activeTechniqueSettings.xml
M       directives/ncf_techniques/Check_OSBasis_domainname/activeTechniqueSettings.xml
D       ncf/50_techniques/Config_OSBasis_VMWare_IO_scheduler/Config_OSBasis_VMWare_IO_scheduler.cf
D       ncf/50_techniques/Install_OSBasis_VMware_lsscsi/Install_OSBasis_VMware_lsscsi.cf
D       ncf/50_techniques/Install_SW_UCMD/Install_SW_UCMD.cf
D       ncf/50_techniques/OSBasis_Update_BMW_Certificates/OSBasis_Update_BMW_Certificates.cf
D       ncf/ncf-hooks.d/post.write_technique.10_commit.sh
D       ncf/ncf-hooks.d/post.write_technique.50_rudderify.sh
M       shared-files/monitors/02-zypper-repos-accessible.sh
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
error: Could not reload techniques from files
Error: An error occured when updating the Technique library from file system
cause:Accumulated: Error when saving Active Technique 798ae534-3a0a-46e1-9c90-2a4747508e82 for technque sudoParameters; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique 812676a8-4f0d-4e96-a57c-674b3a464640 for technque snmp; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique a34a6b37-be13-4969-8311-c6c975fcb03b for technque partitionSizeMonitoring; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of commit command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$10(GitArchiverUtils.scala:135) ; Error when saving Active Technique 617b51f9-7c73-4675-8462-f34fceb5c515 for technque dnsConfiguration; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of commit command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$10(GitArchiverUtils.scala:135) ; Error when saving Active Technique af0f19b4-0d28-409d-bf39-5c624ae51190 for technque packageManagement; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique 6ec4be12-8a60-479e-aeb2-a3539f7b08a9 for technque sshKeyDistribution; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique f192a2f1-b994-4d69-a4e4-54d6de31e34c for technque setVars; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique 5351bf51-d35f-4ff8-b78a-231f377e714e for technque genericVariableDefinition; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique 18f55e3a-92e5-4499-bc57-9383c847649b for technque repoGpgKeyManagement; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique c352a82d-b2c2-438f-8290-f07d738151fc for technque variableFromJsonFile; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of commit command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$10(GitArchiverUtils.scala:135) ; Error when saving Active Technique d8de63af-92c5-4fed-86fb-a9d4a296fca2 for technque zypperPackageManagerRepositories; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129) ; Error when saving Active Technique c90d11d1-d640-4758-9da6-353741634579 for technque rudderSNMP; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of commit command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$10(GitArchiverUtils.scala:135) ; Error when saving Active Technique e6af2fd2-0ff8-4441-9ced-7913245a611d for technque zmdPackageManagerSettings; cause was: SystemError: An error occured; cause was: org.eclipse.jgit.api.errors.JGitInternalException: Exception caught during execution of add command
 -> com.normation.rudder.repository.xml.GitArchiverUtils.$anonfun$commitAddFile$4(GitArchiverUtils.scala:129)
Techniques have been updated, and update branch set to current state of the Techniques
SERVER:~ #

We tried the command again and it listed unstaged changes.

SERVER:~ # rudder server upgrade-techniques  -o
Overriding existing techniques
Please keep in mind that if you did manual modifications on the Techniques in existing directories, they will be overwritten.

Type ctrl-c to abort now and return to continue.

INFO: Correcting permissions on /var/rudder/configuration-repository... Done
Unstaged changes after reset:
M       directives/32644b50-af72-4864-b4f0-5e9fd0338b2d/BMW_GPG_Keys_P/activeTechniqueSettings.xml
M       directives/32644b50-af72-4864-b4f0-5e9fd0338b2d/BMW_GPG_Keys_TI/activeTechniqueSettings.xml
M       directives/5792b1a7-5e20-494c-bb07-d03667f08136/Config_Apache_SSL_only/activeTechniqueSettings.xml
M       directives/Feri_my_technique/activeTechniqueSettings.xml
M       directives/applications/packageManagement/activeTechniqueSettings.xml
M       directives/applications/repoGpgKeyManagement/activeTechniqueSettings.xml
M       directives/applications/snmp/activeTechniqueSettings.xml
M       directives/applications/zmdPackageManagerSettings/activeTechniqueSettings.xml
M       directives/applications/zypperPackageManagerRepositories/activeTechniqueSettings.xml
M       directives/applications/zypperPackageManagerRepositories/d323b6e5-15e2-48a0-a461-050dfcf9d8ee.xml
M       directives/dd8d9cca-e119-4c9e-84c4-5bd3e6f915e1/File_OSBasis_sysstat/activeTechniqueSettings.xml
M       directives/dd8d9cca-e119-4c9e-84c4-5bd3e6f915e1/Install_OSCAP_software/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_Docker_Systemd/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_IPS_PCS_rpcbind/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_KWOM_limits/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_SEC_OSSEC_Client/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_User_qqpscc4/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_NFS_P/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_NFS_T/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_sysctls/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_Xen_OS_Settings/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/File_OSBasis_mdadm_template/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Group_SAP_Default/6f1d231c-f52a-469f-b17f-4ae449269435.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Group_SAP_Default/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Group_SEC_no_rsa/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Install_SW_CUPS/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Install_X11_Server/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Install_Xen_VMC/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_User_qqnagio/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_group_sudo/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_kernel_settings_for_IPV6_systems/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/QQLinux_Test/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Service_OSBasis_MDADM/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/User_SAP_Default/activeTechniqueSettings.xml
M       directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Users_WEB_EAM_default_I/activeTechniqueSettings.xml
M       directives/ncf_techniques/Check_OSBasis_domainname/activeTechniqueSettings.xml
M       directives/ncf_techniques/Config_CMS_datadir/activeTechniqueSettings.xml
M       directives/ncf_techniques/Config_PSE_limits_Test_1_ichhabekeinennamensstandard/activeTechniqueSettings.xml
M       directives/ncf_techniques/Config_SAP_dynamic_tunables/activeTechniqueSettings.xml
M       directives/ncf_techniques/File_ConnectDirect_Templates/activeTechniqueSettings.xml
M       directives/ncf_techniques/File_OSBasis_backupconf/activeTechniqueSettings.xml
M       directives/ncf_techniques/File_OSBasis_ssh_config_v08/activeTechniqueSettings.xml
M       directives/ncf_techniques/Install_MW_Veritas_Cluster_Server/activeTechniqueSettings.xml
M       directives/ncf_techniques/Install_SW_PIX_Client/activeTechniqueSettings.xml
M       directives/ncf_techniques/Install_X11_Core/activeTechniqueSettings.xml
M       directives/ncf_techniques/Link_ConnectDirect_symlink/activeTechniqueSettings.xml
M       directives/ncf_techniques/Service_OSBasis_netbackup_disable/activeTechniqueSettings.xml
M       directives/ncf_techniques/Service_SW_nCipher/activeTechniqueSettings.xml
M       directives/ncf_techniques/Update_SW_PSQL_ODBC_Connector/activeTechniqueSettings.xml
M       directives/ncf_techniques/User_IIB_default/activeTechniqueSettings.xml
M       directives/systemSettings/misc/genericVariableDefinition/3e20804a-8893-4ec1-a9e8-643ec5f85e37.xml
M       directives/systemSettings/misc/genericVariableDefinition/activeTechniqueSettings.xml
M       directives/systemSettings/misc/setVars/activeTechniqueSettings.xml
M       directives/systemSettings/remoteAccess/sshKeyDistribution/activeTechniqueSettings.xml
M       directives/systemSettings/userManagement/sudoParameters/activeTechniqueSettings.xml
D       ncf/50_techniques/Config_OSBasis_VMWare_IO_scheduler/Config_OSBasis_VMWare_IO_scheduler.cf
D       ncf/50_techniques/Install_OSBasis_VMware_lsscsi/Install_OSBasis_VMware_lsscsi.cf
D       ncf/50_techniques/Install_SW_UCMD/Install_SW_UCMD.cf
D       ncf/50_techniques/OSBasis_Update_BMW_Certificates/OSBasis_Update_BMW_Certificates.cf
D       ncf/ncf-hooks.d/post.write_technique.10_commit.sh
D       ncf/ncf-hooks.d/post.write_technique.50_rudderify.sh
M       shared-files/monitors/02-zypper-repos-accessible.sh
On branch master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)
        modified:   directives/32644b50-af72-4864-b4f0-5e9fd0338b2d/BMW_GPG_Keys_P/activeTechniqueSettings.xml
        modified:   directives/32644b50-af72-4864-b4f0-5e9fd0338b2d/BMW_GPG_Keys_TI/activeTechniqueSettings.xml
        modified:   directives/5792b1a7-5e20-494c-bb07-d03667f08136/Config_Apache_SSL_only/activeTechniqueSettings.xml
        modified:   directives/Feri_my_technique/activeTechniqueSettings.xml
        modified:   directives/applications/packageManagement/activeTechniqueSettings.xml
        modified:   directives/applications/repoGpgKeyManagement/activeTechniqueSettings.xml
        modified:   directives/applications/snmp/activeTechniqueSettings.xml
        modified:   directives/applications/zmdPackageManagerSettings/activeTechniqueSettings.xml
        modified:   directives/applications/zypperPackageManagerRepositories/activeTechniqueSettings.xml
        modified:   directives/applications/zypperPackageManagerRepositories/d323b6e5-15e2-48a0-a461-050dfcf9d8ee.xml
        modified:   directives/dd8d9cca-e119-4c9e-84c4-5bd3e6f915e1/File_OSBasis_sysstat/activeTechniqueSettings.xml
        modified:   directives/dd8d9cca-e119-4c9e-84c4-5bd3e6f915e1/Install_OSCAP_software/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_Docker_Systemd/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_IPS_PCS_rpcbind/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_KWOM_limits/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_SEC_OSSEC_Client/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_User_qqpscc4/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_NFS_P/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_NFS_T/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_WEB_EAM_sysctls/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Config_Xen_OS_Settings/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/File_OSBasis_mdadm_template/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Group_SAP_Default/6f1d231c-f52a-469f-b17f-4ae449269435.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Group_SAP_Default/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Group_SEC_no_rsa/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Install_SW_CUPS/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Install_X11_Server/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Install_Xen_VMC/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_User_qqnagio/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_group_sudo/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/OSBasis_kernel_settings_for_IPV6_systems/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/QQLinux_Test/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Service_OSBasis_MDADM/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/User_SAP_Default/activeTechniqueSettings.xml
        modified:   directives/ff17ebb1-e02e-4069-8ed8-aade8a1c9c2d/Users_WEB_EAM_default_I/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Check_OSBasis_domainname/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Config_CMS_datadir/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Config_PSE_limits_Test_1_ichhabekeinennamensstandard/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Config_SAP_dynamic_tunables/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/File_ConnectDirect_Templates/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/File_OSBasis_backupconf/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/File_OSBasis_ssh_config_v08/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Install_MW_Veritas_Cluster_Server/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Install_SW_PIX_Client/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Install_X11_Core/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Link_ConnectDirect_symlink/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Service_OSBasis_netbackup_disable/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Service_SW_nCipher/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/Update_SW_PSQL_ODBC_Connector/activeTechniqueSettings.xml
        modified:   directives/ncf_techniques/User_IIB_default/activeTechniqueSettings.xml
        modified:   directives/systemSettings/misc/genericVariableDefinition/3e20804a-8893-4ec1-a9e8-643ec5f85e37.xml
        modified:   directives/systemSettings/misc/genericVariableDefinition/activeTechniqueSettings.xml
        modified:   directives/systemSettings/misc/setVars/activeTechniqueSettings.xml
        modified:   directives/systemSettings/remoteAccess/sshKeyDistribution/activeTechniqueSettings.xml
        modified:   directives/systemSettings/userManagement/sudoParameters/activeTechniqueSettings.xml
        deleted:    ncf/50_techniques/Config_OSBasis_VMWare_IO_scheduler/Config_OSBasis_VMWare_IO_scheduler.cf
        deleted:    ncf/50_techniques/Install_OSBasis_VMware_lsscsi/Install_OSBasis_VMware_lsscsi.cf
        deleted:    ncf/50_techniques/Install_SW_UCMD/Install_SW_UCMD.cf
        deleted:    ncf/50_techniques/OSBasis_Update_BMW_Certificates/OSBasis_Update_BMW_Certificates.cf
        deleted:    ncf/ncf-hooks.d/post.write_technique.10_commit.sh
        deleted:    ncf/ncf-hooks.d/post.write_technique.50_rudderify.sh
        modified:   shared-files/monitors/02-zypper-repos-accessible.sh
        modified:   techniques-vanilla (modified content)

no changes added to commit (use "git add" and/or "git commit -a")
ok: reload techniques from files.
Techniques have been updated, and update branch set to current state of the Techniques
SERVER:~ #

After that we just performed a git add/commit, but please help me to understand the output, and let us know, whether the first errors can be ignored and we need just retry the command + git add/commit. What was the root cause for those exceptions? It there a problem maybe from our side?


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #19398: Git error when deleting a node or archiving everything, and very slow gitResolvedNicolas CHARLESActions
Is duplicate of Rudder - Bug #18983: A writeLock must never be in a read lock for LDAP repoReleasedNicolas CHARLESActions
Actions #1

Updated by François ARMAND about 3 years ago

Hello,

Thanks for reporting.

The root cause is hard to understand. JGit (the java lib we use for git) says that it didn't succeed in doing the commit, but nothing else, which is not helpfull. I suspect there is something that it didn't like with you git repository, but I can't tell much.
Your workaround action (git add + git commit) seems correct to me.

Still, we need to check that whatever internal repo state was breaking jgit is now ok. Can you please try to do a modification in a configuration element (for example, try create an empty rule) and see if you get an error in /var/log/rudder/webapp/2021_02_10.stderrout.log ?

Actions #2

Updated by François ARMAND about 3 years ago

  • Subject changed from Technique Upgrade failed after upgrading from 5.0.20 to 6.1.9 to Technique Upgrade failed with a JGit error after upgrading from 5.0.20 to 6.1.9

Other modification were reported to work afterward. We are unable to reproduce that one.
We are going to try to make the message more explicit (details about exception) in case it happens again.

Actions #3

Updated by François ARMAND about 3 years ago

  • Status changed from New to Resolved
  • Target version set to 6.1.10

We where able to identify the root cause of that problem, and it is addressed in #18983. I'm closing that ticket as "resolved" (which it will actually be only once the other ticket correction is merged).

Actions #4

Updated by François ARMAND about 3 years ago

  • Is duplicate of Bug #18983: A writeLock must never be in a read lock for LDAP repo added
Actions #5

Updated by François ARMAND over 2 years ago

  • Related to Bug #19398: Git error when deleting a node or archiving everything, and very slow git added
Actions

Also available in: Atom PDF