Re: Deployment manifest not recognized by BOSH

Kinjal Doshi


I am aware that this does not have anything to do with BOSH but when a ruby
object is converted to yaml, this format is appended automatically.

Couple of months ago, I was able to deploy with a manifest of this format
but now on a new BOSH deployment, I am not able to.

I am using the default yaml gem in ruby to transform from object to yaml
which appends this type of info for each objects that it transforms.

Any ideas would be great on this, or are you saying that the manifest is
invalid with this '!' info?


On Tue, Jun 9, 2015 at 7:10 PM, Gwenn Etourneau <getourneau(a)>

Your manifest is wrong "*- !ruby/object:AWSDynamicNetworkBean *" are not
a yaml field.
You script using to_yaml is just wrong, nothing related to bosh.

On Tue, Jun 9, 2015 at 7:08 PM, Kinjal Doshi <kindoshi(a)> wrote:


would be great if someone could please help me with this matter.


On Mon, Jun 8, 2015 at 6:25 PM, Kinjal Doshi <kindoshi(a)> wrote:


I am trying to use manifest that is generated using the to_yaml
transformation technique in Ruby.

However, this deployment manifest is not recognized by bosh because it
has comments that detail the class names like:

*--- !ruby/object:DeploymentManifest *
*networks: *
*- !ruby/object:AWSDynamicNetworkBean *
* type: dynamic*
* cloud_properties: !ruby/object:AWSNetworkCPBean *
* security_groups: *
* - docker*
* - bosh*
* subnet: *
* name: default*
*- !ruby/object:AWSDynamicNetworkBean *
* type: vip*
* cloud_properties: {}*

As can be seen in above snippet, to_yaml adds object description using
'!' sign.

On using the command:

bosh deployment <manifest_file_path>

The following error is observed:

Usage: deployment [<filename>]

Removing the object details starting at '!' seems to resolve this error.

However, this was not happening with previous version of bosh_cli. I
don't remember the previous version that I was using. Current version being
used by me is: bosh cli-1.2978.0

Would be great if some one can please help me with this matter.


cf-bosh mailing list

cf-bosh mailing list

Join to automatically receive all group messages.