Skip to content
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

0.13: [Bug]: quickstart-example, when run on k3s, fails on first deploy only #4460

Closed
worldofgeese opened this issue May 26, 2023 · 10 comments · Fixed by #4657 or #4749
Closed

0.13: [Bug]: quickstart-example, when run on k3s, fails on first deploy only #4460

worldofgeese opened this issue May 26, 2023 · 10 comments · Fixed by #4657 or #4749
Assignees

Comments

@worldofgeese
Copy link
Contributor

worldofgeese commented May 26, 2023

Garden Bonsai (0.13) Bug

Current Behavior

One issue I encountered was the postgres deploy failing and not re-trying (this happened again on a brand new Cloud Shell and I don't know why):

image

I just ran deploy again, which successfully deployed all services the second time:

image

Originally posted by @worldofgeese in garden-io/quickstart-example#6 (comment)

Reproducible example

Open in Cloud Shell

Workaround

Run deploy a second time.

@ShankyJS
Copy link
Contributor

ShankyJS commented Jun 2, 2023

@Orzelius, this problem is also present on Killercoda example; I'm using Ubuntu 18.04 with a k3s cluster;

First deploy will fail and then the second deployment succeeds,

To reproduce this, just access the Killercoda environment and follow the steps until the deploy --forward you will notice how the demo fails with the same error that Tao has.

https://killercoda.com/shankyjs/course/scenarios/getting-started

I couldn't reproduce this locally

@Orzelius Orzelius moved this from Todo to Candidate in Core Weekly Jun 5, 2023
@vvagaytsev vvagaytsev self-assigned this Jun 19, 2023
@vvagaytsev vvagaytsev moved this from Candidate to Todo in Core Weekly Jun 19, 2023
@vvagaytsev
Copy link
Collaborator

vvagaytsev commented Jun 19, 2023

@worldofgeese I can't reproduce this, because Cloud Shell init fails when it tries to clone the remote repo (I tried 3 times):
Screenshot 2023-06-19 at 12 27 40

This this a know issue?

@worldofgeese
Copy link
Contributor Author

@worldofgeese I can't reproduce this, because Cloud Shell init fails when it tries to clone the remote repo (I tried 3 times): Screenshot 2023-06-19 at 12 27 40

This this a know issue?

The link was fixed "in prod" (on our docs site). I've now fixed it for the Cloud Shell button in this issue. Can you try again?

@worldofgeese
Copy link
Contributor Author

@vvagaytsev

@vvagaytsev
Copy link
Collaborator

@worldofgeese thanks! Now I can open the project in the Cloud Shell. By the way, garden is not recognized as a command there. And the start.sh has no permission to be executed. I had to modify it manually to get it working.

@worldofgeese
Copy link
Contributor Author

worldofgeese commented Jun 19, 2023

@vvagaytsev did you follow along with the tutorial on the right sidepane? I just tried and it works. The tutorial must be followed in order.

image

image

@vvagaytsev
Copy link
Collaborator

@worldofgeese sorry, I might have missed some details from the tutorial :) I'll try it later.

Anyway, the problem with repo cloning has gone. The fix from #4657 should fix this.

@vvagaytsev
Copy link
Collaborator

The fix will be released today in Garden 0.13.3. We'll have to update the Garden version in the example after the release.

@vvagaytsev vvagaytsev moved this from In Progress to Done in Core Weekly Jun 20, 2023
@worldofgeese
Copy link
Contributor Author

@vvagaytsev thank you so much for this fix! 💚

@vvagaytsev vvagaytsev reopened this Jun 22, 2023
@vvagaytsev vvagaytsev moved this from Done to Todo in Core Weekly Jun 22, 2023
@worldofgeese
Copy link
Contributor Author

@vvagaytsev I have reproducible examples and guides for setting up test environments for k3s, k3d, and Rancher Desktop together with error messages for each at #4528. if you use Multipass on macOS, you can spin up an Ubuntu VM very easily with this tutorial to test k3s and k3d. Rancher Desktop is macOS compatible OOTB.

@vvagaytsev vvagaytsev moved this from Todo to In Progress in Core Weekly Jul 3, 2023
@vvagaytsev vvagaytsev moved this from In Progress to Done in Core Weekly Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
3 participants