[Ala-portal] ANSIBLE SCRIPT PROBLEM - BIOCACHE-SERVICE??

Santiago Martinez de la Riva sama at gbif.es
Tue Sep 23 10:55:26 CEST 2014


I'm commenting all line in the ansible script that specify the downloaded of .war files. I don´t know what happens in my server, but I can't download anything through the ansible script when these files are hosted on the ala maven repository. Then I'm loading manually all war files and commenting this lines in the main.yml files. I hope this works. Thanks for the advice, Tim.

Cheers,
Santi
---------------------------------------------------------------------------------------
Santiago Martínez de la Riva
GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
Plaza de Murillo, 2                                     sama at gbif.es
28014 Madrid, Spain                                 www.gbif.es

________________________________________
De: Tim Robertson [trobertson at gbif.org]
Enviado el: lunes, 22 de septiembre de 2014 15:23
Para: Santiago Martinez de la Riva
CC: ala-portal at lists.gbif.org
Asunto: Re: [Ala-portal] ANSIBLE SCRIPT PROBLEM - BIOCACHE-SERVICE??

If it is already downloaded, what happens if you simply comment out that step?

Cheers,
Tim


On 22 Sep 2014, at 15:16, Santiago Martinez de la Riva <sama at gbif.es> wrote:

> Yeah of course, but the problem is that this war file already has been downloaded in my webapp directory, but the ansible script does not continue with the installation process. I'm going to continue waiting.
>
> Thanks.
> Santi
> ---------------------------------------------------------------------------------------
> Santiago Martínez de la Riva
> GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
> Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
> Plaza de Murillo, 2                                     sama at gbif.es
> 28014 Madrid, Spain                                 www.gbif.es
>
> ________________________________________
> De: Tim Robertson [trobertson at gbif.org]
> Enviado el: lunes, 22 de septiembre de 2014 14:27
> Para: Santiago Martinez de la Riva
> CC: ala-portal at lists.gbif.org
> Asunto: Re: [Ala-portal] ANSIBLE SCRIPT PROBLEM - BIOCACHE-SERVICE??
>
> Hi Santi
>
> There is no error on there… it is saying that it is downloading the war file [1] which will take many minutes as it is 110MB.
> Can you please let it run until there is an actual error reported and paste that?
>
> Thanks,
> Tim
>
> [1] http://maven.ala.org.au/repository/au/org/ala/biocache-service/1.2/biocache-service-1.2.war
>
>
> On 22 Sep 2014, at 14:11, Santiago Martinez de la Riva <sama at gbif.es> wrote:
>
>> Hi Tim,
>>
>> The last message that I see It's this:
>>
>> TASK: [biocache-service | copy biocache webapps] ******************************
>> <193.146.75.166> ESTABLISH CONNECTION FOR USER: root
>> <193.146.75.166> REMOTE_MODULE get_url url=http://maven.ala.org.au/repository/au/org/ala/biocache-service/1.2/biocache-service-1.2.war dest=/var/lib/tomcat7/webapps/biocache-service.war force=yes
>> <193.146.75.166> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/sama/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'IdentityFile=/home/sama/Downloads/accessALA.pem', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', '193.146.75.166', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1411388014.15-195338030013948 && echo $HOME/.ansible/tmp/ansible-tmp-1411388014.15-195338030013948'"]
>> <193.146.75.166> PUT /tmp/tmpn4DELS TO /root/.ansible/tmp/ansible-tmp-1411388014.15-195338030013948/get_url
>> <193.146.75.166> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/sama/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'IdentityFile=/home/sama/Downloads/accessALA.pem', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', '193.146.75.166', "/bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-1411388014.15-195338030013948/get_url; rm -rf /root/.ansible/tmp/ansible-tmp-1411388014.15-195338030013948/ >/dev/null 2>&1'"]
>>
>> Cheers,
>> Santi.
>>
>> ---------------------------------------------------------------------------------------
>> Santiago Martínez de la Riva
>> GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
>> Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
>> Plaza de Murillo, 2                                     sama at gbif.es
>> 28014 Madrid, Spain                                 www.gbif.es
>>
>> ________________________________________
>> De: Tim Robertson [trobertson at gbif.org]
>> Enviado el: lunes, 22 de septiembre de 2014 13:57
>> Para: Santiago Martinez de la Riva
>> CC: ala-portal at lists.gbif.org
>> Asunto: Re: [Ala-portal] ANSIBLE SCRIPT PROBLEM - BIOCACHE-SERVICE??
>>
>> Hola Santiago,
>>
>> Can you please give us some more information?
>> If you run it in very verbose mode (-vvvv) and put the output terminal somewhere we can see it, it should be easier to diagnose the problem.
>>
>> Thanks,
>> Tim
>>
>>
>> On 22 Sep 2014, at 13:36, Santiago Martinez de la Riva <sama at gbif.es> wrote:
>>
>>> Dear all,
>>>
>>> I'm trying again to install the data portal through the ansible script, but all time the script stops in this part: TASK: [biocache-service | copy biocache webapss]. Does someone have the same problem??
>>>
>>> Thanks in advance.
>>> Cheers, Santi.
>>>
>>> ---------------------------------------------------------------------------------------
>>> Santiago Martínez de la Riva
>>> GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
>>> Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
>>> Plaza de Murillo, 2                                     sama at gbif.es
>>> 28014 Madrid, Spain                                 www.gbif.es
>>> _______________________________________________
>>> Ala-portal mailing list
>>> Ala-portal at lists.gbif.org
>>> http://lists.gbif.org/mailman/listinfo/ala-portal
>>>
>>
>>
>



More information about the Ala-portal mailing list