{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/cf-release/issues/934","repository_url":"https://api.github.com/repos/cloudfoundry/cf-release","labels_url":"https://api.github.com/repos/cloudfoundry/cf-release/issues/934/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/cf-release/issues/934/comments","events_url":"https://api.github.com/repos/cloudfoundry/cf-release/issues/934/events","html_url":"https://github.com/cloudfoundry/cf-release/issues/934","id":141831370,"number":934,"title":"Installing Cloud Foundry in Local Machine","user":{"login":"sujeetyadav","id":5415349,"avatar_url":"https://avatars.githubusercontent.com/u/5415349?v=3","gravatar_id":"","url":"https://api.github.com/users/sujeetyadav","html_url":"https://github.com/sujeetyadav","followers_url":"https://api.github.com/users/sujeetyadav/followers","following_url":"https://api.github.com/users/sujeetyadav/following{/other_user}","gists_url":"https://api.github.com/users/sujeetyadav/gists{/gist_id}","starred_url":"https://api.github.com/users/sujeetyadav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujeetyadav/subscriptions","organizations_url":"https://api.github.com/users/sujeetyadav/orgs","repos_url":"https://api.github.com/users/sujeetyadav/repos","events_url":"https://api.github.com/users/sujeetyadav/events{/privacy}","received_events_url":"https://api.github.com/users/sujeetyadav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-18T10:41:37Z","updated_at":"2016-03-18T10:41:41Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to install cloud foundry on local machine.\r\nI am following steps mentioned in http://software.danielwatrous.com/explore-cloudfoundry-using-bosh-lite-on-windows/\r\nI have done following:\r\n1) Installed following softwares on windows 7:\r\na) VirtualBox-5.0.14-105127-Win\r\nb) vagrant_1.8.1\r\nc) rubyinstaller-2.2.4\r\nd) cf-cli-installer_6.16.1_winx64\r\ne) Git-2.7.0-64-bit\r\nf) Putty\r\n\r\n2) Cloned bosh lite into workspace using command:\r\n\tgit clone https://github.com/cloudfoundry/bosh-lite\r\n3) Modified vagrant file, please find attached Vagrant file.\r\n4) Navigated to bosh-lite folder which contains VagrantFile through command prompt and then fired this command:\r\n\tvagrant up --provider=virtualbox\r\nThis has configured two virtual machines on Oracle VM VirtualBOx.\r\n5) Now I connected to bosh lite VM using following credentials by putty:\r\nhostname : 127.0.0.1\r\nport number :2200\r\n[VagrantFile.txt](https://github.com/cloudfoundry/cf-release/files/179469/VagrantFile.txt)\r\n\r\nUsername : vagrant\r\npassword: vagrant\r\n\r\n6) Ran following commands:\r\napt-get -y install build-essential linux-headers-`uname -r`\r\napt-get -y install ruby ruby-dev git zip\r\ngem install bosh_cli --no-ri --no-rdoc\r\n7) Installed spiff\r\nwget https://github.com/cloudfoundry-incubator/spiff/releases/download/v1.0.3/spiff_linux_amd64.zip\r\nunzip spiff_linux_amd64.zip\r\nsudo mv spiff /usr/local/bin/\r\n8) Cloned bosh-lite and cf-release\r\ngit clone https://github.com/cloudfoundry/bosh-lite.git\r\ngit clone https://github.com/cloudfoundry/cf-release\r\n9) Updated provision file present under bohs-lite/bin direcotry.\r\nget_ip_from_vagrant_ssh_config() {\r\n  echo 192.168.50.4\r\n}\r\n10) bosh target 192.168.50.4 lite\r\nusing credentials: admin/admin\r\n11) cd bosh-lite\r\nFrom bosh-lte directory location fired these two commands:\r\n./bin/add-route\r\n./bin/provision_cf\r\n\r\n**This fails and giving me following stacktrace:\r\nroot@vagrant-ubuntu-trusty-64:/home/bosh-lite# ./bin/provision_cf\r\nAcquiring bosh-lite IP\r\nBosh IP is: 192.168.50.4\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\nTarget set to `Bosh Lite Director'\r\nUploading stemcell from latest-bosh-lite-stemcell-warden.tgz\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\nActing as user 'admin' on 'Bosh Lite Director'\r\n[VagrantFile.txt](https://github.com/cloudfoundry/cf-release/files/179453/VagrantFile.txt)\r\n\r\nVerifying stemcell...\r\nFile exists and readable                                     OK\r\nVerifying **tarball...**\r\nRead tarball                                                 OK\r\nManifest exists                                              OK\r\nStemcell image file                                          OK\r\nStemcell properties                                          OK\r\n\r\nStemcell info\r\n-------------\r\nName:    bosh-warden-boshlite-ubuntu-trusty-go_agent\r\nVersion: 3147\r\n\r\nChecking if stemcell already exists...\r\nYes\r\nStemcell `bosh-warden-boshlite-ubuntu-trusty-go_agent/3147' already exists. Skipping upload.\r\nUpdating cf-release sub modules\r\n+ git rev-parse @{u}\r\n+ git pull\r\n+ git submodule sync\r\n+ git submodule foreach --recursive git submodule sync; git clean -d --force --force\r\n+ git submodule update --init --recursive --force\r\n+ git clean -ffd\r\n+ set +x\r\nGenerating bosh lite manifest from /home/cf-release/scripts/generate-bosh-lite-dev-manifest\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\nDeployment set to `/home/cf-release/bosh-lite/deployments/cf.yml'\r\nConfig\r\n             /root/.bosh_config\r\n\r\nDirector\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\n  Name       Bosh Lite Director\r\n  URL        https://192.168.50.4:25555\r\n  Version    1.3197.1.0 (00000000)\r\n  User       admin\r\n  UUID       44586d7c-bcce-4f5f-ae80-42bb8a1ed08b\r\n  CPI        warden_cpi\r\n  dns        disabled\r\n  compiled_package_cache enabled (provider: local)\r\n  snapshots  disabled\r\n\r\nDeployment\r\n  Manifest   /home/cf-release/bosh-lite/deployments/cf.yml\r\nCreating cf-release release\r\nSyncing blobs...\r\n\r\nBuilding DEV release\r\n---------------------------------\r\nRelease artifact cache: /root/.bosh/cache\r\n\r\nBuilding license\r\n----------------\r\nBuilding license...\r\n  Using final version '861d82c0d9745784acfcd026ccf44e942579824a'\r\n\r\n\r\nBuilding packages\r\n-----------------\r\nBuilding loggregator_trafficcontroller...\r\n  Using final version '3e20884b7aafd4cb0ec33c1f7e9101e254e1b0be'\r\n\r\nBuilding go-buildpack...\r\n  Using final version '2ee73bb12cc8aef34b5ce2fd25a893a03fd3a76d'\r\n\r\nBuilding rootfs_cflinuxfs2...\r\n  Using final version 'a9011940f1d1ba1945927d69f963246bc736ff54'\r\n\r\nBuilding php-buildpack...\r\n  Using final version 'a7499b03d9900d107fec28ca209ddd2cb96cc0d9'\r\n\r\nBuilding binary-buildpack...\r\n  Using final version '86f697c3f0ccfae1141c57390988f67f6825dcaf'\r\n\r\nBuilding loggregator_common...\r\n  Using final version 'e401816a4748292163679fafcbd8f818ed8154a5'\r\n\r\nBuilding uaa_utils...\r\n  Using final version 'fc2e416c5af94d6293ac70bb594c984e31097fb7'\r\n\r\nBuilding syslog_drain_binder...\r\n  Using final version '1b77306dcffb38a00a8227d4ab489e81cbf92b5a'\r\n\r\nBuilding dea_next...\r\n  Using final version '4bd2b99df1820b42e050c101371b2d590aa85009'\r\n\r\nBuilding nodejs-buildpack...\r\n  Using final version 'ed8378a05119eefaccc6da601982f12f11db3837'\r\n\r\nBuilding metron_agent...\r\n  Using final version '722a2c3982be416f4ae5e571afdaa1a69c574424'\r\n\r\nBuilding capi_utils...\r\n  Using final version 'e441936c4e6a1b928988515c214f1b0b6f289d0f'\r\n\r\nBuilding acceptance-tests...\r\n  Using final version '107b2fdcb71813f6e61cd1cb7e9ccf3626e14194'\r\n\r\nBuilding statsd-injector...\r\n  Using final version 'e8e54509908a65ede9328b95e9915c1226d412e5'\r\n\r\nBuilding golang1.4...\r\n  Using final version '714698bc352d2a1dbe321376f0676037568147bb'\r\n\r\nBuilding common...\r\n  Using final version 'e401816a4748292163679fafcbd8f818ed8154a5'\r\n\r\nBuilding ruby-buildpack...\r\n  Using final version '668bc5208ab52e4eb7354a941e3bbd69f58e9b51'\r\n\r\nBuilding postgres-9.4.6...\r\n  Using final version '4ca292f2443cfc682e87632ebd15fb3f3fa53123'\r\n\r\nBuilding etcd-common...\r\n  Using final version 'a5492fb0ad41a80d2fa083172c0430073213a296'\r\n\r\nBuilding libpq...\r\n  Using final version '36290c252abdd5750583eca92a8c4fd134594fa8'\r\n\r\nBuilding hm9000...\r\n  Using final version '7cbddcd5cb6dadc80c6c3002c507133c091403c0'\r\n  Downloading from blobstore (id=a6687c42-7fa3-462c-baf8-f077e6648303)...\r\nRSA 1024 bit CA certificates are loaded due to old openssl compatibility\r\n\r\nBuilding smoke-tests...\r\n  Using final version '488b85fd5a9ea933f154f4c6f43d88a5112f3a22'\r\n  Downloading from blobstore (id=695d42de-bfe8-4136-841b-c901a496d04f)...\r\n\r\nBuilding route_registrar...\r\n  Using final version 'a471cd246893763768b0ed9b9088d27572f3916f'\r\n  Downloading from blobstore (id=5d58d740-889a-4b46-9523-9da3adeb6812)...\r\n\r\nBuilding staticfile-buildpack...\r\n  Using final version '19fb854bbce07a9e4913fb63561f4ca161f01af1'\r\n  Downloading from blobstore (id=06e7476f-2183-4d6b-9847-99ac8660166f)...\r\n\r\nBuilding python-buildpack...\r\n  Using final version '56859daf5f573904e1a2b6bb3e3fb15d1dd2b95c'\r\n  Downloading from blobstore (id=9b5ba67e-b490-476c-8130-13d963bfceff)...\r\nBlobstore error: Failed to fetch object, underlying error: #<HTTPClient::ReceiveTimeoutError: execution expired> /usr/lib/ruby/1.9.1/openssl/buffering.rb:121:in `sysread'\r\n/usr/lib/ruby/1.9.1/openssl/buffering.rb:121:in `readpartial'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient/ssl_socket.rb:86:in `readpartial'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient/session.rb:870:in `block in read_body_length'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient/session.rb:868:in `read_body_length'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient/session.rb:573:in `get_body'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient.rb:1243:in `do_get_block'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient.rb:1021:in `block in do_request'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient.rb:1129:in `protect_keep_alive_disconnected'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient.rb:1016:in `do_request'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient.rb:858:in `request'\r\n/var/lib/gems/1.9.1/gems/httpclient-2.7.1/lib/httpclient.rb:739:in `get'\r\n/var/lib/gems/1.9.1/gems/blobstore_client-1.3215.0/lib/blobstore_client/simple_blobstore_client.rb:39:in `get_file'\r\n/var/lib/gems/1.9.1/gems/blobstore_client-1.3215.0/lib/blobstore_client/s3_blobstore_client.rb:79:in `get_file'\r\n/var/lib/gems/1.9.1/gems/blobstore_client-1.3215.0/lib/blobstore_client/base.rb:50:in `get'\r\n/var/lib/gems/1.9.1/gems/blobstore_client-1.3215.0/lib/blobstore_client/sha1_verifiable_blobstore_client.rb:19:in `get'\r\n/var/lib/gems/1.9.1/gems/blobstore_client-1.3215.0/lib/blobstore_client/retryable_blobstore_client.rb:19:in `block in get'\r\n/var/lib/gems/1.9.1/gems/bosh_common-1.3215.0/lib/common/retryable.rb:28:in `call'\r\n/var/lib/gems/1.9.1/gems/bosh_common-1.3215.0/lib/common/retryable.rb:28:in `block in retryer'\r\n/var/lib/gems/1.9.1/gems/bosh_common-1.3215.0/lib/common/retryable.rb:26:in `loop'\r\n/var/lib/gems/1.9.1/gems/bosh_common-1.3215.0/lib/common/retryable.rb:26:in `retryer'\r\n/var/lib/gems/1.9.1/gems/blobstore_client-1.3215.0/lib/blobstore_client/retryable_blobstore_client.rb:18:in `get'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/versions/version_file_resolver.rb:29:in `block in find_file'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/versions/version_file_resolver.rb:28:in `open'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/versions/version_file_resolver.rb:28:in `find_file'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/archive_repository.rb:31:in `lookup'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/archive_builder.rb:64:in `locate_artifact'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/archive_builder.rb:16:in `block in build'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/core_ext.rb:14:in `with_indent'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/archive_builder.rb:15:in `build'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/commands/release/create_release.rb:186:in `block in build_packages'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/commands/release/create_release.rb:184:in `map'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/commands/release/create_release.rb:184:in `build_packages'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/commands/release/create_release.rb:107:in `create_from_spec'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/commands/release/create_release.rb:51:in `create'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/command_handler.rb:57:in `run'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/lib/cli/runner.rb:59:in `run'\r\n/var/lib/gems/1.9.1/gems/bosh_cli-1.3215.0/bin/bosh:19:in `<top (required)>'\r\n/usr/local/bin/bosh:23:in `load'\r\n/usr/local/bin/bosh:23:in `<main>'\r\n\r\n**\r\n12) Through putty I connected to cf VM using following credentials:\r\nhostname : 127.0.0.1\r\nport number :2222\r\nUsername : vagrant\r\npassword: vagrant\r\n\r\nFired following commands:\r\nwget http://go-cli.s3-website-us-east-1.amazonaws.com/releases/v6.6.1/cf-linux-amd64.tgz\r\ntar xzvf cf-linux-amd64.tgz\r\nsudo mv cf /usr/local/bin/\r\n\r\n13) In order to set API end point I am using following command:\r\ncf api --skip-ssl-validation https://api.10.244.0.34.xip.io\r\n\r\nBut it fails and gives following stacktrace:\r\nroot@agent-id-bosh-0:/home/vagrant# cf api --skip-ssl-validation https://api.10.244.0.34.xip.io\r\nSetting api endpoint to https://api.10.244.0.34.xip.io...\r\nFAILED\r\nError performing request: Get https://api.10.244.0.34.xip.io/v2/info: dial tcp 10.244.0.34:443: i/o timeout\r\n\r\nAny help will be appreciated.\r\n\r\nThanks & Regards,\r\nSujeet Yadav"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/cf-release/issues/comments/198300570","html_url":"https://github.com/cloudfoundry/cf-release/issues/934#issuecomment-198300570","issue_url":"https://api.github.com/repos/cloudfoundry/cf-release/issues/934","id":198300570,"user":{"login":"cf-gitbot","id":5589368,"avatar_url":"https://avatars.githubusercontent.com/u/5589368?v=3","gravatar_id":"","url":"https://api.github.com/users/cf-gitbot","html_url":"https://github.com/cf-gitbot","followers_url":"https://api.github.com/users/cf-gitbot/followers","following_url":"https://api.github.com/users/cf-gitbot/following{/other_user}","gists_url":"https://api.github.com/users/cf-gitbot/gists{/gist_id}","starred_url":"https://api.github.com/users/cf-gitbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cf-gitbot/subscriptions","organizations_url":"https://api.github.com/users/cf-gitbot/orgs","repos_url":"https://api.github.com/users/cf-gitbot/repos","events_url":"https://api.github.com/users/cf-gitbot/events{/privacy}","received_events_url":"https://api.github.com/users/cf-gitbot/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T10:41:41Z","updated_at":"2016-03-18T10:41:41Z","body":"We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/115927651."}}