Terraform-provider-kubernetes: crash when using provider v1.13.0

Created on 3 Sep 2020  ·  10Comments  ·  Source: hashicorp/terraform-provider-kubernetes

Terraform Version and Provider Version

0.12.29

Affected Resource(s)

something in a kubernetes resource

Terraform Configuration Files

elided for privacy

Debug Output



panic: runtime error: invalid memory address or nil pointer dereference
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xdce277]

Full terraform log:

running "/usr/local/bin/terraform0.12.29 plan -input=false -refresh -no-color -out \"/home/atlantis/.atlantis/repos/tivocorp/inception-k8s-deployment-dev/78/default/k8s-replicator/tek1/default.tfplan\"" in "/home/atlantis/.atlantis/repos/tivocorp/inception-k8s-deployment-dev/78/default/k8s-replicator/tek1": exit status 1
Upgrading modules...
Downloading github.com/tivocorp/inception-k8s-terraform for namespace...

  • namespace in .terraform/modules/namespace/modules/namespace
    Downloading github.com/tivocorp/inception-k8s-terraform for qea1-configmap...
  • qea1-configmap in .terraform/modules/qea1-configmap/modules/configmap
    Downloading github.com/tivocorp/k8s-replicator?ref=master-48 for qea1-replicator...
  • qea1-replicator in .terraform/modules/qea1-replicator/terraform/modules/replicator
    Downloading github.com/tivocorp/inception-k8s-terraform for qea1-replicator.dashboard_configmap...
  • qea1-replicator.dashboard_configmap in .terraform/modules/qea1-replicator.dashboard_configmap/modules/configmap
    Downloading github.com/tivocorp/inception-k8s-terraform for tea1-configmap...
  • tea1-configmap in .terraform/modules/tea1-configmap/modules/configmap
    Downloading github.com/tivocorp/k8s-replicator?ref=master-48 for tea1-replicator...
  • tea1-replicator in .terraform/modules/tea1-replicator/terraform/modules/replicator
    Downloading github.com/tivocorp/inception-k8s-terraform for tea1-replicator.dashboard_configmap...
  • tea1-replicator.dashboard_configmap in .terraform/modules/tea1-replicator.dashboard_configmap/modules/configmap

Initializing the backend...

Initializing provider plugins...

  • Checking for available provider plugins...
  • Downloading plugin for provider "aws" (hashicorp/aws) 2.70.0...
  • Downloading plugin for provider "kubernetes" (hashicorp/kubernetes) 1.13.0...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

module.qea1-configmap.data.aws_eks_cluster.eks: Refreshing state...
module.qea1-configmap.data.aws_eks_cluster_auth.eks: Refreshing state...
module.tea1-replicator.data.aws_ssm_parameter.confluent_username: Refreshing state...
module.tea1-configmap.data.aws_eks_cluster_auth.eks: Refreshing state...
module.tea1-configmap.data.aws_eks_cluster.eks: Refreshing state...
module.namespace.data.aws_eks_cluster.eks: Refreshing state...
module.namespace.data.aws_eks_cluster_auth.eks: Refreshing state...
module.tea1-replicator.data.aws_ssm_parameter.confluent_license_key: Refreshing state...
module.tea1-replicator.data.aws_eks_cluster_auth.eks: Refreshing state...
module.tea1-replicator.data.aws_ssm_parameter.confluent_password: Refreshing state...
module.tea1-replicator.data.aws_eks_cluster.eks: Refreshing state...
module.qea1-replicator.data.aws_eks_cluster_auth.eks: Refreshing state...
module.qea1-replicator.data.aws_eks_cluster.eks: Refreshing state...
module.qea1-replicator.data.aws_ssm_parameter.confluent_password: Refreshing state...
module.qea1-replicator.data.aws_ssm_parameter.confluent_username: Refreshing state...
module.qea1-replicator.data.aws_ssm_parameter.confluent_license_key: Refreshing state...
module.tea1-replicator.module.dashboard_configmap.data.aws_eks_cluster_auth.eks: Refreshing state...
module.tea1-replicator.module.dashboard_configmap.data.aws_eks_cluster.eks: Refreshing state...
module.namespace.kubernetes_namespace.this: Refreshing state... [id=replicator]
module.qea1-replicator.k8sraw_yaml.prometheus_rule: Refreshing state... [id=/apis/monitoring.coreos.com/v1/namespaces/replicator/prometheusrules/replicator-qea1-alerts]
module.tea1-replicator.kubernetes_service.metrics: Refreshing state... [id=replicator/replicator-tea1]
module.qea1-configmap.kubernetes_config_map.this: Refreshing state... [id=replicator/qea1-backup-topics]
module.tea1-replicator.k8sraw_yaml.prometheus_rule: Refreshing state... [id=/apis/monitoring.coreos.com/v1/namespaces/replicator/prometheusrules/replicator-tea1-alerts]
module.qea1-replicator.kubernetes_service.metrics: Refreshing state... [id=replicator/replicator-qea1]
module.tea1-configmap.kubernetes_config_map.this: Refreshing state... [id=replicator/tea1-backup-topics]
module.qea1-replicator.kubernetes_secret.replicator: Refreshing state... [id=replicator/qea1-replicatorsecrets]
module.qea1-replicator.kubernetes_config_map.jmx_metrics: Refreshing state... [id=replicator/qea1-replicator-metrics-jmx-config]
module.tea1-replicator.kubernetes_secret.replicator: Refreshing state... [id=replicator/tea1-replicatorsecrets]
module.tea1-replicator.kubernetes_config_map.jmx_metrics: Refreshing state... [id=replicator/tea1-replicator-metrics-jmx-config]
module.tea1-replicator.module.dashboard_configmap.kubernetes_config_map.this: Refreshing state... [id=replicator/tea1-replicator-jmx-metrics-grafana-dashboard]
module.qea1-replicator.module.dashboard_configmap.data.aws_eks_cluster_auth.eks: Refreshing state...
module.qea1-replicator.module.dashboard_configmap.data.aws_eks_cluster.eks: Refreshing state...
module.qea1-replicator.module.dashboard_configmap.kubernetes_config_map.this: Refreshing state... [id=replicator/qea1-replicator-jmx-metrics-grafana-dashboard]
module.qea1-replicator.kubernetes_deployment.replicator: Refreshing state... [id=replicator/replicator-qea1]
module.tea1-replicator.kubernetes_deployment.replicator: Refreshing state... [id=replicator/replicator-tea1]

Error: rpc error: code = Unavailable desc = transport is closing

Error: rpc error: code = Unavailable desc = transport is closing

panic: runtime error: invalid memory address or nil pointer dereference
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xdce277]
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4:
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: goroutine 67 [running]:
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: k8s.io/apimachinery/pkg/api/resource.(Quantity).String(0x0, 0xc0006f8210, 0x1c23702)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:601 +0x37
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenEmptyDirVolumeSource(0xc001088980, 0xc0006f81e0, 0x1c214d8, 0x4)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_pod.go:416 +0xb9
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenVolumes(0xc00037f000, 0x4, 0x4, 0x20, 0xc000299878, 0x0, 0x0, 0x0)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_pod.go:257 +0x2d4b
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenPodSpec(0xc00037f000, 0x4, 0x4, 0xc00108e580, 0x1, 0x1, 0xc000909080, 0x3, 0x4, 0x0, ...)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_pod.go:98 +0x6cd
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenDeploymentSpec(0xc0002d9ed8, 0xc001088960, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_deployment.go:32 +0x1e2
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.resourceKubernetesDeploymentRead(0xc00011fdc0, 0x1afed20, 0xc000ce29e0, 0xc00011fdc0, 0x0)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/resource_kubernetes_deployment.go:316 +0x4ba
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(
Resource).RefreshWithoutUpgrade(0xc000718a80, 0xc000c52460, 0x1afed20, 0xc000ce29e0, 0xc000188638, 0x0, 0x0)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/resource.go:455 +0x119
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(GRPCProviderServer).ReadResource(0xc00000e360, 0x1ff0ee0, 0xc000d68c30, 0xc000c52690, 0xc00000e360, 0xc000d68c30, 0xc000bc6a48)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin/grpc_provider.go:525 +0x3d8
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x1ba1300, 0xc00000e360, 0x1ff0ee0, 0xc000d68c30, 0xc000cd2060, 0x0, 0x1ff0ee0, 0xc000d68c30, 0xc00105e000, 0x1e19)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5/tfplugin5.pb.go:3153 +0x217
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: google.golang.org/grpc.(
Server).processUnaryRPC(0xc0000c4160, 0x20070c0, 0xc00083b980, 0xc0000e6e00, 0xc00053c4e0, 0x2ddcc10, 0x0, 0x0, 0x0)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:995 +0x460
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: google.golang.org/grpc.(Server).handleStream(0xc0000c4160, 0x20070c0, 0xc00083b980, 0xc0000e6e00, 0x0)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:1275 +0xd3d
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: google.golang.org/grpc.(
Server).serveStreams.func1.1(0xc000580020, 0xc0000c4160, 0x20070c0, 0xc00083b980, 0xc0000e6e00)
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:710 +0xa1
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: created by google.golang.org/grpc.(Server).serveStreams.func1
2020-09-02T22:13:57.027Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:708 +0xa1
2020/09/02 22:13:57 [ERROR] module.qea1-replicator: eval: *terraform.EvalRefresh, err: rpc error: code = Unavailable desc = transport is closing
2020/09/02 22:13:57 [ERROR] module.qea1-replicator: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2020/09/02 22:13:57 [TRACE] [walkRefresh] Exiting eval tree: module.qea1-replicator.kubernetes_deployment.replicator
2020/09/02 22:13:57 [TRACE] vertex "module.qea1-replicator.kubernetes_deployment.replicator": visit complete
2020/09/02 22:13:57 [TRACE] vertex "module.qea1-replicator.kubernetes_deployment.replicator": dynamic subgraph encountered errors
2020/09/02 22:13:57 [TRACE] vertex "module.qea1-replicator.kubernetes_deployment.replicator": visit complete
2020/09/02 22:13:57 [TRACE] dag/walk: upstream of "module.qea1-replicator.provider.kubernetes (close)" errored, so skipping
2020-09-02T22:13:57.031Z [DEBUG] plugin: plugin process exited: path=/home/atlantis/.atlantis/repos/tivocorp/inception-k8s-deployment-dev/78/default/k8s-replicator/tek1/.terraform/plugins/linux_amd64/terraform-provider-kubernetes_v1.13.0_x4 pid=25400 error="exit status 2"
2020-09-02T22:13:57.121Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: 2020/09/02 22:13:57 [INFO] Checking deployment replicator-tea1
2020-09-02T22:13:57.130Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: 2020/09/02 22:13:57 [INFO] Reading deployment replicator-tea1
2020-09-02T22:13:57.135Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: 2020/09/02 22:13:57 [INFO] Received deployment: &v1.Deployment{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"replicator-tea1", GenerateName:"", Namespace:"replicator", SelfLink:"/apis/apps/v1/namespaces/replicator/deployments/replicator-tea1", UID:"3c356ba2-6ac5-4626-88e5-4fe14703674b", ResourceVersion:"22200929", Generation:7, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63727263837, loc:(
time.Location)(0x2df42a0)}}, DeletionTimestamp:(v1.Time)(nil), DeletionGracePeriodSeconds:(int64)(nil), Labels:map[string]string{"appid":"replicator-tea1", "owner":"inception-scrum", "scope":"dev", "stage":"dev", "version":"1.0"}, Annotations:map[string]string{"deployment.kubernetes.io/revision":"7", "email":"[email protected]", "slack":""}, OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.DeploymentSpec{Replicas:(int32)(0xc000744148), Selector:(v1.LabelSelector)(0xc0011a41c0), Template:v1.PodTemplateSpec{ObjectMeta:v1.ObjectMeta{Name:"", GenerateName:"", Namespace:"", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(time.Location)(nil)}}, DeletionTimestamp:(v1.Time)(nil), DeletionGracePeriodSeconds:(int64)(nil), Labels:map[string]string{"appid":"replicator-tea1"}, Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.PodSpec{Volumes:[]v1.Volume{v1.Volume{Name:"config", VolumeSource:v1.VolumeSource{HostPath:(v1.HostPathVolumeSource)(nil), EmptyDir:(v1.EmptyDirVolumeSource)(0xc0011a41e0), GCEPersistentDisk:(v1.GCEPersistentDiskVolumeSource)(nil), AWSElasticBlockStore:(v1.AWSElasticBlockStoreVolumeSource)(nil), GitRepo:(v1.GitRepoVolumeSource)(nil), Secret:(v1.SecretVolumeSource)(nil), NFS:(v1.NFSVolumeSource)(nil), ISCSI:(v1.ISCSIVolumeSource)(nil), Glusterfs:(v1.GlusterfsVolumeSource)(nil), PersistentVolumeClaim:(v1.PersistentVolumeClaimVolumeSource)(nil), RBD:(v1.RBDVolumeSource)(nil), FlexVolume:(v1.FlexVolumeSource)(nil), Cinder:(v1.CinderVolumeSource)(nil), CephFS:(v1.CephFSVolumeSource)(nil), Flocker:(v1.FlockerVolumeSource)(nil), DownwardAPI:(v1.DownwardAPIVolumeSource)(nil), FC:(v1.FCVolumeSource)(nil), AzureFile:(v1.AzureFileVolumeSource)(nil), ConfigMap:(v1.ConfigMapVolumeSource)(nil), VsphereVolume:(v1.VsphereVirtualDiskVolumeSource)(nil), Quobyte:(v1.QuobyteVolumeSource)(nil), AzureDisk:(v1.AzureDiskVolumeSource)(nil), PhotonPersistentDisk:(v1.PhotonPersistentDiskVolumeSource)(nil), Projected:(v1.ProjectedVolumeSource)(nil), PortworxVolume:(v1.PortworxVolumeSource)(nil), ScaleIO:(v1.ScaleIOVolumeSource)(nil), StorageOS:(v1.StorageOSVolumeSource)(nil), CSI:(v1.CSIVolumeSource)(nil)}}, v1.Volume{Name:"properties", VolumeSource:v1.VolumeSource{HostPath:(v1.HostPathVolumeSource)(nil), EmptyDir:(v1.EmptyDirVolumeSource)(0xc0011a4200), GCEPersistentDisk:(v1.GCEPersistentDiskVolumeSource)(nil), AWSElasticBlockStore:(v1.AWSElasticBlockStoreVolumeSource)(nil), GitRepo:(v1.GitRepoVolumeSource)(nil), Secret:(v1.SecretVolumeSource)(nil), NFS:(v1.NFSVolumeSource)(nil), ISCSI:(v1.ISCSIVolumeSource)(nil), Glusterfs:(v1.GlusterfsVolumeSource)(nil), PersistentVolumeClaim:(v1.PersistentVolumeClaimVolumeSource)(nil), RBD:(v1.RBDVolumeSource)(nil), FlexVolume:(v1.FlexVolumeSource)(nil), Cinder:(v1.CinderVolumeSource)(nil), CephFS:(v1.CephFSVolumeSource)(nil), Flocker:(v1.FlockerVolumeSource)(nil), DownwardAPI:(v1.DownwardAPIVolumeSource)(nil), FC:(v1.FCVolumeSource)(nil), AzureFile:(v1.AzureFileVolumeSource)(nil), ConfigMap:(v1.ConfigMapVolumeSource)(nil), VsphereVolume:(v1.VsphereVirtualDiskVolumeSource)(nil), Quobyte:(v1.QuobyteVolumeSource)(nil), AzureDisk:(v1.AzureDiskVolumeSource)(nil), PhotonPersistentDisk:(v1.PhotonPersistentDiskVolumeSource)(nil), Projected:(v1.ProjectedVolumeSource)(nil), PortworxVolume:(v1.PortworxVolumeSource)(nil), ScaleIO:(v1.ScaleIOVolumeSource)(nil), StorageOS:(v1.StorageOSVolumeSource)(nil), CSI:(v1.CSIVolumeSource)(nil)}}, v1.Volume{Name:"topics", VolumeSource:v1.VolumeSource{HostPath:(v1.HostPathVolumeSource)(nil), EmptyDir:(v1.EmptyDirVolumeSource)(nil), GCEPersistentDisk:(v1.GCEPersistentDiskVolumeSource)(nil), AWSElasticBlockStore:(v1.AWSElasticBlockStoreVolumeSource)(nil), GitRepo:(v1.GitRepoVolumeSource)(nil), Secret:(v1.SecretVolumeSource)(nil), NFS:(v1.NFSVolumeSource)(nil), ISCSI:(v1.ISCSIVolumeSource)(nil), Glusterfs:(v1.GlusterfsVolumeSource)(nil), PersistentVolumeClaim:(v1.PersistentVolumeClaimVolumeSource)(nil), RBD:(v1.RBDVolumeSource)(nil), FlexVolume:(v1.FlexVolumeSource)(nil), Cinder:(v1.CinderVolumeSource)(nil), CephFS:(v1.CephFSVolumeSource)(nil), Flocker:(v1.FlockerVolumeSource)(nil), DownwardAPI:(v1.DownwardAPIVolumeSource)(nil), FC:(v1.FCVolumeSource)(nil), AzureFile:(v1.AzureFileVolumeSource)(nil), ConfigMap:(v1.ConfigMapVolumeSource)(0xc00119a080), VsphereVolume:(v1.VsphereVirtualDiskVolumeSource)(nil), Quobyte:(v1.QuobyteVolumeSource)(nil), AzureDisk:(v1.AzureDiskVolumeSource)(nil), PhotonPersistentDisk:(v1.PhotonPersistentDiskVolumeSource)(nil), Projected:(v1.ProjectedVolumeSource)(nil), PortworxVolume:(v1.PortworxVolumeSource)(nil), ScaleIO:(v1.ScaleIOVolumeSource)(nil), StorageOS:(v1.StorageOSVolumeSource)(nil), CSI:(v1.CSIVolumeSource)(nil)}}, v1.Volume{Name:"replicator-metrics-jmx-config", VolumeSource:v1.VolumeSource{HostPath:(v1.HostPathVolumeSource)(nil), EmptyDir:(v1.EmptyDirVolumeSource)(nil), GCEPersistentDisk:(v1.GCEPersistentDiskVolumeSource)(nil), AWSElasticBlockStore:(v1.AWSElasticBlockStoreVolumeSource)(nil), GitRepo:(v1.GitRepoVolumeSource)(nil), Secret:(v1.SecretVolumeSource)(nil), NFS:(v1.NFSVolumeSource)(nil), ISCSI:(v1.ISCSIVolumeSource)(nil), Glusterfs:(v1.GlusterfsVolumeSource)(nil), PersistentVolumeClaim:(v1.PersistentVolumeClaimVolumeSource)(nil), RBD:(v1.RBDVolumeSource)(nil), FlexVolume:(v1.FlexVolumeSource)(nil), Cinder:(v1.CinderVolumeSource)(nil), CephFS:(v1.CephFSVolumeSource)(nil), Flocker:(v1.FlockerVolumeSource)(nil), DownwardAPI:(v1.DownwardAPIVolumeSource)(nil), FC:(v1.FCVolumeSource)(nil), AzureFile:(v1.AzureFileVolumeSource)(nil), ConfigMap:(v1.ConfigMapVolumeSource)(0xc00119a0c0), VsphereVolume:(v1.VsphereVirtualDiskVolumeSource)(nil), Quobyte:(v1.QuobyteVolumeSource)(nil), AzureDisk:(v1.AzureDiskVolumeSource)(nil), PhotonPersistentDisk:(v1.PhotonPersistentDiskVolumeSource)(nil), Projected:(v1.ProjectedVolumeSource)(nil), PortworxVolume:(v1.PortworxVolumeSource)(nil), ScaleIO:(v1.ScaleIOVolumeSource)(nil), StorageOS:(v1.StorageOSVolumeSource)(nil), CSI:(v1.CSIVolumeSource)(nil)}}}, InitContainers:[]v1.Container{v1.Container{Name:"replicator-config-init", Image:"docker.tivo.com/replicator-config-manager@sha256:e716698840e6a5ba0ea17d066d5960951b9b8cbd2e577249f9b1762901921e7b", Command:[]string(nil), Args:[]string{"generate"}, WorkingDir:"", Ports:[]v1.ContainerPort(nil), EnvFrom:[]v1.EnvFromSource(nil), Env:[]v1.EnvVar{v1.EnvVar{Name:"CLUSTER_ID", Value:"replicator-tea1-to-confluent-kafka", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"EPHEMERAL_NAME", Value:"", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"SOURCE_DATACENTER", Value:"tea1", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"SRC_KAFKA_ENDPOINT", Value:"kafka.tea1.tivo.com:9092", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"DEST_KAFKA_ENDPOINT", Value:"pkc-lqzp2.us-east-1.aws.confluent.cloud:9092", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"LICENSE_KEY", Value:"", ValueFrom:(v1.EnvVarSource)(0xc0011a4220)}, v1.EnvVar{Name:"SSL_USERNAME", Value:"", ValueFrom:(v1.EnvVarSource)(0xc0011a4240)}, v1.EnvVar{Name:"SSL_PASSWORD", Value:"", ValueFrom:(v1.EnvVarSource)(0xc0011a4260)}}, Resources:v1.ResourceRequirements{Limits:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:100, scale:-3}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100m", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:104857600, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100Mi", Format:"BinarySI"}}, Requests:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:100, scale:-3}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100m", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:104857600, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100Mi", Format:"BinarySI"}}}, VolumeMounts:[]v1.VolumeMount{v1.VolumeMount{Name:"config", ReadOnly:false, MountPath:"/etc/replicator/", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e290), SubPathExpr:""}, v1.VolumeMount{Name:"topics", ReadOnly:false, MountPath:"/etc/replicator/backup-topics/", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e2a0), SubPathExpr:""}}, VolumeDevices:[]v1.VolumeDevice(nil), LivenessProbe:(v1.Probe)(nil), ReadinessProbe:(v1.Probe)(nil), StartupProbe:(v1.Probe)(nil), Lifecycle:(v1.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"Always", SecurityContext:(v1.SecurityContext)(nil), Stdin:false, StdinOnce:false, TTY:false}}, Containers:[]v1.Container{v1.Container{Name:"replicator-config-validator", Image:"docker.tivo.com/replicator-config-manager@sha256:e716698840e6a5ba0ea17d066d5960951b9b8cbd2e577249f9b1762901921e7b", Command:[]string(nil), Args:[]string{"compare"}, WorkingDir:"", Ports:[]v1.ContainerPort(nil), EnvFrom:[]v1.EnvFromSource(nil), Env:[]v1.EnvVar{v1.EnvVar{Name:"CLUSTER_ID", Value:"replicator-tea1-to-confluent-kafka", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"EPHEMERAL_NAME", Value:"", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"SOURCE_DATACENTER", Value:"tea1", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"SRC_KAFKA_ENDPOINT", Value:"kafka.tea1.tivo.com:9092", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"DEST_KAFKA_ENDPOINT", Value:"pkc-lqzp2.us-east-1.aws.confluent.cloud:9092", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"LICENSE_KEY", Value:"", ValueFrom:(v1.EnvVarSource)(0xc0011a4280)}, v1.EnvVar{Name:"SSL_USERNAME", Value:"", ValueFrom:(v1.EnvVarSource)(0xc0011a42a0)}, v1.EnvVar{Name:"SSL_PASSWORD", Value:"", ValueFrom:(v1.EnvVarSource)(0xc0011a42c0)}}, Resources:v1.ResourceRequirements{Limits:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:1, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"1", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:104857600, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100Mi", Format:"BinarySI"}}, Requests:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:100, scale:-3}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100m", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:104857600, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100Mi", Format:"BinarySI"}}}, VolumeMounts:[]v1.VolumeMount{v1.VolumeMount{Name:"config", ReadOnly:false, MountPath:"/etc/replicator/", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e300), SubPathExpr:""}, v1.VolumeMount{Name:"topics", ReadOnly:false, MountPath:"/etc/replicator/backup-topics/", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e310), SubPathExpr:""}}, VolumeDevices:[]v1.VolumeDevice(nil), LivenessProbe:(v1.Probe)(nil), ReadinessProbe:(v1.Probe)(nil), StartupProbe:(v1.Probe)(nil), Lifecycle:(v1.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"IfNotPresent", SecurityContext:(v1.SecurityContext)(nil), Stdin:false, StdinOnce:false, TTY:false}, v1.Container{Name:"replicator", Image:"confluentinc/cp-enterprise-replicator-executable:latest", Command:[]string(nil), Args:[]string{"/bin/sh", "-c", "touch /etc/replicator/healthy;\n/etc/confluent/docker/run\n"}, WorkingDir:"", Ports:[]v1.ContainerPort{v1.ContainerPort{Name:"jmx", HostPort:0, ContainerPort:5555, Protocol:"TCP", HostIP:""}}, EnvFrom:[]v1.EnvFromSource(nil), Env:[]v1.EnvVar{v1.EnvVar{Name:"CLUSTER_ID", Value:"replicator-tea1-to-confluent-kafka", ValueFrom:(v1.EnvVarSource)(nil)}, v1.EnvVar{Name:"JMX_PORT", Value:"5555", ValueFrom:(v1.EnvVarSource)(nil)}}, Resources:v1.ResourceRequirements{Limits:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:2, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"2", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:4194304000, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"", Format:"BinarySI"}}, Requests:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:1, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"1", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:2621440000, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"2500Mi", Format:"BinarySI"}}}, VolumeMounts:[]v1.VolumeMount{v1.VolumeMount{Name:"config", ReadOnly:false, MountPath:"/etc/replicator/", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e380), SubPathExpr:""}, v1.VolumeMount{Name:"properties", ReadOnly:false, MountPath:"/etc/kafka-connect-replicator", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e390), SubPathExpr:""}}, VolumeDevices:[]v1.VolumeDevice(nil), LivenessProbe:(v1.Probe)(0xc001196540), ReadinessProbe:(v1.Probe)(nil), StartupProbe:(v1.Probe)(nil), Lifecycle:(v1.Lifecycle)(0xc00022e3b0), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"Always", SecurityContext:(v1.SecurityContext)(nil), Stdin:false, StdinOnce:false, TTY:false}, v1.Container{Name:"metrics", Image:"solsson/kafka-prometheus-jmx-exporter@sha256:d237a12cc0cde42b539bcb5efc0008ba5e6ca1351b7843ed52bd574d181c5efd", Command:[]string{"java", "-jar", "jmx_prometheus_httpserver.jar", "8080", "/etc/jmx-replicator/jmx-replicator-prometheus.yml"}, Args:[]string(nil), WorkingDir:"", Ports:[]v1.ContainerPort{v1.ContainerPort{Name:"metrics", HostPort:0, ContainerPort:8080, Protocol:"TCP", HostIP:""}}, EnvFrom:[]v1.EnvFromSource(nil), Env:[]v1.EnvVar(nil), Resources:v1.ResourceRequirements{Limits:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:3, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"3", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:419430400, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"", Format:"BinarySI"}}, Requests:v1.ResourceList{"cpu":resource.Quantity{i:resource.int64Amount{value:100, scale:-3}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"100m", Format:"DecimalSI"}, "memory":resource.Quantity{i:resource.int64Amount{value:115343360, scale:0}, d:resource.infDecAmount{Dec:(inf.Dec)(nil)}, s:"110Mi", Format:"BinarySI"}}}, VolumeMounts:[]v1.VolumeMount{v1.VolumeMount{Name:"replicator-metrics-jmx-config", ReadOnly:false, MountPath:"/etc/jmx-replicator", SubPath:"", MountPropagation:(v1.MountPropagationMode)(0xc00022e420), SubPathExpr:""}}, VolumeDevices:[]v1.VolumeDevice(nil), LivenessProbe:(v1.Probe)(nil), ReadinessProbe:(v1.Probe)(nil), StartupProbe:(v1.Probe)(nil), Lifecycle:(v1.Lifecycle)(nil), TerminationMessagePath:"/dev/termination-log", TerminationMessagePolicy:"File", ImagePullPolicy:"IfNotPresent", SecurityContext:(v1.SecurityContext)(nil), Stdin:false, StdinOnce:false, TTY:false}}, EphemeralContainers:[]v1.EphemeralContainer(nil), RestartPolicy:"Always", TerminationGracePeriodSeconds:(int64)(0xc000744958), ActiveDeadlineSeconds:(int64)(nil), DNSPolicy:"ClusterFirst", NodeSelector:map[string]string(nil), ServiceAccountName:"", DeprecatedServiceAccount:"", AutomountServiceAccountToken:(bool)(0xc000744969), NodeName:"", HostNetwork:false, HostPID:false, HostIPC:false, ShareProcessNamespace:(bool)(0xc00074496a), SecurityContext:(v1.PodSecurityContext)(0xc000b92000), ImagePullSecrets:[]v1.LocalObjectReference(nil), Hostname:"", Subdomain:"", Affinity:(v1.Affinity)(nil), SchedulerName:"default-scheduler", Tolerations:[]v1.Toleration(nil), HostAliases:[]v1.HostAlias(nil), PriorityClassName:"", Priority:(int32)(nil), DNSConfig:(v1.PodDNSConfig)(nil), ReadinessGates:[]v1.PodReadinessGate(nil), RuntimeClassName:(string)(nil), EnableServiceLinks:(bool)(nil), PreemptionPolicy:(v1.PreemptionPolicy)(nil), Overhead:v1.ResourceList(nil), TopologySpreadConstraints:[]v1.TopologySpreadConstraint(nil)}}, Strategy:v1.DeploymentStrategy{Type:"RollingUpdate", RollingUpdate:(v1.RollingUpdateDeployment)(0xc00022e430)}, MinReadySeconds:0, RevisionHistoryLimit:(int32)(0xc0007449b4), Paused:false, ProgressDeadlineSeconds:(int32)(0xc0007449b8)}, Status:v1.DeploymentStatus{ObservedGeneration:7, Replicas:2, UpdatedReplicas:2, ReadyReplicas:2, AvailableReplicas:2, UnavailableReplicas:0, Conditions:[]v1.DeploymentCondition{v1.DeploymentCondition{Type:"Progressing", Status:"True", LastUpdateTime:v1.Time{Time:time.Time{wall:0x0, ext:63734237169, loc:(time.Location)(0x2df42a0)}}, LastTransitionTime:v1.Time{Time:time.Time{wall:0x0, ext:63727263837, loc:(time.Location)(0x2df42a0)}}, Reason:"NewReplicaSetAvailable", Message:"ReplicaSet \"replicator-tea1-6b9c68db48\" has successfully progressed."}, v1.DeploymentCondition{Type:"Available", Status:"True", LastUpdateTime:v1.Time{Time:time.Time{wall:0x0, ext:63734656803, loc:(time.Location)(0x2df42a0)}}, LastTransitionTime:v1.Time{Time:time.Time{wall:0x0, ext:63734656803, loc:(time.Location)(0x2df42a0)}}, Reason:"MinimumReplicasAvailable", Message:"Deployment has minimum availability."}}, CollisionCount:(int32)(nil)}}
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: panic: runtime error: invalid memory address or nil pointer dereference
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0xdce277]
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4:
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: goroutine 55 [running]:
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: k8s.io/apimachinery/pkg/api/resource.(
Quantity).String(0x0, 0xc001197f80, 0x1c23702)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/k8s.io/apimachinery/pkg/api/resource/quantity.go:601 +0x37
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenEmptyDirVolumeSource(0xc0011a41e0, 0xc001197f50, 0x1c214d8, 0x4)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_pod.go:416 +0xb9
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenVolumes(0xc00057e400, 0x4, 0x4, 0x20, 0xc000403f28, 0x0, 0x0, 0x0)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_pod.go:257 +0x2d4b
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenPodSpec(0xc00057e400, 0x4, 0x4, 0xc0011a2160, 0x1, 0x1, 0xc000980b00, 0x3, 0x4, 0x0, ...)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_pod.go:98 +0x6cd
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.flattenDeploymentSpec(0xc000744148, 0xc0011a41c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/structures_deployment.go:32 +0x1e2
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-provider-kubernetes/kubernetes.resourceKubernetesDeploymentRead(0xc0002f1570, 0x1afed20, 0xc0003c7580, 0xc0002f1570, 0x0)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/kubernetes/resource_kubernetes_deployment.go:316 +0x4ba
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(Resource).RefreshWithoutUpgrade(0xc000638a00, 0xc0004a2550, 0x1afed20, 0xc0003c7580, 0xc000f3acc8, 0x0, 0x0)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/resource.go:455 +0x119
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(
GRPCProviderServer).ReadResource(0xc00000ef90, 0x1ff0ee0, 0xc001213a40, 0xc0004a2780, 0xc00000ef90, 0xc001213a40, 0xc0013b3a48)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin/grpc_provider.go:525 +0x3d8
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x1ba1300, 0xc00000ef90, 0x1ff0ee0, 0xc001213a40, 0xc000be6060, 0x0, 0x1ff0ee0, 0xc001213a40, 0xc0013b4000, 0x1e1b)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5/tfplugin5.pb.go:3153 +0x217
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: google.golang.org/grpc.(Server).processUnaryRPC(0xc0000bc000, 0x20070c0, 0xc00056b200, 0xc0000dcf00, 0xc000769bc0, 0x2ddcc10, 0x0, 0x0, 0x0)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:995 +0x460
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: google.golang.org/grpc.(
Server).handleStream(0xc0000bc000, 0x20070c0, 0xc00056b200, 0xc0000dcf00, 0x0)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:1275 +0xd3d
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: google.golang.org/grpc.(Server).serveStreams.func1.1(0xc0006e42b0, 0xc0000bc000, 0x20070c0, 0xc00056b200, 0xc0000dcf00)
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:710 +0xa1
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: created by google.golang.org/grpc.(
Server).serveStreams.func1
2020-09-02T22:13:57.138Z [DEBUG] plugin.terraform-provider-kubernetes_v1.13.0_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/hashicorp/terraform-provider-kubernetes/vendor/google.golang.org/grpc/server.go:708 +0xa1
2020-09-02T22:13:57.140Z [DEBUG] plugin: plugin process exited: path=/home/atlantis/.atlantis/repos/tivocorp/inception-k8s-deployment-dev/78/default/k8s-replicator/tek1/.terraform/plugins/linux_amd64/terraform-provider-kubernetes_v1.13.0_x4 pid=25364 error="exit status 2"
2020/09/02 22:13:57 [ERROR] module.tea1-replicator: eval: *terraform.EvalRefresh, err: rpc error: code = Unavailable desc = transport is closing
2020/09/02 22:13:57 [ERROR] module.tea1-replicator: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2020/09/02 22:13:57 [TRACE] [walkRefresh] Exiting eval tree: module.tea1-replicator.kubernetes_deployment.replicator
2020/09/02 22:13:57 [TRACE] vertex "module.tea1-replicator.kubernetes_deployment.replicator": visit complete
2020/09/02 22:13:57 [TRACE] vertex "module.tea1-replicator.kubernetes_deployment.replicator": dynamic subgraph encountered errors
2020/09/02 22:13:57 [TRACE] vertex "module.tea1-replicator.kubernetes_deployment.replicator": visit complete
2020/09/02 22:13:57 [TRACE] dag/walk: upstream of "module.tea1-replicator.provider.kubernetes (close)" errored, so skipping
2020/09/02 22:13:57 [TRACE] dag/walk: upstream of "root" errored, so skipping
2020-09-02T22:13:57.195Z [DEBUG] plugin: plugin exited
2020-09-02T22:13:57.195Z [DEBUG] plugin: plugin exited

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.

When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.

SECURITY WARNING: the "crash.log" file that was created may contain
sensitive information that must be redacted before it is safe to share
on the issue tracker.

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Panic Output

not available (other than above)

Expected Behavior

should run normally

Actual Behavior

terraform crashed

Steps to Reproduce

apply terraform

Important Factoids

worked fine an hour ago, but terraform-provider-kubernetes released 1.13.0 since then, and now crashes

References

?

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
acknowledged bug crash

Most helpful comment

Looks like we missed a guard for a nil pointer here: https://github.com/hashicorp/terraform-provider-kubernetes/blob/master/kubernetes/structures_pod.go#L416

PR incoming with a fix for this.

All 10 comments

Looks like we missed a guard for a nil pointer here: https://github.com/hashicorp/terraform-provider-kubernetes/blob/master/kubernetes/structures_pod.go#L416

PR incoming with a fix for this.

needs a new release

New release should be available shortly @llamahunter

@llamahunter Would you mind sharing your Kubernetes cluster version and the cloud provider? I'm trying to figure out why this crashed for you even though the acceptance test for this feature, which has tests omitting and including the size_limit field, passed.

I've hit that same issue today, running on an AWS EKS cluster with Kubernetes 1.16, and Terraform 0.13.2. Glad to see it patched so quickly!

@jrhouston If it helps, I also encountered this _exact_ issue today with the segfault occurring on structures_pod.go#L416 and my kubernetes version is v1.16.13-eks-2ba888

k8s cluster 1.17.3, cloud provider aws (eks).
fwiw, the 1.13.1 version works. thx for quick turnaround!

There still seems to be a side effect of some change in 1.13.0 w.r.t. emptyDir volumes. Previously, we did not set the size_limit value (i.e. left it at nil, the default, meaning no limit). Now terraform wants to destroy and re-create any pods that have no explicit size_limit on emptyDir, and set it explicitly to "0".
It's unclear to me whether "0" is the same as nil, i.e. no size limit, but destroying and re-creating existing pods just to swap one default value for another seems undesirable.

@llamahunter this should be fixed by https://github.com/hashicorp/terraform-provider-kubernetes/pull/985. Please see https://github.com/hashicorp/terraform-provider-kubernetes/issues/984#issuecomment-686615371 for a workaround until we can roll out a new release with this fix.

I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings