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
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
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 ... version= 2.2.3 version= 2.2.3
juju deploy -n 3 cs:ubuntu
juju upgrade-juju -m controller --agent-
juju show-model controller
juju upgrade-juju -m default --agent-
juju show-model default
ubuntu@juju-2pt2:~$ juju ssh 0 sudo cat /var/lib/ juju/agents/ unit-ubuntu- 0/agent. conf juju/metricspoo l wIBAgIUJpaXcqEi OJDChdmOIoIs7/ XE1zgwDQYJKoZIh vcNAQEL 1UEChMEanVqdTEu MCwGA1UEAwwlanV qdS1nZW5lcmF0ZW QgQ0Eg CJqdWp1LWNhIjEt MCsGA1UEBRMkM2U yZjk3OTQtMTQ3NC 00NTZm mJhMjBlMjA4MB4X DTE3MDkwNTE0MzE 1NFoXDTI3MDkxMj E0MzE1 1UEChMEanVqdTEu MCwGA1UEAwwlanV qdS1nZW5lcmF0ZW QgQ0Eg CJqdWp1LWNhIjEt MCsGA1UEBRMkM2U yZjk3OTQtMTQ3NC 00NTZm mJhMjBlMjA4MIIB IjANBgkqhkiG9w0 BAQEFAAOCAQ8AMI IBCgKC 1PGYmvXcFcKd7Bk tAtBvCYKrqm3W2j yBfjur78tkIe2bg LGjW8q bRtGNBoLjDhLJV8 1bA8SNO8vHutE4Q D5AB7eko6Io4gi2 wYdAHp XbakSZAWmKzUyTl ewmjVpKUv8Kage4 BlKfFQgRjKBHrX5 Dp+H1N MHf/qtOAvp/ bLSKgtKJ45tvQm5 37XdArEB2qaK7Pj hu7RxkydIA KVoO+3bPIHd70BZ C54T4jT9nDEIQsx o5Or+DPFCYDXt+ LbyvuY1 Tx0wkKLoE9Z+ QIDAQABo2MwYTAO BgNVHQ8BAf8EBAM CAqQwDwYD BAUwAwEB/ zAdBgNVHQ4EFgQU 82badu3HtqXorfP 6V/GttfLQhY8wHw YD 2badu3HtqXorfP6 V/GttfLQhY8wDQY JKoZIhvcNAQELBQ ADggEB NUXokNPYuvqkXmT 9P4XB+gCBLlAAKF IouJCDH+ LaNobBBYeR/ Wz kO2i328D1NmmALr gE5JjfDtABlSktH BTV1I1RgAcM2o9Z RP1EHXn7xtXBO avKceENFXCxFFlx MpwFDi4w7yK6Bt3 rm2xNgrkCdYK7if 4gcwr9 O1xe5mzCvnrzdro J3OJjgbZ0QoPmnE Jl6IJSisoso00Vw uQdIq+ JnV+ClV61t9BLIM oEJ0zJKa0C8aXPO +g3NDVJtr2lKlSY sQhiWP +wicmBUHHw= Nok33Gygy c40c11a4- d4fa-420b- 8be4-3fc6ab4c2f 59 39a5-4bd1- 8179-70abd08201 ba Nok33Gygy wUDAlo5Q0 INFO;unit= DEBUG
# format 2.0
tag: unit-ubuntu-0
datadir: /var/lib/juju
logdir: /var/log/juju
metricsspooldir: /var/lib/
nonce: unused
upgradedToVersion: 2.1.3
cacert: |
-----BEGIN CERTIFICATE-----
MIIDzTCCArWgA
BQAwbjENMAsGA
Zm9yIG1vZGVsI
LTg5OWUtNzAwM
M1owbjENMAsGA
Zm9yIG1vZGVsI
LTg5OWUtNzAwM
AQEAshc4Lkjr0
rIrAKiFFQ8GPx
bOfVDVKe4YeUH
SePqsSYznL4sa
GgKiH1n8CHiY1
y1tgbcKOLUbkR
VR0TAQH/
VR0jBBgwFoAU8
AKPoachUVRffY
i/FqG/
PXuHfYVc2fCXJ
pGFZFMbkBU9XD
xVsaGCLZPDVuw
6K730jQbvqQJa
-----END CERTIFICATE-----
stateaddresses:
- 10.5.1.106:37017
statepassword: +tjyRSJjYM8pZe2
controller: controller-
model: model-7707aaa4-
apiaddresses:
- 10.5.1.106:17070
- 10.230.70.83:17070
apipassword: +tjyRSJjYM8pZe2
oldpassword: vyhsnCPIQrXJTkJ
loggingconfig: <root>=
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 95f9-4435- 9432-1159260510 6a xenial nova ACTIVE e65f-490d- 8dad-934ba186a6 3f xenial nova ACTIVE bc80-4ebd- 990d-d3e8d7ee09 f2 xenial nova ACTIVE
0 started 10.230.70.94 9d18d297-
1 started 10.230.70.95 bb13ddf9-
2 started 10.230.70.96 b326c52e-
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 8d19-4f12- b72b-6bf75cb955 21 xenial nova ACTIVE
0 started 10.230.70.83 9469c454-