modxevil / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

Deployment fails copying files to Google Cloud Storage during teardown of remote build environement #428

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

gcloud preview app deploy app.yaml --promote

What is the expected output? What do you see instead?

Its never worked but I would expect it not to error.

Removing intermediate container 01e1e1f724c0
Step 6 : ADD . /app
---> 07060cf4a168
Removing intermediate container 1428cf7992e8
Step 7 : CMD gunicorn -b :$PORT main:app
---> Running in 5a7dd710668c
---> 978918e02a2f
Removing intermediate container 5a7dd710668c
Successfully built 978918e02a2f
--------------------------------------------------------------------------------
-------------

Beginning teardown of remote build environment (this may take a few seconds).
Copying files to Google Cloud Storage...
Synchronizing files to [gs://staging.python-pubsub-tutorial-full.appspot.com/].
ERROR: (gcloud.preview.app.deploy) Could not synchronize files. The gsutil 
command exited with status [1]. Command output is available in 
[C:\Users\Sam.Aspin\AppData\Roaming\gcloud\logs\2015.12.17\18.22.47.965000.log].
Deleted 
[https://www.googleapis.com/compute/v1/projects/python-pubsub-tutorial-full/zone
s/us-central1-f/instances/gae-builder-vm-20151217t182248].

What is the output of 'gcloud info'?
Google Cloud SDK [0.9.89]

Platform: [Windows, x86_64]
Python Version: [2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit 
(AMD64)]]
Python Location: [C:\Python27_x64\python.exe]
Site Packages: [Disabled]

Installation Root: 
[C:\Users\Sam.Aspin\Downloads\google-cloud-sdk\google-cloud-sdk]
Installed Components:
  core: [2015.11.30]
  bq-win: [2.0.18]
  core-win: [2015.11.24]
  gcloud: []
  windows-ssh-tools: [2015.09.21]
  gsutil: [4.16]
  gsutil-win: [4.15]
  bq: [2.0.18]
System PATH: 
[C:\Users\Sam.Aspin\Downloads\google-cloud-sdk\google-cloud-sdk\bin\..\bin\sdk;C
:\Program Files\ConEmu;C:\Program 
Files\ConEmu\ConEmu;C:\tools\ruby213\bin;C:\Windows\system32;C:\Windows;C:\Windo
ws\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files 
(x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Windows 
Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL 
Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL 
Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL 
Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 
10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL 
Server\110\DTS\Binn\;C:\Program Files\Microsoft SQL 
Server\110\DTS\Binn\;C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Program 
Files (x86)\Microsoft Team Foundation Server 2013 Power Tools\;C:\Program Files 
(x86)\Microsoft Team Foundation Server 2013 Power Tools\Best Practices 
Analyzer\;C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 
Tools\x64;C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\Notepad++;C:\Program Files (x86)\IIS\Microsoft Web Deploy 
V3;C:\Program Files\nodejs\;C:\Program 
Files\nodejs\node_modules\npm\bin\;C:\Program Files (x86)\Git\cmd; C:\Program 
Files\Microsoft SQL Server\110\Tools\Binn;C:\Program Files (x86)\Microsoft SQL 
Server\110\DAC\bin;C:\Program Files\Microsoft\Web Platform 
Installer\;C:\Program Files\MongoDB 2.6 Standard\bin;C:\Program Files 
(x86)\WinMerge;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program 
Files\Java\jre7\bin;C:\Program Files 
(x86)\sbt\bin;C:\Python27_x64;C:\Python27_x64\Tools\Scripts;C:\Users\Sam.Aspin\D
ownloads\google-cloud-sdk\google-cloud-sdk\bin;C:\python27_x64\Scripts;C:\tools;
C:\Users\Sam.Aspin\AppData\Roaming\npm;C:\ProgramData\chocolatey\bin;C:\ProgramD
ata\chocolatey\bin;C:\Users\Sam.Aspin\AppData\Local\scriptcs;C:\Program 
Files\Sublime Text 2;C:\tools\NUnit-2.6.3\bin;C:\Program 
Files\kdiff3;C:\Dropbox\Shortcuts;]
Cloud SDK on PATH: [True]

Installation Properties: 
[C:\Users\Sam.Aspin\Downloads\google-cloud-sdk\google-cloud-sdk\properties]
User Config Directory: [C:\Users\Sam.Aspin\AppData\Roaming\gcloud]
User Properties: [C:\Users\Sam.Aspin\AppData\Roaming\gcloud\properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [samaspin@gmail.com]
Project: [python-pubsub-tutorial-full]

Current Properties:
  [core]
    project: [python-pubsub-tutorial-full]
    account: [samaspin@gmail.com]
    disable_usage_reporting: [False]
  [app]
    suppress_change_warning: [true]
  [compute]
    region: [us-east1]
    zone: [us-east1-c]

Logs Directory: [C:\Users\Sam.Aspin\AppData\Roaming\gcloud\logs]
Last Log File: 
[C:\Users\Sam.Aspin\AppData\Roaming\gcloud\logs\2015.12.17\18.22.47.965000.log]

Please provide any additional information below.
I have checked the bucket exists using gsutil, it does, and it contains files 
so things are clearly able to write there

Original issue reported on code.google.com by samas...@gmail.com on 17 Dec 2015 at 6:40

Attachments:

GoogleCodeExporter commented 8 years ago
Can you also upload 
C:\Users\Sam.Aspin\AppData\Roaming\gcloud\logs\2015.12.17\18.22.47.965000.log ? 
This has the gsutil-specific log data.

Original comment by z...@google.com on 18 Dec 2015 at 1:42

GoogleCodeExporter commented 8 years ago
Here you go.

Original comment by samas...@gmail.com on 18 Dec 2015 at 4:41

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks. I'll ask the gsutil folks about this.

Original comment by z...@google.com on 18 Dec 2015 at 4:45

GoogleCodeExporter commented 8 years ago
I took a look inside the log file you requested and noticed that an error I get 
when cmd.exe starts up had made its way into the log..

'C:\Users\Sam.Aspin\OneDrive' is not recognized as an internal or external 
command,
operable program or batch file.

I've since managed to remove the registry key that was causing this issue and 
now it deploys perfectly!

I guess it was detecting the error midway through.

Please close this

: )

Original comment by samas...@gmail.com on 18 Dec 2015 at 5:09

GoogleCodeExporter commented 8 years ago
Excellent, glad you were able to fix it.

Sorry for calling that out myself–I didn't know enough about your system to 
know whether that was expected.

Original comment by z...@google.com on 18 Dec 2015 at 5:12