Closed roninby closed 7 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/149345155
The labels on this github issue will be updated when the story is started.
I just found there were some lines missing in my cf-deployment.yml. After it's recreated, the problem was gone. Sorry for the trouble.
Hey @roninby, no worries. How did those lines go missing from cf-deployment.yml? Are you editing the manifest somehow?
Also, I have an unrelated question because you're deploying to vsphere. How did you build the cloud-config for your deployment? I'm asking because we want to provide instructions for all vsphere deployers of cf-deployment, and your input could be very valuable.
Hi, dsabeti.
Yes, I falsely deleted some lines in the manifest, it's just the part include links.
I know operations file is good, but it need a lot of background knowledge and skills like ERB, spiff, cloud properties, etc. As a newcomer to CF, the simplest way to me is to modify the config file directly. By the way, I'm still struggling with manifest syntax, like the link concept of consume/provider, is there any good reference on this?
For cloud-config, it's quite good to keep manifest IaaS agnostic in bosh v2. I tried to minimize the consumed resources, and some good references do help a lot. These practical samples make the configuration items more understandable. https://brianragazzi.wordpress.com/tag/bosh-v2/ http://engineering.pivotal.io/post/nsx_with_bosh/
I have to say it's quite painful to learn the manifest from the beginning, unfamiliar with the syntax of manifest, not clear about details on CF infrastructure integration with Cloud, etc. I mean the bosh guide is quite cool, but it's not enough to build up a application infrastructure. The problem possibly comes from lack of guidance, especially on bosh v2. Actually, I'm now stuck with cf-mysql-deployment. So, complete scenarios and procedures will be indeed very helpful, just like VMware Hands on Lab with detailed procedure on certain scenarios. A good example on PCF is: http://pcf-ford-workshop.cfapps.io/2016/03/15/lab--build-and-deploy-apps-on-pcf/
Glad to talk with you here, pls let me know if there's anything else you want to know.
Cheers.
Lots of good questions and feedback here. One by one:
@dsabeti , Thanks for the info, it really do help with understanding the manifest structure.
I totally agree with you. Maybe the learning curve is coming from that the manifest (mostly in the job part) is not much intuitive: From the job description, I have no idea about which file is modified, and how it is applied, that's different from other tools like Ansible. It doesn't mean Bosh is not good, on the contrary the abstraction is efficient and powerful, just need more time to understand.
In my view, one half of the confusion coming from Bosh/CF infrastructure, the connections between components decide which properties should be provided. The concept is documented well, but practices are still needed to understand the details; The other half is related with variables/properties/spec/link definition. For example:
I guess the answers are behind release. So, if the learning curve is possibly not inevitable, then more documents on release mechanism and more App use case deployment samples will do a lot help.
Thanks again.
The answer to most of your questions is that the releases decide how to manage their properties.
ssl_enabled
property you were asking about gets used in this file to decide to use http
or https
.Cloud properties are different, because they are fundamentally tied to the IaaS you choose. In v2 manifests, the cloud_properties should mostly be referenced in the cloud-config rather than the manifest, and there are three ways to get help for cloud_properties/cloud-config questions:
#bosh
channel, and they'll help you find someone who can help.Hope that helps!
@dsabeti ,
The guidelines are awesome! It may take me days to figure all of these out by myself. The linkage behind is more and more clear. Thanks for your kindness!
I've just built up a small CF+Mysql environment, gone through all the demo procedures.
Next, to make it more practical, more external services are being considered, like Concourse, Artifactory, Jenkins, etc. and Active Directory integration as well. They are all necessary parts in a on-premise PaaS platform. I noticed CloudBee and JFrog tiles are EOA in PCF. Is there alternates for CF users? Any advice on these services?
I'm not sure if I'm asking a lot here. If it's not related with the original topic, pls feel free to stop me. :-)
Best Regards
Yeah, I'd say most of this is a bit out of scope for this repo. Concourse is open source, and you can always reach to the team in their repo. Otherwise, most of what you mentioned are Pivotal-specific products, so you'd need to reach out to Pivotal for help with those.
@dsabeti
That's fine, you've helped a lot. Your help is greatly appreciated.
Best Regards
Hello,
I'd like to test cf on a vsphere cluster using cf-deployment. The deploy failed at the very beginning as below:
I guess there're some misconfiguration in my cf-deployment.yml in connection with special characters "&" and "*", but I cannot figure out how to fix it. Is there any documentation about it? Or is there any sample cf-deployment.yml for vsphere environment?
From cf-deployment.yml:
Thanks in advance.