Comments (13)
What does this say?
vagrant --version
from capsulecorp-pentest.
eofc@DESKTOP-8C5AIAA:~/ssh$ vagrant --version
Vagrant 2.2.6
from capsulecorp-pentest.
I resover this problem using
git pull
vagrant destroy goku
vagrant up goku
vagrant provision goku
from capsulecorp-pentest.
Give the above recommendation a try after upgrading to the latest vagrant version 2.2.19
from capsulecorp-pentest.
I could not upgrade to version 2.2.19:
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$ sudo apt install --only-upgrade vagrant
Reading package lists... Done
Building dependency tree
Reading state information... Done
vagrant is already the newest version (2.2.6+dfsg-2ubuntu3).
The following package was automatically installed and is no longer required:
libfwupdplugin1
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$ vagrant --version
Vagrant 2.2.6
from capsulecorp-pentest.
above recomendations didnt help me:
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$ vagrant destroy goku
goku: Are you sure you want to destroy the 'goku' VM? [y/N] y
==> goku: Forcing shutdown of VM...
==> goku: Destroying VM and associated drives...
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$ vagrant up goku
Bringing machine 'goku' up with 'virtualbox' provider...
==> goku: Running provisioner: ansible...
Vagrant gathered an unknown Ansible version:
ansible [core 2.12.6]
config file = None
configured module search path = ['/home/eofc/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/eofc/.local/lib/python3.8/site-packages/ansible
ansible collection location = /home/eofc/.ansible/collections:/usr/share/ansible/collections
executable location = /home/eofc/.local/bin/ansible
python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
jinja version = 2.10.1
libyaml = True
and falls back on the compatibility mode '1.8'.
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
goku: Running ansible-playbook...
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks
instead. This feature will be removed in version 2.16. Deprecation warnings can
be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY [goku] ********************************************************************
TASK [Gathering Facts] *********************************************************
fatal: [goku]: UNREACHABLE! => {"changed": false, "msg": "plaintext: HTTPConnectionPool(host='127.0.0.1', port=55985): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f42245d5ee0>: Failed to establish a new connection: [Errno 111] Connection refused'))", "unreachable": true}
PLAY RECAP *********************************************************************
goku : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$ vagrant up goku
Bringing machine 'goku' up with 'virtualbox' provider...
==> goku: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> goku: flag to force provisioning. Provisioners marked to run always will still run.
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$ vagrant provision goku
==> goku: Running provisioner: ansible...
Vagrant gathered an unknown Ansible version:
ansible [core 2.12.6]
config file = None
configured module search path = ['/home/eofc/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/eofc/.local/lib/python3.8/site-packages/ansible
ansible collection location = /home/eofc/.ansible/collections:/usr/share/ansible/collections
executable location = /home/eofc/.local/bin/ansible
python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
jinja version = 2.10.1
libyaml = True
and falls back on the compatibility mode '1.8'.
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
goku: Running ansible-playbook...
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks
instead. This feature will be removed in version 2.16. Deprecation warnings can
be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY [goku] ********************************************************************
TASK [Gathering Facts] *********************************************************
fatal: [goku]: UNREACHABLE! => {"changed": false, "msg": "plaintext: HTTPConnectionPool(host='127.0.0.1', port=55985): Max retries exceeded with url: /wsman (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f8817094ee0>: Failed to establish a new connection: [Errno 111] Connection refused'))", "unreachable": true}
PLAY RECAP *********************************************************************
goku : ok=0 changed=0 unreachable=1 failed=0 skipped=0 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
eofc@DESKTOP-8C5AIAA:/mnt/c/capsulecorp-pentest$
from capsulecorp-pentest.
"Getting ready" never change:
from capsulecorp-pentest.
As soon as i do vagrant up after destroy
/mnt/c/capsulecorp-pentest$ vagrant up goku
Bringing machine 'goku' up with 'virtualbox' provider...
==> goku: Box 'StefanScherer/windows_2019' could not be found. Attempting to find and install...
goku: Box Provider: virtualbox
goku: Box Version: >= 0
==> goku: Loading metadata for box 'StefanScherer/windows_2019'
goku: URL: https://vagrantcloud.com/StefanScherer/windows_2019
==> goku: Adding box 'StefanScherer/windows_2019' (v2021.05.15) for provider: virtualbox
goku: Downloading: https://vagrantcloud.com/StefanScherer/boxes/windows_2019/versions/2021.05.15/providers/virtualbox.box
==> goku: Successfully added box 'StefanScherer/windows_2019' (v2021.05.15) for 'virtualbox'!
==> goku: Importing base box 'StefanScherer/windows_2019'...
==> goku: Matching MAC address for NAT networking...
==> goku: Setting the name of the VM: ccpt_goku
==> goku: Clearing any previously set network interfaces...
==> goku: Preparing network interfaces based on configuration...
goku: Adapter 1: nat
goku: Adapter 2: hostonly
==> goku: Forwarding ports...
goku: 3389 (guest) => 3389 (host) (adapter 1)
goku: 5985 (guest) => 55985 (host) (adapter 1)
goku: 5986 (guest) => 55986 (host) (adapter 1)
goku: 22 (guest) => 2222 (host) (adapter 1)
==> goku: Running 'pre-boot' VM customizations...
==> goku: Booting VM...
==> goku: Waiting for machine to boot. This may take a few minutes...
goku: WinRM address: 127.0.0.1:55985
goku: WinRM username: vagrant
goku: WinRM execution_time_limit: PT2H
goku: WinRM transport: plaintext
==> goku: Machine booted and ready!
==> goku: Checking for guest additions in VM...
==> goku: Setting hostname...
==> goku: Waiting for machine to reboot...
==> goku: Configuring and enabling network interfaces...
==> goku: Running provisioner: ansible...
goku: Running ansible-playbook...
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks
instead. This feature will be removed in version 2.16. Deprecation warnings can
be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY [goku] ********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [goku]
TASK [promotedc : Enable Remote Desktop] ***************************************
changed: [goku]
TASK [promotedc : Make sure admin user is set] *********************************
changed: [goku]
TASK [promotedc : Install Active Directory Services] ***************************
changed: [goku]
TASK [promotedc : Ensure the domain exists] ************************************
changed: [goku]
TASK [promotedc : Reboot server after domain install] **************************
changed: [goku]
TASK [promotedc : Wait for domain controller to be ready] **********************
changed: [goku]
TASK [promotedc : Promote goku to domain controller] ***************************
ok: [goku]
TASK [promotedc : Reboot after dc promotion] ***********************************
skipping: [goku]
TASK [promotedc : Set DA user account information] *****************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at Microsoft.ActiveDirectory.Management.Commands.ADCmdletBase`1.ProcessRecord()
fatal: [goku]: FAILED! => {"changed": false, "msg": "Unhandled exception while executing module: Unable to find a default server with Active Directory Web Services running."}
PLAY RECAP *********************************************************************
goku : ok=8 changed=6 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
I does vagrant ...
provision
/mnt/c/capsulecorp-pentest$ vagrant provision goku
==> goku: Running provisioner: ansible...
goku: Running ansible-playbook...
[DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks
instead. This feature will be removed in version 2.16. Deprecation warnings can
be disabled by setting deprecation_warnings=False in ansible.cfg.
PLAY [goku] ********************************************************************
TASK [Gathering Facts] *********************************************************
[WARNING]: Error during machine sid retrieval: The network address is invalid.
ok: [goku]
TASK [promotedc : Enable Remote Desktop] ***************************************
changed: [goku]
TASK [promotedc : Make sure admin user is set] *********************************
fatal: [goku]: FAILED! => {"changed": true, "msg": "Failed to remove Domain Users: Exception calling \"Remove\" with \"1\" argument(s): \"This operation is not allowed on this special group.\r\n\""}
PLAY RECAP *********************************************************************
goku : ok=2 changed=1 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
vagrant prevision goku --debug
...
...
INFO interface: Machine: error-exit ["VagrantPlugins::Ansible::Errors::AnsibleCommandFailed", "Ansible failed to complete successfully. Any error output should be\nvisible above. Please fix these errors and try again."]
from capsulecorp-pentest.
TASK [promotedc : Make sure admin user is set] *********************************
fatal: [goku]: FAILED! => {"changed": false, "msg": "Failed to remove Domain Users: Exception calling \"Remove\" with \"1\" argument(s): \"This operation is not allowed on this special group.\r\n\""}
from capsulecorp-pentest.
@neto1920 any solution with "Failed to remove Domain Users: Exception calling \"Remove\" with \"1\" argument(s): \"This operation is not allowed on this special group.\r\n\"
?
from capsulecorp-pentest.
@neto1920 any solution with
"Failed to remove Domain Users: Exception calling \"Remove\" with \"1\" argument(s): \"This operation is not allowed on this special group.\r\n\"
?
I'm waiting for a solution. All time I must do vagrant destroy Goku
and vagrant up Goku
. When I use again vagrant up goku
return this error.
from capsulecorp-pentest.
Sorry I haven't been responsive on Github issue tracker. It's easier to reach me on Discord!
from capsulecorp-pentest.
This is CapsuleCorp garbage ... O my God...
Wasted 2 days of my life trying to get this crap working.
What a disappointment.
from capsulecorp-pentest.
Related Issues (20)
- [ERROR] pentest: metasploit HOT 8
- TASK [joindomain : Join the capsulecorp.local domain] HOT 1
- "Gohun" error SqlServerConfiguration HOT 1
- "Vegeta" error on joining the capsulecorp.local domain HOT 1
- "Goku" provisioning fales on checking admin user HOT 4
- The specified host network collides with a non-hostonly network HOT 1
- "Gohan" provision: Undefined "windows reboot" handler HOT 1
- windows setup HOT 5
- Jenkins installation problem in Vegeta HOT 1
- Tomcat installation problems in Trunks HOT 1
- pentest unreachable HOT 1
- can't bring goku HOT 1
- Issue with gohan HOT 1
- The network addresses are not in the allowed ranges. HOT 1
- problem provision vm - goku HOT 1
- NUMBEST N DUMBEST SO FAR BONE MONEE EAT YOUR FACE(no it was sit on my/your face. HOT 1
- wrong Credential
- "Memory virtual quantity above maximum."
- Pnt
- Pentest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capsulecorp-pentest.