gana2188 / google-cloud-sdk

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

ERROR: (gcloud.components.update) The component [app-engine-java] failed to download. #112

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I am trying to set up Push to Deploy per the docs here:

https://cloud.google.com/tools/repo/push-to-deploy

The jenkins image does not complete setup properly because the command `gcloud 
components update preview app pkg-python -q` fails to complete. This causes a 
chain reaction with docker images not being present, etc.

|- Installing: Cloud DNS Admin Command Line Interface       -|
|============================================================|
|- Installing: Cloud SDK Core Libraries                     -|
|============================================================|
|- Installing: Cloud SDK for Python and PHP Developers      -|
|============================================================|
|- Installing: Cloud SQL Admin Command Line Interface       -|
|============================================================|
|- Installing: Cloud Storage Command Line Tool              -|
|============================================================|
|- Installing: Compute Engine Command Line Interface        -|
|============================================================|
|- Installing: Developer Preview gcloud Commands            -|
|============================================================|
|- Installing: Native extensions for preview commands (L... -|
|============================================================|
|- Installing: gcloud app Go Extensions (Linux, x86_64)     -|
|============================================================|
|- Installing: gcloud app Java Extensions                   -|
|============================================================|
ERROR: (gcloud.components.update) The component [app-engine-java] failed to 
download. 

Original issue reported on code.google.com by jojohns...@kaplan.edu on 10 Feb 2015 at 7:34

GoogleCodeExporter commented 8 years ago
Here is the full output of the command

root@bitnami-jenkins:/home/Josh# gcloud components update preview app 
pkg-python -q

The following components will be updated:
    ----------------------------------------------------------------
    | BigQuery Command Line Tool             |     2.0.18 | < 1 MB |
    | Cloud DNS Admin Command Line Interface | 2015.01.15 | < 1 MB |
    | Cloud SDK Core Libraries               | 2015.02.05 | 1.3 MB |
    | Cloud SQL Admin Command Line Interface | 2015.01.31 | < 1 MB |
    | Cloud Storage Command Line Tool        |        4.8 | 2.0 MB |
    | Compute Engine Command Line Interface  | 2015.01.22 | < 1 MB |
    ----------------------------------------------------------------
The following components will be installed:
    ---------------------------------------------------------------------------------
    | App Engine Command Line Interface (Preview)            | 2015.01.31 |  < 1 MB |
    | App Engine Managed VMs Component (Preview)             | 2015.01.22 | 84.6 MB |
    | App Engine SDK for Python and PHP                      | 2014.05.06 |  < 1 MB |
    | Cloud SDK for Python and PHP Developers                |          1 |         |
    | Developer Preview gcloud Commands                      | 2015.01.31 |  < 1 MB |
    | Native extensions for preview commands (Linux, x86_64) |      0.9.1 |  3.3 MB |
    | gcloud app Go Extensions (Linux, x86_64)               |     1.9.17 | 34.0 MB |
    | gcloud app Java Extensions                             |     1.9.17 | 89.0 MB |
    | gcloud app Python Extensions                           |     1.9.17 |  6.6 MB |
    | gcloud app Python Extensions (Extra Libraries)         |      1.9.6 | 29.6 MB |
    ---------------------------------------------------------------------------------

|- Creating update staging area                             -|
|============================================================|

|- Uninstalling: BigQuery Command Line Tool                 -|
|============================================================|
|- Uninstalling: Cloud DNS Admin Command Line Interface     -|
|============================================================|
|- Uninstalling: Cloud SDK Core Libraries                   -|
|============================================================|
|- Uninstalling: Cloud SQL Admin Command Line Interface     -|
|============================================================|
|- Uninstalling: Cloud Storage Command Line Tool            -|
|============================================================|
|- Uninstalling: Compute Engine Command Line Interface      -|
|============================================================|
|- Installing: App Engine Command Line Interface (Preview)  -|
|============================================================|
|- Installing: App Engine Managed VMs Component (Preview)   -|
|============================================================|
|- Installing: App Engine SDK for Python and PHP            -|
|============================================================|
|- Installing: BigQuery Command Line Tool                   -|
|============================================================|
|- Installing: Cloud DNS Admin Command Line Interface       -|
|============================================================|
|- Installing: Cloud SDK Core Libraries                     -|
|============================================================|
|- Installing: Cloud SDK for Python and PHP Developers      -|
|============================================================|
|- Installing: Cloud SQL Admin Command Line Interface       -|
|============================================================|
|- Installing: Cloud Storage Command Line Tool              -|
|============================================================|
|- Installing: Compute Engine Command Line Interface        -|
|============================================================|
|- Installing: Developer Preview gcloud Commands            -|
|============================================================|
|- Installing: Native extensions for preview commands (L... -|
|============================================================|
|- Installing: gcloud app Go Extensions (Linux, x86_64)     -|
|============================================================|
|- Installing: gcloud app Java Extensions                   -|
|============================================================|
ERROR: (gcloud.components.update) The component [app-engine-java] failed to 
download.

Original comment by jojohns...@kaplan.edu on 10 Feb 2015 at 7:37

GoogleCodeExporter commented 8 years ago
Also this

|- Installing: gcloud app Python Extensions (Extra Libra... -|
|============================================================|
ERROR: (gcloud.components.update) The component [app-engine-python-extras] 
failed to download.

Original comment by jojohns...@kaplan.edu on 10 Feb 2015 at 8:35

GoogleCodeExporter commented 8 years ago
Can you please attach the output of `gcloud info`.  Also, in the output of 
gcloud info, it will tell you where you logs are located.  Can you attach the 
underlying error for the failure (there is probably more information about why 
the download failed).

Original comment by markp...@google.com on 10 Feb 2015 at 10:45

GoogleCodeExporter commented 8 years ago
Today I tried once again with a fresh compute instance from the push-to-deploy 
tutorial linked in the main report and the install timeout problems are done. 
Here is the output of gcloud info:

Google Cloud SDK [0.9.46]

Platform: [Linux, x86_64]
Python Version: [2.7.3 (default, Mar 13 2014, 11:03:55)  [GCC 4.7.2]]
Site Packages: [Disabled]

Installation Root: [/usr/local/share/google/google-cloud-sdk]
Installed Components:
  core: [2015.02.05]
  app-engine-python: [1.9.17]
  app-engine-managed-vms: [2015.01.22]
  gcutil: [1.16.5]
  app-engine-go-linux-x86_64: [1.9.17]
  gae-python: [2014.05.06]
  app: [2015.01.31]
  gsutil-nix: [4.7]
  bq-nix: [2.0.18]
  app-engine-python-extras: [1.9.6]
  core-nix: [2015.01.08]
  gsutil: [4.8]
  bq: [2.0.18]
  dns: [2015.01.15]
  sql: [2015.01.31]
  compute: [2015.01.22]
  preview: [2015.01.31]
  app-engine-java: [1.9.17]
  gcutil-nix: [1.16.5]
  preview-extensions-linux-x86_64: [0.9.1]
System PATH: 
[/opt/bitnami/gradle/bin:/opt/bitnami/git/bin:/opt/bitnami/java/bin:/opt/bitnami
/sqlite/bin:/opt/bitnami/apache2/bin:/opt/bitnami/common/bin:/usr/local/sbin:/us
r/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]
Cloud SDK on PATH: [False]

Installation Properties: [/usr/local/share/google/google-cloud-sdk/properties]
User Config Directory: [/root/.config/gcloud]
User Properties: [/root/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [86709905025-compute@developer.gserviceaccount.com]
Project: [kapx-site-demo]

Current Properties:
  [core]
    project: [kapx-site-demo]
    account: [86709905025-compute@developer.gserviceaccount.com]
    user_output_enabled: [True]

Logs Directory: [/root/.config/gcloud/logs]
Last Log File: [None]

Today the docker installation isn't working so the gcloud commands complain 
about that. It seems like every day there is a different issue with the new 
Push to Deploy workflow. Is there an issue tracker for that project somewhere?

Original comment by jojohns...@kaplan.edu on 11 Feb 2015 at 1:20

GoogleCodeExporter commented 8 years ago
You can close this issue. It must have been connectivity issues or something.

Original comment by jojohns...@kaplan.edu on 23 Feb 2015 at 6:54