The issue is within the internal network, due to restriction of accessing gitlab docker image which is available on public rep., We are trying to install the “gitlab-ce-15.4.0-ce.0.el7.x86_64.rpm” package on a openshift container. Steps followed to install on a openshift container:
- rpm -Uvh gitlab-ce-15.4.0-ce.0.el7.x86_64.rpm (Gitlab installation is successful. Gitlab package is downloaded from : https://packages.gitlab.com/gitlab/gitlab-ce/packages/el/7/gitlab-ce-15.4.0-ce.0.el7.x86_64.rpm/download.rpm)
- Changed the external_url value to our domain in /etc/gitlab/gitlab.rb file
- Gitlab-ctl reconfigure → we get the below error:
“Unable to determine node name: configure node_name or configure the system’s hostname and fqdn”.
A similar issue was raised 6 years back on gitlab forum : Chef::Exceptions::CannotDetermineNodeName: Unable to determine node name: configure node_name or configure the system's hostname and fqdn (#1066) · Issues · GitLab.org / omnibus-gitlab · GitLab for gitlab omnibus installation, but its not helping.
Any workaround to resolve the issue or any pointers in this regard will be of great help.