2

I created a MAAS server and a node. When I boot (through PXE) the virtual machine corresponding to this node, it starts loading Ubuntu. A few minutes later, it is stuck in what seems to be an infinite loop, printing regularly the following message:

[ 239.617011] INFO: task touch:1060 blocked for more than 120 seconds.
[ 239.618857] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

enter image description here

The same message (only the number at the beginning change) is repeated, over and over. I kept it running for probably more than half an hour, and the result is the same.

This results in “Failed tests” status for the concerned node.

The error appears both when using default installer and fast installer.

The file /var/log/maas/maas.log contains no errors.

Where can I gather more information about the cause of this issue?

2
  • Could you reproduce this issue every time?
    – tai271828
    Aug 13, 2015 at 10:18
  • @tai271828: I confirm that the issue was reproduced every time when I tried to make MAAS work. I haven't used it since then, given the extremely low quality of MAAS. Aug 13, 2015 at 14:39

2 Answers 2

1

I encountered the same message and issue when I used PXE to install Ubuntu, which happened on precise, quantal...trusty.It could not be reproduced every time, and the reproducing rate is about 1 out of 10 or smaller. So I do not think this is relvant to maas.

Could you reproduce this issue every time?

This looks like a kernel issue. Please refer to this http://www.blackmoreops.com/2014/09/22/linux-kernel-panic-issue-fix-hung_task_timeout_secs-blocked-120-seconds-problem/

and try:

$ sudo vi /etc/sysctl.conf

add there 2 lines:

vm.dirty_background_ratio = 5
vm.dirty_ratio = 10

save, exit and reboot.

0

@tai271828's answer does not work for me but gave me an idea instead:
To make hung_task became a panic, so kernel can reboot the whole system while encountering a panic.

Following are kernel parameters for rebooting if task hung appears:

When panic, Kernel will reboot system at 3 seconds

kernel.panic=3

Kernel will panic if task hung

kernel.hung_task_panic = 1 

Task hung will timeout to 30 seconds

kernel.hung_task_timeout_secs = 30

You can make these parameters persistent in: /etc/sysctl.conf

If you are also having this trouble during pxe installing, you can add these kernel parameters in the boot menu option after "APPEND", e.g.:

APPEND netboot=nfs panic=5 hung_task_panic=1 hung_task_timeout_secs=30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .