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

can not login cvat #1595

Closed
KumaAnjo opened this issue May 27, 2020 · 5 comments
Closed

can not login cvat #1595

KumaAnjo opened this issue May 27, 2020 · 5 comments
Labels
bug Something isn't working

Comments

@KumaAnjo
Copy link

KumaAnjo commented May 27, 2020

Steps to Reproduce

  1. docker-compose build
  2. docker-compose up -d
  3. cannot log in after open url with browser
  4. no user and password.
  5. do not anything to do after run command: docker exec -it cvat bash -ic 'python3 ~/manage.py createsuperuser'

Environment

  • commit fb380d9
  • Docker Version: 19.03.8
  • Linux
  • Other diagnostic information / logs:
    Logs from `cvat` container

2020-05-27 02:52:42,606 INFO RPC interface 'supervisor' initialized
2020-05-27 02:52:42,606 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-05-27 02:52:42,606 INFO supervisord started with pid 1
2020-05-27 02:52:43,609 INFO spawned: 'ssh-agent' with pid 8
2020-05-27 02:52:43,612 INFO spawned: 'rqscheduler' with pid 9
2020-05-27 02:52:43,617 INFO spawned: 'runserver' with pid 10
2020-05-27 02:52:43,620 INFO spawned: 'rqworker_low' with pid 11
2020-05-27 02:52:43,624 INFO spawned: 'rqworker_default_0' with pid 13
2020-05-27 02:52:43,628 INFO spawned: 'rqworker_default_1' with pid 14
2020-05-27 02:52:43,631 INFO spawned: 'git_status_updater' with pid 16
2020-05-27 02:52:43,642 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,648 DEBG 'runserver' stderr output:
wait-for-it.sh: waiting for db:5432 without a timeout

2020-05-27 02:52:43,652 DEBG 'ssh-agent' stdout output:
SSH_AUTH_SOCK=/tmp/ssh-agent.sock; export SSH_AUTH_SOCK;
echo Agent pid 19;

2020-05-27 02:52:43,653 DEBG 'ssh-agent' stderr output:
debug2: fd 3 setting O_NONBLOCK

2020-05-27 02:52:43,653 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,655 DEBG 'rqworker_low' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,658 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,659 DEBG 'runserver' stderr output:
wait-for-it.sh: db:5432 is available after 0 seconds

2020-05-27 02:52:43,661 DEBG 'runserver' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,663 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,675 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,680 DEBG 'rqscheduler' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2020-05-27 02:52:42,606 INFO RPC interface 'supervisor' initialized
2020-05-27 02:52:42,606 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-05-27 02:52:42,606 INFO supervisord started with pid 1
2020-05-27 02:52:43,609 INFO spawned: 'ssh-agent' with pid 8
2020-05-27 02:52:43,612 INFO spawned: 'rqscheduler' with pid 9
2020-05-27 02:52:43,617 INFO spawned: 'runserver' with pid 10
2020-05-27 02:52:43,620 INFO spawned: 'rqworker_low' with pid 11
2020-05-27 02:52:43,624 INFO spawned: 'rqworker_default_0' with pid 13
2020-05-27 02:52:43,628 INFO spawned: 'rqworker_default_1' with pid 14
2020-05-27 02:52:43,631 INFO spawned: 'git_status_updater' with pid 16
2020-05-27 02:52:43,642 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,648 DEBG 'runserver' stderr output:
wait-for-it.sh: waiting for db:5432 without a timeout

2020-05-27 02:52:43,652 DEBG 'ssh-agent' stdout output:
SSH_AUTH_SOCK=/tmp/ssh-agent.sock; export SSH_AUTH_SOCK;
echo Agent pid 19;

2020-05-27 02:52:43,653 DEBG 'ssh-agent' stderr output:
debug2: fd 3 setting O_NONBLOCK

2020-05-27 02:52:43,653 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,655 DEBG 'rqworker_low' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,658 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,659 DEBG 'runserver' stderr output:
wait-for-it.sh: db:5432 is available after 0 seconds

2020-05-27 02:52:43,661 DEBG 'runserver' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,663 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,675 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,680 DEBG 'rqscheduler' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2020-05-27 02:52:42,606 INFO RPC interface 'supervisor' initialized
2020-05-27 02:52:42,606 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-05-27 02:52:42,606 INFO supervisord started with pid 1
2020-05-27 02:52:43,609 INFO spawned: 'ssh-agent' with pid 8
2020-05-27 02:52:43,612 INFO spawned: 'rqscheduler' with pid 9
2020-05-27 02:52:43,617 INFO spawned: 'runserver' with pid 10
2020-05-27 02:52:43,620 INFO spawned: 'rqworker_low' with pid 11
2020-05-27 02:52:43,624 INFO spawned: 'rqworker_default_0' with pid 13
2020-05-27 02:52:43,628 INFO spawned: 'rqworker_default_1' with pid 14
2020-05-27 02:52:43,631 INFO spawned: 'git_status_updater' with pid 16
2020-05-27 02:52:43,642 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,648 DEBG 'runserver' stderr output:
wait-for-it.sh: waiting for db:5432 without a timeout

2020-05-27 02:52:43,652 DEBG 'ssh-agent' stdout output:
SSH_AUTH_SOCK=/tmp/ssh-agent.sock; export SSH_AUTH_SOCK;
echo Agent pid 19;

2020-05-27 02:52:43,653 DEBG 'ssh-agent' stderr output:
debug2: fd 3 setting O_NONBLOCK

2020-05-27 02:52:43,653 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,655 DEBG 'rqworker_low' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,658 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,659 DEBG 'runserver' stderr output:
wait-for-it.sh: db:5432 is available after 0 seconds

2020-05-27 02:52:43,661 DEBG 'runserver' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,663 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,675 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,680 DEBG 'rqscheduler' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
2020-05-27 02:52:43,663 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,675 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,680 DEBG 'rqscheduler' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,686 DEBG 'rqworker_default_1' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,689 DEBG 'rqworker_default_0' stderr output:
wait-for-it.sh: waiting for redis:6379 without a timeout

2020-05-27 02:52:43,690 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,692 DEBG 'git_status_updater' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,697 DEBG 'rqworker_default_1' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,698 DEBG 'rqworker_default_0' stderr output:
wait-for-it.sh: redis:6379 is available after 0 seconds

2020-05-27 02:52:43,701 DEBG 'rqworker_default_1' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,702 DEBG 'rqworker_default_0' stderr output:
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

2020-05-27 02:52:43,859 DEBG 'ssh-agent' stderr output:
debug2: fd 4 setting O_NONBLOCK
debug1: XXX shrink: 3 < 4

2020-05-27 02:52:43,863 DEBG 'ssh-agent' stderr output:
debug2: fd 4 setting O_NONBLOCK
debug1: type 11

2020-05-27 02:52:43,870 DEBG 'ssh-agent' stderr output:
debug1: XXX shrink: 3 < 4

图片

图片

Next steps

You may join our Gitter channel for community support.

@azhavoro
Copy link
Contributor

@KumaAnjo Hi, your log is too short (about 1s): start of backend takes more time, especially the first one. Please attach logs for a longer time.

@KumaAnjo
Copy link
Author

KumaAnjo commented May 27, 2020

@KumaAnjo Hi, your log is too short (about 1s): start of backend takes more time, especially the first one. Please attach logs for a longer time.

@azhavoro hi, attach more log(see file)
log.txt

more processers to restart, as below:

  1. login cvat docker
  2. supervisorctl
  3. command: status
    1). status 1
    git_status_updater RUNNING pid 10108, uptime 0:00:02
    rqscheduler RUNNING pid 10, uptime 0:04:58
    rqworker_default:rqworker_default_0 STARTING
    rqworker_default:rqworker_default_1 STARTING
    rqworker_low STARTING
    runserver RUNNING pid 10128, uptime 0:00:01
    ssh-agent RUNNING pid 9, uptime 0:04:58
    2). status 2
    git_status_updater RUNNING pid 11020, uptime 0:00:02
    rqscheduler RUNNING pid 10, uptime 0:05:24
    rqworker_default:rqworker_default_0 RUNNING pid 11040, uptime 0:00:01
    rqworker_default:rqworker_default_1 RUNNING pid 11049, uptime 0:00:01
    rqworker_low RUNNING pid 10996, uptime 0:00:02
    runserver RUNNING pid 11002, uptime 0:00:02
    ssh-agent RUNNING pid 9, uptime 0:05:24

have error logs (home/django/logs/....):
wait-for-it.sh: waiting for redis:6379 without a timeout
wait-for-it.sh: redis:6379 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell

@azhavoro
Copy link
Contributor

exited: rqworker_low (terminated by SIGILL (core dumped); not expected) could you please check that your cpu supports avx instructions? I believe this issue will be fixed soon #1567

@azhavoro azhavoro added the bug Something isn't working label May 27, 2020
@KumaAnjo
Copy link
Author

KumaAnjo commented May 27, 2020

exited: rqworker_low (terminated by SIGILL (core dumped); not expected) could you please check that your cpu supports avx instructions? I believe this issue will be fixed soon #1567

use command : cat /proc/cpuinfo,do not show avx。so, i think the avx donot supported

the CVAT can be used if not suport avx? how

@KumaAnjo
Copy link
Author

exited: rqworker_low (terminated by SIGILL (core dumped); not expected) could you please check that your cpu supports avx instructions? I believe this issue will be fixed soon #1567

use command : cat /proc/cpuinfo,do not show avx。so, i think the avx donot supported

the CVAT can be used if not suport avx? how

has fixed the issue via #1393
Thanks

@KumaAnjo KumaAnjo changed the title can not log in cvat can not login cvat Jul 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants