I installed a gitlab-ce at centos 7.4,but reconfigure failed

Maybe you are missing selinux dependencies, see this post:

Could be missing selinux packages, have you got these installed?

libsemanage-static libsemanage-devel policycoreutils

if it still fails with selinux enabled at this point, it would need debugging using the selinux tools to find out what is blocking.