Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

Getting "Error: unexpected end of JSON input" when enabling diego #3

Description

@Amit-PivotalLabs
$ cf enable-diego g
Setting g Diego support to true
FAILED
Error: unexpected end of JSON input
{
   "metadata": {
      "guid": "76cd901b-5c86-4c14-926c-6fdcfd3f02ae",
      "url": "/v2/apps/76cd901b-5c86-4c14-926c-6fdcfd3f02ae",
      "created_at": "2016-07-12T19:09:51Z",
      "updated_at": "2016-07-12T19:15:17Z"
   },
   "entity": {
      "name": "g",
      "production": false,
      "space_guid": "58c3829a-a44f-4544-a255-f3214157d6b1",
      "stack_guid": "9942a914-981c-465a-9af4-e51eb6385ff1",
      "buildpack": "go_buildpack",
      "detected_buildpack": null,
      "environment_json": {},
      "memory": 64,
      "instances": 2,
      "disk_quota": 64,
      "state": "STOPPED",
      "version": "053defe0-5e7a-4a06-bbaf-6e4392bf80d2",
      "command": null,
      "console": false,
      "debug": null,
      "staging_task_id": "22241a2157034c528c7c46e055c2fe7c",
      "package_state": "PENDING",
      "health_check_type": "port",
      "health_check_timeout": null,
      "staging_failed_reason": null,
      "staging_failed_description": null,
      "diego": true,
      "docker_image": null,
      "package_updated_at": "2016-07-12T19:10:40Z",
      "detected_start_command": "",
      "enable_ssh": true,
      "docker_credentials_json": {
         "redacted_message": "[PRIVATE DATA HIDDEN]"
      },
      "ports": [
         8080
      ],
      "space_url": "/v2/spaces/58c3829a-a44f-4544-a255-f3214157d6b1",
      "stack_url": "/v2/stacks/9942a914-981c-465a-9af4-e51eb6385ff1",
      "routes_url": "/v2/apps/76cd901b-5c86-4c14-926c-6fdcfd3f02ae/routes",
      "events_url": "/v2/apps/76cd901b-5c86-4c14-926c-6fdcfd3f02ae/events",
      "service_bindings_url": "/v2/apps/76cd901b-5c86-4c14-926c-6fdcfd3f02ae/service_bindings",
      "route_mappings_url": "/v2/apps/76cd901b-5c86-4c14-926c-6fdcfd3f02ae/route_mappings"
   }
}

$ cf -v
cf version 6.20.0+25b1961-2016-06-29

$ cf plugins
Listing Installed Plugins...
OK

Plugin Name     Version   Command Name        Command Help
Diego-Enabler   1.2.0     enable-diego        Migrate app to the Diego runtime
Diego-Enabler   1.2.0     disable-diego       Migrate app to the DEA runtime
Diego-Enabler   1.2.0     has-diego-enabled   Report whether an app is configured to run on the Diego runtime
Diego-Enabler   1.2.0     diego-apps          Lists all apps running on the Diego runtime that are visible to the user
Diego-Enabler   1.2.0     dea-apps            Lists all apps running on the DEA runtime that are visible to the user
Diego-Enabler   1.2.0     migrate-apps        Migrate all apps to Diego/DEA

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions