Hi Heejoon,

In addition to running the local airavata server if you change the wsis
section in the pga_config.php to use localhost you should also run a local
wso2 identity server instance(http://wso2.com/products/identity-server/).
Currently what we do is we are hosting a one instance of identity server
and using the same identity server in all PGAs. The identity server
supports tenant based isolation so every pga is configured to use a
separate tenant. The default configuration is the development related
tenant that we use.

If you want your own wso2 identity server that can also be done.

On Tue, Oct 27, 2015 at 2:47 AM, Heejoon Chae <[email protected]>
wrote:

> Hi Supun,
>
> Thank you for the role setting information. Now the PGA seems working with
> hosted airavata.
>
> For testing with locally installed Airavata server, I cloned recent git
> and compile which generated 0.16 snapshot.
> I deployed it and when I ran it, I got following error and the PGA says
> unable to connect Airavata Server instance.
>
> [INFO] Unable to sendViaPost to url[
> https://localhost:9443/services/EntitlementPolicyAdminService]
> java.net.ConnectException: Connection refused
>
> BTW, I modified PGA property to localhost.
>
> Thank  you,
> Heejoon.
>
>
>
> On Sun, Oct 25, 2015 at 5:30 AM, Supun Nakandala <
> [email protected]> wrote:
>
>> Hi Heejoon,
>>
>> Based on your suggestion I have changed the pga_config.php.template
>> admin-username to only have the username part. I hope this will avoid
>> future user confusions.
>>
>> In addition to that if you create a new user you can provide access to
>> that user by assigning roles using the admin portal after logging in as
>> master. The three main roles are as follows.
>>
>> airavata-user => basic user who can run experiments
>> admin => user who can view/change application catalog data
>> admin-read-only => user who can only view the application catalog data
>>
>> Thank you,
>> Supun
>>
>> On Sat, Oct 24, 2015 at 9:10 AM, Heejoon Chae <[email protected]>
>> wrote:
>>
>>> Self-solved the issue.
>>>
>>> Interestingly, even though the pga_config is written as
>>>
>>> 'admin-username' => '[email protected]',
>>> 'admin-password' => 'master',
>>>
>>> I need to put admin username as 'master' and password 'master'
>>>
>>> It seems the 'admin-username' assumes containing tenant-domain and when
>>> to login, it is ignored.
>>> Now I can see the admin dashboard
>>>
>>> I think It would be helpful if the wiki tutorial explains this part a
>>> little bit more.
>>>
>>> Thank you,
>>> Heejoon.
>>>
>>>
>>>
>>>
>>>
>>> On Sat, Oct 24, 2015 at 6:05 PM, Heejoon Chae <[email protected]>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I installed PGA, airavata server on local machine and it seems working.
>>>>
>>>> I created my own account and changed the user role to
>>>> 'internal/everyone' to see the project and experiment menu.
>>>>
>>>> Now, as pga_config, I tried to login with '[email protected]' and
>>>> 'master', but failed to login as admin
>>>>
>>>> I tried this with both 'gw56.iu.xsede.org' and local host.
>>>>
>>>> How can I obtain admin privilege?
>>>>
>>>> Thank you,
>>>> Heejoon.
>>>>
>>>
>>>
>>
>>
>> --
>> Thank you
>> Supun Nakandala
>> Dept. Computer Science and Engineering
>> University of Moratuwa
>>
>
>


-- 
Thank you
Supun Nakandala
Dept. Computer Science and Engineering
University of Moratuwa

Reply via email to