'copy-image' resulted in an image embedding the wrong channel name

Bug #1455119 reported by Steve Langasek on 2015-05-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Critical
Barry Warsaw

Bug Description

Publication of the OTA 3.5 release onto the ubuntu-touch/stable/bq-aquaris.en channel has resulted in a wrong channel.ini. The command that was run was:

copy-image -v -p 6 ubuntu-touch/rc/bq-aquaris.en ubuntu-touch/ubuntu-rtm/14.09 krillin 23

(ubuntu-touch/stable/bq-aquaris.en is an alias to ubuntu-touch/ubuntu-rtm/14.09.)

The expected output on the ubuntu-touch/stable/bq-aquaris.en channel is a channel.ini containing:

  channel: ubuntu-touch/stable/bq-aquaris.en
  channel_target: ubuntu-touch/ubuntu-rtm/14.09

The actual output was a channel.ini containing:

  channel: ubuntu-touch/stable/bq-aquaris.es
  channel_target: ubuntu-touch/ubuntu-rtm/14.09

The ubuntu-touch/stable/bq-aquaris.es channel is a redirect pointed at ubuntu-touch/ubuntu-rtm/14.09. It should not have shown up anywhere in the system-image config for ubuntu-touch/stable/bq-aquaris.en.

Related branches

Steve Langasek (vorlon) on 2015-05-14
Changed in ubuntu-system-image:
assignee: nobody → Barry Warsaw (barry)
Barry Warsaw (barry) on 2015-05-14
Changed in ubuntu-system-image:
status: New → In Progress
importance: Undecided → High
Steve Langasek (vorlon) on 2015-05-14
Changed in ubuntu-system-image:
importance: High → Critical
status: In Progress → Triaged
Steve Langasek (vorlon) wrote :

This is critical for two reasons:
 - we are about to ship another image to factory, and we need the image to have the correct channel contents at the get-go.
 - Until this is resolved and can propagate out to users, we are now unable to drop the *obsoleted* ubuntu-touch/stable/bq-aquaris.es channel from the server.

Barry Warsaw (barry) wrote :

The problem is that bq-aquaris.es is described as both an alias and a redirect in the channels.json file, and aliases were taking precedence. We need to cull redirects from the list of alias channels that get generated.

Steve Langasek (vorlon) wrote :

Fixed in revision 267 of lp:~ubuntu-system-image/ubuntu-system-image/server/ and deployed to production.

Changed in ubuntu-system-image:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers