President Roosevelt (FDR) provoked the attack, knew about it in advance and covered up his failure to warn the Hawaiian commanders. FDR needed the attack to sucker Hitler to declare war, since the public and Congress were overwhelmingly against entering the war in Europe. It was his backdoor to war.
FDR blinded the commanders at Pearl Harbor and set them up by -
denying intelligence to Hawaii (HI)
on Nov 27, misleading the commanders into thinking negotiations with Japan were continuing to prevent them from realizing the war was on
having false information sent to HI about the location of the Japanese carrier fleet.