I did the camino frances a few years ago, brought a tent and used it almost every single night, with the exception of around 4 nights. The only times we could not use a tent were when we stopped in major cities and there was no realistic opportunity, like Pamplona, Leon and one other place...