Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'add a new machine' flow for che7-workspace #12047

Closed
olexii4 opened this issue Nov 26, 2018 · 0 comments
Closed

Fix 'add a new machine' flow for che7-workspace #12047

olexii4 opened this issue Nov 26, 2018 · 0 comments
Labels
kind/bug Outline of a bug - must adhere to the bug report template.

Comments

@olexii4
Copy link
Contributor

olexii4 commented Nov 26, 2018

Description

Fix 'add a new machine' flow for che7-workspace.

Reproduction Steps

  1. Create the workspace with che-kube:
{
  "defaultEnv": "default",
  "environments": {
    "default": {
      "machines": {
        "ws/dev": {
          "attributes": {
            "memoryLimitBytes": "1073741824"
          },
          "servers": {},
          "volumes": {},
          "installers": [],
          "env": {}
        }
      },
      "recipe": {
        "type": "kubernetes",
        "content": "kind: List\nitems:\n - \n  apiVersion: v1\n  kind: Pod\n  metadata:\n   name: ws\n  spec:\n   containers:\n    - \n     image: 'rhche/centos_jdk8:latest'\n     name: dev\n     resources:\n      limits:\n       memory: 1024Mi\n",
        "contentType": "application/x-yaml"
      }
    }
  },
  "commands": [],
  "projects": [],
  "name": "che7-workspace",
  "attributes": {
    "editor": "org.eclipse.che.editor.theia:1.0.0",
    "plugins": "che-machine-exec-plugin:0.0.1"
  },
  "links": []
}
  1. Try to add a new machine.

Expected behavior:
Add a new machine into the workspace.

Observed behavior:
An error "Che plugin configuration can be applied to a workspace with one pod only"
screenshot from 2018-11-23 00-55-28

OS and version:
Che 6.15.0; Chrome 63.0; Ubuntu 18.10
Diagnostics:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

2 participants