-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error pulumi install #191
Comments
HI @efcunha - please try again with the latest updates. One of the changes in the last PR addresses this issue. Note that this PR changes the way you start the MARA process - Let me know if you have issues. Jay |
~/kic-reference-architectures/pulumi/python$ ./runner -s devops -p aws validate $ cat /kic-reference-architecturesconfig/pulumi/Pulumi-devops.yaml config:
kic-reference-architectures/pulumi/python$ ./runner -s devops -p aws up ` ERROR:root:Error running Pulumi operation [up] with provider [aws] for stack [devops] Error: |
Hi @efcunha, Do you have multiple entries in your kubeconfig file, or do you have included directories with additional kubeconfig files? This error - If this is not the case, let me know and I can look deeper into it; I just tested myself and this should work on AWS (it's passing both our deployment tests, and I deployed it locally as well). Cheers, Jay |
$ cat /kic-reference-architecturesconfig/pulumi/Pulumi-devops.yaml config: us-west-2a
Diagnostics: pulumi:pulumi:Stack (logstore-devops): Resources: Duration: 6m9s stderr: |
@efcunha - thanks for the output; running some tests now. |
@efcunha - thanks for your patience. That error above - where logstore (elasticsearch) times out is tied to how long elasticsearch takes to become available. By default, pulumi waits for 5 minutes and then bails out. This is normally long enough, but in my testing here I see that it's taking about 7 minutes for it to become available. There is, fortunately, a tunable for this - you can set it via
This value is in seconds, and I normally put it at 600 (10 mins) which is usually sufficient. Please give it a try with this set and let me know how it goes - you will need to destroy the existing deployment, since helm leaves things in a weird state when it fails like this. Cheers, Jay |
Hello, no problem, I like to keep testing, news for me is a preazer. |
Same here |
Describe the bug
Error installing:
kubernetes:core/v1:ConfigMap
Your environment
$ pulumi version
v3.38.0
$ node --version
v18.8.0
$ python --version
Python 3.9.13
KIC v1.0.1
Ubuntu 22.04
$ cat Pulumi.devops.yaml
config:
aws:profile: default
aws:region: us-west-2
kubernetes:infra_type: AWS
To Reproduce
$ ./start.sh
Updating (devops)
View Live: https://app.pulumi.com/efcunha/aws-eks/devops/updates/6
└─ kubernetes:core/v1:ConfigMap aws-eks-devops-nodeAccess failed 1
Diagnostics:
kubernetes:core/v1:ConfigMap (aws-eks-devops-nodeAccess):
error: failed to initialize discovery client: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1alpha1"
pulumi:pulumi:Stack (aws-eks-devops):
aws default profile
vpc id: vpc-025729a9f6169ec49
warning: aws:ec2/getSubnetIds:getSubnetIds verification warning: Deprecated Resource
public subnets: ['subnet-0064d171ae22441ae', 'subnet-0370ad0da9abcc517', 'subnet-0316b175509d86c3d', 'subnet-0278bf3e9620b24b5']
warning: aws:ec2/getSubnetIds:getSubnetIds verification warning: Deprecated Resource
public subnets: ['subnet-0bab25610049dbc2f', 'subnet-0143a10ed96adf3cd', 'subnet-02082be33e689f992', 'subnet-033cc97107714b619']
error: Resource monitor has terminated, shutting down
Resources:
+ 23 created
Duration: 10m47s
(base) efcunha@devops:~/GitHub/kic-reference-architectures$
...
The text was updated successfully, but these errors were encountered: