You know, I had a similar situation last night with pocket 8s under the gun.
Knowing the table I was at, I should've raised. Why?
Same exact flop, 2 6 7. I make a raise on the flop to see where I was in the hand. Everyone but MP1 folds. MP1 goes all in. He ends up winning the hand with 27o.
I decided to limp, knowing I was at a table where people will ALSO limp with anything.
This is an area of my game I need to work on.