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

Error: "no suitable node (scheduling …" #1

Open
bytesploit opened this issue Oct 3, 2022 · 0 comments
Open

Error: "no suitable node (scheduling …" #1

bytesploit opened this issue Oct 3, 2022 · 0 comments

Comments

@bytesploit
Copy link

I am continually getting this error message, any idea what is happening?

Here are the steps to reproduce the problem:

root@dkrswpmgr:~# docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS ENGINE VERSION
bjrr8rqa55u686r0n6qw1yh37 dkrswnworkertwo Ready Active 20.10.14
slq6p97k49c3patnkqj459jbx * dkrswpmgr Ready Active Leader 20.10.14
z5e3wk78f75yg8t1u34tny0gf dkrswpworkerone Ready Active 20.10.14
3i92etwcwo45dgavoz2l4n1nk dkrswpworkerthree Ready Active 20.10.14

root@dkrswpmgr:# echo "$(openssl rand -base64 21)" > ACCESS_KEY
root@dkrswpmgr:
# echo "$(openssl rand -base64 41)" > SECRET_KEY
root@dkrswpmgr:# cat ACCESS_KEY | docker secret create access_key -
root@dkrswpmgr:
# cat SECRET_KEY | docker secret create secret_key -

root@dkrswpmgr:# docker node update --label-add minio1=true slq6p97k49c3patnkqj459jbx
root@dkrswpmgr:
# docker node update --label-add minio2=true z5e3wk78f75yg8t1u34tny0gf
root@dkrswpmgr:# docker node update --label-add minio3=true bjrr8rqa55u686r0n6qw1yh37
root@dkrswpmgr:
# docker node update --label-add minio4=true 3i92etwcwo45dgavoz2l4n1nk

root@dkrswpmgr:~# docker stack deploy -c docker-stack.yml MinIO
Creating network MinIO_minio_distributed
Creating service MinIO_minio3
Creating service MinIO_minio4
Creating service MinIO_minio1
Creating service MinIO_minio2

root@dkrswpmgr:~# docker stack ps MinIO
ID NAME IMAGE NODE DESIRED STATE CURRENT STATE ERROR PORTS
t7buvsobves9 MinIO_minio1.1 minio/minio:RELEASE.2020-03-19T21-49-00Z Running Pending about a minute ago "no suitable node (scheduling …"
mqncg2za3xqy MinIO_minio2.1 minio/minio:RELEASE.2020-03-19T21-49-00Z Running Pending about a minute ago "no suitable node (scheduling …"
uvqif3s9hajw MinIO_minio3.1 minio/minio:RELEASE.2020-03-19T21-49-00Z Running Pending about a minute ago "no suitable node (scheduling …"
k3lp2yxnokwy MinIO_minio4.1 minio/minio:RELEASE.2020-03-19T21-49-00Z Running Pending about a minute ago "no suitable node (scheduling …"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant