googlearchive / appengine-java-vm-guestbook-extras

App Engine Java Managed VMs example: multi-stage tutorial based on adding features to the 'guestbook'.
Apache License 2.0
37 stars 20 forks source link

Update now that boot2docker is deprecated? #16

Open unitydynamics opened 8 years ago

unitydynamics commented 8 years ago

This needs an update because boot2docker is no longer supported by the docker team. Tried with "docker-machine start" syntax but something is broken. I'd actually prefer not to have Maven to all kinds of magic for me. I'm anxious to use compute / managed vm capabilities in the Google Cloud offering.

ludoch commented 8 years ago

What is broken for you?

On Sun, Oct 4, 2015 at 9:55 AM, unitydynamics notifications@github.com wrote:

This needs an update because boot2docker is no longer supported by the docker team. Tried with "docker-machine start" syntax but something is broken. I'd actually prefer not to have Maven to all kinds of magic for me. I'm anxious to use compute / managed vm capabilities in the Google Cloud offering.

— Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras/issues/16 .

unitydynamics commented 8 years ago

Did you check the Docker web site? The Java walkthrough for Managed VMs is essentially broken now.... I will attempt to use Managed VMs with Java again today and let you know where I get stuck today or tomorrow.

On Mon, Oct 5, 2015 at 10:45 AM, ludovic Champenois < notifications@github.com> wrote:

What is broken for you?

On Sun, Oct 4, 2015 at 9:55 AM, unitydynamics notifications@github.com wrote:

This needs an update because boot2docker is no longer supported by the docker team. Tried with "docker-machine start" syntax but something is broken. I'd actually prefer not to have Maven to all kinds of magic for me. I'm anxious to use compute / managed vm capabilities in the Google Cloud offering.

— Reply to this email directly or view it on GitHub < https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras/issues/16

.

— Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras/issues/16#issuecomment-145552642 .

unitydynamics commented 8 years ago

Lodovic I respectfully plead for your help. I've spent the entire day trying to get the tutorial running again. I recognize that you probably don't use Windows 7 SP1 and that's the reason for most of my pain I'm sure.

On the guest book demo this is where I'm stuck now (Deploy Your Application-- stage 1): https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras#deploy-your-application

So I have managed to build and run it locally just fine. The error when deploying is "ERROR: (gcloud.preview.app.deploy) Unable to copy certificates." I've traced this to line 158 of docker_util.py. Not sure what I need to do to fix this situation though. I tried taking out the --quiet flag from the gcloud invocation but that didn't help. Also read this related posting https://groups.google.com/forum/#!topic/google-appengine-go/oCvmx_x9HOs but that didn't seem to help either. I have made sure I tried "gcloud auth login" and "gcloud compute config-ssh" before deployment... didn't help. Attached is the full log from gcloud:deploy. I believe I'm running the latest version of everything. Any help greatly appreciated. -Robert Fox

demo version ce06167af010be753aabeecb280a2ff4b473379b https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras

gcloud version Google Cloud SDK 0.9.88

app-engine-java 1.9.28 app-engine-php app-engine-php-windows 2015.11.16 app-engine-python 1.9.28 beta 2015.10.08 bq 2.0.18 bq-win 2.0.18 core 2015.11.25 core-win 2015.11.24 gcloud gsutil 4.15 gsutil-win 4.15 windows-ssh-tools 2015.09.21

Separate note.... Also just FYI I've tackled a few hurdles that are not documented in the tutorial... maybe this can be my contribution to the documentation...Windows 7 specific? 1) I added the following to the pom.xml

C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk app-id

I didn't change the default directory when I installed the Cloud SDK.... C:\Program Files (x86)... is where it will install by default. I believe the defaults assume the Cloud SDK is installed to C:\Program Files... (without the (x86)).

2) To run gcloud:deploy I had to add "app-id@appspot.gserviceaccount.com in the Permissions section on my account.

On Thu, Nov 5, 2015 at 1:33 PM, Robert Fox bob@unitydynamics.com wrote:

Did you check the Docker web site? The Java walkthrough for Managed VMs is essentially broken now.... I will attempt to use Managed VMs with Java again today and let you know where I get stuck today or tomorrow.

On Mon, Oct 5, 2015 at 10:45 AM, ludovic Champenois < notifications@github.com> wrote:

What is broken for you?

On Sun, Oct 4, 2015 at 9:55 AM, unitydynamics notifications@github.com wrote:

This needs an update because boot2docker is no longer supported by the docker team. Tried with "docker-machine start" syntax but something is broken. I'd actually prefer not to have Maven to all kinds of magic for me. I'm anxious to use compute / managed vm capabilities in the Google Cloud offering.

— Reply to this email directly or view it on GitHub < https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras/issues/16

.

— Reply to this email directly or view it on GitHub https://github.com/GoogleCloudPlatform/appengine-java-vm-guestbook-extras/issues/16#issuecomment-145552642 .