The owncloud admin user and password are immutable.
Bug #1315047 reported by
Matt Bruzek
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
owncloud (Juju Charms Collection) |
Fix Released
|
High
|
José Antonio Rey |
Bug Description
While doing a review of other changes I noticed that the owncloud admin user and password is not accessed in config-changed. This breaks the Juju user experience for configuration options.
All configuration options should be referenced directly or indirectly from the config-changed hook or they are immutable. The user would expect to change any of the values with the "juju set" command
When a user runs a command:
juju set owncloud admin="matt"
juju set owncloud password="blah"
The user expects the password to change. But the password is only handled in the db-relation-changed which is not called from config-changed so the values are not updated after juju set.
Related branches
lp:~jose/charms/precise/owncloud/port-change+repo+ssl-support
- Charles Butler (community): Approve
- Matt Bruzek (community): Needs Fixing
-
Diff: 2050 lines (+1592/-251)18 files modifiedREADME.md (+110/-33)
charm-helpers.yaml (+5/-0)
config.yaml (+28/-0)
hooks/charmhelpers/contrib/ssl/__init__.py (+78/-0)
hooks/charmhelpers/contrib/ssl/service.py (+267/-0)
hooks/charmhelpers/core/hookenv.py (+401/-0)
hooks/charmhelpers/core/host.py (+297/-0)
hooks/config-changed (+153/-9)
hooks/db-relation-changed (+9/-0)
hooks/db-relation-departed (+13/-0)
hooks/install (+45/-23)
hooks/ssl (+19/-0)
hooks/start (+6/-2)
hooks/upgrade-charm (+43/-39)
hooks/website-relation-joined (+1/-2)
metadata.yaml (+1/-1)
tests/100-deploy.py (+116/-0)
tests/100_deploy.test (+0/-142)
Changed in owncloud (Juju Charms Collection): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Matt,
As it is references on the README, these values are only used when mysql is related as a database. If you are using a standalone deployment, it will use SQLite, and the values will not be valid.