Skip to content
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

SSH - Manual_provisioning_WinMacIntel - Warning: Authentication failure. Retrying... #153

Open
m3talliz3d opened this issue Oct 14, 2023 · 0 comments

Comments

@m3talliz3d
Copy link

Hello Imran,

Thank you for the effort on the course.

I am having issue when deploying VMs using vagrant up inside directory "Manual_provisioning_WinMacIntel" I receive the below error

OS version : "22.04.3 LTS (Jammy Jellyfish)"
Vagrant version:      2.2.9 (Installed host manager plugin)
VirtualBox version:  6.1.38_Ubuntu r153438
vagrant up
Bringing machine 'db01' up with 'virtualbox' provider...
Bringing machine 'mc01' up with 'virtualbox' provider... 
Bringing machine 'rmq01' up with 'virtualbox' provider...
Bringing machine 'app01' up with 'virtualbox' provider...
Bringing machine 'web01' up with 'virtualbox' provider...
==> db01: Importing base box 'eurolinux-vagrant/centos-stream-9'...
==> db01: Matching MAC address for NAT networking...
==> db01: Checking if box 'eurolinux-vagrant/centos-stream-9' version '9.0.31' is up to date...
==> db01: Setting the name of the VM: Manual_provisioning_WinMacIntel_db01_1697287429073_51838
==> db01: Clearing any previously set network interfaces...
==> db01: Preparing network interfaces based on configuration...
    db01: Adapter 1: nat
    db01: Adapter 2: hostonly
==> db01: Forwarding ports...
    db01: 22 (guest) => 2222 (host) (adapter 1)
==> db01: Running 'pre-boot' VM customizations...
==> db01: Booting VM...
==> db01: Waiting for machine to boot. This may take a few minutes...
    db01: SSH address: 127.0.0.1:2222
    db01: SSH username: vagrant
    db01: SSH auth method: private key
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
    db01: Warning: Authentication failure. Retrying...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.

If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.

If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.

If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.

Steps performed and yet still failed:

Follow below steps
vagrant destroy --force
rm -rf .vagrant

Open virtualbox and delete all the vm, right click, delete all files.
Then run below command

vagrant global-status --prune

Run below command and uninstall any plugin if found.
vagrant plugin list
vagrant plugin uninstall pluginname

Uninstall vagrant and virtualbox, download and install latest from below link, reboot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant