You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/29 22:25:00 UTC

[jira] [Commented] (AIRAVATA-2521) Ability define gateway level maximum values for walltime, node and CPU counts

    [ https://issues.apache.org/jira/browse/AIRAVATA-2521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16186601#comment-16186601 ] 

ASF GitHub Bot commented on AIRAVATA-2521:
------------------------------------------

GitHub user tilaks26 opened a pull request:

    https://github.com/apache/airavata-php-gateway/pull/70

    [AIRAVATA-2521] Ability define gateway level maximum values for walltime, node and CPU counts

    - Added the maximum allowed values for the nodes, CPU cores and wall time limit to the pga_config.php.template for reference.
    - Modified the createSubmit() and editSubmit() methods in ExperiementController.php to validate the entered values for nodes, CPU cores and wall time limit for a given experiment. If invalid, an appropriate message is returned to the view.
    - Added a new private method - validateQueueData() in ExperiementController.php to perform the validation of the queue values.
    - Modified the getQueueDatafromResourceId() method in ExperiementUtilities.php to compare the queue's maximum values for nodes, CPU cores and wall time limit with that of the gateway's configuration (found in the pga_config.php file)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tilaks26/airavata-php-gateway gateway-level-max-queue-values

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/airavata-php-gateway/pull/70.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #70
    
----
commit d3900b9ab94a9fb5c68d686480429ae003d9a21e
Author: Sneha Tilak <ti...@149-160-247-119.dhcp-bl.indiana.edu>
Date:   2017-09-29T22:15:38Z

    Set the gateway level maximum values for walltime, node and CPU counts

----


> Ability define gateway level maximum values for walltime, node and CPU counts
> -----------------------------------------------------------------------------
>
>                 Key: AIRAVATA-2521
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2521
>             Project: Airavata
>          Issue Type: New Feature
>          Components: PGA PHP Web Gateway
>    Affects Versions: 0.18
>            Reporter: Eroma
>            Assignee: Marcus Christie
>
> Currently at SciGaP level (common and applicable for all the gateways) can provide maximum values for node, CPUs and walltime. At individual gateway level these values cannot be exceeded at job submission. 
> The new requirement is to have maximum values set at gateway level, so users cannot exceed at job submissions. When defining these values at gateway level, should not be able to go above the SciGaP level maximum values. Only applicable for that particular gateway. The values should be applicable at create, edit and clone experiment.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)