-
Notifications
You must be signed in to change notification settings - Fork 741
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working - Windows - [-] 3 fails abort. [-] Something wrong during the provisioning task : build.yml - VMWARE #281
Comments
you can now retry :
and tell me if it's ok now :) |
HI , I have the same issue, but after I do git merge update and reinstall, the problem is still there. I check the host machine (my windows). It does not have route to 192.168.56.0/24. |
I achieved partial success. My first installation attempt was unsuccessful (because I didn't use administrative privileges). At that time, vmnet2 had already been set up, but there was no DHCP. I reconfigured VMware's vmnet2 network to use DHCP, and after that, the script was able to log in and execute commands. |
I have the same error: Windows Host and by following: https://orange-cyberdefense.github.io/GOAD/installation/windows/ Error:
|
Here "ssh: connect to host 192.168.56.3 port 22: Connection timed out" means the provisioning vm is not reachable.(don't know why) |
Hum weird, i will try to reproduce. |
GOAD-Light/vmware/vm/192.168.56.X (048df9-goad-light-vmware) > install
[] Launch providing
[] CWD: \workspace\048df9-goad-light-vmware\provider
[] Running command : vagrant.exe up
Bringing machine 'GOAD-Light-DC01' up with 'vmware_desktop' provider...
Bringing machine 'GOAD-Light-DC02' up with 'vmware_desktop' provider...
Bringing machine 'GOAD-Light-SRV02' up with 'vmware_desktop' provider...
Bringing machine 'PROVISIONING' up with 'vmware_desktop' provider...
==> GOAD-Light-DC01: Checking if box 'StefanScherer/windows_2019' version '2021.05.15' is up to date...
==> GOAD-Light-DC01: Machine is already running.
==> GOAD-Light-DC02: Checking if box 'StefanScherer/windows_2019' version '2021.05.15' is up to date...
==> GOAD-Light-DC02: Machine is already running.
==> GOAD-Light-SRV02: Checking if box 'StefanScherer/windows_2019' version '2021.05.15' is up to date...
==> GOAD-Light-SRV02: Machine is already running.
==> PROVISIONING: Checking if box 'bento/ubuntu-22.04' version '202309.08.0' is up to date...
==> PROVISIONING: Machine is already running.
[] Prepare jumpbox if needed
[] Launch scp C:\Users\feder\Downloads\GOAD\scripts\setup_local_jumpbox.sh -> [email protected]:~/setup.sh
[] CWD: \workspace\048df9-goad-light-vmware
[] Running command : scp -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key C:\Users\feder\Downloads\GOAD\scripts\setup_local_jumpbox.sh [email protected]:~/setup.sh
setup_local_jumpbox.sh 100% 771 753.7KB/s 00:00
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && sudo apt update && sudo apt install -y dos2unix"
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
164 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
dos2unix is already the newest version (7.4.2-2).
0 upgraded, 0 newly installed, 0 to remove and 164 not upgraded.
Connection to 192.168.56.3 closed.
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && dos2unix setup.sh"
dos2unix: converting file setup.sh to Unix format...
Connection to 192.168.56.3 closed.
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && bash setup.sh"
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.34.1-1ubuntu1.11).
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.4).
python3-venv is already the newest version (3.10.6-1~22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 164 not upgraded.
fatal: destination path '/home/vagrant/GOAD' already exists and is not an empty directory.
fatal: not a git repository (or any of the parent directories): .git
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /home/vagrant/.local/lib/python3.10/site-packages (24.2)
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.yml'
setup.sh: line 25: cd: /home/vagrant/GOAD/ansible: No such file or directory
setup.sh: line 26: /home/vagrant/.local/bin/ansible-galaxy: No such file or directory
Connection to 192.168.56.3 closed.
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && mkdir -p ~/GOAD/workspace/048df9-goad-light-vmware"
Connection to 192.168.56.3 closed.
[] Launch scp C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\instance.json ->
[email protected]:
/GOAD/workspace/048df9-goad-light-vmware/instance.json/GOAD/workspace/048df9-goad-light-vmware/instance.json[] CWD: \workspace\048df9-goad-light-vmware
[] Running command : scp -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\instance.json
[email protected]:
instance.json 100% 241 236.0KB/s 00:00
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && dos2unix
/GOAD/workspace/048df9-goad-light-vmware/instance.json"/GOAD/workspace/048df9-goad-light-vmware/inventorydos2unix: converting file /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/instance.json to Unix format...
Connection to 192.168.56.3 closed.
[*] Launch scp C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\inventory ->
[email protected]:
[] CWD: \workspace\048df9-goad-light-vmware
[] Running command : scp -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\inventory
[email protected]:
/GOAD/workspace/048df9-goad-light-vmware/inventory/GOAD/workspace/048df9-goad-light-vmware/inventory_disable_vagrantinventory 100% 558 662.1KB/s 00:00
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && dos2unix
/GOAD/workspace/048df9-goad-light-vmware/inventory"/GOAD/workspace/048df9-goad-light-vmware/inventory_disable_vagrantdos2unix: converting file /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory to Unix format...
Connection to 192.168.56.3 closed.
[*] Launch scp C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\inventory_disable_vagrant ->
[email protected]:
[] CWD: \workspace\048df9-goad-light-vmware
[] Running command : scp -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\inventory_disable_vagrant
[email protected]:
inventory_disable_vagrant 100% 1225 1.2MB/s 00:00
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd ~ && dos2unix ~/GOAD/workspace/048df9-goad-light-vmware/inventory_disable_vagrant"
dos2unix: converting file /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory_disable_vagrant to Unix format...
Connection to 192.168.56.3 closed.
[] Launch provisioning
[] Loading inventory
[+] Lab inventory : C:\Users\feder\Downloads\GOAD\ad\GOAD-Light\data\inventory file found
[+] Provider inventory : C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\inventory file found
[+] Global inventory : C:\Users\feder\Downloads\GOAD\globalsettings.ini file found
[] Loading playbook list
[+] build.yml file found
[+] ad-servers.yml file found
[+] ad-parent_domain.yml file found
[+] ad-child_domain.yml file found
[+] wait5m.yml file found
[+] ad-members.yml file found
[+] ad-trusts.yml file found
[+] ad-data.yml file found
[+] ad-gmsa.yml file found
[+] laps.yml file found
[+] ad-relations.yml file found
[+] adcs.yml file found
[+] ad-acl.yml file found
[+] servers.yml file found
[+] security.yml file found
[+] vulnerabilities.yml file found
[] Run playbook : build.yml with inventory file(s) : /home/vagrant/GOAD/ad/GOAD-Light/data/inventory,
/home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory, /home/vagrant/GOAD/globalsettings.ini
[] Running command : command
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd /home/vagrant/GOAD/ansible/ && /home/vagrant/.local/bin/ansible-playbook -i
/home/vagrant/GOAD/ad/GOAD-Light/data/inventory -i /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory -i
/home/vagrant/GOAD/globalsettings.ini build.yml"
bash: line 1: cd: /home/vagrant/GOAD/ansible/: No such file or directory
Connection to 192.168.56.3 closed.
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd /home/vagrant/GOAD/ansible/ && /home/vagrant/.local/bin/ansible-playbook -i
/home/vagrant/GOAD/ad/GOAD-Light/data/inventory -i /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory -i
/home/vagrant/GOAD/globalsettings.ini build.yml"
bash: line 1: cd: /home/vagrant/GOAD/ansible/: No such file or directory
Connection to 192.168.56.3 closed.
[] CWD:
[] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd /home/vagrant/GOAD/ansible/ && /home/vagrant/.local/bin/ansible-playbook -i
/home/vagrant/GOAD/ad/GOAD-Light/data/inventory -i /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory -i
/home/vagrant/GOAD/globalsettings.ini build.yml"
bash: line 1: cd: /home/vagrant/GOAD/ansible/: No such file or directory
Connection to 192.168.56.3 closed.
[] CWD:
[*] Running command : ssh -t -o StrictHostKeyChecking=no -i
C:\Users\feder\Downloads\GOAD\workspace\048df9-goad-light-vmware\provider.vagrant\machines\PROVISIONING\vmware_desktop
private_key [email protected] "cd /home/vagrant/GOAD/ansible/ && /home/vagrant/.local/bin/ansible-playbook -i
/home/vagrant/GOAD/ad/GOAD-Light/data/inventory -i /home/vagrant/GOAD/workspace/048df9-goad-light-vmware/inventory -i
/home/vagrant/GOAD/globalsettings.ini build.yml"
bash: line 1: cd: /home/vagrant/GOAD/ansible/: No such file or directory
Connection to 192.168.56.3 closed.
[-] 3 fails abort.
[-] Something wrong during the provisioning task : build.yml
GOAD-Light/vmware/vm/192.168.56.X (048df9-goad-light-vmware) >
The text was updated successfully, but these errors were encountered: