Ussuri glance config fails : missing policy.json

Bug #1872996 reported by loonatic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Glance Charm
Fix Released
High
Alex Kavanagh

Bug Description

Upstream OpenStack Ussuri and Canonical Ussuri glance package have both removed policy.json :

https://launchpad.net/ubuntu/+source/glance/2:20.0.0~b3~git2020032414.30ece7aa-0ubuntu1
https://launchpad.net/ubuntu/+source/glance/+changelog
https://github.com/openstack/glance/commit/c7ddabb15f3a56570b59259a29c0e943805af007

Deploying Ussuri glance fails as the charm still expects a policy.json file.

Changed in charm-glance:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Alex Kavanagh (ajkavanagh)
Changed in charm-glance:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-glance (master)

Reviewed: https://review.opendev.org/716430
Committed: https://git.openstack.org/cgit/openstack/charm-glance/commit/?id=848eb535a43b16ae9c26ccac0cdf5dfcc7fb6d51
Submitter: Zuul
Branch: master

commit 848eb535a43b16ae9c26ccac0cdf5dfcc7fb6d51
Author: Alex Kavanagh <email address hidden>
Date: Tue Mar 31 21:47:04 2020 +0100

    Remove policy.json from charm for ussuri

    Glance (in ussuri) uses policy-in-code, and so that policy.json file
    doesn't ship with the package. This means that the charm can't rely on
    the file existing ussuri onwards. This patchset changes the way the
    charm uses policy.json by switching it to a charm determined policy.yaml
    file (preferred format) with the only 3 options that the charm
    determines to enforce.

    Also add yaml vars to focal-ussuri bundle

    This brings it into line with the other charms that are part of the the
    enable-focal topic. This makes it easier to add a new bundle just by
    changing a couple of variables.

    Closes-Bug: #1872996
    Change-Id: I47f19272a4e0af3781843608b76304ce8ba1e2b8

Changed in charm-glance:
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-glance:
milestone: none → 20.05
David Ames (thedac)
Changed in charm-glance:
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.