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

Unable to run command because of Unknown actor CheTask error #13562

Closed
sleshchenko opened this issue Jun 18, 2019 · 5 comments
Closed

Unable to run command because of Unknown actor CheTask error #13562

sleshchenko opened this issue Jun 18, 2019 · 5 comments
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@sleshchenko
Copy link
Member

sleshchenko commented Jun 18, 2019

Description

Unable to run command because of Unknown actor CheTask error.

Reproduction Steps

  1. Create a workspace with the following Devfile
Devfile to test
---
apiVersion: 1.0.0
metadata:
  name: python-django
projects:
  -
    name: django-realworld-example-app
    source:
      type: git
      location: "https://github.com/gothinkster/django-realworld-example-app"
components:
  -
    type: chePlugin
    id: ms-python/python/latest
    memoryLimit: 512Mi
  -
    type: dockerimage
    alias: python
    image: centos/python-36-centos7:1
    command: ['sleep']
    args: ['infinity']
    env:
      - name: HOME
        value: /home/user
      - name: PS1
        value: $(echo ${0})\\$
    memoryLimit: 512Mi
    endpoints:
      - name: 'django'
        port: 7000
    mountSources: true
commands:
  -
    name: install requirements
    actions:
      -
        type: exec
        component: python
        command: cd ${CHE_PROJECTS_ROOT}/django-realworld-example-app && pip install -r requirements.txt
  -
    name: migrate
    actions:
      -
        type: exec
        component: python
        command: cd ${CHE_PROJECTS_ROOT}/django-realworld-example-app && python manage.py migrate
  -
    name: patch resources
    actions:
      -
        type: exec
        component: python
        command: cd ${CHE_PROJECTS_ROOT}/django-realworld-example-app && sed -i "s/ALLOWED_HOSTS = \[\]/ALLOWED_HOSTS = \['*'\]/g" conduit/settings.py
  -
    name: run server
    actions:
      -
        type: exec
        component: python
        command: cd ${CHE_PROJECTS_ROOT}/django-realworld-example-app && python manage.py runserver 0.0.0.0:7000
  1. Start the created workspace.
  2. Run install requirements command and wait until it finishes.
  3. Try to run migrate/path resources task.

Expected: Message is shown that task is run successfully.
Actual: Looks like a task is run successfully but an error message is shown:
Screenshot_20190618_112526

See screencast:
cheTaskActorError

OS and version:

Diagnostics:
Che Machine Exec Logs
Screenshot_20190618_113413

Python plugin logs:
Screenshot_20190618_113512

Theia logs:
Screenshot_20190618_113501

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Jun 18, 2019

@sleshchenko
If I understand correctly the issue is not reproduced for any command, but is reproduced for the specific command.
Did you tried to give more memory for your containers?

@sleshchenko
Copy link
Member Author

@RomanNikitenko

If I understand correctly the issue is not reproduced for any command, but is reproduced for the specific command.

At some point, the same error appears for any of commands. The Issue has a detailed description of how to reproduce it, let me know if some help is neededn

Did you tried to give more memory for your containers?

Yes, I tried but it did not help me.

@RomanNikitenko
Copy link
Member

RomanNikitenko commented Jun 18, 2019

@sleshchenko

The Issue has a detailed description of how to reproduce it, let me know if some help is neededn

We discussed with you that memory can be the cause of the issue, that's why I asked you

Yes, I tried but it did not help me.

OK, thank you!

@slemeur slemeur added kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system. labels Jun 20, 2019
@RomanNikitenko RomanNikitenko self-assigned this Aug 2, 2019
@RomanNikitenko RomanNikitenko added the status/in-progress This issue has been taken by an engineer and is under active development. label Aug 2, 2019
@sleshchenko
Copy link
Member Author

I'm not able to reproduce it anymore on my minishift installation.

@RomanNikitenko
Copy link
Member

I tried to reproduce the issue on minikube and minishift as well.
I'm not able to reproduce this one, so I'm closing the issue.

@RomanNikitenko RomanNikitenko removed the status/in-progress This issue has been taken by an engineer and is under active development. label Aug 7, 2019
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. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants