angelprada opened a new issue, #583:
URL: https://github.com/apache/solr-operator/issues/583

   Hello.
   
   I've tried to upgrade solr-operator from v0.6.0 to v0.7.0 in AWS EKS 1.27 
but it crashes constantly:
   
   `2023-07-03T08:49:18Z        INFO    setup   solr-operator Version: v0.7.0
   2023-07-03T08:49:18Z INFO    setup   solr-operator Git SHA: 0e16c6b
   2023-07-03T08:49:18Z INFO    setup   solr-operator Build Time: Mon Apr 24 
19:23:35 UTC 2023
   2023-07-03T08:49:18Z INFO    setup   Go Version: go1.19.8
   2023-07-03T08:49:18Z INFO    setup   Go OS/Arch: linux / amd64
   panic: runtime error: invalid memory address or nil pointer dereference
   [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x12ab950]
   
   goroutine 1 [running]:
   k8s.io/client-go/discovery.convertAPIResource(...)
        
/go/pkg/mod/k8s.io/[email protected]/discovery/aggregated_discovery.go:88
   k8s.io/client-go/discovery.convertAPIGroup({{{0x0, 0x0}, {0x0, 0x0}}, 
{{0xc00004f560, 0x15}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
        
/go/pkg/mod/k8s.io/[email protected]/discovery/aggregated_discovery.go:69 +0x5f0
   k8s.io/client-go/discovery.SplitGroupsAndResources({{{0xc00004e3f0, 0x15}, 
{0xc000049060, 0x1b}}, {{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...})
        
/go/pkg/mod/k8s.io/[email protected]/discovery/aggregated_discovery.go:35 +0x2f8
   k8s.io/client-go/discovery.(*DiscoveryClient).downloadAPIs(0x1815ff3?)
        /go/pkg/mod/k8s.io/[email protected]/discovery/discovery_client.go:310 
+0x47c
   
k8s.io/client-go/discovery.(*DiscoveryClient).GroupsAndMaybeResources(0xc000001e00?)
        /go/pkg/mod/k8s.io/[email protected]/discovery/discovery_client.go:198 
+0x5c
   k8s.io/client-go/discovery.ServerGroupsAndResources({0x1a8a320, 
0xc0002b32f0})
        /go/pkg/mod/k8s.io/[email protected]/discovery/discovery_client.go:392 
+0x59
   
k8s.io/client-go/discovery.(*DiscoveryClient).ServerGroupsAndResources.func1()
        /go/pkg/mod/k8s.io/[email protected]/discovery/discovery_client.go:356 
+0x25
   k8s.io/client-go/discovery.withRetries(0x2, 0xc0004c50d0)
        /go/pkg/mod/k8s.io/[email protected]/discovery/discovery_client.go:621 
+0x72
   k8s.io/client-go/discovery.(*DiscoveryClient).ServerGroupsAndResources(0x0?)
        /go/pkg/mod/k8s.io/[email protected]/discovery/discovery_client.go:355 
+0x3a
   k8s.io/client-go/restmapper.GetAPIGroupResources({0x1a8a320?, 0xc0002b32f0?})
        /go/pkg/mod/k8s.io/[email protected]/restmapper/discovery.go:148 +0x42
   
sigs.k8s.io/controller-runtime/pkg/client/apiutil.NewDynamicRESTMapper.func1()
        
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/apiutil/dynamicrestmapper.go:86
 +0x25
   
sigs.k8s.io/controller-runtime/pkg/client/apiutil.(*dynamicRESTMapper).setStaticMapper(...)
        
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/apiutil/dynamicrestmapper.go:119
   
sigs.k8s.io/controller-runtime/pkg/client/apiutil.NewDynamicRESTMapper(0xc000358870?,
 {0x0, 0x0, 0x2fb3e8039a338f01?})
        
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/client/apiutil/dynamicrestmapper.go:99
 +0x176
   
sigs.k8s.io/controller-runtime/pkg/cluster.setOptionsDefaults.func1(0xc00011d6c0?)
        
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/cluster/cluster.go:217 
+0x25
   sigs.k8s.io/controller-runtime/pkg/cluster.New(0xc0001c3200, {0xc000143a58, 
0x1, 0x0?})
        
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/cluster/cluster.go:159 
+0x18d
   sigs.k8s.io/controller-runtime/pkg/manager.New(_, {0xc00011d6c0, 0x0, 0x0, 
{{0x1a87000, 0xc00012f1c0}, 0x0}, 0x1, {0x0, 0x0}, ...})
        
/go/pkg/mod/sigs.k8s.io/[email protected]/pkg/manager/manager.go:351 
+0xf9
   main.main()
        /workspace/main.go:171 +0x7b5
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to