Project

General

Profile

Actions

Bug #16493

closed

Missing stored git commit leads to fatal exception

Added by François ARMAND about 4 years ago. Updated about 4 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
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)
Actions #1

Updated by François ARMAND about 4 years ago

  • Status changed from New to In progress
Actions #2

Updated by François ARMAND about 4 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
Actions #3

Updated by François ARMAND about 4 years ago

  • Subject changed from Missing store git commit lead to fatal exception to Missing stored git commit leads to fatal exception
Actions #4

Updated by François ARMAND about 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset about 4 years ago

  • Name check changed from To do to Reviewed
Actions #6

Updated by Vincent MEMBRÉ about 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.2 which was released today.

Actions

Also available in: Atom PDF