Skip to content

Missing pre-flight test/setup to configure NetworkManager to use dns=dnsmasq #119

@skabashnyuk

Description

@skabashnyuk

Got this error on Fedora 30.

[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ ./crc start  -b ../crc_libvirt_v4.1.0.rc0.tar.xz 
crc - Local OpenShift 4.x cluster
INFO  Checking if Virtualization is enabled       
INFO  Checking if KVM is enabled                  
INFO  Checking if Libvirt is installed            
INFO  Checking if user is part of libvirt group   
INFO  Checking if Libvirt is enabled              
INFO  Checking if Libvirt daemon is running       
INFO  Checking if crc-driver-libvirt is installed 
INFO  Checking if Libvirt crc network is available 
INFO  Checking if Libvirt crc network is active   
INFO  Checking if /etc/NetworkManager/dnsmasq.d/crc.conf exists 
INFO  Extracting the Bundle tarball ...           
INFO  Creating VM ...                             
INFO  Waiting 3m0s for the openshift cluster to be started ... 
INFO  To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/ksm/.crc/cache/crc_libvirt_v4.1.0.rc0/kubeconfig' 
INFO  Access the OpenShift web-console here: https://console-openshift-console.apps.tt.testing 
INFO  Login to the console with user: kubeadmin, password: xxxxxxxxxx
INFO Running                                      
[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ ./crc config^C
[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ ^C
[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ ^C
[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ oc get co
Unable to connect to the server: dial tcp: lookup api.crc.tt.testing on 192.168.1.1:53: no such host
[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ dig api.test1.tt.testing

; <<>> DiG 9.11.5-P4-RedHat-9.11.5-13.P4.fc30 <<>> api.test1.tt.testing
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 31395
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;api.test1.tt.testing.		IN	A

;; AUTHORITY SECTION:
.			1800	IN	SOA	a.root-servers.net. nstld.verisign-grs.com. 2019050801 1800 900 604800 86400

;; Query time: 31 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed May 08 23:38:16 EEST 2019
;; MSG SIZE  rcvd: 124

[ksm@DESKTOP-6AM8T06 crc-0.85.0-linux-amd64]$ sudo virsh net-list --all
 Name      State    Autostart   Persistent
--------------------------------------------
 crc       active   yes         yes
 default   active   yes         yes

Any suggestions on what to do?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions