aws-samples / eks-workshop-v2

Hands-on labs for Amazon EKS
https://www.eksworkshop.com
Apache License 2.0
435 stars 437 forks source link

[Bug]: Error while preparing environment for LAB Amazon VPC CNI -> Custom Networking #1062

Open flavioque opened 2 months ago

flavioque commented 2 months ago

Installation method

Workshop Studio

What happened?

While executing prepare-environment networking/custom-networking in Cloud 9, got :

timed out waiting for the condition on deployments/catalog timed out waiting for the condition on deployments/checkout timed out waiting for the condition on deployments/checkout-redis timed out waiting for the condition on deployments/orders timed out waiting for the condition on deployments/orders-mysql timed out waiting for the condition on deployments/ui An error occurred, please contact your workshop proctor or raise an issue at https://github.com/aws-samples/eks-workshop-v2/issues The full log can be found here: /eks-workshop/logs/action-1725135997.log

What did you expect to happen?

Cannot follow the whole lab because of this

How can we reproduce it?

Here, the full log can be found here: /eks-workshop/logs/action-1725135997.log

WSParticipantRole:~/environment $ cat /eks-workshop/logs/action-1725135997.log Added new context default to /home/ec2-user/.kube/config Refreshing copy of workshop repository from GitHub...

Resetting the environment... Tip: Read the rest of the lab introduction while you wait! Deleting ENI configs... No resources found Resetting VPC CNI configuration... daemonset.apps/aws-node env updated Terminating EKS worker nodes... { "TerminatingInstances": [ { "CurrentState": { "Code": 32, "Name": "shutting-down" }, "InstanceId": "i-002fa7176d0f5c8c2", "PreviousState": { "Code": 16, "Name": "running" } } ] } { "TerminatingInstances": [ { "CurrentState": { "Code": 32, "Name": "shutting-down" }, "InstanceId": "i-03f53de0d8485bcc6", "PreviousState": { "Code": 16, "Name": "running" } } ] } { "TerminatingInstances": [ { "CurrentState": { "Code": 32, "Name": "shutting-down" }, "InstanceId": "i-0df6eb7b170d9b2b5", "PreviousState": { "Code": 16, "Name": "running" } } ] } namespace "other" deleted namespace/assets unchanged namespace/carts unchanged namespace/catalog unchanged namespace/checkout unchanged namespace/orders unchanged namespace/other created namespace/rabbitmq unchanged namespace/ui unchanged serviceaccount/assets unchanged serviceaccount/carts unchanged serviceaccount/catalog unchanged serviceaccount/checkout unchanged serviceaccount/orders unchanged serviceaccount/rabbitmq unchanged serviceaccount/ui unchanged role.rbac.authorization.k8s.io/rabbitmq-endpoint-reader unchanged rolebinding.rbac.authorization.k8s.io/rabbitmq-endpoint-reader unchanged configmap/assets unchanged configmap/carts unchanged configmap/catalog unchanged configmap/checkout unchanged configmap/orders unchanged configmap/dummy created configmap/ui unchanged secret/catalog-db unchanged secret/orders-db unchanged secret/rabbitmq unchanged secret/rabbitmq-config unchanged service/assets unchanged service/carts unchanged service/carts-dynamodb unchanged service/catalog unchanged service/catalog-mysql unchanged service/checkout unchanged service/checkout-redis unchanged service/orders unchanged service/orders-mysql unchanged service/rabbitmq configured service/rabbitmq-headless unchanged service/ui unchanged deployment.apps/assets unchanged deployment.apps/carts unchanged deployment.apps/carts-dynamodb unchanged deployment.apps/catalog unchanged deployment.apps/checkout unchanged deployment.apps/checkout-redis unchanged deployment.apps/orders unchanged deployment.apps/orders-mysql unchanged deployment.apps/ui configured statefulset.apps/catalog-mysql unchanged statefulset.apps/rabbitmq configured Waiting for application to become ready... deployment.apps/assets condition met deployment.apps/carts condition met deployment.apps/carts-dynamodb condition met timed out waiting for the condition on deployments/catalog timed out waiting for the condition on deployments/checkout timed out waiting for the condition on deployments/checkout-redis timed out waiting for the condition on deployments/orders timed out waiting for the condition on deployments/orders-mysql timed out waiting for the condition on deployments/ui An error occurred, please contact your workshop proctor or raise an issue at https://github.com/aws-samples/eks-workshop-v2/issues The full log can be found here: /eks-workshop/logs/action-1725135997.log

Anything else we need to know?

No response

EKS version

1.30

niallthomson commented 2 months ago

Hi @flavioque do you know what lab you ran immediately before this?

flavioque commented 2 months ago

hi , I ran the Security Group for Pods Lab, but this one was ok. Everything seemed to stop to work when I ran the command bellow in the custom network lab

kubectl set env daemonset aws-node -n kube-system AWS_VPC_K8S_CNI_CUSTOM_NETWORK_CFG=true

Em ter., 3 de set. de 2024 15:29, Niall Thomson @.***> escreveu:

Hi @flavioque https://github.com/flavioque do you know what lab you ran immediately before this?

— Reply to this email directly, view it on GitHub https://github.com/aws-samples/eks-workshop-v2/issues/1062#issuecomment-2327163685, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLZ7CBSX5TZOQQHDSM7AWLZUX52HAVCNFSM6AAAAABNOFE6DGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMRXGE3DGNRYGU . You are receiving this because you were mentioned.Message ID: @.***>