harbor-operator icon indicating copy to clipboard operation
harbor-operator copied to clipboard

day2 controller is not started well

Open bitsf opened this issue 2 years ago • 0 comments

there're some error logs for day2 controller in harbor-operator pod when starting up

image
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/jobservice-ctrl.yaml"
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/templates/notaryserver-config.json.tmpl"
1.6465267474428604e+09  ERROR   setup.harborserverconfiguration invalid config file     {"error": "stat /etc/harbor-operator/harborserverconfiguration-ctrl.yaml: no such file or directory"}
github.com/goharbor/harbor-operator/pkg/setup.(*controller).WithManager
        /home/zzm/harbor-operator/pkg/setup/controllers.go:109
github.com/goharbor/harbor-operator/pkg/setup.ControllersWithManager.func1
        /home/zzm/harbor-operator/pkg/setup/setup.go:113
golang.org/x/sync/errgroup.(*Group).Go.func1                                                                                                                                                              /home/zzm/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57
1.6465267474460306e+09  ERROR   setup.namespace invalid config file     {"error": "stat /etc/harbor-operator/namespace-ctrl.yaml: no such file or directory"}                                     github.com/goharbor/harbor-operator/pkg/setup.(*controller).WithManager
        /home/zzm/harbor-operator/pkg/setup/controllers.go:109
github.com/goharbor/harbor-operator/pkg/setup.ControllersWithManager.func1
        /home/zzm/harbor-operator/pkg/setup/setup.go:113                                                                                                                                          golang.org/x/sync/errgroup.(*Group).Go.func1
        /home/zzm/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/trivy-ctrl.yaml"
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/templates/jobservice-config.yaml.tmpl"                                                                  1.646526747449586e+09   ERROR   setup.harborconfigurationcm     invalid config file     {"error": "stat /etc/harbor-operator/harborconfigurationcm-ctrl.yaml: no such file or directory"}
github.com/goharbor/harbor-operator/pkg/setup.(*controller).WithManager                                                                                                                                   /home/zzm/harbor-operator/pkg/setup/controllers.go:109
github.com/goharbor/harbor-operator/pkg/setup.ControllersWithManager.func1                                                                                                                                /home/zzm/harbor-operator/pkg/setup/setup.go:113
golang.org/x/sync/errgroup.(*Group).Go.func1
        /home/zzm/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/registry-ctrl.yaml"                                                                                     time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/harbor-ctrl.yaml"
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/templates/notarysigner-config.json.tmpl"
1.6465267474518368e+09  ERROR   setup.pullsecretbinding invalid config file     {"error": "stat /etc/harbor-operator/pullsecretbinding-ctrl.yaml: no such file or directory"}
github.com/goharbor/harbor-operator/pkg/setup.(*controller).WithManager                                                                                                                                   /home/zzm/harbor-operator/pkg/setup/controllers.go:109
github.com/goharbor/harbor-operator/pkg/setup.ControllersWithManager.func1                                                                                                                                /home/zzm/harbor-operator/pkg/setup/setup.go:113
golang.org/x/sync/errgroup.(*Group).Go.func1                                                                                                                                                              /home/zzm/go/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:57
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/templates/registry-config.yaml.tmpl"
time="2022-03-06T00:32:27Z" level=info msg="Configuration from file: /etc/harbor-operator/templates/registryctl-config.yaml.tmpl"
1.6465267475427585e+09  INFO    builder Owns the object directly because the CRD is ready      {"crd": "tenants.minio.min.io"}
1.6465267475498667e+09  INFO    builder Owns the object directly because the CRD is ready      {"crd": "postgresqls.acid.zalan.do"}
1.6465267475776315e+09  INFO    builder Owns the object directly because the CRD is ready      {"crd": "redisfailovers.databases.spotahome.com"}
1.6465267475777504e+09  INFO    setup   starting manager        {"version": "0.0.0-dev", "commit": "none"}

bitsf avatar Mar 06 '22 00:03 bitsf