The problem was where to pitch the tent.

Literal

Problem [topic-は] where [at-に] tent [obj-を] pitch [Q-か] [copula-だった].

テント is a loanword from English. 張る ('stretch, put up, pitch') is the standard verb for setting up tents. Note に marking the location for placement, not で.