[VMware ESXi] Should MS ATA be already fully configured? #455
Comments
|
Well it seems that the gateway should be already installed and configured by the scripts, so here the full issue ...
Please verify that you are building from an updated Master branch before filing an issue. Output of the failing part in ansible is attached. |
|
@certrik Thanks for this report. It's really strange, if it's happening in ESXi, I imagine it should be happening everywhere since it's just calling the script. I don't have a spare ESXi to test from (I'm working on getting something for this) but looking through your output, I don't immediately understand why it's throwing that Powershell error |
|
As a wild guess, I think something goes wrong at
in Vagrant/scripts/install-microsoft-ata.ps1. This would explain
in the attached logfile. I will post my results. |
|
Didn't change anything. Don't know. Could it be a problem with this variable? |
|
I figured that
is all working. At least kind of. Running |
|
I'm rebuilding DetectionLab on my ESXi instance at the moment and will let you know if I'm able to reproduce this! |
|
@certrik - I wasn't able to reproduce that exact error, but ATA is definitely not configured correctly after the installation: I'm going to see if I can figure out why that's the case |
|
Scratch that, I'm totally able to reproduce this, error and everything. Digging into root cause now. |
|
The DC is throwing this error when the WEF host tries to remotely install the lightweight gateway:
Not sure if it's the root cause yet, but just noticed it was happening |
|
Changing: to
seems to resolve the installation problem, but now the DC is failing to start the gateway due to memory problems. I'm going to bump that and see if it resolves everything. |
|
Alrighty, got this working! Root cause: Not enough memory on the DC. The gateway service gets stuck in a reboot loop because it keeps hitting OOM errors. The error message I was seeing here was a red herring. Simply upping the RAM to DC to 4096mb and re-provisioning the WEF and DC hosts solved the problem completely:
|
|
It is a pitty but it still does not work for me. Installation of the Lightweight ATA Gateway still fails on the DC. |
|
@certrik can you take a look at the error logs for ATA on the DC? They're in Maybe it can provide some insight into why the DC is having issues |
|
I will have a look. |
|
Well ... the only file I can find in |
|
Can you try:
|
|
Wanted to let you know that the new script from 2708f4f fails at the ansible task but at least it was possible to install the Gateway manually via this script invoking it from WEF. |
If I remember correctly I executed the script from the WEF with administrative privileges (and did it again just now => it worked). Maybe thats the overall problem. I am no powershell specialist but maybe UAC does something fishy. |
|
I think I actually got it working but I had to seperate the installation of the MS ATA Center on the WEF and the installation of the MS ATA Lightweight Gateway on the DC into two ansible tasks with a reboot of the WEF machine in between. |
|
Hey @certrik - thanks for continuing to investigate this! I plan to dig into this and try to make the remote command process a little more robust and understand why it doesn't seem to work correctly when used with Ansible. Let me know if the IIS restart helps at all. |
|
Hi @clong I tried a lot of different stuff with no luck. It seems the only thing that is working is a reboot of the WEF between the installation of ATA Center on the WEF and the ATA Lightweight Gateway on the DC. |
|
Hey @certrik - I just pushed an update that fixed this for me. Would you be willing to try it out? |
|
Hi @clong - I have tested it but I am very sorry to report that it didn't work. |
|
Closing due to inactivity and my inability to reproduce this (multiple recent ESXi builds showed ATA connecting without issue after provisioning) |




Just a question ... Should MS ATA be already fully configured or is it normal that it asks the three configuration steps (Username/password for connection to AD forest; Download Gateway Setup and install Gateway; Configure the first gateway) when connecting the first time to https://192.168.38.103 - wef\vagrant:vagrant from e.g the Win10 box.
The text was updated successfully, but these errors were encountered: