Ansible: ํฐ ํŒŒ์ผ์—์„œ ํ†ต๊ณ„๊ฐ€ ๋ฉˆ์ถค

์— ๋งŒ๋“  2016๋…„ 02์›” 17์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: ansible/ansible

Issue Type: Bug Report ๋ฌธ์ œ ์œ ํ˜•: ๋ฒ„๊ทธ ๋ณด๊ณ ์„œ
Ansible Version: 2.0.0.2 ์•ค์„œ๋ธ” ๋ฒ„์ „: 2.0.0.2
Ansible Configuration: ์•ค์„œ๋ธ” ๊ตฌ์„ฑ:
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. ์ด๋ฅผ ํ†ตํ•ด ๋ฒ„๊ทธ, pull ์š”์ฒญ, 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. ์ด๋ฅผ ํ†ตํ•ด ๋ฒ„๊ทธ, pull ์š”์ฒญ, RFE ๋“ฑ์— ๋Œ€ํ•œ ๋ฌธ์ œ ์ถ”์ ๊ธฐ๋ฅผ ์œ ์ง€ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Thank you once again and we look forward to seeing you on the list or IRC. ๋‹ค์‹œ ํ•œ ๋ฒˆ ๊ฐ์‚ฌ๋“œ๋ฆฌ๋ฉฐ ๋ชฉ๋ก์ด๋‚˜ IRC์—์„œ ๋ต™๊ธฐ๋ฅผ ๊ธฐ๋Œ€ํ•ฉ๋‹ˆ๋‹ค. Thanks! ๊ฐ์‚ฌํ•ด์š”!

en

๊ฐ์‚ฌํ•ด์š”!

en

๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค :)

en
์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰