Following the quick start guide after cloning the repo + doing a go build main.go + go install main.go and copying the crc binary to PATH.
running crc setup seems to execute fine.
running crc setup I just get an error:
"Error occurred: Expected file crc_libvirt_4.1.3.tar.xz does not exist"
doing a 'find / -name crc_libvirt_4.1.3.tar.xz -type f' shows that file isn't anywhere on the system.
Is there some pre-requisite I haven't installed?
You need to have this tarball available for crc to work. Unfortunately, we are still figuring out how to distribute it (as it's tied to Red Hat products), so for now we don't have a publicly available release of that tarball :(
you can however create your own bundle using the assets in code-ready/snc
On Tue, Jul 9, 2019 at 6:03 PM Christophe Fergeau notifications@github.com
wrote:
You need to have this tarball available for crc to work. Unfortunately, we
are still figuring out how to distribute it (as it's tied to Red Hat
products), so for now we don't have a publicly available release of that
tarball :(—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/code-ready/crc/issues/303?email_source=notifications&email_token=AAAAOZSSRLD4SGYTZ6SW3O3P6RO5RA5CNFSM4H7BLJGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZPY7CA#issuecomment-509579144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAAOZVE5TPKKTFJKXH3HN3P6RO5RANCNFSM4H7BLJGA
.
--
Gerard Braad | http://gbraad.nl
[ Doing Open Source Matters ]
any tips on how to do that? do i simply git clone the repo and tar -xJvf
there are several scripts inside the repo that need to be run. This will
start the OpenShift installer with the requested settings... and the needed
Pull Secret (which you need to obtain from try.openshift.com). It is not a
well documented process, but several people have been able to generate
their own bundles with this repo... however, YMMV.
The other method is to use the installer against AWS or wait for a public
release... although we can't give an ETA on this.
I'll give it go, and keep an eye on this project as it progresses. Keep up the great work! :)
there are several scripts inside the repo that need to be run.
Can you please say what the scripts are. I'm also having this same error, and would really like to be able to run openshift 4 locally.
Thanks
From this repository, https://github.com/code-ready/snc, you need to run snc.sh (and provide it with an openshift pull secret), and once it runs successfully, you would run createdisk.sh. There is some configuration to be done on the machine where you are running the scripts first.
I just went through all of these, clone https://github.com/code-ready/snc, retrieved the pull secret ( from Install on Bare Metal: User-Provisioned Infrastructure on https://try.openshift.com. But now:
$ ./snc.sh
/usr/local/bin/oc
which: no yq in (/home/sutan/.nvm/versions/node/v8.9.4/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/home/sutan/.minishift/cache/oc/v1.5.0-rc.0/:/home/sutan/minishift/:/home/sutan/.fabric8/bin/:/home/sutan/helm/linux-amd64/:/home/sutan/bin/:/home/sutan/.local/bin:/home/sutan/bin:/home/sutan/.crc/cache/oc:/home/sutan/minishift/:/home/sutan/.fabric8/bin/:/home/sutan/helm/linux-amd64/:/home/sutan/bin/)
/usr/bin/jq
./snc.sh: line 112: ./openshift-install: No such file or directory
Generating public/private rsa key pair.
Your identification has been saved in id_rsa_crc.
Your public key has been saved in id_rsa_crc.pub.
The key fingerprint is:
SHA256:3gX/Fsoi4ZVP9CVPZFAS1AKCtbCzNSnep4s4RQKsLlY [email protected]
The key's randomart image is:
+---[RSA 2048]----+
| . .oo .o==+|
| o .o + .+.|
| . . + * . ..o|
| .E ...* * . = |
| .. oS + = o .|
|... o.+ B o . |
|.. .+ + + o |
| .. o o . |
| ... . |
+----[SHA256]-----+
[sudo] password for sutan:
server=/crc.testing/192.168.126.1
address=/apps-crc.testing/192.168.126.11
./snc.sh: line 148: ./openshift-install: No such file or directory
I was able to proceed a bit further, but snc printed the following messages.
FATAL failed to initialize the cluster: Multiple errors are preventing progress:
* Cluster operator machine-config is reporting a failure: Failed to resync 4.2.0-0.okd-2019-07-25-021602 because: timed out waiting for the condition during syncRequiredMachineConfigPools: pool master has not progressed to latest configuration: configuration status for pool master is empty: pool is degraded because nodes fail with "1 nodes are reporting degraded status on sync": "Node crc-6mj9c-master-0 is reporting: \"unexpected on-disk state validating against rendered-master-fcd0937392f26750a2da111110c740d7\"", retrying
* Could not update authentication "cluster" (12 of 429): the object is invalid, possibly due to local cluster configuration
This is known to fail with:
'pool master is not ready - timed out waiting for the condition'
see https://github.com/openshift/machine-config-operator/issues/579
Can I still go ahead and run createdisk.sh to create the disk image for crc? Will it work?
Thanks,
@codingarchitect This looks like you are on right track but you need to wait for a day to have 30 days valid cert before run the createdisk.sh
There are now public releases of the bundles at https://cloud.redhat.com/openshift/install/crc/installer-provisioned
Most helpful comment
@codingarchitect This looks like you are on right track but you need to wait for a day to have 30 days valid cert before run the createdisk.sh