Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-5841

The Clair pod is restarting after upgrading to 3.8.9.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • quay-v3.8.9
    • clair
    • False
    • None
    • False
    • Compatibility/Configuration
    • Quay Enterprise
    • Hide

      Update to 3.8.9 version

      Show
      Update to 3.8.9 version

      After upgrading quay and clair standalone cluster to v3.8.9, the clair container is crashing and restarting all the time.

      1:15PM DBG scan done component=indexer/layerscannner/layerScanner.scan kind=repository layer=sha256:0c2bf428e85cb2587f42de9ab32ec8488162c9f4614b60fa573b5ad6375f0872 manifest=sha256:81b3ee09ba4f70afa2a70115989e60c2552f70e4243f963fff0718928a44ec40 request_id=1eb531c5bc82d864 scanner=pip state=ScanLayers 1:15PM DBG layer already scanned component=indexer/layerscannner/layerScanner.scan kind=repository layer=sha256:0c2bf428e85cb2587f42de9ab32ec8488162c9f4614b60fa573b5ad6375f0872 manifest=sha256:81b3ee09ba4f70afa2a70115989e60c2552f70e4243f963fff0718928a44ec40 request_id=1eb531c5bc82d864 scanner=maven state=ScanLayers 1:15PM DBG scan done component=indexer/layerscannner/layerScanner.scan kind=repository layer=sha256:0c2bf428e85cb2587f42de9ab32ec8488162c9f4614b60fa573b5ad6375f0872 manifest=sha256:81b3ee09ba4f70afa2a70115989e60c2552f70e4243f963fff0718928a44ec40 request_id=1eb531c5bc82d864 scanner=maven state=ScanLayers 1:15PM DBG done component=gobin/Detector.Scan kind=package layer=sha256:e94252683f37dc3829d8af52c659d822d1024908af3f829a7c23bc24c22e05c9 manifest=sha256:81b3ee09ba4f70afa2a70115989e60c2552f70e4243f963fff0718928a44ec40 request_id=1eb531c5bc82d864 scanner=gobin state=ScanLayers version=1 1:15PM DBG scan done component=indexer/layerscannner/layerScanner.scan kind=package layer=sha256:e94252683f37dc3829d8af52c659d822d1024908af3f829a7c23bc24c22e05c9 manifest=sha256:81b3ee09ba4f70afa2a70115989e60c2552f70e4243f963fff0718928a44ec40 request_id=1eb531c5bc82d864 scanner=gobin state=ScanLayers panic: runtime error: slice bounds out of range [:-4606900943835742192] goroutine 1851 [running]: io.(*SectionReader).Read(0xc001e6e4e0?, {0xc00003d9c8?, 0xc000798898?, 0x456832?}) io/io.go:510 +0x8c io.ReadAtLeast({0x13626e0, 0xc0050b79b0}, {0xc00003d9c8, 0x18, 0x18}, 0x18) io/io.go:331 +0x9a io.ReadFull(...) io/io.go:350 encoding/binary.Read({0x13626e0, 0xc0050b79b0}, {0x1370be8, 0x1bf4a78}, {0xfd3840?, 0xc00003d9b0}) encoding/binary/binary.go:256 +0xc3e debug/elf.NewFile({0x1362700?, 0xc0050b7950}) debug/elf/file.go:441 +0x1073 debug/buildinfo.readRawBuildInfo({0x1362700, 0xc0050b7950}) debug/buildinfo/buildinfo.go:110 +0xea debug/buildinfo.Read({0x1362700?, 0xc0050b7950?}) debug/buildinfo/buildinfo.go:74 +0x27 github.com/quay/claircore/gobin.toPackages({0x136bb20, 0xc0050b78f0}, 0xc000883a88, {0xc002451f20, 0x60}, {0x1362700?, 0xc0050b7950?}) github.com/quay/claircore@v1.4.21/gobin/exe.go:24 +0x69 github.com/quay/claircore/gobin.Detector.Scan.func1({0xc002451f20, 0x60}, {0x136d918, 0xc00054d0a0}, {0x0, 0x0}) github.com/quay/claircore@v1.4.21/gobin/gobin.go:138 +0x7d3 io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc002451f20, 0x60}, {0x136d918, 0xc00054d0a0}, 0xc000883b28) io/fs/walk.go:66 +0x78 io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc002451e60, 0x58}, {0x136d918, 0xc00054cee0}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc002451d40, 0x52}, {0x136d918, 0xc00054ce00}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc0050a2370, 0x47}, {0x136d918, 0xc00054cd20}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc0050a22d0, 0x42}, {0x136d918, 0xc00054cc40}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc002081540, 0x38}, {0x136d918, 0xc00054cb60}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc001fdd3b0, 0x2d}, {0x136d918, 0xc001659880}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc001fdd1a0, 0x25}, {0x136d918, 0xc0016596c0}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc0020e21c0, 0x1f}, {0x136d918, 0xc0016588c0}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc00003d128, 0x14}, {0x136d918, 0xc002c557a0}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc0010c3f50, 0x7}, {0x136d918, 0xc0029da1c0}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0xc0010c3f1a, 0x3}, {0x136d918, 0xc0029da0e0}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.walkDir({0x13619e0, 0xc0017fdb90}, {0x11811ae, 0x1}, {0x136d640, 0xc002786020}, 0xc000883b28) io/fs/walk.go:85 +0x27d io/fs.WalkDir({0x13619e0, 0xc0017fdb90}, {0x11811ae, 0x1}, 0xc000799b28) io/fs/walk.go:112 +0xde github.com/quay/claircore/gobin.Detector.Scan({}, {0x136bb20, 0xc0017fd410}, 0xc000571bc0) github.com/quay/claircore@v1.4.21/gobin/gobin.go:140 +0x4e5 github.com/quay/claircore/indexer/layerscanner.(*result).Do(0xc000883df0, {0x136bb20, 0xc0017fd410}, {0x7f4101c6e2b8?, 0x1bf4a78}, 0xc00003ad70?) github.com/quay/claircore@v1.4.21/indexer/layerscanner/layerscanner.go:232 +0x9d github.com/quay/claircore/indexer/layerscanner.(*layerScanner).scanLayer(0xc00095dec0, {0x136ba78, 0xc000520140}, 0xc000571bc0, {0x7f4101c6e2b8, 0x1bf4a78}) github.com/quay/claircore@v1.4.21/indexer/layerscanner/layerscanner.go:207 +0x3cd github.com/quay/claircore/indexer/layerscanner.(*layerScanner).Scan.func1.1() github.com/quay/claircore@v1.4.21/indexer/layerscanner/layerscanner.go:163 +0x10a golang.org/x/sync/errgroup.(*Group).Go.func1() golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75 +0x64 created by golang.org/x/sync/errgroup.(*Group).Go golang.org/x/sync@v0.1.0/errgroup/errgroup.go:72 +0xa5

       

            rhn-support-mangarci Manrique García
            rhn-support-mangarci Manrique García
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: