Ansible: stat trava em arquivos grandes

Criado em 17 fev. 2016  ·  3Comentários  ·  Fonte: ansible/ansible

Issue Type: Bug Report Tipo de problema: relatório de bug
Ansible Version: 2.0.0.2 Versão Ansible: 2.0.0.2
Ansible Configuration: Configuração Ansible:
cat ansible.cfg
[defaults]
host_key_checking = False
Environment: Meio Ambiente:

Amazon Linux, both server and remote host Amazon Linux, servidor e host remoto

Summary: Resumo:

Ansible hangs on stat. Ansible trava em stat.

- name: Check if file was already downloaded from s3
  stat: path=/db-restore/{{ filename_gz }}
  register: s3_target_file
Steps To Reproduce: Passos para reproduzir:

Create a file 10-100G and check its stat Crie um arquivo 10-100G e verifique seu status

Expected Results: Resultados esperados:

Step should pass without delay Passo deve passar sem demora

Actual Results: Resultados reais:

Step hangs forever Passo trava para sempre

en

Comentários muito úteis

The default for the stat module is to calculate the sha1 and md5 of the file. O padrão para o módulo stat é calcular o sha1 e o md5 do arquivo. You should supply get_md5=false get_checksum=false to prevent this from happening. Você deve fornecer get_md5=false get_checksum=false para evitar que isso aconteça. Otherwise it will take time to calculate those hashes. Caso contrário, levará tempo para calcular esses hashes.

List Information Listar informações

Hi! Oi!

Thanks very much for your interest in Ansible. Muito obrigado pelo seu interesse no Ansible. It sincerely means a lot to us. Sinceramente significa muito para nós.

This appears to be a user question, and we'd like to direct these kinds of things to either the mailing list or the IRC channel. Esta parece ser uma pergunta de usuário, e gostaríamos de direcionar esse tipo de coisa para a lista de discussão ou para o canal IRC.

If you can stop by there, we'd appreciate it. Se puder passar por lá, agradecemos. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like. Isso nos permite manter o rastreador de problemas para bugs, pull requests, RFEs e afins.

Thank you once again and we look forward to seeing you on the list or IRC. Obrigado mais uma vez e esperamos vê-lo na lista ou no IRC. Thanks! Obrigado!

en

Todos 3 comentários

The default for the stat module is to calculate the sha1 and md5 of the file. O padrão para o módulo stat é calcular o sha1 e o md5 do arquivo. You should supply get_md5=false get_checksum=false to prevent this from happening. Você deve fornecer get_md5=false get_checksum=false para evitar que isso aconteça. Otherwise it will take time to calculate those hashes. Caso contrário, levará tempo para calcular esses hashes.

List Information Listar informações

Hi! Oi!

Thanks very much for your interest in Ansible. Muito obrigado pelo seu interesse no Ansible. It sincerely means a lot to us. Sinceramente significa muito para nós.

This appears to be a user question, and we'd like to direct these kinds of things to either the mailing list or the IRC channel. Esta parece ser uma pergunta de usuário, e gostaríamos de direcionar esse tipo de coisa para a lista de discussão ou para o canal IRC.

If you can stop by there, we'd appreciate it. Se puder passar por lá, agradecemos. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like. Isso nos permite manter o rastreador de problemas para bugs, pull requests, RFEs e afins.

Thank you once again and we look forward to seeing you on the list or IRC. Obrigado mais uma vez e esperamos vê-lo na lista ou no IRC. Thanks! Obrigado!

en

Obrigado!

en

Obrigado sivel :)

en
Esta página foi útil?
0 / 5 - 0 avaliações