You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (JIRA)" <ji...@apache.org> on 2014/10/20 16:56:34 UTC

[jira] [Created] (VCL-795) Request processes are continuously created after end time is reached if request state is 'inuse' and process initialization fails

Andy Kurth created VCL-795:
------------------------------

             Summary: Request processes are continuously created after end time is reached if request state is 'inuse' and process initialization fails
                 Key: VCL-795
                 URL: https://issues.apache.org/jira/browse/VCL-795
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.3.2
            Reporter: Andy Kurth
            Assignee: Andy Kurth
             Fix For: 2.4


vcld will continuously and perpetually attempt to process a request under these conditions:

* Request state: inuse
* Request end time has been reached (request.end is in the past)
* Processes spawned fail to initialize

An example where this can occur is for a reservation assigned to a VM and the VM host provisioning object fails to initialize.  state.pm::initialize calls reservation_failed.  There is a condition in reservation_failed to check for the _inuse_ state.  If _inuse_, the request and computer states are always set back to _inuse_ even after the request end time has been reached.  As a result, the request stays in the database forever.

There is also no delay in between attempts because vcld sees the end time has been reached and immediately makes another attempt.  This causes vcld.log to grow rapidly.





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)