snapcraft cleanbuild fails in xenial with the lxd deb: KeyError: 'kernel_architecture'

Bug #1689712 reported by Leo Arias
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Critical
Cris Dywan

Bug Description

I tried cleanbuild with snapcraft in a xenial machine with lxd installed from deb, version 2.0.9-0ubuntu1~16.04.2

In this lxc version, info returns kernelarchitecture instead of kernel_architecture:

$ lxc info | grep kernel
  kernel: Linux
  kernelarchitecture: x86_64
  kernelversion: 4.4.0-71-generic

This merged but unreleased PR relies on kernel_architecture:
https://github.com/snapcore/snapcraft/pull/1286/files#diff-3f1bebf6d90bdd2cb2630b23737cd53aR58

Steps to reproduce:
In a xenial machine, install the lxd deb and run snapcraft cleanbuild from master.

Revision history for this message
Cris Dywan (kalikiana) wrote :
Changed in snapcraft:
status: Triaged → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → 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.