Vagrant: Advertencias de Ruby sobre "tipo de elemento incorrecto"

Creado en 9 nov. 2016  ·  3Comentarios  ·  Fuente: hashicorp/vagrant

Versión vagabunda

vagabundo 1.8.7

Sistema operativo anfitrión

Darwin Thrills-iMac 15.6.0 Darwin Kernel Versión 15.6.0: jueves 1 de septiembre 15:01:16 PDT 2016; raíz:xnu-3248.60.11 ~2/RELEASE_X86_64 x86_64

Sistema operativo invitado

Linux localhost.localdomain 3.10.0-327.3.1.el7.x86_64 #1 SMP miércoles 9 de diciembre 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

archivo vagabundo

( n / a Esto sucede incluso antes de que haga un Vagrant Up. Sucede cuando estoy instalando complementos con la instalación de complementos vagabundos)

Salida de depuración

Proporcione un enlace a GitHub Gist que contenga la salida de depuración completa:
https://www.vagrantup.com/docs/other/debugging.html. La salida de depuración debería
ser muy largo NO pegue la salida de depuración en el problema, solo pegue el
enlace a la esencia.

[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)'!

Comportamiento esperado

¿Qué debería haber pasado?

Parece funcionar, pero no esperaba todos estos mensajes de error de Ruby

Comportamiento real

¿Lo que realmente pasó?

A pesar de las advertencias, todo parece funcionar.

pasos para reproducir

  1. Instalar vagabundo 1.8.7
  2. Ejecute un comando de instalación de complemento
  3. Ver las advertencias rubí

Referencias

Comentario más útil

Bajé a 1.8.6 y este problema desapareció (así como mi otro problema de no poder agregar un cuadro localmente o desde el atlas de hashicorp)

¡Creo que tal vez 1.8.7 debería retirarse!

Todos 3 comentarios

Tiene el mismo problema con vagabundo 1.8.7 .
Ubuntu 16.04.1 amd64
1) Descargar salt-vagrant-demo git repo.
2) discos compactos salt-vagrant-demo .
3) Ejecute vagrant status (recibirá una advertencia).
4) Ejecute vagrant up (obtendrá una excepción).
Vuelve a rastrear aquí:
Ver esencia para más información

Bajé a 1.8.6 y este problema desapareció (así como mi otro problema de no poder agregar un cuadro localmente o desde el atlas de hashicorp)

¡Creo que tal vez 1.8.7 debería retirarse!

Voy a bloquear este problema porque ha estado cerrado por _30 días_ ⏳. Esto ayuda a nuestros mantenedores a encontrar y concentrarse en los problemas activos.

Si ha encontrado un problema que parece similar a este, abra un nuevo problema y complete la plantilla de problema para que podamos capturar todos los detalles necesarios para investigar más a fondo.

¿Fue útil esta página
0 / 5 - 0 calificaciones