Page MenuHomePhabricator

Enabling the Echo Vagrant role doesn't work
Open, Needs TriagePublic

Description

I am trying to run:

$ vagrant roles enable echo
$ vagrant provision

I get the following output:

macaron:vagrant aaharoni$ vagrant roles enable echo
Ok. Run `vagrant provision` to apply your changes.
macaron:vagrant aaharoni$ vagrant provision
==> default: Running provisioner: lsb_check...
==> default: Running provisioner: puppet...
==> default: Running Puppet with site.pp...
==> default: Info: Loading facts in /vagrant/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
==> default: Info: Loading facts in /vagrant/puppet/modules/stdlib/lib/facter/pe_version.rb
==> default: Info: Loading facts in /vagrant/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
==> default: Info: Loading facts in /vagrant/puppet/modules/stdlib/lib/facter/root_home.rb
==> default: Warning: Scope(Class[Role::Echo]): Could not look up qualified variable '::mediawiki::multiwiki::extension_db_cluster'; class ::mediawiki::multiwiki has not been evaluated
==> default: Warning: Scope(Class[Role::Echo]): Could not look up qualified variable '::mediawiki::multiwiki::extension_cluster_shared_db_name'; class ::mediawiki::multiwiki has not been evaluated
==> default: Notice: Compiled catalog for mediawiki-vagrant.dev in environment production in 2.92 seconds
==> default: Error: Could not find dependency Mysql::Db[undef] for Mysql::Sql[create echo_unread_wikis] at /vagrant/puppet/modules/role/manifests/echo.pp:26
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

Event Timeline

Amire80 created this task.Apr 23 2016, 2:10 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 23 2016, 2:10 PM

What commit of Vagrant are you at?

rMWVA755639030d26: Make all hostnames configurable might have affected/fixed this.

Try enabling the centralauth role as well and re-provision.

Re-checked - enabling echo roles in vagrant without centralauth role seems to be working -no errors displayed and overall everything works as usual.