RSS
 
 

coreos-cloudinit not found. Could not validate config.

02 Jul

When Installing coreos, this is a common problem depending on the ‘live CD’ used:


./coreos_install.sh -d /dev/sdb -C stable -c ~/cloud-config.yaml
./coreos_install.sh: coreos-cloudinit not found. Could not validate config. Continuing...\

All manner of ‘solutions’ appear on the internet, actually it is simply stating that ‘coreos-cloudinit’
is missing.

The reason being that the so called install scripts are actually not fully integrated.

Simply following the instructions at :
http://www.formatccolon.com/installing-coreos/

will ONLY work IF you use a liveCD that contains ‘coreos-cloudinit’

Get in the prerequisites first:

So:
1. Build your cloud-config.yaml BUT validate it first at:

https://coreos.com/validate/

Then ensure that you perform the following BEFORE attempting the installation

your working directory:
wget https://github.com/coreos/coreos-cloudinit/archive/master.zip
unzip master.zip
cd coreos-cloudinit-master/
./build
cd bin
#ensure you put the binary on a path where it can be found
cp coreos-cloudinit /usr/bin/coreos-cloudinit

Then cd back to your original working directory where you have:
coreos-install.sh (or whatever you called it)


./coreos-install.sh -d /dev/sdb -C stable -c ~/cloud-config.yaml
Checking availability of "local-file"
Fetching user-data from datasource of type "local-file"
Downloading the signature for http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2...
2015-07-02 20:12:43 URL:http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2.sig [543/543] -> "/tmp/coreos-install.GLOoJSUz0c/coreos_production_image.bin.bz2.sig" [1]
Downloading, writing and verifying coreos_production_image.bin.bz2...
2015-07-02 20:14:03 URL:http://stable.release.core-os.net/amd64-usr/current/coreos_production_image.bin.bz2 [196978663/196978663] -> "-" [1]
gpg: Signature made Thu Jun 18 17:08:09 2015 HKT using RSA key ID xxxxxxxxx
gpg: key xxxxxxxxx marked as ultimately trusted
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "CoreOS Buildbot (Offical Builds) "
Installing cloud-config...
Success! CoreOS stable current is installed on /dev/sdb

And that gets you to the next stage.

 

Leave a Reply

 

*