juju controller 2.5.2 upgrade fails with failed to deserialize conf for application "juju-db"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
High
|
Tim Penhey |
Bug Description
When upgrading my juju controller model from 2.4.4 to 2.5.2 (using the snapped juju for both bootstrap and upgrade), I've encountered a bug in jujud-machine agents stating:
DEBUG juju.worker.
When investigating /etc/systemd/
[Service]
LimitNOFILE=65000
LimitNPROC=20000
LimitFSIZE=
LimitCPU=unlimited
LimitAS=unlimited
LimitMEMLOCK=
ExecStart=
When I modify these unlimited lines, the deseralized conf error changes to the new string, so this appears to be a problem with juju processing the juju-db service config file when it encounters a string in a typically integer field. Both of these values are valid, however.
This was discovered in a Xenial Queens FCB cloud deployment.
Changed in juju: | |
status: | Incomplete → New |
Proven workaround is to remove the Limit.*unlimited lines from the /etc/systemd/ system/ juju-db. service file(s) on all controllers and restart jujud-machine-X service(s).