Anastasia, here you can see how the default and controller models were upgraded from 2.1.3 to 2.2.3 and as doug previously mentioned the agent.conf was not updated Steps: juju bootstrap ... juju deploy -n 3 cs:ubuntu juju upgrade-juju -m controller --agent-version=2.2.3 juju show-model controller juju upgrade-juju -m default --agent-version=2.2.3 juju show-model default ubuntu@juju-2pt2:~$ juju ssh 0 sudo cat /var/lib/juju/agents/unit-ubuntu-0/agent.conf # format 2.0 tag: unit-ubuntu-0 datadir: /var/lib/juju logdir: /var/log/juju metricsspooldir: /var/lib/juju/metricspool nonce: unused upgradedToVersion: 2.1.3 cacert: | -----BEGIN CERTIFICATE----- MIIDzTCCArWgAwIBAgIUJpaXcqEiOJDChdmOIoIs7/XE1zgwDQYJKoZIhvcNAQEL BQAwbjENMAsGA1UEChMEanVqdTEuMCwGA1UEAwwlanVqdS1nZW5lcmF0ZWQgQ0Eg Zm9yIG1vZGVsICJqdWp1LWNhIjEtMCsGA1UEBRMkM2UyZjk3OTQtMTQ3NC00NTZm LTg5OWUtNzAwMmJhMjBlMjA4MB4XDTE3MDkwNTE0MzE1NFoXDTI3MDkxMjE0MzE1 M1owbjENMAsGA1UEChMEanVqdTEuMCwGA1UEAwwlanVqdS1nZW5lcmF0ZWQgQ0Eg Zm9yIG1vZGVsICJqdWp1LWNhIjEtMCsGA1UEBRMkM2UyZjk3OTQtMTQ3NC00NTZm LTg5OWUtNzAwMmJhMjBlMjA4MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKC AQEAshc4Lkjr01PGYmvXcFcKd7BktAtBvCYKrqm3W2jyBfjur78tkIe2bgLGjW8q rIrAKiFFQ8GPxbRtGNBoLjDhLJV81bA8SNO8vHutE4QD5AB7eko6Io4gi2wYdAHp bOfVDVKe4YeUHXbakSZAWmKzUyTlewmjVpKUv8Kage4BlKfFQgRjKBHrX5Dp+H1N SePqsSYznL4saMHf/qtOAvp/bLSKgtKJ45tvQm537XdArEB2qaK7Pjhu7RxkydIA GgKiH1n8CHiY1KVoO+3bPIHd70BZC54T4jT9nDEIQsxo5Or+DPFCYDXt+LbyvuY1 y1tgbcKOLUbkRTx0wkKLoE9Z+QIDAQABo2MwYTAOBgNVHQ8BAf8EBAMCAqQwDwYD VR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQU82badu3HtqXorfP6V/GttfLQhY8wHwYD VR0jBBgwFoAU82badu3HtqXorfP6V/GttfLQhY8wDQYJKoZIhvcNAQELBQADggEB AKPoachUVRffYNUXokNPYuvqkXmT9P4XB+gCBLlAAKFIouJCDH+LaNobBBYeR/Wz i/FqG/kO2i328D1NmmALrgE5JjfDtABlSktHBTV1I1RgAcM2o9ZRP1EHXn7xtXBO PXuHfYVc2fCXJavKceENFXCxFFlxMpwFDi4w7yK6Bt3rm2xNgrkCdYK7if4gcwr9 pGFZFMbkBU9XDO1xe5mzCvnrzdroJ3OJjgbZ0QoPmnEJl6IJSisoso00VwuQdIq+ xVsaGCLZPDVuwJnV+ClV61t9BLIMoEJ0zJKa0C8aXPO+g3NDVJtr2lKlSYsQhiWP 6K730jQbvqQJa+wicmBUHHw= -----END CERTIFICATE----- stateaddresses: - 10.5.1.106:37017 statepassword: +tjyRSJjYM8pZe2Nok33Gygy controller: controller-c40c11a4-d4fa-420b-8be4-3fc6ab4c2f59 model: model-7707aaa4-39a5-4bd1-8179-70abd08201ba apiaddresses: - 10.5.1.106:17070 - 10.230.70.83:17070 apipassword: +tjyRSJjYM8pZe2Nok33Gygy oldpassword: vyhsnCPIQrXJTkJwUDAlo5Q0 loggingconfig: =INFO;unit=DEBUG values: CONTAINER_TYPE: "" NAMESPACE: "" mongoversion: "0.0" Connection to 10.230.70.94 closed. ubuntu@juju-2pt2:~$ juju status Model Controller Cloud/Region Version SLA default c2 stsstack/stsstack 2.2.3 unsupported App Version Status Scale Charm Store Rev OS Notes ubuntu 16.04 active 3 ubuntu jujucharms 10 ubuntu Unit Workload Agent Machine Public address Ports Message ubuntu/0* active idle 0 10.230.70.94 ready ubuntu/1 active idle 1 10.230.70.95 ready ubuntu/2 active idle 2 10.230.70.96 ready Machine State DNS Inst id Series AZ Message 0 started 10.230.70.94 9d18d297-95f9-4435-9432-11592605106a xenial nova ACTIVE 1 started 10.230.70.95 bb13ddf9-e65f-490d-8dad-934ba186a63f xenial nova ACTIVE 2 started 10.230.70.96 b326c52e-bc80-4ebd-990d-d3e8d7ee09f2 xenial nova ACTIVE ubuntu@juju-2pt2:~$ juju status -m controller Model Controller Cloud/Region Version SLA controller c2 stsstack/stsstack 2.2.3 unsupported App Version Status Scale Charm Store Rev OS Notes Unit Workload Agent Machine Public address Ports Message Machine State DNS Inst id Series AZ Message 0 started 10.230.70.83 9469c454-8d19-4f12-b72b-6bf75cb95521 xenial nova ACTIVE