{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment/issues/323","repository_url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment","labels_url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment/issues/323/comments","events_url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment/issues/323/events","html_url":"https://github.com/cloudfoundry-incubator/kubo-deployment/issues/323","id":337315747,"node_id":"MDU6SXNzdWUzMzczMTU3NDc=","number":323,"title":"Issue with using deploy_k8s - BOSH_NAME and BOSH_ENVIRONMENT","user":{"login":"andrearagao","id":180902,"node_id":"MDQ6VXNlcjE4MDkwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/180902?v=4","gravatar_id":"","url":"https://api.github.com/users/andrearagao","html_url":"https://github.com/andrearagao","followers_url":"https://api.github.com/users/andrearagao/followers","following_url":"https://api.github.com/users/andrearagao/following{/other_user}","gists_url":"https://api.github.com/users/andrearagao/gists{/gist_id}","starred_url":"https://api.github.com/users/andrearagao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrearagao/subscriptions","organizations_url":"https://api.github.com/users/andrearagao/orgs","repos_url":"https://api.github.com/users/andrearagao/repos","events_url":"https://api.github.com/users/andrearagao/events{/privacy}","received_events_url":"https://api.github.com/users/andrearagao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-01T19:31:48Z","updated_at":"2018-07-01T19:31:49Z","closed_at":null,"author_association":"NONE","body":"/kind bug\r\n\r\n**What happened**:\r\nCannot deploy Kubernetes to VMWare using the instructions described here: \r\nhttps://docs-cfcr.cfapps.io/installing/deploying-cfcr/\r\n\r\n**What you expected to happen**:\r\nKubernetes should be deployed.\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nFollow the steps described against a VMware environment.\r\n\r\n**Anything else we need to know?**:\r\n\r\nAnalyzing the deploy_k8s script, I found a couple issues:\r\n\r\n1) export_bosh_environment (lib/deployutils - line 6) method exports BOSH_NAME based on the directory containing the CFCR environment previously generated. \r\n2) In the method deploy_to_bosh() (lib/deploy_utils - line 67) BOSH_ENVIRONMENT is filled with the content of BOSH_NAME. The net effect is that bosh now tries to execute bosh deploy using the folder name as environment, rather than the ip address of the previously deployed bosh director. One can get past that by removing the BOSH_ENVIRONMENT=\"${BOSH_NAME}\" attribution\r\n\r\n\r\n**Environment**:\r\n- Deployment Info (`bosh -d <deployment> deployment`):\r\n- Environment Info (`bosh -e <environment> environment`):\r\n- Kubernetes version (`kubectl version`):\r\n- Cloud provider (e.g. `aws`, `gcp`, `vsphere`):\r\n"},"comment":{"url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment/issues/comments/401627786","html_url":"https://github.com/cloudfoundry-incubator/kubo-deployment/issues/323#issuecomment-401627786","issue_url":"https://api.github.com/repos/cloudfoundry-incubator/kubo-deployment/issues/323","id":401627786,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTYyNzc4Ng==","user":{"login":"cf-gitbot","id":5589368,"node_id":"MDQ6VXNlcjU1ODkzNjg=","avatar_url":"https://avatars3.githubusercontent.com/u/5589368?v=4","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":"2018-07-01T19:31:49Z","updated_at":"2018-07-01T19:31:49Z","author_association":"NONE","body":"We have created an issue in Pivotal Tracker to manage this: \n\nhttps://www.pivotaltracker.com/story/show/158751081 \n\nThe labels on this github issue will be updated when the story is started."}}
{"actor":{"display_login":"cf-gitbot"}}