cf-stub.yml parsing error: error parsing stub [cf-deployment.yml]: Expected document start at line 0, column 0


xiaoshan fang
 

I am generating cf-deployment.yml using spiff and cf-stub.yml, and have the following error:

2016/11/18 09:13:21 error parsing stub [cf-deployment.yml]: Expected document start at line 0, column 0

what does line 0, column 0 mean? how to solve this problem.

@cloudfoundry team, do you have a sample stub yml file while can successfully generate cf-deployment.yml?

Thanks,
-xiaoshan


David Sabeti
 

Hi there,

Are you using cf-deployment from this repository:
https://github.com/cloudfoundry/cf-deployment? Although it looks like one,
this cf-deployment.yml is not a spiff template, so you cannot use spiff and
a stub to generate a manifest. If you follow in the instructions in the
cf-deployment repository, you'll see that you need to use the new bosh CLI (
https://github.com/cloudfoundry/bosh-cli). The `-l`/`--var-files` flag
allows you to interpolate values (in this case, mostly credentials) into
the manifest.

I should also mention that cf-deployment will eventually be the officially
supported way to deploy a Cloud Foundry instance, but that it's still very
new and not recommended yet for production. Feel free to use it for
development or testing environments, and we (the Release Integration team)
are eager to receive feedback about it.

You can reach us in the #cf-deployment and #release-integration slack
channels in the Cloud Foundry slack, or in github issues on the
cf-deployment repository.

David Sabeti
Product Manager, CF Release Integration

On Fri, Nov 18, 2016 at 1:21 AM xiaoshan fang <xiaoshan.fang(a)siemens.com>
wrote:

I am generating cf-deployment.yml using spiff and cf-stub.yml, and have the
following error:

2016/11/18 09:13:21 error parsing stub [cf-deployment.yml]: Expected
document start at line 0, column 0

what does line 0, column 0 mean? how to solve this problem.

@cloudfoundry team, do you have a sample stub yml file while can
successfully generate cf-deployment.yml?

Thanks,
-xiaoshan


xiaoshan fang
 

Dear David,

Thank you for reply. I am using https://github.com/cloudfoundry/cf-release in accordance with the steps described here: http://docs.cloudfoundry.org/deploying/aws/cf-stub.html.

I have generating the cf-stub.yml, and then use the following command to generate the manifest. It seems that my cf-stub,yml file is not 100% correct till now. :)

Thanks,
-xiaoshan