(CNN) -- A class-action lawsuit has been filed against Carnival Corp. for the events surrounding the ill-fated voyage of the Triumph in the Gulf of Mexico.