Last modified: 2014-07-11 16:37:40 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67066, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65066 - Commands list-roles, enable-role, etc do not work on Vagrant 1.6.x
Commands list-roles, enable-role, etc do not work on Vagrant 1.6.x
Status: RESOLVED FIXED
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
PC All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
https://github.com/mitchellh/vagrant/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-09 12:41 UTC by Robert Vogel
Modified: 2014-07-11 16:37 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Output of "vagrant list-roles --debug" on Vagrant 1.5.4 (33.19 KB, text/plain)
2014-05-09 22:41 UTC, FunPika
Details
Output of "vagrant list-roles --debug" on Vagrant 1.6.1 (19.18 KB, text/plain)
2014-05-09 22:48 UTC, FunPika
Details
Output of "vagrant list-roles --debug" on Vagrant 1.5.4 (16.59 KB, text/plain)
2014-05-09 22:51 UTC, FunPika
Details

Description Robert Vogel 2014-05-09 12:41:18 UTC
I've installed the latest version of vagrant (1.6.1) and followed the manual. Unfortunately the commands 'list-roles' and 'enable-role' did not show up when calling 'vagrant list-commands'.

The commands could not be executed either.

After downgrading to Vagrant 1.5.4 it worked. Maybe something has changed in the Vagrantfile synatx.
Comment 1 FunPika 2014-05-09 22:20:48 UTC
According to http://www.vagrantup.com/blog.html, "Vagrant 1.6 introduces no breaking backwards compatibilities".

However, I can confirm that this is also happening to me. This might instead be a regression in Vagrant 1.6 rather than a change in the Vagrantfile syntax.
Comment 2 FunPika 2014-05-09 22:41:47 UTC
Created attachment 15333 [details]
Output of "vagrant list-roles --debug" on Vagrant 1.5.4

Uploading output of "vagrant list-roles --debug" on Vagrant 1.5.4 (for comparison) on Kubuntu 14.04. I'll upload the output of the same command on Vagrant 1.6.1 in a moment.
Comment 3 FunPika 2014-05-09 22:48:01 UTC
Created attachment 15334 [details]
Output of "vagrant list-roles --debug" on Vagrant 1.6.1
Comment 4 FunPika 2014-05-09 22:51:53 UTC
Created attachment 15335 [details]
Output of "vagrant list-roles --debug" on Vagrant 1.5.4

Accidentally copy-pasted the 1.5.4 output twice. Reuploading without the redundancy and marking the first attachment obsolete.
Comment 5 FunPika 2014-05-12 23:22:57 UTC
This bug is still present after updating to Vagrant 1.6.2.
Comment 6 Ori Livneh 2014-05-13 16:39:33 UTC
I hope upstream will restore the ability to extend Vagrant from within Vagrantfile. See <https://github.com/mitchellh/vagrant/issues/3775>. In the meantime, we should look into alternate ways of distributing the plugin code.
Comment 7 Gerrit Notification Bot 2014-05-30 23:08:59 UTC
Change 136441 had a related patch set uploaded by Dduvall:
Packaged plugin as gem to allow local installation

https://gerrit.wikimedia.org/r/136441
Comment 8 Gerrit Notification Bot 2014-06-03 04:58:30 UTC
Change 136441 merged by jenkins-bot:
Packaged plugin as gem to allow local installation

https://gerrit.wikimedia.org/r/136441
Comment 9 Bryan Davis 2014-07-11 16:37:40 UTC
Thanks to Dan's hard work we now have the plugin packaged properly, a script to automate updating it in the user's Vagrant and a guard in the Vagrantfile to halt and tell the user how to update. Awesome.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links