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

Out of sync between yascheduler and AiiDA #4

Closed
blokhin opened this issue Dec 20, 2019 · 4 comments
Closed

Out of sync between yascheduler and AiiDA #4

blokhin opened this issue Dec 20, 2019 · 4 comments

Comments

@blokhin
Copy link
Member

blokhin commented Dec 20, 2019

The commands
verdi process list -P pk label job_state scheduler_state -O id | grep run
and
psql -d yascheduler -c 'select task_id, label, ip from yascheduler_tasks where status=1 order by 2;'

quite unexpectedly, may produce slightly different output in terms of the running tasks. Might be related to https://groups.google.com/forum/#!topic/aiidausers/zJiD-3eZeoM

@blokhin
Copy link
Member Author

blokhin commented Dec 20, 2019

In other words, the output of:
verdi process list | grep RUNNING | wc -l
!=
yastatus | grep RUNNING | wc -l

@ansobolev
Copy link
Member

Some steps to replicate? When exactly does it happen? This may happen, if verdi daemon has not retrieved results of the just finished process.

@blokhin
Copy link
Member Author

blokhin commented Dec 20, 2019

This may happen, if verdi daemon has not retrieved results of the just finished process.

No, it persists.

Some steps to replicate? When exactly does it happen?

Hard to say. I did nothing special, except the AiiDA daemon restart.

@blokhin
Copy link
Member Author

blokhin commented Dec 14, 2020

Closed in favor of #8

@blokhin blokhin closed this as completed Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants