Crc: CRC 4.1.0 not able to start on OSX with enabled WIFI and wired network

Created on 12 Jun 2019  ·  11Comments  ·  Source: code-ready/crc

I have this error on my OSX 10.14.5 with Virtualbox 6, crc -version: 0.87.0-alpha-4.1.0+3a5033a

[14:07:20]sj:code-ready#: crc start -b ~/Downloads/crc_vbox_4.1.0.tar.xz
crc - Local OpenShift 4.x cluster
INFO Checking if oc binary is cached
INFO Checking if VirtualBox is Installed
INFO Checking file permissions for resolver
INFO Extracting the Bundle tarball ...
INFO Creating VM ...
INFO Bridge IP on the host: 192.168.130.1
INFO Restarting the network
ERRO Failed internal dns query: ssh command error:
command : host -R 3 foo.apps-crc.testing
err     : exit status 1
output  : Host foo.apps-crc.testing not found: 3(NXDOMAIN)
 :
INFO Running
[ssh command error:
command : host -R 3 foo.apps-crc.testing
err     : exit status 1
output  : Host foo.apps-crc.testing not found: 3(NXDOMAIN)
]
[root@crc-4gdnp-master-0 core]# cat /etc/resolv.conf
# Generated by NetworkManager
search ckc.redhat.com
nameserver 10.0.2.3



md5-7eca8c12f0390273f1733fa5d8d154fe



[root@crc-4gdnp-master-0 core]# cat /var/srv/dnsmasq.conf
user=root
port= 53
bind-interfaces
expand-hosts
log-queries
srv-host=_etcd-server-ssl._tcp.crc.testing,etcd-0.crc.testing,2380,10
local=/crc.testing/
domain=crc.testing
address=/apps-crc.testing/192.168.130.111
address=/etcd-0.crc.testing/192.168.130.111
address=/api.crc.testing/192.168.130.111
address=/api-int.crc.testing/192.168.130.111
address=/crc-4gdnp-master-0.crc.testing/192.168.130.111

I've noticed that during start wired network is switched on/off

Знімок екрана  о 14 09 10
Знімок екрана  о 14 08 59

May be that is the reason why /etc/resolv.conf has the wrong content.

kinbug

All 11 comments

@skabashnyuk I tried with wifi and wired both enabled but not able to reproduce it :( I did 4-5 times delete-start and everytime it success. I will put a PR with debug info to get some more info and we might sync later today again.

$ scutil --dns
DNS configuration (for scoped queries)

resolver #1 => Wifi one
  search domain[0] : xxx.redhat.com
  search domain[1] : redhat.com
  nameserver[0] : x.x.x.x
  nameserver[1] : x.x.x.x
  if_index : 20 (en10)
  flags    : Scoped, Request A records
  reach    : 0x00000002 (Reachable)

resolver #2  => wired one
  search domain[0] : redhat.com
  nameserver[0] : x.x.x.x
  nameserver[1] : x.x.x.x
  if_index : 10 (en0)
  flags    : Scoped, Request A records
  reach    : 0x00000002 (Reachable)

@praveenkumar Thanks. I'll try to ask my office colleagues to do the same to get better statistics.

Using SSH client type: external
Using SSH private key: /Users/sj/.crc/cache/crc_vbox_4.1.0/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -o IdentitiesOnly=yes -i /Users/sj/.crc/cache/crc_vbox_4.1.0/id_rsa_crc -p 62999] /usr/bin/ssh <nil>}
About to run SSH command:
cat /etc/resolv.conf
SSH cmd err, output: <nil>: # Generated by CRC
search crc.testing
nameserver 10.88.0.8
nameserver 10.0.2.3


DEBU Disabling the Thunderbolt Ethernet Device (stdout: ), (stderr: )
DEBU Enabling the Thunderbolt Ethernet Device (stdout: ), (stderr: )
DEBU Disabling the iPod Device (stdout: ), (stderr: )
DEBU Enabling the iPod Device (stdout: ), (stderr: )
DEBU Disabling the Wi-Fi Device (stdout: ), (stderr: )
DEBU Enabling the Wi-Fi Device (stdout: ), (stderr: )
DEBU Disabling the Bluetooth PAN Device (stdout: ), (stderr: )
DEBU Enabling the Bluetooth PAN Device (stdout: ), (stderr: )
DEBU Disabling the Thunderbolt Bridge Device (stdout: ), (stderr: )
DEBU Enabling the Thunderbolt Bridge Device (stdout: ), (stderr: )
(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/sj/.crc/cache/crc_vbox_4.1.0/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -o IdentitiesOnly=yes -i /Users/sj/.crc/cache/crc_vbox_4.1.0/id_rsa_crc -p 62999] /usr/bin/ssh <nil>}
About to run SSH command:
cat /etc/resolv.conf
SSH cmd err, output: <nil>: # Generated by NetworkManager
nameserver 10.0.2.3

(crc) Calling .GetSSHHostname
(crc) Calling .GetSSHPort
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHKeyPath
(crc) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /Users/sj/.crc/cache/crc_vbox_4.1.0/id_rsa_crc (-r--------)
&{[-F /dev/null -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none -o LogLevel=quiet -o PasswordAuthentication=no -o ServerAliveInterval=60 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] -o IdentitiesOnly=yes -i /Users/sj/.crc/cache/crc_vbox_4.1.0/id_rsa_crc -p 62999] /usr/bin/ssh <nil>}
About to run SSH command:
host -R 3 foo.apps-crc.testing
SSH cmd err, output: exit status 1: Host foo.apps-crc.testing not found: 3(NXDOMAIN)

(crc) Calling .GetSSHHostname

crc_vbox_4.1.0.tar.xz how to get ? help

@zeyangli The system bundle is not publicly available at the moment. See #263.

OK ! thank you @robin-owen

I see the same issue on RHEL 7.6 with version: 0.87.0-alpha-4.1.0+3a5033a

No longer valid for me

[ 8:40:51]skabashn:~#: crc version
version: 0.88.0-alpha-4.1.3+f7c2694

I think I've made a mistake and didn't check correctly or the issues came back again.
At this moment I have the same problem for

crc version
version: 1.0.0-beta.2-4.1.11+158cb9d
version: 1.0.0-beta.5+f2aa58c
OpenShift version: 4.1.14 (embedded in binary)

They both not working over wifi for me.
Should I reopen this issue or create a new one?

Correction. With WIFI only.

Please ignore my comment. Looks like something temporary.

Was this page helpful?
0 / 5 - 0 ratings