You might have some process running (local rabbitmq) acquiring port 5672
and 15672. Search for the process id by netstat -tulpn | grep 5672. First
you have to stop this process. Also make sure that all the ports mentioned
here [5] are free in your machine. If nothing works, try restarting your
laptop.

[5]
https://github.com/apache/airavata/blob/develop/modules/ide-integration/src/main/resources/docker-compose.yml

Dimuthu

On Thu, Mar 14, 2019 at 10:31 AM Keerthi N <[email protected]> wrote:

> Yes I have done that and executed docker system prune as well but the
> error still persists.
>
> On Thu, Mar 14, 2019 at 10:15 AM DImuthu Upeksha <
> [email protected]> wrote:
>
>> Hi Keerthi,
>>
>> You have to cleanup old resources by running "docker-compose down" and
>> "docker-compose rm". You might be running docker-compose up more than once.
>> And make sure that, no related container is running in "docker ps" output.
>>
>> Dimuthu
>>
>> On Thu, Mar 14, 2019 at 9:59 AM Keerthi N <[email protected]> wrote:
>>
>>> Hello DImuthu,
>>>
>>> Thanks for fixing , but docker-compose up fails with error "Another app
>>> is currently holding xtables lock" which can be due to use of port 22
>>> for sshd in docker-compose and in recent modification for build. I attached
>>> the screenshot for reference.
>>>
>>> Thanks,
>>> Keerthi
>>>
>>> On Thu, Mar 14, 2019 at 12:33 AM DImuthu Upeksha <
>>> [email protected]> wrote:
>>>
>>>> Hi Keerthi,
>>>>
>>>> Build was fixed. You can try now after a git pull
>>>>
>>>> Dimuthu
>>>>
>>>> On Wed, Mar 13, 2019 at 5:20 PM Keerthi N <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi DImuthu,
>>>>>
>>>>> Yes that works for docker-compose up. But the mvn build failed after
>>>>> git pull at Airavata load testing client. The error says actual and formal
>>>>> arguments differ for init function in
>>>>> tools/load/StorageResourceManager.java and
>>>>> modules/airavata-helix/agent-impl/sshj-agent/SSHJStorageAdaptor.java, 
>>>>> which
>>>>> is true. The confusing part is maven build was successful before git pull.
>>>>> I attached the screenshots please suggest the changes.
>>>>>
>>>>> On Wed, Mar 13, 2019 at 2:11 PM DImuthu Upeksha <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Keerthi,
>>>>>>
>>>>>> Can you try now?
>>>>>>
>>>>>> Dimuthu
>>>>>>
>>>>>> On Wed, Mar 13, 2019 at 12:50 PM Keerthi N <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hello DImuthu,
>>>>>>>
>>>>>>> The "docker-compose up" step fails with pull access denied for
>>>>>>> *dimuthuupe/sshd:1.0* image. Please grant the necessary permissions.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Keerthi
>>>>>>>
>>>>>>> On Wed, Mar 13, 2019 at 2:51 AM DImuthu Upeksha <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hi Folks,
>>>>>>>>
>>>>>>>> Since Airavata is a multi server platform with lots of components
>>>>>>>> and configurations, it is quite challenging for a new developer to get
>>>>>>>> started with the code base and setup a running Airavata deployment 
>>>>>>>> locally.
>>>>>>>> To address that, we came up with a standalone deployment guide [1] 
>>>>>>>> which
>>>>>>>> utilizes a VirtualBox VM and Ansible scripts to setup a deployment 
>>>>>>>> locally.
>>>>>>>> Even though this fulfilled the requirements for some extent, we found 
>>>>>>>> that
>>>>>>>> the amount of configuration was still little bit overwhelming and 
>>>>>>>> software
>>>>>>>> update process was not realtime as binaries were deployed in a VM.
>>>>>>>>
>>>>>>>> Due to above mentioned issues, we have explored possible
>>>>>>>> alternatives for VM based deployment and reduce the setup time with 
>>>>>>>> less or
>>>>>>>> no configurations. As a solution, we came up with a new module [2] for
>>>>>>>> Airavata which can start all the Airavata and all other supportive
>>>>>>>> components within the IDE. This module mainly contains 2 parts. Java 
>>>>>>>> code
>>>>>>>> to start Airavata server components and docker composer configuration 
>>>>>>>> to
>>>>>>>> load rest of the supportive components as docker containers such as
>>>>>>>> Database, Zookeeper, Keycloak, Kafka, RabbitMQ and a custom SSHD 
>>>>>>>> server.
>>>>>>>>
>>>>>>>> In addition to that, it contains instructions on how to start and
>>>>>>>> connect our new user portal (Django portal) and old portal (PGA) to
>>>>>>>> Airavata so that you can straightaway tryout Airavata with less 
>>>>>>>> trouble.
>>>>>>>> Aiaravata database comes with pre loaded data which contains a simple 
>>>>>>>> Echo
>>>>>>>> application and one of our test JestStream cluster details. So you do 
>>>>>>>> not
>>>>>>>> need to worry about those configurations as well.
>>>>>>>>
>>>>>>>> To guide you more, I have created a short screencast [3] that
>>>>>>>> covers main steps mentioned in the Readme [4] file. However you have to
>>>>>>>> thoroughly follow each and every step mentioned in the Readme file in 
>>>>>>>> order
>>>>>>>> to make everything work without any issue.
>>>>>>>>
>>>>>>>> Since this is a new implementation with very limited amount of
>>>>>>>> testing, it is expected for you to come up with various issues in the
>>>>>>>> process and please let us know about them so that we can improve this
>>>>>>>> further. Or if you can directly contribute, it is highly appreciated.
>>>>>>>>
>>>>>>>> [1]
>>>>>>>> https://docs.google.com/document/d/1dFhajiYlPtNymIKbMvCXeLivLHujLjvE107QyUDEgdA/edit?usp=sharing
>>>>>>>> [2]
>>>>>>>> https://github.com/apache/airavata/tree/develop/modules/ide-integration
>>>>>>>> [3] https://youtu.be/nMlrYTqAKd0
>>>>>>>> [4]
>>>>>>>> https://github.com/apache/airavata/blob/develop/modules/ide-integration/README.md
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Dimuthu
>>>>>>>>
>>>>>>>

Reply via email to