juju cannot deploy when distro-info-data gets a new series

Bug #1427879 reported by Curtis Hovey
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Ian Booth
1.22
Fix Released
Critical
Ian Booth
1.23
Fix Released
High
Ian Booth

Bug Description

Because the test suite breaks every six months when a new Ubuntu series is created. CI was updated to container a false series to catch defective tests when they are written. We have found a worse scenario though.

On a machine with angsty added to /usr/share/distro-info-data/ubuntu.csv, we saw it could not deploy local containers, maybe any machines:

machines:
  "0":
    agent-state: started
    agent-version: 1.23-alpha1.1
    dns-name: localhost
    instance-id: localhost
    series: vivid
    state-server-member-status: has-vote
  "1":
    agent-state-info: invalid series "angsty"
    instance-id: pending
    series: vivid
  "2":
    agent-state-info: invalid series "angsty"
    instance-id: pending
    series: vivid

We are concerned that when Ubuntu W is added in a few months, every production juju env running j1.20, 1.21, or 1.22 state-servers will fail.

Tags: deploy series
Revision history for this message
Curtis Hovey (sinzui) wrote :

This is the distro line we added
17.04,Angsty Antelope,angsty,2016-10-23,2017-04-30,2018-01-29

tags: added: deploy series
description: updated
Revision history for this message
Curtis Hovey (sinzui) wrote :

I removed the line from the vivid machine because we don't want to taint the lxc local test
I updated the vivid unit test to run in lxc. While lxc is not ideal, the suite isn't passing for other reasons so there is no substantial loss.

Revision history for this message
Curtis Hovey (sinzui) wrote :

Attached is the all-machines.log from a failed test

Changed in juju-core:
milestone: none → 1.21.4
status: New → Triaged
importance: Undecided → High
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 1.21.4 → 1.24-alpha1
Revision history for this message
Curtis Hovey (sinzui) wrote :

See the duplicate bug 1434092 for details to fix this issue.

Revision history for this message
Curtis Hovey (sinzui) wrote :

Per Oleg Strikov "I'm helping rbasak with 1.22 packaging for vivid. One of autopkgtests for juju fails due to this bug and it's kinda blocker for packaging"

Ian Booth (wallyworld)
Changed in juju-core:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
Revision history for this message
Aaron Bentley (abentley) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.