Skip to content

commands have changed #2

@patflynn

Description

@patflynn

with the latest version of gcloud:
gcloud preview app setup-managed-vms
returns:
ERROR: (gcloud.preview.app) Invalid choice: 'setup-managed-vms'.

Also running:
gcloud preview app run .
returns:
ERROR: Directories are not supported [.]. You must provide explicit yaml files.
ERROR: (gcloud.preview.app.run) Errors occurred while parsing the App Engine app configuration.

running:
gcloud preview app run app.yaml, the command starts the server but I was unable to get it to connect:
ERROR 2015-04-29 15:22:55,492 instance.py:280] 500 Server Error: Internal Server Error ("Cannot start container 219bab0e2037f35a72c9c18edfb3fbeeaaac47ee21ed8dd08f3e043b3e8843b2: (exit status 1)")

Perhaps this is a problem with my docker configuration.

Running:
gcloud preview app deploy . causes the same error as the run command. running gcloud preview app run app.yaml causes the following error:

WARNING: The [version] field is specified in file [/usr/local/google/home/paflynn/hack/appengine-fluent-hello/app.yaml]. This field is not used by gcloud and should be removed.
ERROR: The version [1] declared in [/usr/local/google/home/paflynn/hack/appengine-fluent-hello/app.yaml] does not match the current gcloud version [20150429t112434].
ERROR: (gcloud.preview.app.deploy) Errors occurred while parsing the App Engine app configuration.

I removed the 'version' element from the app.yaml and then deploy was successful according to the command-line. Although the version was never updated to be the default, perhaps this is a new feature of app engine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions