ansible-for-devops icon indicating copy to clipboard operation
ansible-for-devops copied to clipboard

The box 'geerlingguy/centos7' could not be found

Open Scizray opened this issue 3 years ago • 2 comments

Hello I'm getting this error in vagrant version 2.3.0

Command I used:

vagrant init geerlingguy/centos7 vagrant up

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'geerlingguy/centos7' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
The box 'geerlingguy/centos7' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

URL: ["https://vagrantcloud.com/geerlingguy/centos7"]
Error: schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.

Scizray avatar Aug 28 '22 06:08 Scizray

Strange... the box is still there: https://app.vagrantup.com/geerlingguy/boxes/centos7

geerlingguy avatar Aug 28 '22 14:08 geerlingguy

I may try to rebuild the base boxes today and see if that helps.

geerlingguy avatar Aug 28 '22 17:08 geerlingguy

As an alternative, you can use the generic repo which has most distros + supports most providers. Here's the link to the centos7 one: https://app.vagrantup.com/generic/boxes/centos7

ossie-git avatar Oct 20 '22 22:10 ossie-git

As an alternative, you can use the generic repo which has most distros + supports most providers. Here's the link to the centos7 one: https://app.vagrantup.com/generic/boxes/centos7

naa bro not working image

riyazd19 avatar Nov 08 '22 15:11 riyazd19

Both of these boxes work for me. In one foldler I did vagrant init geerlingguy/centos7 and then vagrant up. In another folder I did vagrant init generic/centos7, and then vagrant up. Both of them worked just fine. I'm on Windows 10 with Git Bash and VirtualBox 7.0. It also worked under Ubuntu on WSL 2. I'm located in the U.S., in case that makes a difference.

rclilly avatar Nov 08 '22 17:11 rclilly

As an alternative, you can use the generic repo which has most distros + supports most providers. Here's the link to the centos7 one: https://app.vagrantup.com/generic/boxes/centos7

naa bro not working image

This issue is related to certificate check.

config.vm.box_download_insecure = true

Add this in vagrantfile and it will work.

Scizray avatar Nov 08 '22 17:11 Scizray

Heyy @Scizray are you logged in in vagrant ??

DdeathCoder avatar Nov 24 '22 17:11 DdeathCoder

Heyy @Scizray are you logged in in vagrant ??

Yes, VM is up and running and I'm able to SSH into it.

Scizray avatar Nov 24 '22 17:11 Scizray

So why the issue is open ?

DdeathCoder avatar Nov 24 '22 17:11 DdeathCoder

So why the issue is open ?

I had forgotten about this and then someone posted about same issue, so kept open for awhile.

Scizray avatar Nov 24 '22 17:11 Scizray

I am also experiencing same issue... I was able to load the file but at the point of turning it up. i am getting same error "default: Box 'geerlingguy/centos7' could not be found. Attempting to find and install..."

KejiOyetunde avatar Dec 06 '23 19:12 KejiOyetunde