-
Notifications
You must be signed in to change notification settings - Fork 277
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
AppScale sample fails to boot on Docker / macOS when following getting started guide #3061
Comments
I left it running for a while and got a timeout with some more information:
|
Hi Robin, Thanks for the issue report, I believe we were able to reproduce the issue. The cause looks like an IPv6 entry for localhost in /etc/hosts. Before running the fast-start script, please change the following line in /etc/hosts on the container:
To:
With that change we were able to successfully run the faststart script, Let us know if that works for you. |
I had same problem. I modified the file |
Hello vanilla111,
you may need to start docker with the --privileged options: it's needed
to be able to start some of our services which we put in cgroups. We
will need to modify documentation for it, thanks for reminding it us.
With that option we suggest to use docker as dev-test environment.
cheers
graziano
…-----Original Message-----
From: vanilla111 <[email protected]>
Reply-To: AppScale/appscale <
[email protected]>
To: AppScale/appscale <[email protected]>
Cc: Subscribed <[email protected]>
Subject: Re: [AppScale/appscale] AppScale sample fails to boot on
Docker / macOS when following getting started guide (#3061)
Date: Thu, 18 Jul 2019 06:22:40 -0700
I had same problem. I modified the file /etc/hosts as recommended by
the contributor, and it still took a long time to run the fast-start
script(pause at Granting admin privileges to [email protected]),although there
were the same errors.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
--
Graziano Obertelli | VP Operations
805.570.1647 [email protected]
www.appscale.com
|
Also to avoid having to modify the hosts file you can run the image with the following option:
Docker does some things under the hood with the /etc/hosts file, which is why you have to enable ipv6. It's not really a good idea to modify it. This is related to: moby/moby#35954 |
Hi, I still have that problem also on a fresh Ubuntu 16.04.5 LTS on amd64 machine following docker try-appscale instruction at step 2/3, even if I add the --privileged and the --sysctl options suggested in the answers above. Do you have any suggestion? Thanks in advance. |
Hello,
unfortunately that log is not telling us much, just that the dashboard
didn't come up on time. Can you get onto the container and give us the
/var/log/appscale/controller.log file? Actually if you could make us
available a tgz of /var/log/appscale I could take a look at what
service failed to start in your environment.
cheers
graziano
…-----Original Message-----
From: lucadvp <[email protected]>
Reply-To: AppScale/appscale <
[email protected]>
To: AppScale/appscale <[email protected]>
Cc: graziano obertelli <[email protected]>, Comment <
[email protected]>
Subject: Re: [AppScale/appscale] AppScale sample fails to boot on
Docker / macOS when following getting started guide (#3061)
Date: Fri, 20 Sep 2019 12:49:00 -0700
Hi, I still have that problem also on a fresh Ubuntu 16.04.5 LTS on
amd64 machine following docker try-appscale instruction at step 2/3,
even if I add the --privileged and the --sysctl options suggested in
the answers above.
I attach the terminal commands, outputs and the appscale log.
Do you have any suggestion? Thanks in advance.
20190920_try-appscale_docker_with_options.txt
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
--
Graziano Obertelli | VP Operations
805.570.1647 [email protected]
www.appscale.com
|
Hi, Graziano, thank you for the answer. I attach the archive with the whole log folder you requested. |
The log line "No compute node is available to scale..." usually indicates that there is not enough free memory available to start application instances. It could also indicate that the machine's CPUs are too busy, but that is less common. If your machine already has enough memory (>4G of free memory is usually enough), you could try adding the line "verbose: True" in your AppScalefile to get more detailed controller logs. |
Hi cdonati, thank you for the suggestion. The issue was actually due to the memory shortage and when around 4GB were available appscale started as expected. |
AppScale fails to boot when following the steps for Docker in the Try AppScale in Three Steps guide. It simply gets stuck at
Granting admin privileges to [email protected]
Docker: CE 2.0.0.3 (31259), 4GB RAM
OS: macOS Mojave 10.14.4
Computer specs: Macbook Pro 15" Late 2018, 16GB RAM
Steps to reproduce:
Expected results: AppScale should boot
Actual results: AppScale gets stuck booting
Workarounds tested:
Logs:
The text was updated successfully, but these errors were encountered: