Ansible: stat hängt bei großen Dateien

Erstellt am 17. Feb. 2016  ·  3Kommentare  ·  Quelle: ansible/ansible

Issue Type: Bug Report Problemtyp: Fehlerbericht
Ansible Version: 2.0.0.2 Ansible-Version: 2.0.0.2
Ansible Configuration: Ansible-Konfiguration:
cat ansible.cfg
[defaults]
host_key_checking = False
Environment: Umfeld:

Amazon Linux, both server and remote host Amazon Linux, sowohl Server als auch Remote-Host

Summary: Zusammenfassung:

Ansible hangs on stat. Ansible hängt an stat.

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

Create a file 10-100G and check its stat Erstellen Sie eine Datei 10-100G und überprüfen Sie ihren Status

Expected Results: Erwartete Ergebnisse:

Step should pass without delay Schritt sollte ohne Verzögerung passieren

Actual Results: Tatsächliche Ergebnisse:

Step hangs forever Schritt hängt für immer

en

Hilfreichster Kommentar

The default for the stat module is to calculate the sha1 and md5 of the file. Die Standardeinstellung für das Statistikmodul ist die Berechnung von sha1 und md5 der Datei. You should supply get_md5=false get_checksum=false to prevent this from happening. Sie sollten get_md5=false get_checksum=false , um dies zu verhindern. Otherwise it will take time to calculate those hashes. Andernfalls dauert es einige Zeit, diese Hashes zu berechnen.

List Information Listeninformationen

Hi! Hi!

Thanks very much for your interest in Ansible. Vielen Dank für Ihr Interesse an Ansible. It sincerely means a lot to us. Es bedeutet uns aufrichtig viel.

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. Dies scheint eine Benutzerfrage zu sein, und wir möchten solche Dinge entweder an die Mailingliste oder den IRC-Kanal weiterleiten.

If you can stop by there, we'd appreciate it. Wenn Sie dort vorbeischauen können, würden wir uns freuen. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like. Auf diese Weise können wir den Issue-Tracker für Fehler, Pull-Requests, RFEs und dergleichen aufbewahren.

Thank you once again and we look forward to seeing you on the list or IRC. Nochmals vielen Dank und wir freuen uns darauf, Sie auf der Liste oder im IRC zu sehen. Thanks! Vielen Dank!

en

Alle 3 Kommentare

The default for the stat module is to calculate the sha1 and md5 of the file. Die Standardeinstellung für das Statistikmodul ist die Berechnung von sha1 und md5 der Datei. You should supply get_md5=false get_checksum=false to prevent this from happening. Sie sollten get_md5=false get_checksum=false , um dies zu verhindern. Otherwise it will take time to calculate those hashes. Andernfalls dauert es einige Zeit, diese Hashes zu berechnen.

List Information Listeninformationen

Hi! Hi!

Thanks very much for your interest in Ansible. Vielen Dank für Ihr Interesse an Ansible. It sincerely means a lot to us. Es bedeutet uns aufrichtig viel.

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. Dies scheint eine Benutzerfrage zu sein, und wir möchten solche Dinge entweder an die Mailingliste oder den IRC-Kanal weiterleiten.

If you can stop by there, we'd appreciate it. Wenn Sie dort vorbeischauen können, würden wir uns freuen. This allows us to keep the issue tracker for bugs, pull requests, RFEs and the like. Auf diese Weise können wir den Issue-Tracker für Fehler, Pull-Requests, RFEs und dergleichen aufbewahren.

Thank you once again and we look forward to seeing you on the list or IRC. Nochmals vielen Dank und wir freuen uns darauf, Sie auf der Liste oder im IRC zu sehen. Thanks! Vielen Dank!

en

Vielen Dank!

en

Danke Silve :)

en
War diese Seite hilfreich?
0 / 5 - 0 Bewertungen