Last modified: 2014-07-16 16:51:38 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 T70103, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68103 - Can't enable hhvm role
Can't enable hhvm role
Status: RESOLVED INVALID
Product: MediaWiki-Vagrant
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Ori Livneh
: hhvm
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-16 13:55 UTC by Gilles Dubuc
Modified: 2014-07-16 16:51 UTC (History)
3 users (show)

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


Attachments

Description Gilles Dubuc 2014-07-16 13:55:19 UTC
I've encountered the following error when trying to provision after enabling the hhvm role:

err: /Stage[main]/Hhvm/Package[hhvm-fastcgi]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install hhvm-fastcgi' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 hhvm-fastcgi : Depends: hhvm (>= 2.3.0)
E: Unable to correct problems, you have held broken packages.
Comment 1 Bryan Davis 2014-07-16 15:18:33 UTC
Have you tried updating your checkout of mediawiki/vagrant.git? The hhvm role was removed in I1fb84f51a4f94f8adbc1785eb122dccd347a46ef (2014-07-03). `vagrant git-update` or just `git pull` in your vagrant directory should get you a lot of features and bug fixes. After updating the repo, run `./setup.sh` followed by `vagrant provision`.
Comment 2 Gilles Dubuc 2014-07-16 15:36:14 UTC
Ah yes, I keep forgetting to update the repo.

I now run into this:

vagrant provision
[default] Running provisioner: puppet...
Running Puppet with site.pp...
Could not parse options: invalid option: --hiera_config=/tmp/vagrant-puppet-1/hiera.yaml
Comment 3 Bryan Davis 2014-07-16 15:40:53 UTC
That sounds like you are still running an Ubuntu 12.04 base image. `vagrant destroy; vagrant up` should build you a new VM based on Ubuntu 14.04 with major updates such as Puppet 3.4.3, Apache 2.4.7 and HHVM 3.2.0.

We should probably add some sort of sanity check in our Vagrantfile that peeks at the guest OS version and warns about this problem.
Comment 4 Gilles Dubuc 2014-07-16 16:51:38 UTC
All good with the new vm created from scratch, thanks :)

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


Navigation
Links