Vagrant: Ruby met en garde contre le "mauvais type d'élément"

Créé le 9 nov. 2016  ·  3Commentaires  ·  Source: hashicorp/vagrant

Version vagabonde

Vagabond 1.8.7

Système d'exploitation hôte

Darwin Thrills-iMac 15.6.0 Darwin Kernel Version 15.6.0 : jeu 1er septembre 15:01:16 PDT 2016 ; racine : xnu-3248.60.11 ~2/RELEASE_X86_64 x86_64

Système d'exploitation invité

Linux localhost.localdomain 3.10.0-327.3.1.el7.x86_64 #1 SMP Mer 9 décembre 14:09:15 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Vagrantfile

( n / a Cela se produit avant même que je fasse un Vagrant Up. Cela se produit lorsque j'installe des plugins avec une installation de plugin vagrant)

Sortie de débogage

Fournissez un lien vers un GitHub Gist contenant la sortie de débogage complète :
https://www.vagrantup.com/docs/other/debugging.html. La sortie de débogage devrait
être très long. Ne collez PAS la sortie de débogage dans le problème, collez simplement le
lien vers l'essentiel.

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

Comportement prévisible

Qu'aurait-il dû se passer ?

Cela semble fonctionner, mais je ne m'attendais pas à tous ces messages d'erreur ruby

Comportement réel

Que s'est-il réellement passé ?

Malgré les avertissements, tout semble fonctionner

Étapes à reproduire

  1. Installer Vagrant 1.8.7
  2. Exécutez une commande d'installation de plug-in
  3. Voir les avertissements rubis

Les références

Commentaire le plus utile

Je suis passé à la version 1.8.6 et ce problème a disparu (ainsi que mon autre problème d'impossibilité d'ajouter une boîte localement ou à partir de l'atlas hashicorp)

Je pense que la 1.8.7 devrait peut-être être retirée !

Tous les 3 commentaires

J'ai le même problème avec vagabond 1.8.7 .
Ubuntu 16.04.1 amd64
1) Téléchargez le dépôt git salt-vagrant-demo .
2) cd salt-vagrant-demo .
3) Exécutez vagrant status (vous recevrez un avertissement).
4) Exécutez vagrant up (obtiendra une exception).
Retour trace ici:
Voir l'essentiel pour plus d'informations

Je suis passé à la version 1.8.6 et ce problème a disparu (ainsi que mon autre problème d'impossibilité d'ajouter une boîte localement ou à partir de l'atlas hashicorp)

Je pense que la 1.8.7 devrait peut-être être retirée !

Je vais verrouiller ce sujet car il est fermé depuis _30 jours_ ⏳. Cela aide nos mainteneurs à trouver et à se concentrer sur les problèmes actifs.

Si vous avez trouvé un problème qui semble similaire à celui-ci, veuillez ouvrir un nouveau problème et compléter le modèle de problème afin que nous puissions capturer tous les détails nécessaires pour approfondir nos recherches.

Cette page vous a été utile?
0 / 5 - 0 notes