[jira] [Updated] (AIRAVATA-2159) SEAGrid Notice creation error.
[ https://issues.apache.org/jira/browse/AIRAVATA-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sudhakar Pamidighantam updated AIRAVATA-2159: - Assignee: Marcus Christie > SEAGrid Notice creation error. > --- > > Key: AIRAVATA-2159 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2159 > Project: Airavata > Issue Type: Bug >Reporter: Sudhakar Pamidighantam >Assignee: Marcus Christie > > When I tried to create a new notice out of the recent XSEDE new from Mahidhar > (copied below) I get an error as follows > An error has occurred. Please try again later. > Which repreats if I click on create button again. > Not sure if I am doing something. > Begin forwarded message: > From: XSEDE User News > Subject: SDSC Comet, Gordon Maintenance: 6AM-6PM (PT), Oct 25, 2016 > Date: October 11, 2016 at 1:14:44 PM EDT > To: > Reply-To: No Reply > A new message has been posted to XSEDE User News. > Categories: Comet (SDSC), Gordon (SDSC) > Start time: 25 Oct, 2016 06:00 PDT > End time: 25 Oct, 2016 18:00 PDT > Posted on 11 Oct, 2016 16:49 UTC by Mahidhar Tatineni > We will be performing maintenance on the SDSC Datacenter power infrastructure > on Oct 25, 2016. Both Comet and Gordon will be unavailable 6AM-6PM (PT) on > Tuesday, Oct 25, 2016. We have reservations in place on both machines so jobs > that do not fit in the window before the maintenance will be queued and run > after the maintenance is completed. Jobs will not run during the maintenance. > Please email h...@xsede.org if you have any questions. > > This message was generated by XSEDE User News v3.0. You can view this > message in the XSEDE User Portal at > https://portal.xsede.org/web/xup/user-news/-/news/item/7715. > You can manage your XSEDE User News subscriptions at > https://portal.xsede.org/group/xup/user-news/-/news/manage-subscription. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (AIRAVATA-2159) SEAGrid Notice creation error.
Sudhakar Pamidighantam created AIRAVATA-2159: Summary: SEAGrid Notice creation error. Key: AIRAVATA-2159 URL: https://issues.apache.org/jira/browse/AIRAVATA-2159 Project: Airavata Issue Type: Bug Reporter: Sudhakar Pamidighantam When I tried to create a new notice out of the recent XSEDE new from Mahidhar (copied below) I get an error as follows An error has occurred. Please try again later. Which repreats if I click on create button again. Not sure if I am doing something. Begin forwarded message: From: XSEDE User News Subject: SDSC Comet, Gordon Maintenance: 6AM-6PM (PT), Oct 25, 2016 Date: October 11, 2016 at 1:14:44 PM EDT To: Reply-To: No Reply A new message has been posted to XSEDE User News. Categories: Comet (SDSC), Gordon (SDSC) Start time: 25 Oct, 2016 06:00 PDT End time: 25 Oct, 2016 18:00 PDT Posted on 11 Oct, 2016 16:49 UTC by Mahidhar Tatineni We will be performing maintenance on the SDSC Datacenter power infrastructure on Oct 25, 2016. Both Comet and Gordon will be unavailable 6AM-6PM (PT) on Tuesday, Oct 25, 2016. We have reservations in place on both machines so jobs that do not fit in the window before the maintenance will be queued and run after the maintenance is completed. Jobs will not run during the maintenance. Please email h...@xsede.org if you have any questions. This message was generated by XSEDE User News v3.0. You can view this message in the XSEDE User Portal at https://portal.xsede.org/web/xup/user-news/-/news/item/7715. You can manage your XSEDE User News subscriptions at https://portal.xsede.org/group/xup/user-news/-/news/manage-subscription. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AIRAVATA-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565813#comment-15565813 ] Marcus Christie commented on AIRAVATA-2117: --- That's fine. I'll put in a try/catch for now and will remove it once you've made the backend changes. Thanks! > 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-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565806#comment-15565806 ] Anuj Bhandar commented on AIRAVATA-2117: yes [~marcuschristie], You are right, that should be the case. Let me look up the code and make changes accordingly, but this change will take some time as I have some other tasks on my hand. > 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-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565785#comment-15565785 ] Marcus Christie commented on AIRAVATA-2117: --- [~anujbhan], Should getUserResourceProfile return null if there is no record instead of throwing an exception? The alternative I guess is that I catch the AiravataSystemException, but I don't like that because then the code would be assuming that the AiravataSystemException was thrown because a UserResourceProfile doesn't exist. > 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-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565758#comment-15565758 ] Anuj Bhandar commented on AIRAVATA-2117: [~marcuschristie], There are no methods exposed to just check whether a userResourceProfile exists, in Airavata API. I guess "Airavata::getUserResourceProfile(Session::get('authz-token'), $userId, $gatewayId);" will be the only way to do it in PGA client. > 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-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565737#comment-15565737 ] Anuj Bhandar commented on AIRAVATA-2117: [~marcuschristie], There are no records in UserResourceProfile table, I checked the dataBase. > 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-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565694#comment-15565694 ] Marcus Christie commented on AIRAVATA-2117: --- Thanks Anuj. I have another question. I tried to query to see if a user has an existing UserResourceProfile {code} public static function get_or_create_user_resource_profile() { $userId = Session::get('user-profile')['username']; $gatewayId = Session::get('gateway_id'); $userResourceProfile = Airavata::getUserResourceProfile(Session::get('authz-token'), $userId, $gatewayId); return $userResourceProfile; } {code} However when I try this I get {noformat} Airavata \ API \ Error \ AiravataSystemException HELP Error while retrieving user resource profile. More info : Error while retrieving user resource profile. More info : javax.persistence.NoResultException: Query "SELECT p FROM UserResourceProfile p WHERE p.userId =:param0 AND p.gatewayID =:param1" selected no result, but expected unique result. {noformat} I think this is because [the backend code calls getSingleResult()|https://github.com/apache/airavata/blob/50cf71e44431e1dce3653df25790443d4a77ec0f/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/UserResourceProfileResource.java#L161-L161]. Is there a better method to use to figure out if a UserResourceProfile already exists? > 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] [Comment Edited] (AIRAVATA-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565694#comment-15565694 ] Marcus Christie edited comment on AIRAVATA-2117 at 10/11/16 3:11 PM: - Thanks Anuj. I have another question. In PGA, I tried to query to see if a user has an existing UserResourceProfile {code} public static function get_or_create_user_resource_profile() { $userId = Session::get('user-profile')['username']; $gatewayId = Session::get('gateway_id'); $userResourceProfile = Airavata::getUserResourceProfile(Session::get('authz-token'), $userId, $gatewayId); return $userResourceProfile; } {code} However when I try this I get {noformat} Airavata \ API \ Error \ AiravataSystemException HELP Error while retrieving user resource profile. More info : Error while retrieving user resource profile. More info : javax.persistence.NoResultException: Query "SELECT p FROM UserResourceProfile p WHERE p.userId =:param0 AND p.gatewayID =:param1" selected no result, but expected unique result. {noformat} I think this is because [the backend code calls getSingleResult()|https://github.com/apache/airavata/blob/50cf71e44431e1dce3653df25790443d4a77ec0f/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/UserResourceProfileResource.java#L161-L161]. Is there a better method to use to figure out if a UserResourceProfile already exists? was (Author: marcuschristie): Thanks Anuj. I have another question. I tried to query to see if a user has an existing UserResourceProfile {code} public static function get_or_create_user_resource_profile() { $userId = Session::get('user-profile')['username']; $gatewayId = Session::get('gateway_id'); $userResourceProfile = Airavata::getUserResourceProfile(Session::get('authz-token'), $userId, $gatewayId); return $userResourceProfile; } {code} However when I try this I get {noformat} Airavata \ API \ Error \ AiravataSystemException HELP Error while retrieving user resource profile. More info : Error while retrieving user resource profile. More info : javax.persistence.NoResultException: Query "SELECT p FROM UserResourceProfile p WHERE p.userId =:param0 AND p.gatewayID =:param1" selected no result, but expected unique result. {noformat} I think this is because [the backend code calls getSingleResult()|https://github.com/apache/airavata/blob/50cf71e44431e1dce3653df25790443d4a77ec0f/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/resources/UserResourceProfileResource.java#L161-L161]. Is there a better method to use to figure out if a UserResourceProfile already exists? > 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)
[GitHub] airavata issue #54: Adding SSH Credential summary data model
Github user anujbhan commented on the issue: https://github.com/apache/airavata/pull/54 @shamrath, Indeed a good list of improvements, this way the Airavata Api will remain clutter free. I will start the development on these shortly. --- 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] [Commented] (AIRAVATA-2158) Introduce Credential summary data model for Airavata API
[ https://issues.apache.org/jira/browse/AIRAVATA-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565684#comment-15565684 ] Anuj Bhandar commented on AIRAVATA-2158: [~eroma_a], This issue tracks this pull request : https://github.com/apache/airavata/pull/54 > Introduce Credential summary data model for Airavata API > > > Key: AIRAVATA-2158 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2158 > Project: Airavata > Issue Type: New Feature > Components: Airavata API > Environment: Development >Reporter: Anuj Bhandar >Assignee: Anuj Bhandar > Labels: GATask > > This feature will help client Gateways fetch more information about key > credentials for displaying in the User Interfaces. > New Endpoint introduced: > "public List getAllGatewaySSHPubKeysSummary(AuthzToken > authzToken, String gatewayId)" > returns: > "struct CredentialSummary { 1: required string gatewayId, 2: required string > username, 3: optional string publicKey, 4: optional i64 persistedTime, 5: > optional string description }" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (AIRAVATA-2158) Introduce Credential summary data model for Airavata API
Anuj Bhandar created AIRAVATA-2158: -- Summary: Introduce Credential summary data model for Airavata API Key: AIRAVATA-2158 URL: https://issues.apache.org/jira/browse/AIRAVATA-2158 Project: Airavata Issue Type: New Feature Components: Airavata API Environment: Development Reporter: Anuj Bhandar Assignee: Anuj Bhandar This feature will help client Gateways fetch more information about key credentials for displaying in the User Interfaces. New Endpoint introduced: "public List getAllGatewaySSHPubKeysSummary(AuthzToken authzToken, String gatewayId)" returns: "struct CredentialSummary { 1: required string gatewayId, 2: required string username, 3: optional string publicKey, 4: optional i64 persistedTime, 5: optional string description }" -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AIRAVATA-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565652#comment-15565652 ] Anuj Bhandar commented on AIRAVATA-2117: [~marcuschristie], The implementation in place considers username for userId field in UserResourceProfile > 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] [Created] (AIRAVATA-2157) Cannot view Application deployments. Throws Airavata System Exception
Eroma created AIRAVATA-2157: --- Summary: Cannot view Application deployments. Throws Airavata System Exception Key: AIRAVATA-2157 URL: https://issues.apache.org/jira/browse/AIRAVATA-2157 Project: Airavata Issue Type: Bug Components: PGA PHP Web Gateway Reporter: Eroma Assignee: Supun Chathuranga Nakandala When clicked on Application module, Application interface and Applicationi deployment a system exception is thrown. ''Error while retrieving all application modules. More info : Error while retrieving all application modules. More info : org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "SELECT p FROM ApplicationModule p WHERE p.gatewayID =:param0". Error message: No field named "gatewayID" in "ApplicationModule". Did you mean "gatewayId"? Expected one of the available field names in "org.apache.airavata.registry.core.app.catalog.model.ApplicationModule": "[creationTime, gatewayId, moduleDesc, moduleID, moduleName, moduleVersion, updateTime]".' -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AIRAVATA-2117) User Compute Resource Preference
[ https://issues.apache.org/jira/browse/AIRAVATA-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565609#comment-15565609 ] Marcus Christie commented on AIRAVATA-2117: --- [~anujbhan], For the UserResourceProfile model, what is the userId? Is it the username, email address, or something else? > 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-2006) Users should be able to share COMPLETED experiments as well.
[ https://issues.apache.org/jira/browse/AIRAVATA-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15565584#comment-15565584 ] Eroma commented on AIRAVATA-2006: - tested the new implementation of data sharing and still this issue exits. Cannot share experiments unless its editable or at the time of creating. tested in https://dev.seagrid.org > Users should be able to share COMPLETED experiments as well. > > > Key: AIRAVATA-2006 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2006 > Project: Airavata > Issue Type: Sub-task > Components: Airavata System, PGA PHP Web Gateway >Affects Versions: 0.16 >Reporter: Eroma >Assignee: Jeff Kinnison > > Currently sharing capability is added modified through 'create' and 'edit' > functions for both experiments and projects. > Although projects can be edited at any given time experiments cannot be > edited once they are launched. > PGA need to provide sharing even after experiment details are no longer > modifiable. (Experiments in status EXECUTING) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (AIRAVATA-2006) Users should be able to share COMPLETED experiments as well.
[ https://issues.apache.org/jira/browse/AIRAVATA-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eroma updated AIRAVATA-2006: Assignee: Supun Chathuranga Nakandala (was: Jeff Kinnison) > Users should be able to share COMPLETED experiments as well. > > > Key: AIRAVATA-2006 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2006 > Project: Airavata > Issue Type: Sub-task > Components: Airavata System, PGA PHP Web Gateway >Affects Versions: 0.16 >Reporter: Eroma >Assignee: Supun Chathuranga Nakandala > > Currently sharing capability is added modified through 'create' and 'edit' > functions for both experiments and projects. > Although projects can be edited at any given time experiments cannot be > edited once they are launched. > PGA need to provide sharing even after experiment details are no longer > modifiable. (Experiments in status EXECUTING) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (AIRAVATA-2156) UI for credential store token + key generation for portal users to use with their campus logins.
Marcus Christie created AIRAVATA-2156: - Summary: UI for credential store token + key generation for portal users to use with their campus logins. Key: AIRAVATA-2156 URL: https://issues.apache.org/jira/browse/AIRAVATA-2156 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)