More than 2,000 African migrants were stranded in a dockside camp on the Spanish island of Gran Canaria on Tuesday after a wave of arrivals overwhelmed local authorities' capacity to house them.