https://pulumi.com logo
#python
Title
# python
m

microscopic-barista-15731

06/19/2023, 2:21 PM
Hello. It looks like I found a bug. I’m adding to the google cloud GKE cluster.
Copy code
monitoring_config=gcp.container.ClusterMonitoringConfigArgs(
                                                enable_components=[
                                                    "SYSTEM_COMPONENTS",
                                                    "APISERVER",
                                                    "CONTROLLER_MANAGER",
                                                    "SCHEDULER"
                                                ]
                                            ) if self.enable_cluster_monitoring else None,
                                            logging_config=gcp.container.ClusterLoggingConfigArgs(
                                                enable_components=[
                                                    "SYSTEM_COMPONENTS",
                                                    "WORKLOADS"
                                                ]
                                            ) if self.enable_cluster_logging else None,
Here is error output:
Copy code
Previewing update (kubernetes):
     Type                      Name                       Plan        Info
     Type                      Name                       Plan        Info
     Type                      Name                       Plan       Info
     pulumi:pulumi:Stack       kubernetes-kubernetes                 1 error; 22 messages
 ~   └─ gcp:container:Cluster  pulumi-signal-cmn-cluster  update     [diff: ~loggingConfig,monitoringConfig]; 1 error


Diagnostics:
  pulumi:pulumi:Stack (kubernetes-kubernetes):
    panic: fatal: An assertion has failed: Expected diff to not require deletion or replacement during Update of urn:pulumi:kubernetes::kubernetes::gcp:container/cluster:Cluster::pulumi-signal-cmn-cluster
    goroutine 26 [running]:
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.failfast(...)>
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.40.1/go/common/util/contract/failfast.go:23
    <http://github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0xe0|github.com/pulumi/pulumi/sdk/v3/go/common/util/contract.Assertf(0xe0>?, {0x1031a8592?, 0x18?}, {0x140006c76f8?, 0x140014d2a40?, 0x0?})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.40.1/go/common/util/contract/assert.go:33 +0xe0
    <http://github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Update(0x140004a8a00|github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge.(*Provider).Update(0x140004a8a00>, {0x103ffe3c0?, 0x140006b8840?}, 0x1400053b080)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi-terraform-bridge/v3@v3.30.0/pkg/tfbridge/provider.go:1049 +0x550
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Update_Handler.func1({0x103ffe3c0|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Update_Handler.func1({0x103ffe3c0>, 0x140006b8840}, {0x103e71e00?, 0x1400053b080})
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.40.1/proto/go/provider.pb.go:3782 +0x74
    <http://github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x103ffe3c0|github.com/grpc-ecosystem/grpc-opentracing/go/otgrpc.OpenTracingServerInterceptor.func1({0x103ffe3c0>, 0x14000df7c20}, {0x103e71e00, 0x1400053b080}, 0x14000a2aa00, 0x140001826d8)
        /home/runner/go/pkg/mod/github.com/grpc-ecosystem/grpc-opentracing@v0.0.0-20180507213350-8e809c8a8645/go/otgrpc/server.go:57 +0x30c
    <http://github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Update_Handler({0x103f822e0|github.com/pulumi/pulumi/sdk/v3/proto/go._ResourceProvider_Update_Handler({0x103f822e0>?, 0x140004a8a00}, {0x103ffe3c0, 0x14000df7c20}, 0x14000246310, 0x14000b2df00)
        /home/runner/go/pkg/mod/github.com/pulumi/pulumi/sdk/v3@v3.40.1/proto/go/provider.pb.go:3784 +0x138
    <http://google.golang.org/grpc.(*Server).processUnaryRPC(0x14000dfe000|google.golang.org/grpc.(*Server).processUnaryRPC(0x14000dfe000>, {0x104007400, 0x140009ad040}, 0x14000256ea0, 0x14000df70e0, 0x10623fd10, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.49.0/server.go:1301 +0x9c4
    <http://google.golang.org/grpc.(*Server).handleStream(0x14000dfe000|google.golang.org/grpc.(*Server).handleStream(0x14000dfe000>, {0x104007400, 0x140009ad040}, 0x14000256ea0, 0x0)
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.49.0/server.go:1642 +0x82c
    <http://google.golang.org/grpc.(*Server).serveStreams.func1.2()|google.golang.org/grpc.(*Server).serveStreams.func1.2()>
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.49.0/server.go:938 +0x84
    created by <http://google.golang.org/grpc.(*Server).serveStreams.func1|google.golang.org/grpc.(*Server).serveStreams.func1>
        /home/runner/go/pkg/mod/google.golang.org/grpc@v1.49.0/server.go:936 +0x290

    error: preview failed

  gcp:container:Cluster (pulumi-signal-cmn-cluster):
    error: Preview failed: error reading from server: EOF
pulumi version v3.72.2 Using MAC with m1. One of the latest version is running of macOS GKE cluster version:
Copy code
1.24.12-gke.500
2 Views