glance mirror and nova-lxd need support for squashfs images

Bug #1686086 reported by Scott Moser
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nova-lxd
Fix Released
Medium
Unassigned
simplestreams
Fix Released
High
Scott Moser
simplestreams (Ubuntu)
Fix Released
Medium
Scott Moser
Xenial
Won't Fix
Medium
Unassigned
Artful
Won't Fix
Medium
Unassigned
Bionic
Fix Released
Medium
Unassigned
Disco
Fix Released
Medium
Unassigned

Bug Description

[Impact]

Zesty does not produce root.tar.gz or root.tar.xz images.
This means that for a nova lxd cloud we need some changes to support zesty images.

 * simplestreams will need to learn that lxd can support a 'squashfs' image type, and how to upload that to glance (what 'disk_format' option to put on the glance image).
 * nova-lxd will need to know that it can handle squashfs images (it may already do that)
 * nova-lxd will possibly need to do something special with that.

[Test Case]

According to comment #4, a reproducer was hard to be found.

[Regression Potential]

This part was added specifically for the Xenial backport, including:

- 455-nova-lxd-support-squashfs-images.patch (LP: #1686086)

And chances of regression are small based on the MR feedback from SEG and this particular bug already stating the issue was fixed.

[Other Info]

N/A

Related branches

Scott Moser (smoser)
Changed in nova-lxd:
assignee: nobody → Scott Moser (smoser)
status: New → Confirmed
assignee: Scott Moser (smoser) → nobody
Changed in simplestreams:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Scott Moser (smoser)
importance: Medium → High
James Page (james-page)
Changed in nova-lxd:
status: Confirmed → Triaged
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote :

I'm pretty sure this is fixed in commit
 3609b4f1129760ad6141de5f5bbc91424f3270ab
which is in
16.0.0.0b1

so i'm going to call it fix-released for nova-lxd.

Changed in simplestreams:
status: Confirmed → Fix Committed
Changed in nova-lxd:
status: Triaged → Fix Committed
status: Fix Committed → Fix Released
Scott Moser (smoser)
Changed in simplestreams (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → In Progress
assignee: nobody → Scott Moser (smoser)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package simplestreams - 0.1.0~bzr459-0ubuntu1

---------------
simplestreams (0.1.0~bzr459-0ubuntu1) bionic; urgency=medium

  * New upstream snapshot.
    - Fix make-test-data for python3.
    - Fix ubuntu_versions.py with distro_info > 0.14.
    - i386 OVA are not produced after bionic 20180213. [Phil Roche]
    - tools/make-test-data: Add AWS China cn-northwest-1 region
    - OpenStack: support uploading squash images for nova-lxd. (LP: #1686086)

 -- Scott Moser <email address hidden> Fri, 16 Mar 2018 12:28:14 -0400

Changed in simplestreams (Ubuntu):
status: In Progress → Fix Released
Scott Moser (smoser)
Changed in simplestreams (Ubuntu Xenial):
status: New → Confirmed
Changed in simplestreams (Ubuntu Artful):
status: New → Confirmed
Changed in simplestreams (Ubuntu Xenial):
importance: Undecided → Medium
Changed in simplestreams (Ubuntu Artful):
importance: Undecided → Medium
Revision history for this message
Scott Moser (smoser) wrote : Fixed in simplestreams version 0.1.0.

This bug is believed to be fixed in simplestreams in version 0.1.0. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in simplestreams:
status: Fix Committed → Fix Released
Revision history for this message
Felipe Reyes (freyes) wrote :

does anyone have a reproducer for this bug?, I've been having a hard time trying to come up with one on my own.

Dan Streetman (ddstreet)
Changed in simplestreams (Ubuntu Artful):
status: Confirmed → Won't Fix
Changed in simplestreams (Ubuntu Xenial):
status: Confirmed → In Progress
Changed in simplestreams (Ubuntu Bionic):
importance: Undecided → Medium
Changed in simplestreams (Ubuntu Disco):
importance: Undecided → Medium
Changed in simplestreams (Ubuntu Xenial):
assignee: nobody → Rafael David Tinoco (rafaeldtinoco)
Changed in simplestreams (Ubuntu Bionic):
status: New → Fix Released
Changed in simplestreams (Ubuntu Disco):
status: New → Fix Released
description: updated
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :
Revision history for this message
Robie Basak (racb) wrote : Proposed package upload rejected

An upload of simplestreams to xenial-proposed has been rejected from the upload queue for the following reason: "See https://bugs.launchpad.net/charms/+source/glance-simplestreams-sync/+bug/1611987/comments/21".

Changed in simplestreams (Ubuntu Xenial):
status: In Progress → Won't Fix
Changed in simplestreams (Ubuntu Bionic):
status: Fix Released → In Progress
Changed in simplestreams (Ubuntu Xenial):
assignee: Rafael David Tinoco (rafaeldtinoco) → nobody
Changed in simplestreams (Ubuntu Bionic):
assignee: nobody → Rafael David Tinoco (rafaeldtinoco)
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

TL;DR version:

We are going to fix Bionic simplestreams package and provide this Bionic simplestreams package in Ubuntu Cloud Archive for Xenial. With that, we are fixing Xenial simplestreams behavior (to work with keystone v3) only if end-user enables Ubuntu Cloud Archive.

Conversation about this topic:

https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/simplestreams/+git/simplestreams/+merge/373030/comments/980111

Changed in simplestreams (Ubuntu Bionic):
assignee: Rafael David Tinoco (rafaeldtinoco) → nobody
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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