sstmp charm: Configuration cannot be changed/updated neither on installing nor later on using GUI/CLI.

Bug #1457860 reported by Matthew Williams
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juju Charms Collection
New
Undecided
Unassigned

Bug Description

Affects: lp:~caio1982/charms/trusty/sstmp/trunk
Here is the last part of the log file:
2015-05-21 16:13:31 INFO unit.sstmp/0.install logger.go:40 Setting up git (1:1.9.1-1ubuntu0.1) ...
2015-05-21 16:13:31 INFO unit.sstmp/0.juju-log cmd.go:247 Saving config file...
2015-05-21 16:13:31 INFO unit.sstmp/0.juju-log cmd.go:247 Missing config template, aborting configuration
2015-05-21 16:13:31 INFO unit.sstmp/0.juju-log cmd.go:247 Saving reverse aliases file...
2015-05-21 16:13:31 INFO unit.sstmp/0.juju-log cmd.go:247 Missing revaliases template, aborting configuration

When using GUI to change/update configuration there is no response nor any entry in logs.

When updating settings from CLI it appears that value is stored on the state server but actual configuration files are not changed.
$ juju --show-log set sstmp <email address hidden>
2015-05-22 11:34:45 INFO juju.cmd supercommand.go:37 running juju [1.23.3-trusty-amd64 gc]
2015-05-22 11:34:45 INFO juju.api api.go:280 connecting to API addresses: [state-server:17070]
2015-05-22 11:34:45 INFO juju.api apiclient.go:261 dialing "wss://:17070/environment/38d0113e-be68-49a8-89a1-d484cbc7f09a/api"
2015-05-22 11:34:45 INFO juju.api apiclient.go:183 connection established to "wss://state-server:17070/environment/38d0113e-be68-49a8-89a1-d484cbc7f09a/api"
2015-05-22 11:34:45 WARNING juju.cmd.juju set.go:128 the configuration setting "revaliases_template" already has the value "IyBzU01UUCBhbGlhc2VzCiMgCiMgRm9ybWF0Oglsb2NhbF9hY2NvdW50Om91dGdvaW5nX2FkZHJl\nc3M6bWFpbGh1YgojCiMgRXhhbXBsZTogcm9vdDp5b3VyX2xvZ2luQHlvdXIuZG9tYWluOm1haWxo\ndWIueW91ci5kb21haW5bOnBvcnRdCiMgd2hlcmUgWzpwb3J0XSBpcyBhbiBvcHRpb25hbCBwb3J0\nIG51bWJlciB0aGF0IGRlZmF1bHRzIHRvIDI1Lgp1YnVudHU6cG9zdG1hc3RlckBzdGFnaW5nLnRp\nbWVzb2ZtYWx0YS5jb206c210cC5tYW5kcmlsbGFwcC5jb20KCg==\n"
2015-05-22 11:34:45 INFO juju.cmd supercommand.go:436 command finished

cat /etc/ssmtp/revaliases
# sSMTP aliases
#
# Format: local_account:outgoing_address:mailhub
#
# Example: root:<email address hidden>:mailhub.your.domain[:port]
# where [:port] is an optional port number that defaults to 25.

Revision history for this message
Goran Miskovic (schkovich) wrote :

It is I who bumped into the problem but couldn't submit bug report. Thanks Matthew!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.