FAQ
Hello everyone -

I've been using the stemcell_builder instructions located here to test out
building a vsphere stemcell:

https://github.com/cloudfoundry/bosh/tree/master/stemcell_builder

Thanks for providing these instructions. Here are some additional steps I
had to do in order to get the build process to work on a Ubuntu 10.04
server VM:

* Clone the bosh repo into this subdirectory of the 'parent' bosh repo:

root@QA1LRBBOSH01:/home/lbakken/src/cf/bosh/stemcell_builder# ls
../release/src/
bosh common nats redis ruby
^^^^

* Install ruby for the 'root' user, since the stemcell build process needs
to be run as root. I used rbenv for this (/root/.rbenv)

I also used the btrfs working directory as described in the docs - very
cool.

However, I run into this error during the build process and am stymied -
any assistance is greatly appreciated (this output is from a re-run of the
process):

=== Configuring 'image_vsphere_ovf' stage ===
=== Configuring 'image_vsphere_prepare_stemcell' stage ===
=== Configuring 'stemcell' stage ===
=== Applying 'base_debootstrap' stage ===
== Started Wed Jul 31 09:49:59 PDT 2013 ==
base_debootstrap unchanged, skipping...
=== Applying 'base_apt' stage ===
== Started Wed Jul 31 09:49:59 PDT 2013 ==
base_apt unchanged, skipping...
=== Applying 'bosh_users' stage ===
== Started Wed Jul 31 09:49:59 PDT 2013 ==
bosh_users unchanged, skipping...
=== Applying 'bosh_debs' stage ===
== Started Wed Jul 31 09:49:59 PDT 2013 ==
bosh_debs unchanged, skipping...
=== Applying 'bosh_monit' stage ===
== Started Wed Jul 31 09:49:59 PDT 2013 ==
bosh_monit unchanged, skipping...
=== Applying 'bosh_ruby' stage ===
== Started Wed Jul 31 09:49:59 PDT 2013 ==
bosh_ruby unchanged, skipping...
=== Applying 'bosh_agent' stage ===
== Started Wed Jul 31 09:50:00 PDT 2013 ==
Delete subvolume '/tmp/mnt/work'
Create a snapshot of '/tmp/mnt/bosh_ruby_applied' in '/tmp/mnt/work'
ERROR: While executing gem ... (Gem::DependencyError)
     Unable to resolve dependencies: bosh_agent requires netaddr (~> 1.5.0),
thin (~> 1.5.0), yajl-ruby (~> 1.1.0), sinatra (~> 1.4.2), nats (~>
0.4.28), sigar (~> 0.7.2), httpclient (= 2.2.4), syslog_protocol (~>
0.9.2), bosh_common (~> 1.5.0.pre.3), bosh_encryption (~> 1.5.0.pre.3),
monit_api (~> 1.5.0.pre.3), blobstore_client (~> 1.5.0.pre.3)

Thanks -
Luke

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupbosh-dev @
postedJul 31, '13 at 11:42p
activeJul 31, '13 at 11:42p
posts1
users1

1 user in discussion

Luke Bakken: 1 post

People

Translate

site design / logo © 2021 Grokbase