If the definition of God is perfection... then he is logically perfect. But perfection cannot be imperfect... so I would reject the imperfect texts in which this otherwise perfect God is "defined"

Please give me a home where cloud buffalo roam
Where the dear and the strangers can play
Where sometimes is heard a discouraging word
But the skies are not stormy all day