[jira] [Commented] (AIRAVATA-2117) User Compute Resource Preference

2016-10-14 Thread Anuj Bhandar (JIRA)

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

Anuj Bhandar commented on AIRAVATA-2117:


[~marcuschristie],

The above bug is resolved in https://github.com/apache/airavata/pull/56

> User Compute Resource Preference
> 
>
> Key: AIRAVATA-2117
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2117
> Project: Airavata
>  Issue Type: Story
>  Components: Airavata API, GFac, PGA PHP Web Gateway
>Reporter: Anuj Bhandar
>Assignee: Anuj Bhandar
>  Labels: GATask
> Attachments: user_resource_profile_model.thrift
>
>
> As a user, I should be given the preference to register my Compute Resource 
> allocation to Airavata, So that i could use it to schedule jobs.



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


[jira] [Commented] (AIRAVATA-2152) UI for to add compute resource/storage allocations

2016-10-14 Thread Anuj Bhandar (JIRA)

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

Anuj Bhandar commented on AIRAVATA-2152:


[~marcuschristie],

The above bug is resolved in https://github.com/apache/airavata/pull/56

> UI for to add compute resource/storage allocations
> --
>
> Key: AIRAVATA-2152
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2152
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Reporter: Marcus Christie
>Assignee: Marcus Christie
>




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


[GitHub] airavata pull request #56: User compute resource bug resolve

2016-10-14 Thread anujbhan
GitHub user anujbhan opened a pull request:

https://github.com/apache/airavata/pull/56

User compute resource bug resolve

Bug 1 : getUserResourceProfile will return null if the profile is not 
found, rather than an exception

Bug 2 : removeUserComputeResourcePreference is working now

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

$ git pull https://github.com/anujbhan/airavata user-compute-bug-resolve

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

https://github.com/apache/airavata/pull/56.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 #56


commit dd319ce94ffb7db6729c724b0dbe3523bea0b338
Author: Anuj Bhandar 
Date:   2016-10-14T19:38:42Z

resolving bug 1: getUserResourceProfile will return null if not found in DB

commit ff48f8c898b7160da6e646e55681bf6a92637549
Author: Anuj Bhandar 
Date:   2016-10-14T20:04:26Z

resolving bug 2 : removeUserComputeResourcePreference is working now

commit e159a03165f38287551f708f44a832db7f9af630
Author: Anuj Bhandar 
Date:   2016-10-14T20:04:54Z

Merge remote-tracking branch 'upstream/develop' into 
user-compute-bug-resolve




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Created] (AIRAVATA-2171) Shared users with only read access to a project should not be able to edit projects

2016-10-14 Thread Marcus Christie (JIRA)
Marcus Christie created AIRAVATA-2171:
-

 Summary: Shared users with only read access to a project should 
not be able to edit projects
 Key: AIRAVATA-2171
 URL: https://issues.apache.org/jira/browse/AIRAVATA-2171
 Project: Airavata
  Issue Type: Sub-task
Reporter: Marcus Christie
Assignee: Marcus Christie






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


[jira] [Created] (AIRAVATA-2170) When editing a project, only the owner can change the sharing settings

2016-10-14 Thread Marcus Christie (JIRA)
Marcus Christie created AIRAVATA-2170:
-

 Summary: When editing a project, only the owner can change the 
sharing settings
 Key: AIRAVATA-2170
 URL: https://issues.apache.org/jira/browse/AIRAVATA-2170
 Project: Airavata
  Issue Type: Sub-task
Reporter: Marcus Christie
Assignee: Marcus Christie






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


[jira] [Created] (AIRAVATA-2169) In Browse Projects, user can edit if owner or has write access

2016-10-14 Thread Marcus Christie (JIRA)
Marcus Christie created AIRAVATA-2169:
-

 Summary: In Browse Projects, user can edit if owner or has write 
access
 Key: AIRAVATA-2169
 URL: https://issues.apache.org/jira/browse/AIRAVATA-2169
 Project: Airavata
  Issue Type: Sub-task
Reporter: Marcus Christie
Assignee: Marcus Christie






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


[jira] [Created] (AIRAVATA-2168) PGA changes for Data Sharing

2016-10-14 Thread Marcus Christie (JIRA)
Marcus Christie created AIRAVATA-2168:
-

 Summary: PGA changes for Data Sharing
 Key: AIRAVATA-2168
 URL: https://issues.apache.org/jira/browse/AIRAVATA-2168
 Project: Airavata
  Issue Type: New Feature
Reporter: Marcus Christie
Assignee: Marcus Christie






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


[jira] [Created] (AIRAVATA-2167) Add Queue Specific Macros to Job Script

2016-10-14 Thread Shameera Rathnayaka (JIRA)
Shameera Rathnayaka created AIRAVATA-2167:
-

 Summary: Add Queue Specific Macros to Job Script
 Key: AIRAVATA-2167
 URL: https://issues.apache.org/jira/browse/AIRAVATA-2167
 Project: Airavata
  Issue Type: Improvement
Affects Versions: 0.17-SNAPSHOT
Reporter: Shameera Rathnayaka
Assignee: Shameera Rathnayaka


There can be queue specific macros which need to be added to final job script. 
eg: GPU type queues require to add --gres macro with number of gpu cores need 
to use. 



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


[jira] [Commented] (AIRAVATA-2152) UI for to add compute resource/storage allocations

2016-10-14 Thread Marcus Christie (JIRA)

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

Marcus Christie commented on AIRAVATA-2152:
---

[~anujbhan],

When I try to call deleteUserComputeResourcePreference in the Airavata API, 
nothing is happening.  I think there is a bug in 
[UsrResourceProfileImpl|https://github.com/apache/airavata/blob/8469effce22ffe3a54255d3920ee33b9d9035c06/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/impl/UsrResourceProfileImpl.java#L204-L204]

Instead of this:
{code}
CompositeIdentifier ids = new CompositeIdentifier(userId,gatewayId);
{code}

I think it should probably be

{code}
CompositeIdentifier ids = new CompositeIdentifier(preferenceId, 
userId);
{code}

I say that because the CompositeId in 
UserComputeHostPreferenceResource.remove() expects the first id to be the 
RESOURCE_ID and the second one is the USER_ID.

> UI for to add compute resource/storage allocations
> --
>
> Key: AIRAVATA-2152
> URL: https://issues.apache.org/jira/browse/AIRAVATA-2152
> Project: Airavata
>  Issue Type: Bug
>  Components: PGA PHP Web Gateway
>Reporter: Marcus Christie
>Assignee: Marcus Christie
>




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