Actions
Bug #16493
closedMissing stored git commit leads to fatal exception
Bug #16493:
Missing stored git commit leads to fatal exception
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Config management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
To do
Regression:
Description
If the stored git commit id for configuration repository is missing, we get a fatal error and rudder stops:
Fiber failed.
An unchecked error was produced.
scala.MatchError: SystemError(An error occured,org.eclipse.jgit.errors.MissingObjectException: Missing tree ec49b3b17663fc4f0664e6013f65064634ce4c96) (of class com.normation.errors$SystemError)
at com.normation.cfclerk.services.impl.GitTechniqueReader.$anonfun$currentTechniquesInfoCache$3(GitTechniqueReader.scala:182)
at scala.util.Either.fold(Either.scala:190)
at zio.ZIO$FoldCauseMFailureFn.apply(ZIO.scala:2733)
at zio.ZIO$FoldCauseMFailureFn.apply(ZIO.scala:2730)
at zio.internal.FiberContext.evaluateNow(FiberContext.scala:710)
at zio.internal.FiberContext.$anonfun$evaluateLater$1(FiberContext.scala:602)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Fiber:1 was supposed to continue to:
a future continuation at com.normation.cfclerk.services.impl.GitTechniqueReader.currentTechniquesInfoCache(GitTechniqueReader.scala:203)
a future continuation at zio.ZIO.run(ZIO.scala:1123)
a future continuation at zio.Semaphore.withPermits(Semaphore.scala:114)
a future continuation at com.normation.cfclerk.services.impl.GitTechniqueReader.currentTechniquesInfoCache(GitTechniqueReader.scala:204)
a future continuation at zio.ZIO.run(ZIO.scala:1123)
Updated by François ARMAND about 6 years ago
- Status changed from New to In progress
Updated by François ARMAND about 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/2700
Updated by François ARMAND about 6 years ago
- Subject changed from Missing store git commit lead to fatal exception to Missing stored git commit leads to fatal exception
Updated by François ARMAND about 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|40f1aecaeba4d91c2728c3ae8149e96c1de14282.
Updated by Alexis Mousset about 6 years ago
- Name check changed from To do to Reviewed
Updated by Vincent MEMBRÉ about 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.0.2 which was released today.
Actions