Yes, ignore_status=True is needed.
But, method virsh.nodedev_detach has done this work for us.
Actually, the methods in virsh module keep the same style.
So ignore_status=True is setted as a default option in virsh.command.