Vagrant: Avisos do Ruby sobre "tipo de elemento errado"

Criado em 9 nov. 2016  ·  3Comentários  ·  Fonte: hashicorp/vagrant

Versão Vagrant

Vagante 1.8.7

Sistema operacional hospedeiro

Darwin Thrills-iMac 15.6.0 Darwin Kernel Versão 15.6.0: Thu Set 1 15:01:16 PDT 2016; root:xnu-3248.60.11 ~2/RELEASE_X86_64 x86_64

Sistema operacional convidado

Linux localhost.localdomain 3.10.0-327.3.1.el7.x86_64 #1 SMP qua 9 de dezembro 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Vagrantfile

(n/a Isso acontece antes mesmo de eu fazer um Vagrant Up. acontece quando estou instalando plugins com vagrant plugin install)

Saída de depuração

Forneça um link para um GitHub Gist contendo a saída de depuração completa:
https://www.vagrantup.com/docs/other/debugging.html. A saída de depuração deve
ser muito longo. NÃO cole a saída de depuração no problema, apenas cole o
link para a essência.

[swirsky@Thrills-iMac vm-local-shared (develop)]$ vagrant plugin install salty-vagrant-grains
Installing the 'salty-vagrant-grains' plugin. This can take a few minutes...
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 0 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 1 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 2 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 3 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 4 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 5 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 6 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 7 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 8 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 9 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 10 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: wrong element type String at 11 (expected array)
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: ignoring wrong elements is deprecated, remove them explicitly
/opt/vagrant/embedded/gems/gems/vagrant-1.8.7/plugins/provisioners/salt/provisioner.rb:9: warning: this causes ArgumentError in the next release
Installed the plugin 'salty-vagrant-grains (0.0.2)'!

Comportamento esperado

O que deveria ter acontecido?

Parece funcionar, mas eu não esperava todas essas mensagens de erro do ruby

Comportamento real

O que realmente aconteceu?

Apesar dos avisos, tudo parece funcionar

Passos para reproduzir

  1. Instale o Vagrant 1.8.7
  2. Execute um comando de instalação de plug-in
  3. Veja os avisos de rubi

Referências

Comentários muito úteis

Fiz downgrade para 1.8.6 e esse problema foi embora (assim como meu outro problema de não conseguir adicionar uma caixa localmente ou do atlas hashicorp)

Eu acho que talvez 1.8.7 deva ser retirado!

Todos 3 comentários

Tenha o mesmo problema com vagrant 1.8.7 .
Ubuntu 16.04.1 amd64
1) Baixe o repositório git salt-vagrant-demo .
2) disco salt-vagrant-demo .
3) Execute vagrant status (receberá um aviso).
4) Execute vagrant up (receberá exceção).
Trace de volta aqui:
Veja a essência para mais informações

Fiz downgrade para 1.8.6 e esse problema foi embora (assim como meu outro problema de não conseguir adicionar uma caixa localmente ou do atlas hashicorp)

Eu acho que talvez 1.8.7 deva ser retirado!

Vou bloquear este problema porque ele está fechado há _30 dias_ ⏳. Isso ajuda nossos mantenedores a encontrar e se concentrar nos problemas ativos.

Se você encontrou um problema semelhante a este, abra um novo problema e preencha o modelo de problema para que possamos coletar todos os detalhes necessários para investigar mais detalhadamente.

Esta página foi útil?
0 / 5 - 0 avaliações