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

Validation tool crashes on Quay 3.5.2 startup

XMLWordPrintable

         __   __
        /  \ /  \     ______   _    _     __   __   __
       / /\ / /\ \   /  __  \ | |  | |   /  \  \ \ / /
      / /  / /  \ \  | |  | | | |  | |  / /\ \  \   /
      \ \  \ \  / /  | |__| | | |__| | / ____ \  | |
       \ \/ \ \/ /   \_  ___/  \____/ /_/    \_\ |_|
        \__/ \__/      \ \__
                        \___\ by Red Hat
       Build, Store, and Distribute your Containers
      Running all default registry services
      Running init script '/quay-registry/conf/init/certs_create.sh'
      Generating a RSA private key
      ...................++++
      ................................................................................++++
      writing new private key to 'mitm-key.pem'
      -----
      Running init script '/quay-registry/conf/init/certs_install.sh'
      Installing extra certificates found in /quay-registry/conf/stack/extra_ca_certs directory
      Running init script '/quay-registry/conf/init/copy_config_files.sh'
      Running init script '/quay-registry/conf/init/d_validate_config_bundle.sh'
      Validating Configuration
      panic: runtime error: invalid memory address or nil pointer dereference
      [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xc5265c]
      
      goroutine 101 [running]:
      github.com/quay/config-tool/pkg/lib/shared.ValidateHostIsReachable(0x7ffe99122de1, 0x6, 0xc0001101b0, 0xc0001480a0, 0x11, 0x12103d9, 0x1c, 0x11ff737, 0xf, 0x0, ...)
              /remote-source/app/source/config-tool/pkg/lib/shared/validators.go:237 +0x7c
      github.com/quay/config-tool/pkg/lib/fieldgroups/securityscanner.(*SecurityScannerFieldGroup).Validate(0xc000033020, 0x7ffe99122de1, 0x6, 0xc0001101b0, 0xc000360ba8, 0x0, 0x0)
              /remote-source/app/source/config-tool/pkg/lib/fieldgroups/securityscanner/securityscanner_validator.go:66 +0x5e5
      github.com/quay/config-tool/commands.glob..func3.1(0xc00016b290, 0xc0004e1250, 0xc0001101b0, 0xc0002c7b00, 0xc0002fede2, 0xc000116e60)
              /remote-source/app/source/config-tool/commands/validate.go:108 +0xd4
      created by github.com/quay/config-tool/commands.glob..func3
              /remote-source/app/source/config-tool/commands/validate.go:93 +0x4eb
      
      

      Config.yaml file that is used is attached. When IGNORE_VALIDATION=true is set, Quay starts normally.

              jonathankingfc Jonathan King
              rhn-support-ibazulic Ivan Bazulic
              Dongbo Yan Dongbo Yan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: