VMware Workspace ONE Community
ydacentec
Contributor
Contributor

Horizon Workspace: installation wizard fails with SSH error

Hi all

  • I have deployed the OVA file for Horizon Workspace via the vSphere Client.
  • I started then the console of configurator-va.
  • I answered the questions in the Horizon Workspace Installation Wizard inside the console.
  • The wizard starts starting the other deployed VMs.
  • Then the wizards exits with following error:

Configuring ssh for VMs

Runtime error!

ssh failed: scp failed.

success

success

success

success

success

success

success

success

success

Failed to configure VMs in the vApp. Contact VMware support.

Exit code: 1

You will need to redeploy the Application

Screenshot in attachment.

Has anyone a suggestion what could have gone wrong? Where can I find any log file?

Kind regards

Yannick

18 Replies
ydacentec
Contributor
Contributor

Some additional info:

I booted configurator-va via an Ubuntu life cd to get some logging for its disk (I mounted the disk).

  • In opt/vmware/var/log/configurator.log, there was no more information as I had on the output of my screen.
  • Grepping for ssh in opt/vmware/var/log resulted in no additional files
  • Grepping for ssh in var/log resulted in following:

ubuntu@ubuntu:/mnt/hd$ sudo grep -ri ssh var/log

(...)

var/log/warn:Mar 21 15:09:47 localhost sshd[5490]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
var/log/warn:Mar 21 15:09:47 localhost sshd[5490]: error: Bind to port 22 on :: failed: Address already in use.
var/log/warn:Mar 21 15:09:47 localhost sshd[5490]: fatal: Cannot bind any address.

Maybe this can help someone to have a clue why the install is failing?

Kind regards

Yannick

0 Kudos
pbjork
VMware Employee
VMware Employee

I see a lot of localhost.localdom in your screen shot. This indicates an issue with your DNS setup. Can you make sure you have proper DNS records for all your appliances and corresponding PTR records?

0 Kudos
sravuri
VMware Employee
VMware Employee

It looks like vcenter is returning the hostname for those VMs as localhost.localdom.

Please check your networking configuration.

0 Kudos
ydacentec
Contributor
Contributor

Thanks for the hints.

At the start of the wizard, all the DNS (reverse) lookups were checked by the wizard and they were correct:

DNS-check.PNG

Now, I am still in the live cd on the configurator-va VM, and DNS (reverse) lookup works as expected:

ubuntu@ubuntu:~$ for fqdn in `cat fqdn`; do host $fqdn; done
horizon-esxi.daas.com has address 172.19.12.111
horizon-vcenter.daas.com has address 172.19.12.112
horizon-gateway.daas.com has address 172.19.12.113
horizon-configurator-va.daas.com has address 172.19.12.114
horizon-service-va.daas.com has address 172.19.12.115
horizon-connector-va.daas.com has address 172.19.12.116
horizon-data-va.daas.com has address 172.19.12.117

ubuntu@ubuntu:~$ for ip in `cat ips`; do host $ip; done
111.12.19.172.in-addr.arpa domain name pointer horizon-esxi.daas.com.
112.12.19.172.in-addr.arpa domain name pointer horizon-vcenter.daas.com.
113.12.19.172.in-addr.arpa domain name pointer horizon-gateway.daas.com.
114.12.19.172.in-addr.arpa domain name pointer horizon-configurator-va.daas.com.
115.12.19.172.in-addr.arpa domain name pointer horizon-service-va.daas.com.
116.12.19.172.in-addr.arpa domain name pointer horizon-connector-va.daas.com.
117.12.19.172.in-addr.arpa domain name pointer horizon-data-va.daas.com.

The networking is rather straight forward:

  • Networking on ESXi node:

Networking.PNG

  • IP pool on Datacenter

IP-pool.PNG

Has anyone hints on which other aspect of the networking it could have gone wrong?

0 Kudos
tjb627
Contributor
Contributor

I've tried 2 or 3 times to deploy Horizon Workspace and I get the same error.  All the DNS lookups complete succesfully, I answer all questions in the wizard and then I eventually get the "Failed to configure VMs in the vApp.  Contact VMware Support" message.  If you figure this issue out please share.

0 Kudos
tjb627
Contributor
Contributor

I figured out my problem.  I was missing the DNS Search Path entry on my IP Pool.  After adding that and redeploying the OVF the configurator was able to finish it's wizard.

ydacentec
Contributor
Contributor

I am not that lucky. I tried following DSN IP-pool configurations:

  1. IPv4 DNS Servers (172.19.0.1)
  2. IPv4 DNS Servers (172.19.0.1), DNS Domain (daas.com)
  3. IPv4 DNS Servers (172.19.0.1), DNS Search Path (daas.com)
  4. IPv4 DNS Servers (172.19.0.1), DNS Domain (daas.com), DNS Search Path (daas.com)

Unfortunately, none of them worked (always the same ssh error).

0 Kudos
ToWka
Contributor
Contributor

Try to search old horizon VM's in your vSphere infrastructure and delete them.

0 Kudos
LeeUSMC88
VMware Employee
VMware Employee

Did you find a resolution?

0 Kudos
admin
Immortal
Immortal

Unfortunately not yet...

0 Kudos
MvanZutphen
Contributor
Contributor

I have the same problem, did you find a resolution?

0 Kudos
Tvirtual4
Contributor
Contributor

I was getting the same error. What worked for me was to use a complex password with special characters for the password used for VMs. Another tip is to make a snapshot of the configurator-va and all other -va VMs prior to running the configuratar-va setup from the console and if it bombs just revert all to previous snapshot and try again.

0 Kudos
LeeUSMC88
VMware Employee
VMware Employee

I believe it is different between the two versions - 1.0 It normally comes down to the dormant extensions or password complexity.  1.5 had an issue with the installer, they are putting out a new download this week.

0 Kudos
MvanZutphen
Contributor
Contributor

The new installer is online (horizon-workspace-1.5.0-1318295.ova) and the horizon workspace installer is working now for meSmiley Happy

0 Kudos
mcmcomput
Contributor
Contributor

BTW... This issue is resolved in the latest releases, however there is a KB article on a workaround. VMware KB: Installing VMware Horizon Workspace 1.5.0 Build 1220937 fails with the error: WARNING: Yo...

0 Kudos
jsb197
Contributor
Contributor

Is there anyone that has a resolution to this? Tried everything in all posts, all combinations of DNS imaginable, with no luck, same error in the original post. DNS resolutions work normal, all records in place and resolvable, vapp deploys, but initial configuration dies with the same ssh/scp , runtime error.  Removed all old extensions from vcenter as well after each failure. I'm at a loss on this one.

I have made it further at times when changing the DNS search path in the IP pool to another domain in our DNS, both matching the DNS name used for the vapp VM's and not matching, but eventually still fails during initial configuration no matter how I mix it up.

Tried complex passwords, simple ones, etc. Nothing changes.

0 Kudos
sravuri
VMware Employee
VMware Employee

Can you confirm the build number you are using, please?

Also, a webex may help. Can you send me a private message to let me know what time works?

0 Kudos
joernmeyer
Contributor
Contributor

There is an error in the 1220937 Build

To work around this issue, remove the expiration from the password.

To remove the expiration from the password, perform these steps:

Note: Perform the steps after deploying the OVA and before you run the Command-Line Interface on configurator-va.

  1. Power on the vApp. Note that the Configurator-va is powered on. 
  2. Power on the other virtual appliances (VAs). 
  3. On each VA except the Configurator-va, log in as root on the console.

    Note: The default password is vmware.

  4. Verify that the password has expired by running the command:

    chage -l configurator

    Note: The Password Expires value displays a date in the past.

  5. Remove the expiration date using the command:

    chage -M -1 configurator

  6. To confirm that the password no longer has an expiration date, run the command:

    chage -l configurator

    You see the output:

    Password Expires: Never

  7. Shut down all of the VAs except the Configurator-va. 
  8. You can now use the Command-Line Interface on the Configurator-va.

VMware KB: Installing VMware Horizon Workspace 1.5.0 or deploying a new VMware Horizon Workspace Dat...

0 Kudos