sync-tools tries to upload agents that are not permitted by the state server

Bug #1510688 reported by Aaron Bentley on 2015-10-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju
High
Unassigned

Bug Description

# 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.

Aaron Bentley (abentley) wrote :
Aaron Bentley (abentley) on 2015-10-27
description: updated
Aaron Bentley (abentley) on 2015-10-27
tags: added: bug-squad
Changed in juju-core:
milestone: 1.25.1 → 1.26.0
Changed in juju-core:
milestone: 1.26.0 → 2.0-beta1
Cheryl Jennings (cherylj) wrote :

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.

Curtis Hovey (sinzui) on 2016-02-19
Changed in juju-core:
milestone: 2.0-beta1 → 2.0-beta2
Curtis Hovey (sinzui) on 2016-03-10
Changed in juju-core:
milestone: 2.0-beta2 → 2.0-beta3
Curtis Hovey (sinzui) on 2016-03-25
Changed in juju-core:
milestone: 2.0-beta3 → 2.0-beta4
Changed in juju-core:
milestone: 2.0-beta4 → 2.0.1
affects: juju-core → juju
Changed in juju:
milestone: 2.0.1 → none
milestone: none → 2.0.1
Curtis Hovey (sinzui) on 2016-10-28
Changed in juju:
milestone: 2.0.1 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments