FAQ
Can somebody help?
On 08/29/2012 05:52 PM, Ruslan Karachun wrote:
Hello.

CloudStack API required HTTP Url for uploading template.
How can I share template to be available via HTTP (in create_stemcell
method)?
Can I use "simple_blobstore_server" for this?


Thanks!

On 07/31/2012 09:15 PM, ferdy wrote:

On Tuesday, July 31, 2012 6:18:48 PM UTC+2, Martin Englund wrote:

On Tue, Jul 31, 2012 at 9:10 AM, Dr Nic Williams
wrote:
What on a stemcell is specific to an IaaS (hence different
stemcells) and
what is specific to something in the image (ubuntu, hypervisor?, ...?)
The reason for different stemcells for different IaaS is twofold:
1) they use a different disk image format[1][2]
2) the way we can get bootstrap configuration to the VM differs[3][4]

[1]

<https://github.com/cloudfoundry/bosh/blob/master/agent/misc/stemcell/build2/stages/image_aws_prepare_stemcell/apply.sh


<https://github.com/cloudfoundry/bosh/blob/master/agent/misc/stemcell/build2/stages/image_aws_prepare_stemcell/apply.sh>>


[2]

<https://github.com/cloudfoundry/bosh/blob/master/agent/misc/stemcell/build2/stages/image_vsphere_ovf/apply.sh


<https://github.com/cloudfoundry/bosh/blob/master/agent/misc/stemcell/build2/stages/image_vsphere_ovf/apply.sh>>


[3]

<https://github.com/cloudfoundry/bosh/blob/master/agent/lib/agent/infrastructure/vsphere/settings.rb


<https://github.com/cloudfoundry/bosh/blob/master/agent/lib/agent/infrastructure/vsphere/settings.rb>>


[4]

<https://github.com/cloudfoundry/bosh/blob/master/agent/lib/agent/infrastructure/aws/settings.rb


<https://github.com/cloudfoundry/bosh/blob/master/agent/lib/agent/infrastructure/aws/settings.rb>>




Another use case for 1) could be, as Dr Nic asked, creating different
stemcells for the same IaaS. For example, for OpenStack you can use
several images formats depending on your hypervisor. In that case, you
can use the cloud_properties (or stemcell_properties in the future) at
the stemcell.MF [1] and prepare the CPI [2] to read those properties in
order to pass them to the IaaS API.

[1]
https://github.com/frodenas/bosh/blob/master/agent/misc/stemcell/build2/stages/stemcell_openstack/apply.sh#L20

[2]
https://github.com/frodenas/openstack-bosh-cpi/blob/master/lib/cloud/openstack/cloud.rb#L58


- Ferdy
--
Ruslan

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 9 of 9 | next ›
Discussion Overview
groupbosh-dev @
postedJul 31, '12 at 7:56a
activeAug 31, '12 at 7:44a
posts9
users5

People

Translate

site design / logo © 2022 Grokbase