Upgrade from 1.19.3 to 1.19.4 cannot set machineaddress

Bug #1334773 reported by Adam Collard on 2014-06-26
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
High
Andrew Wilkins
1.20
Critical
Andrew Wilkins

Bug Description

I have a Juju environment on 1.19.3 which I just tried upgrading to 1.19.4.

The environment is on Precise, backed by MAAS provider. I have a series of Juju machines deployed as LXC containers on machine 0.

machines:
  "0":
    agent-state: started
    agent-version: 1.19.3
    dns-name: curie.beretstack
    instance-id: /MAAS/api/1.0/nodes/node-2b6ec142-e295-11e3-83e9-782bcb8e566b/
    series: trusty
    containers:
      0/lxc/0:
        agent-state: started
        agent-version: 1.19.3
        dns-name: 10.1.7.251
        instance-id: juju-machine-0-lxc-0
        series: precise
        hardware: arch=amd64
      0/lxc/1:
        agent-state: started
        agent-version: 1.19.3
        dns-name: 10.1.7.252
        instance-id: juju-machine-0-lxc-1
        series: precise
        hardware: arch=amd64
      0/lxc/2:
        agent-state: started
        agent-version: 1.19.3
        dns-name: 10.1.7.253
        instance-id: juju-machine-0-lxc-2
        series: precise
        hardware: arch=amd64
      0/lxc/3:
        agent-state: started
        agent-version: 1.19.3
        dns-name: 10.1.7.254
        instance-id: juju-machine-0-lxc-3
        series: precise
        hardware: arch=amd64
      0/lxc/4:
        agent-state: started
        agent-version: 1.19.3
        dns-name: 10.1.7.255
        instance-id: juju-machine-0-lxc-4
        series: precise
        hardware: arch=amd64
      0/lxc/5:
        agent-state: started
        agent-version: 1.19.3
        dns-name: 10.1.8.0
        instance-id: juju-machine-0-lxc-5
        series: precise
        hardware: arch=amd64
    state-server-member-status: has-vote

I upgraded using (on a Trusty machine) "juju upgrade-juju" which displayed 1.19.4 as the best version, and then looking in debug-log I saw many hundreds of messages along the lines of:

machine-0-lxc-4: 2014-06-26 17:49:22 ERROR juju.worker runner.go:218 exited "machiner": cannot set machine addresses of machine 0/lxc/4: cannot set machineaddresses for machine 0/lxc/4: state changing too quickly; try again soon

and

machine-0: 2014-06-26 17:49:04 ERROR juju.worker.instanceupdater updater.go:267 cannot set addresses on "0": cannot set addresses of machine 0: cannot set addresses for machine 0: state changing
 too quickly; try again soon

Curtis Hovey (sinzui) wrote :

This bug may be a duplicate of bug 1334273 which describes upgrade issues on precise local lxc. The common factors in both bugs are precise and lxc and upgrade-juju

Changed in juju-core:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 1.19.5
tags: added: lxc maas-provider upgrade-juju
tags: added: precise
Andrew Wilkins (axwalk) on 2014-06-27
Changed in juju-core:
status: Triaged → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
Andrew Wilkins (axwalk) on 2014-06-27
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui) on 2014-06-27
Changed in juju-core:
status: Fix Committed → Triaged
assignee: Andrew Wilkins (axwalk) → nobody
milestone: 1.20.0 → 1.21-alpha1
Andrew Wilkins (axwalk) on 2014-07-01
Changed in juju-core:
status: Triaged → Fix Committed
assignee: nobody → Andrew Wilkins (axwalk)
Curtis Hovey (sinzui) on 2014-07-10
tags: added: regression
tags: added: landscape
Curtis Hovey (sinzui) on 2014-08-21
Changed in juju-core:
importance: Critical → High
Curtis Hovey (sinzui) on 2014-09-08
Changed in juju-core:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers