Bug 773378 - Limits are shown only after submitting job
Summary: Limits are shown only after submitting job
Keywords:
Status: CLOSED DUPLICATE of bug 635200
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: cumin
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 2.2
: ---
Assignee: Trevor McKay
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 17:31 UTC by Stanislav Graf
Modified: 2012-03-13 13:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-17 16:49:49 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 739658 0 unspecified CLOSED Make remaining synchronous actions on objects asynchronous 2021-02-22 00:41:40 UTC

Internal Links: 739658

Description Stanislav Graf 2012-01-11 17:31:10 UTC
Description of problem:
Limits are shown only after submitting job with concurrency_limits. And then they are shown even after job is finished and removed. After restarting condor they are gone again.

# grep _LIMIT /etc/condor/config.d/99sgraf.config
TEST_LIMIT = 1
ecode=0
# condor_config_val -dump | grep _LIMIT
TEST_LIMIT = 1
ecode=0
# service condor restart
Stopping Condor daemons:                                   [  OK  ]
Starting Condor daemons:                                   [  OK  ]
ecode=0

Look into cumin - Grid::Limits
And there is no limits.

# su - test -c 'echo -e "Executable = /bin/sleep\nOutput = /tmp/pokus\nUniverse = vanilla\nconcurrency_limits = TEST\nargs = 60\nqueue 1" | condor_submit'
Submitting job(s).
1 job(s) submitted to cluster 5.
ecode=0

Now you can see limit 'test' in cumin, with current usage '1.0'

After job quits, limit 'test' is still there with current usage '0.0'

This information should be in cumin from the beginning.

Now if you restart condor, information about limit is lost again. Until someone use it in submission.

Version-Release number of selected component (if applicable):
cumin-0.1.4916-1.el5.noarch (from RHN)

How reproducible:
100%

Steps to Reproduce:
1. Install condor+cumin
2. Set limit
3. Look into cumin (no limit)
4. Submit job using limit
5. Look into cumin (limit is there and does not disappear)
  
Actual results:
Information about limits is displayed from the first usage.

Expected results:
Information about limits is there from the beginning (starting condor).

Additional info:

Comment 1 Stanislav Graf 2012-01-13 09:03:19 UTC
(In reply to comment #0)
> Now if you restart condor, information about limit is lost again. Until someone
> use it in submission.

Also if you restart condor, cumin shows empty list (not yellow banner - there are no limits). But after you refresh this page or go to Limits again, you can see yellow banner.

Comment 2 Stanislav Graf 2012-01-13 09:06:16 UTC
(In reply to comment #0)
> Version-Release number of selected component (if applicable):
> cumin-0.1.4916-1.el5.noarch (from RHN)

cumin-0.1.5184-1.el5.noarch
cumin-0.1.5184-1.el6.noarch

Comment 3 Trevor McKay 2012-01-17 16:49:49 UTC

*** This bug has been marked as a duplicate of bug 635200 ***


Note You need to log in before you can comment on or make changes to this bug.