-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Vagrant Up fails at is_env_set #12522
Comments
I've reproduced the same error with several different guest images. |
Hi there, The source of the error you are encountering is originating from a dependency of the vagrant plugin uninstall hostmanager Cheers |
Hi Chris,
Thank you for getting back to me. I am unfamiliar with that plugin “hostmaster” and I don’t have it installed. Could you possibly be referring to the “hostmanager” plugin?
Kevin Donahoe
Director, Transformation Practice
Intelligent Operations
310-765-0989
[signature_1870387825]
From: Chris Roberts ***@***.***>
Reply-To: hashicorp/vagrant ***@***.***>
Date: Monday, November 1, 2021 at 11:09 AM
To: hashicorp/vagrant ***@***.***>
Cc: Kevin Donahoe ***@***.***>, Author ***@***.***>
Subject: Re: [hashicorp/vagrant] Vagrant Up fails at is_env_set (#12522)
Hi there,
The source of the error you are encountering is originating from a dependency of the hostmaster RubyGem which you have installed. Removing that will resolve the issues you are encountering:
vagrant plugin uninstall hostmaster
Cheers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#12522 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVE6KZR37T45B4PDMUIARILUJ3JWRANCNFSM5EC2FQRA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@kpd31768 Yes, that is what I meant but I guess my fingers had a different idea 🙂 I updated my comment to the correct name. You have two hostmanager gems installed. |
Yes, thank you. I have removed that plugin and am testing.
Thank you for your assistance.
Kevin Donahoe
Director, Transformation Practice
Intelligent Operations
310-765-0989
[signature_1870387825]
From: Chris Roberts ***@***.***>
Reply-To: hashicorp/vagrant ***@***.***>
Date: Monday, November 1, 2021 at 11:22 AM
To: hashicorp/vagrant ***@***.***>
Cc: Kevin Donahoe ***@***.***>, Mention ***@***.***>
Subject: Re: [hashicorp/vagrant] Vagrant Up fails at is_env_set (#12522)
@kpd31768<https://github.com/kpd31768> Yes, that is what I meant but I guess my fingers had a different idea 🙂 I updated my comment to the correct name. You have two hostmanager gems installed. hostmanager and vagrant-hostmanager. The former is causing the problems (and is not a vagrant plugin) and the latter is the vagrant plugin I'm sure you were expecting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#12522 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AVE6KZQ3VR2YRHOH33C5Q7LUJ3LGBANCNFSM5EC2FQRA>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Please note that the Vagrant issue tracker is in priority reserved for bug reports and enhancements. For general usage questions, please use
HashiCorp Discuss: https://discuss.hashicorp.com/c/vagrant/24 Thank you!
When submitting a bug report, please provide the minimal configuration and required information necessary to reliably reproduce the issue. It
should include a basic Vagrantfile that only contains settings to reproduce the described behavior.
Tip: Before submitting your issue, don't hesitate to remove the above introductory text, possible empty sections (e.g. References), and this tip.
Vagrant version
Vagrant 2.2.18
Host operating system
MacOS 11.5.2
Guest operating system
CentOS 8 v2011.0
Vagrantfile
Debug output
<script src="https://gist.github.com/kpd31768/51077f83ca3cff8a7455213b17a9dd60.js"></script>Expected behavior
The virtual machine should have been started and configured with a NAT interface port mapped for SSH on the first NIC and a hostonly interface on the second NIC.
Actual behavior
Environment is discovered and a solution set is defined and stored
Solution set is activated
Plugins are loaded and registered
Determine version of VBoxManage
Load provider driver for VirtualBox version: 6.1.26
Run action: environment_plugins_loaded
Run action: environment_load
Box found: centos/8 (Virtualbox)
Initializing machine: criblworker01
Bringing machine 'criblmaster01' up with 'virtualbox' provider...
==> criblmaster01: Importing base box 'centos/8'...
Bringing machine 'criblworker01' up with 'virtualbox' provider...
==> criblworker01: Importing base box 'centos/8'...
Bringing machine 'criblworker02' up with 'virtualbox' provider...
==> criblworker02: Importing base box 'centos/8'...
Bringing machine 'criblworker03' up with 'virtualbox' provider...
==> criblworker03: Importing base box 'centos/8'...
Detecting any forwarded port collisions...
Clearing any previously set network interfaces...
Determining network adapters required for high-level configuration...
Determining adapters and compiling network configuration...
Searching for matching hostonly network: 192.168.100.60
Network not found. Creating if we can.
Created network: vboxnet0
Enabling adapters...
Preparing network interfaces based on configuration...
Forwarding ports...
22 (guest) => 2222 (host) (adapter 1)
Automatically figuring out whether to enable/disable NAT DNS proxy...
Checking if env is set: 'cloud_init'
Writing box metadata file...
Error occurred: undefined method `old_compare' for nil:NilClass
Beginning recovery process...
Steps to reproduce
vagrant up
References
None
The text was updated successfully, but these errors were encountered: