early-musician-41645
02/04/2019, 10:00 PME0204 13:58:59.709463 351850 memcache.go:126] couldn't get current server API group list; will keep using cached value. (Unauthorized)
gorgeous-egg-16927
02/04/2019, 10:06 PMearly-musician-41645
02/04/2019, 10:10 PMpulumi up
, not some later action.gorgeous-egg-16927
02/04/2019, 10:11 PMearly-musician-41645
02/04/2019, 10:13 PM$ cat package.json
{
"name": "eks-cluster",
"devDependencies": {
"@types/node": "10.12.19"
},
"dependencies": {
"@pulumi/aws": "0.16.7",
"@pulumi/eks": "0.16.4",
"@pulumi/kubernetes": "0.20.0",
"@pulumi/pulumi": "0.16.12"
}
}
up
and destroy
gorgeous-egg-16927
02/04/2019, 10:14 PMUpgrade to client-go 0.10.0
in https://github.com/pulumi/pulumi-kubernetes/releases/tag/v0.20.0early-musician-41645
02/04/2019, 10:17 PMgorgeous-egg-16927
02/04/2019, 10:18 PMearly-musician-41645
02/04/2019, 10:20 PMgorgeous-egg-16927
02/04/2019, 10:25 PMkubectl
?early-musician-41645
02/04/2019, 10:31 PMgorgeous-egg-16927
02/04/2019, 10:37 PMearly-musician-41645
02/04/2019, 10:45 PMgorgeous-egg-16927
02/04/2019, 10:47 PMearly-musician-41645
02/04/2019, 10:56 PMpulumi refresh
, but it continues failing, specifically on the gp2 storageclasskubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass> (eshamay-test-eks-cluster-gp2):
error: Preview failed: the cache has not been filled yet
creamy-potato-29402
02/04/2019, 11:13 PMearly-musician-41645
02/04/2019, 11:15 PMpulumi up
, but refreshing is failing with this:
Previewing refresh (tableau/eshamay-test):
Type Name Plan Info
pulumi:pulumi:Stack eks-cluster-eshamay-test 2 messages
├─ eks:index:Cluster eshamay-test-eks-cluster
│ ├─ eks:index:ServiceRole eshamay-test-eks-cluster-instanceRole
│ │ ├─ aws:iam:Role eshamay-test-eks-cluster-instanceRole-role
│ │ ├─ aws:iam:RolePolicyAttachment eshamay-test-eks-cluster-instanceRole-03516f97
│ │ ├─ aws:iam:RolePolicyAttachment eshamay-test-eks-cluster-instanceRole-e1b295bd
│ │ └─ aws:iam:RolePolicyAttachment eshamay-test-eks-cluster-instanceRole-3eb088f2
│ ├─ eks:index:ServiceRole eshamay-test-eks-cluster-eksRole
│ │ ├─ aws:iam:Role eshamay-test-eks-cluster-eksRole-role
│ │ ├─ aws:iam:RolePolicyAttachment eshamay-test-eks-cluster-eksRole-4b490823
│ │ └─ aws:iam:RolePolicyAttachment eshamay-test-eks-cluster-eksRole-90eb1c99
│ ├─ pulumi-nodejs:dynamic:Resource eshamay-test-eks-cluster-cfnStackName
│ ├─ aws:ec2:KeyPair eshamay-test-eks-cluster-keyPair
~ │ ├─ aws:ec2:SecurityGroup eshamay-test-eks-cluster-eksClusterSecurityGroup update [diff: ~ingress]
~ │ ├─ aws:iam:InstanceProfile eshamay-test-eks-cluster-instanceProfile update [diff: ~roles]
│ ├─ pulumi:providers:kubernetes eshamay-test-eks-cluster-eks-k8s
~ │ ├─ aws:ec2:SecurityGroupRule eshamay-test-eks-cluster-eksClusterIngressRule update [diff: +cidrBlocks,ipv6CidrBlocks,prefixListIds]
│ ├─ aws:eks:Cluster eshamay-test-eks-cluster-eksCluster
~ │ ├─ kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass> eshamay-test-eks-cluster-gp2 refresh 1 error
│ ├─ aws:ec2:LaunchConfiguration eshamay-test-eks-cluster-nodeLaunchConfiguration
│ ├─ pulumi-nodejs:dynamic:Resource eshamay-test-eks-cluster-vpc-cni
~ │ └─ aws:ec2:SecurityGroup eshamay-test-eks-cluster-nodeSecurityGroup update [diff: ~ingress]
├─ kubernetes:helm.sh:Chart splunk-forwarder
├─ pulumi:pulumi:StackReference tableau/mustang-aws-iam/mustang-aws-iam-sandbox
~ └─ aws:ec2:SecurityGroupRule ssh-ingress update [diff: +description,ipv6CidrBlocks,prefixListIds]
Diagnostics:
pulumi:pulumi:Stack (eks-cluster-eshamay-test):
E0204 22:50:42.172348 6595 memcache.go:126] couldn't get current server API group list; will keep using cached value. (Get <https://88DA2FE0B8F4AF81187BB175B3D7D2F2.yl4.us-west-2.eks.amazonaws.com/api?timeout=32s>: dial tcp: lookup <http://88DA2FE0B8F4AF81187BB175B3D7D2F2.yl4.us-west-2.eks.amazonaws.com|88DA2FE0B8F4AF81187BB175B3D7D2F2.yl4.us-west-2.eks.amazonaws.com> on 10.43.42.34:53: no such host)
E0204 22:50:42.179106 6595 memcache.go:126] couldn't get current server API group list; will keep using cached value. (Get <https://88DA2FE0B8F4AF81187BB175B3D7D2F2.yl4.us-west-2.eks.amazonaws.com/api?timeout=32s>: dial tcp: lookup <http://88DA2FE0B8F4AF81187BB175B3D7D2F2.yl4.us-west-2.eks.amazonaws.com|88DA2FE0B8F4AF81187BB175B3D7D2F2.yl4.us-west-2.eks.amazonaws.com> on 10.43.42.34:53: no such host)
kubernetes:<http://storage.k8s.io:StorageClass|storage.k8s.io:StorageClass> (eshamay-test-eks-cluster-gp2):
error: Preview failed: the cache has not been filled yet
error: an error occurred while advancing the preview
no such host
is expectedcreamy-potato-29402
02/04/2019, 11:16 PMrefresh
output looks at least sensible to me.early-musician-41645
02/04/2019, 11:20 PMrefresh
, up
, or destroy
because they all fail with an errorcreamy-potato-29402
02/04/2019, 11:21 PMearly-musician-41645
02/04/2019, 11:21 PMcreamy-potato-29402
02/04/2019, 11:21 PMgorgeous-egg-16927
02/04/2019, 11:23 PMearly-musician-41645
02/04/2019, 11:25 PMcreamy-potato-29402
02/04/2019, 11:25 PMpulumi state delete
to have pulumi “forget” those EKS resources, we will fix that issue soon.early-musician-41645
02/04/2019, 11:26 PMcreamy-potato-29402
02/04/2019, 11:27 PMearly-musician-41645
02/04/2019, 11:32 PM[1262][/home/tsi/eshamay/git/mustang/sdp-mustang-terraform/pulumi/eks-cluster]$ pulumi stack --show-urns | grep gp2
kubernetes:<http://storage.k8s.io/v1:StorageClass|storage.k8s.io/v1:StorageClass> eshamay-test-eks-cluster-gp2
URN: urn:pulumi:eshamay-test::eks-cluster::eks:index:Cluster$kubernetes:<http://storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2|storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2>
[1263][/home/tsi/eshamay/git/mustang/sdp-mustang-terraform/pulumi/eks-cluster]$ pulumi state delete urn:pulumi:eshamay-test::eks-cluster::eks:index:Cluster$kubernetes:<http://storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2|storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2>
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "urn:pulumi:eshamay-test::eks-cluster::eks:index:Cluster:<http://storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2|storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2>" exists in the current state
creamy-potato-29402
02/04/2019, 11:33 PMurn:pulumi:eshamay-test::eks-cluster::eks:index:Cluster$
prefix to that URNearly-musician-41645
02/04/2019, 11:46 PM$ pulumi state delete kubernetes:<http://storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2|storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2>
warning: This command will edit your stack's state directly. Confirm? Yes
error: No such resource "kubernetes:<http://storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2|storage.k8s.io/v1:StorageClass::eshamay-test-eks-cluster-gp2>" exists in the current state
creamy-potato-29402
02/04/2019, 11:47 PMincalculable-sundown-82514
02/04/2019, 11:50 PMcreamy-potato-29402
02/04/2019, 11:51 PM--show-urns
$
early-musician-41645
02/04/2019, 11:57 PMcreamy-potato-29402
02/04/2019, 11:59 PMearly-musician-41645
02/04/2019, 11:59 PMcreamy-potato-29402
02/04/2019, 11:59 PMearly-musician-41645
02/05/2019, 12:02 AM