[2.1.1] Controller does not look at agent_stream in model-config - it uses agent_stream that it booted with
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth | ||
OpenStack Charm Test Infra |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I have a controller that was booted with agent_stream=devel. I've since modified the model-defaults to set it to agent_stream=
These are what the agent settings are set to below. To recreate, boostrap a controller with agent-stream set to devel. Then, modify the model-defaults so that agent-stream is released. Then add a new model and finally deploy a bundle with an arm server as a machine. It will not be possible to deploy the arm server.
$ juju model-defaults
Attribute Default Controller
agent-metadata-url "" -
agent-stream released -
apt-ftp-proxy "" -
apt-http-proxy "" -
apt-https-proxy "" -
apt-mirror "" -
automatically-
default-series xenial -
development false -
disable-
enable-
enable-os-upgrade true -
firewall-mode instance -
ftp-proxy "" -
http-proxy "" -
https-proxy "" -
ignore-
image-metadata-url "" -
image-stream released -
logforward-enabled false -
logging-config "" -
net-bond-
no-proxy "" -
provisioner-
proxy-ssh false -
resource-tags "" -
ssl-hostname-
test-mode false -
transmit-
$ juju model-config
Attribute From Value
agent-metadata-url default ""
agent-stream default released
agent-version model 2.1.1.1
apt-ftp-proxy default ""
apt-http-proxy default ""
apt-https-proxy default ""
apt-mirror default ""
automatically-
default-series default xenial
development default false
disable-
enable-
enable-os-upgrade default true
firewall-mode default instance
ftp-proxy default ""
http-proxy default ""
https-proxy default ""
ignore-
image-metadata-url default ""
image-stream default released
logforward-enabled default false
logging-config model <root>=
net-bond-
no-proxy default ""
provisioner-
proxy-ssh default false
resource-tags model {}
ssl-hostname-
storage-
test-mode default false
transmit-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
9b7d8641-
$ juju status
Model Controller Cloud/Region Version
debug-phanpy maas maas 2.1.1.1
App Version Status Scale Charm Store Rev OS Notes
ubuntu waiting 0/1 ubuntu jujucharms 10 ubuntu
Unit Workload Agent Machine Public address Ports Message
ubuntu/0 waiting allocating 0 waiting for machine
Machine State DNS Inst id Series AZ
0 down pending xenial
jenkins@
These are the versions:
jenkins@
2.1.1-xenial-amd64
jenkins@
ii juju 1:2.1.1-
ii juju-2.0 1:2.1.1-
Changed in juju: | |
milestone: | none → 2.3-alpha1 |
Changed in juju: | |
milestone: | 2.3-beta1 → 2.3-beta2 |
Changed in juju: | |
milestone: | 2.3-beta2 → none |
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju: | |
status: | Fix Committed → Fix Released |
The version number 2.1.1.1 suggests that the devel streams were not used for the original bootstrap. x.x.x.1 numbers are created when juju uploads the agent itself.
To avoid conflating issues, could you try to reproduce using the actual devel streams?