Skip to content

something wrong with the plugin installation when no plugin is installed #486

@hoatle

Description

@hoatle
[Plugin][INFO]: installing plugin: {"_id"=>"essential-0", "name"=>"vagrant-hostmanager", "version"=>"", "state"=>"installed", "config_key"=>"hostmanager", "enabled"=>true, "options"=>{"enabled"=>true, "manage_host"=>true, "manage_guest"=>true}}
/home/hoatle/k8s-dev/lib/teracy-dev/plugin.rb:19:in `block in sync'

[Plugin][INFO]: installing plugin: {"_id"=>"essential-0", "name"=>"vagrant-hostmanager", "version"=>"", "state"=>"installed", "config_key"=>"hostmanager", "enabled"=>true, "options"=>{"enabled"=>true, "manage_host"=>true, "manage_guest"=>true}}
/home/hoatle/k8s-dev/lib/teracy-dev/plugin.rb:19:in `block in sync'

Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

Unable to resolve dependency: user requested 'vagrant-hostmanager (> 0)'
hoatle~/k8s-dev$ vagrant plugin install vagrant-hostmanager
Installing the 'vagrant-hostmanager' plugin. This can take a few minutes...
Fetching: vagrant-hostmanager-1.8.9.gem (100%)
Installed the plugin 'vagrant-hostmanager (1.8.9)'!
hoatle~/k8s-dev$ vagrant plugin uninstall vagrant-hostmanager
Uninstalling the 'vagrant-hostmanager' plugin...
Successfully uninstalled vagrant-hostmanager-1.8.9
hoatle~/k8s-dev$ vagrant status
[Plugin][INFO]: installing plugin: {"_id"=>"essential-0", "name"=>"vagrant-hostmanager", "version"=>"", "state"=>"installed", "config_key"=>"hostmanager", "enabled"=>true, "options"=>{"enabled"=>true, "manage_host"=>true, "manage_guest"=>true}}
/home/hoatle/k8s-dev/lib/teracy-dev/plugin.rb:19:in `block in sync'

[Plugin][INFO]: installing plugin: {"_id"=>"essential-0", "name"=>"vagrant-hostmanager", "version"=>"", "state"=>"installed", "config_key"=>"hostmanager", "enabled"=>true, "options"=>{"enabled"=>true, "manage_host"=>true, "manage_guest"=>true}}
/home/hoatle/k8s-dev/lib/teracy-dev/plugin.rb:19:in `block in sync'

Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:

Unable to resolve dependency: user requested 'vagrant-hostmanager (> 0)'

It's expected that vagrant plugin config should work, but it's broken now. However, $ vagrant plugin install works, this is weird.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions