mediawiki-scalable bundle does not display mediawiki webpage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediawiki (Juju Charms Collection) |
New
|
Undecided
|
Jorge Castro |
Bug Description
I deployed the mediawiki-scalable bundle on my local VM system using the following environment:
local:
type: local
# root-dir holds the directory that is used for the storage files and
# database. The default location is $JUJU_HOME/
# $JUJU_HOME defaults to ~/.juju. Override if needed.
#
# root-dir: ~/.juju/local
# storage-port holds the port where the local provider starts the
# HTTP file server. Override the value if you have multiple local
# providers, or if the default port is used by another program.
#
# storage-port: 8040
# network-bridge holds the name of the LXC network bridge to use.
# Override if the default LXC network bridge is different.
#
#
# network-bridge: lxcbr0
# The default series to deploy the state-server and charms on.
# Make sure to uncomment the following option and set the value to
# precise or trusty as desired.
#
# default-series: precise
container: kvm
lxc-clone: true
The bundle came up OK, but when I tried to access the mediawiki webpage at the haproxy ip, it displayed the apache2 default page.
This seems to be due to some swapped relations in the bundle. Here is the original and fixed relations:
ORIGINAL:
relations:
- - mediawiki:cache
- memcached:cache
- - haproxy:
- mediawiki:website
- - mysql-slave:slave
- mysql:master
- - mediawiki:slave
- mysql-slave:db
FIXED:
relations:
- - "mediawiki:cache"
- "memcached:cache"
- - "haproxy:
- "mediawiki:website"
- - "mysql:master"
- "mysql-slave:slave"
- - "mediawiki:db"
- "mysql:db"
The fixed relations come up OK and you can display and edit the mediawiki webpage.
I will attempt to post the fix to bazaar ASAP
Related branches
affects: | charms → mediawiki (Juju Charms Collection) |
Changed in mediawiki (Juju Charms Collection): | |
assignee: | nobody → Jorge O. Castro (jorge) |