# Juju is 1.24.7
$ juju version
1.24.7-wily-amd64
# State server is 1.20.14
$ juju status -e peril
environment: peril
machines:
"0":
agent-state: started
agent-version: 1.20.14
dns-name: ec2-54-86-190-59.compute-1.amazonaws.com
instance-id: i-d1e2ec60
instance-state: running
series: trusty
hardware: arch=amd64 cpu-cores=1 cpu-power=100 mem=1740M root-disk=8192M
state-server-member-status: has-vote
services: {}
# Sync tools tries to upload agents we know won't be accepted:
$ juju sync-tools -e peril
ERROR tools upload failed: 400 ({"Tools":null,"DisableSSLHostnameVerification":false,"Error":{"Message":"cannot get environment config: invalid series \"centos7\"","Code":""}})
There is a similar bug for --upload-tools, bug #1510689; ideally they would be fixed at the same time.
This problem with the unknown series is fixed in 1.25, but that doesn't help users trying to upload tools to environments < 1.25. We can log errors for individual tools, but continue to upload the rest to address that case.