Ansible: stat hang pada file besar

Dibuat pada 17 Feb 2016  ·  3Komentar  ·  Sumber: ansible/ansible

Issue Type: Bug Report Jenis Masalah: Laporan Bug
Ansible Version: 2.0.0.2 Versi yang Mungkin: 2.0.0.2
Ansible Configuration: Konfigurasi yang Mungkin:
cat ansible.cfg
[defaults]
host_key_checking = False
Environment: Lingkungan:

Amazon Linux, both server and remote host Amazon Linux, baik server maupun host jarak jauh

Summary: Ringkasan:

Ansible hangs on stat. Kemungkinan hang pada stat.

- name: Check if file was already downloaded from s3
  stat: path=/db-restore/{{ filename_gz }}
  register: s3_target_file
Steps To Reproduce: Langkah-langkah Untuk Mereproduksi:

Create a file 10-100G and check its stat Buat file 10-100G dan periksa statusnya

Expected Results: Hasil yang diharapkan:

Step should pass without delay Langkah harus berlalu tanpa penundaan

Actual Results: Hasil nyata:

Step hangs forever Langkah menggantung selamanya

en

Komentar yang paling membantu

The default for the stat module is to calculate the sha1 and md5 of the file. Default untuk modul stat adalah menghitung sha1 dan md5 file. You should supply get_md5=false get_checksum=false to prevent this from happening. Anda harus menyediakan get_md5=false get_checksum=false untuk mencegah hal ini terjadi. Otherwise it will take time to calculate those hashes. Jika tidak, akan membutuhkan waktu untuk menghitung hash tersebut.

List Information Daftar Informasi

Hi! Hai!

Thanks very much for your interest in Ansible. Terima kasih banyak atas minat Anda pada Ansible. It sincerely means a lot to us. Itu dengan tulus sangat berarti bagi kami.

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. Tampaknya ini adalah pertanyaan pengguna, dan kami ingin mengarahkan hal-hal semacam ini ke milis atau saluran IRC.

If you can stop by there, we'd appreciate it. Jika Anda bisa mampir ke sana, kami akan sangat menghargainya. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like. Ini memungkinkan kami untuk menyimpan pelacak masalah untuk bug, permintaan tarik, RFE, dan sejenisnya.

Thank you once again and we look forward to seeing you on the list or IRC. Terima kasih sekali lagi dan kami berharap dapat melihat Anda di daftar atau IRC. Thanks! Terima kasih!

en

Semua 3 komentar

The default for the stat module is to calculate the sha1 and md5 of the file. Default untuk modul stat adalah menghitung sha1 dan md5 file. You should supply get_md5=false get_checksum=false to prevent this from happening. Anda harus menyediakan get_md5=false get_checksum=false untuk mencegah hal ini terjadi. Otherwise it will take time to calculate those hashes. Jika tidak, akan membutuhkan waktu untuk menghitung hash tersebut.

List Information Daftar Informasi

Hi! Hai!

Thanks very much for your interest in Ansible. Terima kasih banyak atas minat Anda pada Ansible. It sincerely means a lot to us. Itu dengan tulus sangat berarti bagi kami.

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. Tampaknya ini adalah pertanyaan pengguna, dan kami ingin mengarahkan hal-hal semacam ini ke milis atau saluran IRC.

If you can stop by there, we'd appreciate it. Jika Anda bisa mampir ke sana, kami akan sangat menghargainya. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like. Ini memungkinkan kami untuk menyimpan pelacak masalah untuk bug, permintaan tarik, RFE, dan sejenisnya.

Thank you once again and we look forward to seeing you on the list or IRC. Terima kasih sekali lagi dan kami berharap dapat melihat Anda di daftar atau IRC. Thanks! Terima kasih!

en

Terima kasih!

en

Terima kasih sil :)

en
Apakah halaman ini membantu?
0 / 5 - 0 peringkat