Bug 839374 - A deltacloud job with wrong credentails is not moved into hold state
Summary: A deltacloud job with wrong credentails is not moved into hold state
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor-deltacloud-gahp
Version: 2.2
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: grid-maint-list
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-11 18:51 UTC by Luigi Toscano
Modified: 2016-05-26 20:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 20:14:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 803895 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 803895

Description Luigi Toscano 2012-07-11 18:51:14 UTC
Description of problem:
When a deltacloud jobs contains wrong credentials (invalid username or password), the job is not (immediately) moved to hold state, which is the expected behavior when the specified image id is wrong.

GridmanagerLog (D_FULLDEBUG) contains lines like
07/11/12 20:42:39 [25679] GAHP[25683] -> '3' 'Instance_Fetch_Failure: 401 Unauthorized'
07/11/12 20:42:39 [25679] BaseResource::DoBatchStatus for http://dc.example.com:3002/api.
07/11/12 20:42:39 [25679] Error attempting a Deltacloud batch status query: Instance_Fetch_Failure: 401 Unauthorized
07/11/12 20:42:39 [25679] BaseResource::DoBatchStatus: An error occurred trying to finish a bulk poll of http://dc.example.com:3002/api

and then, periodically, lines like:
07/11/12 20:47:40 [25679] GAHP[25683] -> '4' 'Instance_Fetch_Failure: 401 Unauthorized'
07/11/12 20:47:40 [25679] resource http://dc.example.com:3002/api is still down


Version-Release number of selected component (if applicable):
condor-deltacloud-gahp-7.6.5-0.16
condor-7.6.5-0.16

Comment 1 Luigi Toscano 2012-07-11 18:56:20 UTC
And moreover, when said job is removed, gridmanager still continue to try to fetch information and the jobs stays in X state.

Comment 2 Luigi Toscano 2012-07-11 19:08:45 UTC
Same behavior for jobs when the deltacloud server can't be reached (also for  comment #1: this jobs are difficult to kill).

Comment 3 Matthew Farrellee 2012-07-12 12:17:34 UTC
It is expected a job will stay X if any resources have been allocated via deltacloud. The gridmanager wants to make sure it has cleaned up the remote side.

Comment 4 Anne-Louise Tangring 2016-05-26 20:14:06 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.


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