gshipley / installcentos

427 stars 456 forks source link

3.11 installation |Failed : Retrying : Wait for ServiceMonitor CRD to be created #112

Open shubhamgupta514 opened 5 years ago

shubhamgupta514 commented 5 years ago

@marekjelen @gshipley

I am getting error while installing openshift 3.11 Failed : Retrying : Wait for ServiceMonitor CRD to be created

capture

Thanks, Shubham Gupta

shubhamgupta514 commented 5 years ago

Opened a PR with full information in Openshift-ansible repo also 3.11 installation |Failed : Retrying : Wait for ServiceMonitor CRD to be created #10534

clipod commented 5 years ago

I was able to resolve this issue. It took a while for me to figure it out. In /etc/sysconfig/network-scripts/ifcfg-eth0 change the parameter 'NM_CONTROLLED'=no to 'NM_CONTROLLED'=yes.

What we are doing here is to give control of this eth0 to the NetworkManager. Generally if your ansible ran and failed at this stage that mean NetworkManager is active. If not, you have to umask that service. Below commands can do that. systemctl unmask NetworkManager-dispatcher.service systemctl unmask NetworkManager-wait-online.service systemctl unmask NetworkManager.service

Let me know how it went.

BraianNunes commented 5 years ago

Same here. Did you fix that?

shubhamgupta514 commented 5 years ago

Issue Fixed with the above workaround. Please close this PR

BraianNunes commented 5 years ago

@shubhamgupta514 Are you using RHEL 7x? This workaround doesn't work for me.

mmgil commented 5 years ago

Same issue here! Any help? Using centos 7.6 with openshift-origin.

alex8158 commented 5 years ago

Same issue here! I have config the parameter 'NM_CONTROLLED'=no to 'NM_CONTROLLED'=yes. but the issue still appear. Using centos 7.6 with openshift-origin.

likai0928 commented 5 years ago

Same issue here! Using centos 7.6 with openshift-origin311. NM_CONTROLLED'=no to 'NM_CONTROLLED'=yes doesn't work for me

sunnyguohua commented 5 years ago

Same issue here! Using RHEL 7.6 with openshift-3.11.98. NM_CONTROLLED'=no to 'NM_CONTROLLED'=yes doesn't work for me