Error: Required property 'compilation' was not specified -Bosh v2-Openstack


Gw .
 

Dear Team,

I am trying to deploy CF on Openstack using bosh .

I am now using Bosh v2 for deployment. As per the document
https://docs.cloudfoundry.org/deploying/openstack/cf-stub.html , I
configured manifest.yml (Manifest I used : my-manifest
<https://gist.github.com/gowriln/936dd0f488bfd981c999ed56c9016579> ) . I
also faced issue mentioned in
https://github.com/cloudfoundry/cf-release/issues/1224
and as per suggestions in the issue, I created release using CLI v1 and
uploaded the release using CLI v2.

Now when I excute deploy using :
$bosh -e my-env -d my-dep deploy manifest.yml

I get the following error :

14:39:40 | Deprecation: Ignoring cloud config. Manifest contains 'networks'
section.
14:39:40 | Preparing deployment: Preparing deployment (00:00:01)
L Error: Required property 'compilation' was not specified in
object ({"networks"=>[{"cloud_properties"=>{"net_id"=>"15...",
"security_groups"=>[]}, "name"=>"floating", "type"=>"vip"}, {"name"=>"cf1",
"subnets"=>[{"cloud_properties"=>{"net_id"=>"3a...",
"security_groups"=>["bosh-TestCF", "CF-TestCF"]}, "dns"=>["8.8.8.8"],
"gateway"=>"172.10.0.1", "range"=>"172.10.0.0/24",
"reserved"=>["172.10.0.16 - 172.10.0.100", "172.10.0.200 - 172.10.0.254"],
"static"=>["172.10.0.125 - 172.10.0.175"]}], "type"=>"manual"},
{"name"=>"cf2", "subnets"=>[{"cloud_properties"=>{"net_id"=>"3a...",
"security_groups"=>["bosh-TestCF", "CF-TestCF"]}, "dns"=>["8.8.8.8"],
"gateway"=>"172.10.0.1", "range"=>"172.10.0.0/24",
"reserved"=>["172.10.0.16 - 172.10.0.100", "172.10.0.200 - 172.10.0.254"],
"static"=>["172.10.0.125 - 172.10.0.175"]}], "type"=>"manual"}]})


Any suggestions ?


Ronak Banka
 

Hi,

As the error says compilation block in missing in manifest.

Add compilation block and redeploy.

Thanks
Ronak

On Tue, Aug 22, 2017 at 21:15 Gowri LN <gowri.ln123(a)gmail.com> wrote:

Dear Team,

I am trying to deploy CF on Openstack using bosh .

I am now using Bosh v2 for deployment. As per the document
https://docs.cloudfoundry.org/deploying/openstack/cf-stub.html , I
configured manifest.yml (Manifest I used : my-manifest
<https://gist.github.com/gowriln/936dd0f488bfd981c999ed56c9016579> ) .
I also faced issue mentioned in https://github.com/cloudfoundry/cf-release/issues/1224
and as per suggestions in the issue, I created release using CLI v1 and
uploaded the release using CLI v2.

Now when I excute deploy using :
$bosh -e my-env -d my-dep deploy manifest.yml

I get the following error :

14:39:40 | Deprecation: Ignoring cloud config. Manifest contains
'networks' section.
14:39:40 | Preparing deployment: Preparing deployment (00:00:01)
L Error: Required property 'compilation' was not specified in
object ({"networks"=>[{"cloud_properties"=>{"net_id"=>"15...",
"security_groups"=>[]}, "name"=>"floating", "type"=>"vip"}, {"name"=>"cf1",
"subnets"=>[{"cloud_properties"=>{"net_id"=>"3a...",
"security_groups"=>["bosh-TestCF", "CF-TestCF"]}, "dns"=>["8.8.8.8"],
"gateway"=>"172.10.0.1", "range"=>"172.10.0.0/24",
"reserved"=>["172.10.0.16 - 172.10.0.100", "172.10.0.200 - 172.10.0.254"],
"static"=>["172.10.0.125 - 172.10.0.175"]}], "type"=>"manual"},
{"name"=>"cf2", "subnets"=>[{"cloud_properties"=>{"net_id"=>"3a...",
"security_groups"=>["bosh-TestCF", "CF-TestCF"]}, "dns"=>["8.8.8.8"],
"gateway"=>"172.10.0.1", "range"=>"172.10.0.0/24",
"reserved"=>["172.10.0.16 - 172.10.0.100", "172.10.0.200 - 172.10.0.254"],
"static"=>["172.10.0.125 - 172.10.0.175"]}], "type"=>"manual"}]})


Any suggestions ?