cloud_connector_ng not starting on cf 231
Christian Schwerdtfeger
Hello,
I am facing some problems with the cloud_connector on cf-release 231. I suspect the problem has something to do with the blobstore configuration, but I can't figure out what's wrong. I want to use the WebDAV blobstore introduced with 231 and followed the instructions in the GoogleDocs document linked in the release notes, except that I don't want to migrate, so i removed the nfs-job completely and use the blobstore_z1 job instead. You can find the relevant configuration options in my stub.yml (which i use with the manifest generation tooling in the repo for openstack ) at the end of this post after some questions which came up while debugging: 1. In the GoogleDocs document the "fog_connection" is set to null. If i do this, my cloud_controller emits errors, that this property should be a not null. So is the doc correct here? What am I doing wrong here? 2. The blobstore nginx doesn't succeed to start up because of some server_name_hash sizes. I fixed this by adding "server_names_hash_bucket_size 64;" manually in the conf. Is there a way to prevent from this error? 3. I found, that on the blobstore nginx, requests are coming in if I leave the fog_connection as "{"provider":"Local","local_root":"/var/vcap/nfs/shared"}". But all of the requests are rejected with a 403 status code. Any idea where this could come from? Thank you very much. properties: cc: buildpacks: blobstore_type: webdav webdav_config: username: blobstore-username password: blobstore-password private_endpoint: http://blobstore.service.cf.internal public_endpoint: https://blobstore.cloudfoundry.mydomain.com fog_connection: null cdn: null droplets: blobstore_type: webdav webdav_config: username: blobstore-username password: blobstore-password private_endpoint: http://blobstore.service.cf.internal public_endpoint: https://blobstore.cloudfoundry.mydomain.com fog_connection: null cdn: null packages: blobstore_type: webdav webdav_config: username: blobstore-username password: blobstore-password private_endpoint: http://blobstore.service.cf.internal public_endpoint: https://blobstore.cloudfoundry.mydomain.com fog_connection: null cdn: null resource_pool: blobstore_type: webdav webdav_config: username: blobstore-username password: blobstore-password private_endpoint: http://blobstore.service.cf.internal public_endpoint: https://blobstore.cloudfoundry.mydomain.com fog_connection: null cdn: null blobstore: admin_users: - username: blobstore-username password: blobstore-password port: 80 secure_link: secret: blobstore-secret tls: cert: BLOBSTORE_CERT port: 443 private_key: BLOBSTORE_PRIVATE_KEY nfs_server: address: null jobs: - name: api_z1 templates: - name: consul_agent release: cf - name: go-buildpack release: cf - name: binary-buildpack release: cf - name: nodejs-buildpack release: cf - name: ruby-buildpack release: cf - name: php-buildpack release: cf - name: python-buildpack release: cf - name: staticfile-buildpack release: cf - name: cloud_controller_ng release: cf - name: cloud_controller_clock release: cf - name: cloud_controller_worker release: cf - name: metron_agent release: cf - name: statsd-injector release: cf - name: route_registrar release: cf properties: nfs_server: address: null - name: nfs_z1 instances: 0 - name: blobstore_z1 instances: 1 |
|