Red Hat Bugzilla – Bug 1459475
Importing gluster cluster creates two jobs in dashboard
Last modified: 2017-11-29 09:59:40 EST
Created attachment 1285720 [details]
Response from API calls related jobs
Description of problem:
I had a fresh installation of tendrl without any cluster. In dashboard I tried to import gluster cluster. There were created two jobs but none of them finished. Both remain `processing` after several hours. I don't see any errors in logs from node-agent.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Get a fresh installation of tendrl
2. In dashboard try to import gluster cluster
3. Wait a few minutes
4. Check `hostname-with-dashboard/#/admin/tasks`
There are created two tasks for cluster import. None of them finishes.
There should be one import task per one import attempt.
Created attachment 1285740 [details]
Why are you triggering multiple jobs to import the same set of nodes?
I let Filip to answer. But in general we should test that user is not able to run import job for same cluster twice. Same for create cluster we should test that user is not able to try to create cluster from same nodes more than once(Imagine that you have many nodes to do so. It's easy to do mistake).
I think that this time it was triggered automatically. That I created an import job but there was created another one after two minutes without my action.