BBR TAS restore is failing
search cancel

BBR TAS restore is failing

book

Article ID: 298077

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

When restoring TAS, in step 14 of our docs, the process fails with following error:
failed to find instances for deployment cf-abcdea595994c8312r34d: failed to check os: ssh.Run failed: ssh.Stream failed: ssh.Dial failed: ssh: handshake failed: ssh: unable to authenticate, attempted methods [publickey none], no supported methods remain


Environment

Product Version: 2.8

Resolution

This happens because there is a VM where bosh cannot ssh. To identify that VM, run following command:

bosh -e <env> -d <cf-deployment> ssh -c "exit"


Alternatively, you can run the following one-liner script:

for i in `bosh -e <env> -d <cf-deployment> vms | awk '{print $1}'`; do bosh -e <env> -d <cf-deployment> ssh $i exit; done

 

Also, substitute <env> and <cf-deployment> with your env and your cf deployment respectively. If you use "export" instead of -e, then you don't need the -e option. That should identify which VM's are failing to ssh from bosh. Then do 'bosh restart' on those VM's and that should solve the issue and make the bbr command succeed. 

If bosh restart fails, try to restart the VM from IaaS view. If nothing of the above works, open a ticket with our support team.