now space left on remote_tmp

338 views
Skip to first unread message

dulh...@mailbox.org

unread,
Nov 11, 2022, 11:04:54 AM11/11/22
to ansible...@googlegroups.com
I am getting
12fatal: [VM-414001-0264.step.zrz.dvz.cn-mv.de]: FAILED! =>
  msg: 'failure writing module data to temporary file for transfer: [Errno 28] No space left on device
 
eventhough
123user@vm-51150-0128:~/repos/ansible/step> grep tmp ansible.cfg
allow_world_readable_tmpfiles = True
remote_tmp = /tmp/.ansible/tmp
and
123stepuser@vm-414001-0264:~> df -h /tmp
Filesystem              Size  Used Avail Use% Mounted on
/dev/mapper/vgsys-root  7,0G  2,2G  4,9G  32% /
what am I doing wrong?
 

Dick Visser

unread,
Nov 11, 2022, 11:11:11 AM11/11/22
to ansible...@googlegroups.com
It's total gibberish to me. 
Post plain text and we might be able to help
But one thing that comes to mind and that is you've ran out of inodes.


--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1575846351.87175.1668182677426%40office.mailbox.org.
--
Sent from Gmail Mobile

Antony Stone

unread,
Nov 11, 2022, 11:17:50 AM11/11/22
to ansible...@googlegroups.com
On Friday 11 November 2022 at 17:10:47, Dick Visser wrote:

> It's total gibberish to me.
> Post plain text and we might be able to help
> But one thing that comes to mind and that is you've ran out of inodes.

Indeed - as well as "df -h" it's always good to do "df -i"

Antony.

--
"Linux is going to be part of the future. It's going to be like Unix was."

- Peter Moore, Asia-Pacific general manager, Microsoft

Please reply to the list;
please *don't* CC me.

Nico Kadel-Garcia

unread,
Nov 11, 2022, 11:19:03 AM11/11/22
to ansible...@googlegroups.com
On Fri, Nov 11, 2022 at 11:11 AM Dick Visser <dnmv...@gmail.com> wrote:
>
> It's total gibberish to me.
> Post plain text and we might be able to help
> But one thing that comes to mind and that is you've ran out of inodes.
>
>
> On Fri, 11 Nov 2022 at 17:04, dulhaver via Ansible Project <ansible...@googlegroups.com> wrote:
>>
>> I am getting
>>
>> 12fatal: [VM-414001-0264.step.zrz.dvz.cn-mv.de]: FAILED! =>
>> msg: 'failure writing module data to temporary file for transfer: [Errno 28] No space left on device
>>
>>
>> eventhough
>>
>> 123user@vm-51150-0128:~/repos/ansible/step> grep tmp ansible.cfg
>> allow_world_readable_tmpfiles = True
>> remote_tmp = /tmp/.ansible/tmp
>>
>> and
>>
>> 123stepuser@vm-414001-0264:~> df -h /tmp
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/mapper/vgsys-root 7,0G 2,2G 4,9G 32% /
>>
>> what am I doing wrong?

Since your notes give no hint of what file was being transferred, it
may have just too dang big.

Werner Flamme

unread,
Nov 11, 2022, 11:22:32 AM11/11/22
to ansible...@googlegroups.com
Are you using BTRFS on /dev/mapper/vgsys-root? Then you better check
"btrfs fs df /"


--

Evan Hisey

unread,
Nov 11, 2022, 11:27:17 AM11/11/22
to ansible...@googlegroups.com
You need to be careful with using /tmp as teh remote tmp directory on selinux systems. You can end up doing weird stuff to to your permissions there when ansible things that is the home directory. Have you made sure the permissions are good.

--

dulh...@mailbox.org

unread,
Nov 11, 2022, 11:35:58 AM11/11/22
to ansible...@googlegroups.com
here in plain text

I am getting

fatal: [VM-414001-0264.step.zrz.dvz.cn-mv.de]: FAILED! =>
msg: 'failure writing module data to temporary file for transfer: [Errno 28] No space left on device

on "Gathering Facts" of a playbook execution, eventhough I have setup ansible to use /tmp/.ansible/tmp and there should be space available as far as I can tell

Dick Visser

unread,
Nov 11, 2022, 1:42:16 PM11/11/22
to ansible...@googlegroups.com
You're only looking at the number of free space (i.e. blocks).
But (as I stated earlier) there are also inodes which the filesystem can run out of.
Try:

df -i


 

dulh...@mailbox.org

unread,
Nov 13, 2022, 8:24:21 AM11/13/22
to ansible...@googlegroups.com
sorry everybody. I made a stupid mistake. The error message was about the anible-controler, NOT THE REMOTE HOST.
 
and, again, I recognize that it is always a good idea to post the entire -vvv content here. Sorry that I did not do ii this time and likewise may have directed everybody into the wrong direction.
 
 
--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages