{"action":"created","issue":{"url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/203","repository_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment","labels_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/203/comments","events_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/203/events","html_url":"https://github.com/cloudfoundry/bosh-deployment/issues/203","id":301188390,"number":203,"title":"Director Deployment Broken after Feb 20th","user":{"login":"fewknow","id":22297806,"avatar_url":"https://avatars2.githubusercontent.com/u/22297806?v=4","gravatar_id":"","url":"https://api.github.com/users/fewknow","html_url":"https://github.com/fewknow","followers_url":"https://api.github.com/users/fewknow/followers","following_url":"https://api.github.com/users/fewknow/following{/other_user}","gists_url":"https://api.github.com/users/fewknow/gists{/gist_id}","starred_url":"https://api.github.com/users/fewknow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fewknow/subscriptions","organizations_url":"https://api.github.com/users/fewknow/orgs","repos_url":"https://api.github.com/users/fewknow/repos","events_url":"https://api.github.com/users/fewknow/events{/privacy}","received_events_url":"https://api.github.com/users/fewknow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-28T21:23:33Z","updated_at":"2018-03-02T19:25:08Z","closed_at":null,"author_association":"NONE","body":"I used https://bosh.io/docs/init-aws.html instructions to deploy a director on Feb 20th.\r\n\r\nI tried to deploy another director today in a different AWS VPC using \r\n\r\nbosh create-env bosh-deployment/bosh.yml \\\r\n    --state=state.json \\\r\n    --vars-store=creds.yml \\\r\n    -o bosh-deployment/aws/cpi.yml \\\r\n    -v director_name=bosh-1 \\\r\n    -v internal_cidr=10.90.40.0/24 \\\r\n    -v internal_gw=10.90.40.1 \\\r\n    -v internal_ip=10.90.40.6 \\\r\n    -v access_key_id=**** \\\r\n    -v secret_access_key=1F9xxxhxHgTVZa+*****\\\r\n    -v region=us-east-1 \\\r\n    -v az=us-east-1a \\\r\n    -v default_key_name=bosh \\\r\n    -v default_security_groups=[boshdefault] \\\r\n    --var-file private_key=/Users/sflint/.ssh/bosh.pem \\\r\n    -v subnet_id=subnet-dbf0a9f4\r\n\r\n\r\nI have attempted this a few times to confirm I am following the directions.  Below is the error that is happening.  I am also not able to ssh to this box manually with the correct PEM.  \r\n\r\nI see there are recent change even as of 45 minutes ago.   I am am gong to try and pull the commit from Feb 20 2018 and see if that works but as of now I can't create a director.   PLEASE let me know if I am doing something wrong.\r\n\r\n```\r\nDeployment manifest: '/Users/sflint/Documents/repos/bosh-concourse-setup/bin/bosh-deployment/bosh.yml'\r\nDeployment state: 'state.json'\r\n\r\nStarted validating\r\n  Downloading release 'bosh'... Skipped [Found in local cache] (00:00:00)\r\n  Validating release 'bosh'... Finished (00:00:00)\r\n  Downloading release 'bosh-aws-cpi'... Skipped [Found in local cache] (00:00:00)\r\n  Validating release 'bosh-aws-cpi'... Finished (00:00:00)\r\n  Validating cpi release... Finished (00:00:00)\r\n  Validating deployment manifest... Finished (00:00:00)\r\n  Downloading stemcell... Skipped [Found in local cache] (00:00:00)\r\n  Validating stemcell... Finished (00:00:00)\r\nFinished validating (00:00:00)\r\n\r\nStarted installing CPI\r\n  Compiling package 'ruby-2.4-r3/8471dec5da9ecc321686b8990a5ad2cc84529254'... Finished (00:00:00)\r\n  Compiling package 'bosh_aws_cpi/a67efa0a30b5df5bf8c88d7bcfe880f8cab0dc34'... Finished (00:00:00)\r\n  Installing packages... Finished (00:00:00)\r\n  Rendering job templates... Finished (00:00:00)\r\n  Installing job 'aws_cpi'... Finished (00:00:00)\r\nFinished installing CPI (00:00:01)\r\n\r\nStarting registry... Finished (00:00:00)\r\nUploading stemcell 'bosh-aws-xen-hvm-ubuntu-trusty-go_agent/3468.21'... Skipped [Stemcell already uploaded] (00:00:00)\r\n\r\nStarted deploying\r\n  Waiting for the agent on VM 'i-0433a527e9921cd75'... Failed (00:00:09)\r\n  Deleting VM 'i-0433a527e9921cd75'... Finished (00:00:37)\r\n  Creating VM for instance 'bosh/0' from stemcell 'ami-0a774470 light'... Finished (00:00:29)\r\n  Waiting for the agent on VM 'i-0d500ff70dae38417' to be ready... Failed (00:02:00)\r\nFailed deploying (00:03:23)\r\n\r\nStopping registry... Finished (00:00:00)\r\nCleaning up rendered CPI jobs... Finished (00:00:00)\r\n\r\nDeploying:\r\n  Creating instance 'bosh/0':\r\n    Waiting until instance is ready:\r\n      Starting SSH tunnel:\r\n        Starting SSH tunnel:\r\n          Failed to connect to remote server:\r\n            ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain\r\n\r\nExit code 1\r\n```\r\n\r\nTRYING TO SSH manually\r\n```sflint@mac017 .ssh $ ssh -v -i bosh.pem vcap@10.90.40.6\r\nOpenSSH_7.4p1, LibreSSL 2.5.0\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: Connecting to 10.90.40.6 [10.90.40.6] port 22.\r\ndebug1: Connection established.\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file bosh.pem type -1\r\ndebug1: key_load_public: No such file or directory\r\ndebug1: identity file bosh.pem-cert type -1\r\ndebug1: Enabling compatibility mode for protocol 2.0\r\ndebug1: Local version string SSH-2.0-OpenSSH_7.4\r\ndebug1: Remote protocol version 2.0, remote software version OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.10\r\ndebug1: match: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.10 pat OpenSSH_6.6.1* compat 0x04000000\r\ndebug1: Authenticating to 10.90.40.6:22 as 'vcap'\r\ndebug1: SSH2_MSG_KEXINIT sent\r\ndebug1: SSH2_MSG_KEXINIT received\r\ndebug1: kex: algorithm: curve25519-sha256@libssh.org\r\ndebug1: kex: host key algorithm: ecdsa-sha2-nistp256\r\ndebug1: kex: server->client cipher: aes128-ctr MAC: umac-128-etm@openssh.com compression: none\r\ndebug1: kex: client->server cipher: aes128-ctr MAC: umac-128-etm@openssh.com compression: none\r\ndebug1: expecting SSH2_MSG_KEX_ECDH_REPLY\r\ndebug1: Server host key: ecdsa-sha2-nistp256 \r\ndebug1: Host '10.90.40.6' is known and matches the ECDSA host key.\r\ndebug1: Found key in /Users/sflint/.ssh/known_hosts:1\r\ndebug1: rekey after 4294967296 blocks\r\ndebug1: SSH2_MSG_NEWKEYS sent\r\ndebug1: expecting SSH2_MSG_NEWKEYS\r\ndebug1: SSH2_MSG_NEWKEYS received\r\ndebug1: rekey after 4294967296 blocks\r\ndebug1: SSH2_MSG_SERVICE_ACCEPT received\r\nUnauthorized use is strictly prohibited. All access and activity\r\nis subject to logging and monitoring.\r\ndebug1: Authentications that can continue: publickey,password\r\ndebug1: Next authentication method: publickey\r\ndebug1: Trying private key: bosh.pem\r\ndebug1: Authentications that can continue: publickey,password\r\ndebug1: Next authentication method: password\r\nvcap@10.90.40.6's password:\r\n```"},"comment":{"url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/comments/370026161","html_url":"https://github.com/cloudfoundry/bosh-deployment/issues/203#issuecomment-370026161","issue_url":"https://api.github.com/repos/cloudfoundry/bosh-deployment/issues/203","id":370026161,"user":{"login":"fewknow","id":22297806,"avatar_url":"https://avatars2.githubusercontent.com/u/22297806?v=4","gravatar_id":"","url":"https://api.github.com/users/fewknow","html_url":"https://github.com/fewknow","followers_url":"https://api.github.com/users/fewknow/followers","following_url":"https://api.github.com/users/fewknow/following{/other_user}","gists_url":"https://api.github.com/users/fewknow/gists{/gist_id}","starred_url":"https://api.github.com/users/fewknow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fewknow/subscriptions","organizations_url":"https://api.github.com/users/fewknow/orgs","repos_url":"https://api.github.com/users/fewknow/repos","events_url":"https://api.github.com/users/fewknow/events{/privacy}","received_events_url":"https://api.github.com/users/fewknow/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T19:25:08Z","updated_at":"2018-03-02T19:25:08Z","author_association":"NONE","body":"@dpb587-pivotal \r\nI confirmed this, the pem was not the issue.  However it was my mistake as I was using a public subnet so ssh was block internally by our firewall.  I have update the the subnet CIDR block and but now I am getting \r\n\r\n```Deploying:\r\n  Creating instance 'bosh/0':\r\n    Waiting until instance is ready:\r\n      Post https://mbus:<redacted>@10.90.36.6:6868/agent: x509: certificate is valid for 10.90.40.6, not 10.90.36.6\r\n\r\nExit code 1```  The 10.90.40.6 was the old IP for the director that was in the public CIDR block.   I deleted the old director but it seems to have cached or saved something somewhere.  How do I get around this issue?  \r\n\r\nTHanks"}}
{"actor":{"display_login":"fewknow"}}