[chef] Re: knife vsphere bootstrap problem in CHEF 11.4.0 environment


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: knife vsphere bootstrap problem in CHEF 11.4.0 environment
  • Date: Fri, 5 Apr 2013 07:57:43 -0700


On Friday, April 5, 2013 at 12:41 AM, Philippe Bérard wrote:

Hello all,

 

I’ve a problem with “knife vsphere” in a chef 11.4.0 environment.

 

When creating, starting and bootstrapping a VM with “knife vsphere”, through the following command :

knife vsphere vm clone "testknife" --template "Ubuntu Server 12.04 11_02_2013" -f "Modèles" --resource-pool "epsilon.jalios.net" --ssh-user "*****" --ssh-password "*****" --cips 192.168.0.230/24 --cgw 192.168.0.253 --chostname testknife --cdnsips 192.168.x.x --cvlan "Reseau local" --cdnssuffix jalios.net –start –bootstrap –fqdn serveurchef.jalios.net

In this command, you're specifying a bootstrap template, which appears to be installing ruby from packages and then installing ruby gems from source.
 

Everything goes fine until bootstrapping :

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

serveurchef.jalios.net Impossible de trouver le paquet libruby-extras

serveurchef.jalios.net

serveurchef.jalios.net E

serveurchef.jalios.net :

serveurchef.jalios.net Impossible de trouver le paquet libruby1.8-extras

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

If I don’t bootstrap the VM with “knife vsphere”, though, but through a regular “knife bootstrap” command, everything goes fine :

 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

192.168.0.230 Dépaquetage de chef (à partir de .../chef_11.4.0_amd64.deb) ...

192.168.0.230

192.168.0.230 Paramétrage de chef (11.4.0-1.ubuntu.11.04) ...

192.168.0.230

192.168.0.230 Thank you for installing Chef!

This is the default bootstrap template that uses https://www.opscode.com/chef/install.sh to install the omnibus packages.
 

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§