Ansible: statが大きなファイルでハングする

作成日 2016年02月17日  ·  3コメント  ·  ソース: ansible/ansible

Issue Type: Bug Report問題の種類:バグレポート
Ansible Version: 2.0.0.2 Ansibleバージョン:2.0.0.2
Ansible Configuration: Ansible構成:
cat ansible.cfg
[defaults]
host_key_checking = False
Environment:環境:

Amazon Linux, both server and remote host Amazon Linux、サーバーとリモートホストの両方

Summary:概要:

Ansible hangs on stat. Ansibleは統計にハングアップします。

- name: Check if file was already downloaded from s3
  stat: path=/db-restore/{{ filename_gz }}
  register: s3_target_file
Steps To Reproduce:再現する手順:

Create a file 10-100G and check its statファイル10-100Gを作成し、その統計を確認します

Expected Results:推測される結果:

Step should pass without delayステップは遅滞なく通​​過する必要があります

Actual Results:実績:

Step hangs foreverステップは永遠にハングアップします

en

最も参考になるコメント

The default for the stat module is to calculate the sha1 and md5 of the file. statモジュールのデフォルトは、ファイルのsha1とmd5を計算することです。 You should supply get_md5=false get_checksum=false to prevent this from happening.これが起こらないようにするには、 get_md5=false get_checksum=falseを指定する必要があります。 Otherwise it will take time to calculate those hashes.そうしないと、それらのハッシュを計算するのに時間がかかります。

List Informationリスト情報

Hi!やあ!

Thanks very much for your interest in Ansible. Ansibleに関心をお寄せいただきありがとうございます。 It sincerely means a lot to us.それは私たちにとって心から多くのことを意味します。

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.これはユーザーの質問のようです。このようなことをメーリングリストまたはIRCチャネルのいずれかに転送したいと思います。

If you can stop by there, we'd appreciate it.よろしくお願いします。 This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like.これにより、バグ、プルリクエスト、RFEなどの課題追跡システムを維持できます。

Thank you once again and we look forward to seeing you on the list or IRC.改めて感謝いたします。リストまたはIRCでお会いできることを楽しみにしております。 Thanks!ありがとう!

en

全てのコメント3件

The default for the stat module is to calculate the sha1 and md5 of the file. statモジュールのデフォルトは、ファイルのsha1とmd5を計算することです。 You should supply get_md5=false get_checksum=false to prevent this from happening.これが起こらないようにするには、 get_md5=false get_checksum=falseを指定する必要があります。 Otherwise it will take time to calculate those hashes.そうしないと、それらのハッシュを計算するのに時間がかかります。

List Informationリスト情報

Hi!やあ!

Thanks very much for your interest in Ansible. Ansibleに関心をお寄せいただきありがとうございます。 It sincerely means a lot to us.それは私たちにとって心から多くのことを意味します。

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.これはユーザーの質問のようです。このようなことをメーリングリストまたはIRCチャネルのいずれかに転送したいと思います。

If you can stop by there, we'd appreciate it.よろしくお願いします。 This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like.これにより、バグ、プルリクエスト、RFEなどの課題追跡システムを維持できます。

Thank you once again and we look forward to seeing you on the list or IRC.改めて感謝いたします。リストまたはIRCでお会いできることを楽しみにしております。 Thanks!ありがとう!

en

ありがとう!

en

ありがとうsivel:)

en
このページは役に立ちましたか?
0 / 5 - 0 評価