I will be so thankful if someone helps me with the following question. There exists finite non-abelian p-groups G (except non-abelian groups of order $p^3$) with the following properties:
all non-central elements have abelian centralizer.
cs(G) has exactly two integers, where cs(G) is the set of all sizes of conjugacy classes of G.