Cannot add archive signature key for custom archives

Bug #1518975 reported by Ante Karamatić on 2015-11-23
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Charm Helpers
Medium
Edward Hope-Morley
ceilometer (Juju Charms Collection)
Medium
Edward Hope-Morley
cinder (Juju Charms Collection)
Medium
Edward Hope-Morley
glance (Juju Charms Collection)
Medium
Edward Hope-Morley
heat (Juju Charms Collection)
Medium
Edward Hope-Morley
keystone (Juju Charms Collection)
Medium
Edward Hope-Morley
neutron-api (Juju Charms Collection)
Medium
Edward Hope-Morley
neutron-gateway (Juju Charms Collection)
Medium
Edward Hope-Morley
nova-cloud-controller (Juju Charms Collection)
Medium
Edward Hope-Morley
nova-compute (Juju Charms Collection)
Medium
Edward Hope-Morley
openstack-dashboard (Juju Charms Collection)
Medium
Edward Hope-Morley
swift-proxy (Juju Charms Collection)
Medium
Edward Hope-Morley
swift-storage (Juju Charms Collection)
Medium
Edward Hope-Morley

Bug Description

All OpenStack related charms (with the exception of Ceph charms) do not allow adding custom key for openstack-origin. If openstack-origin is set to 'deb url source entry' (which is supported), then adding a key should also be possible.

Feature should support passing ASCII armor version of the key and not only key name, which would later be fetched from keyserver. This will allow using charms in environment without Internet or proxy access.

Example of a working charm is 'ceph' charm which uses 'add_source()' to get the source and key. It supports keys in multiple formats.

Related branches

James Page (james-page) wrote :

You should be able to use the following format:

   'deb url source entry|keyid'

The configuration of the install source will split in '|' and assuming the second part is the key id to import.

Nobuto Murata (nobuto) wrote :

Seems like at least adding a key with key id is supported by openstack-origin='deb url...|KEY_ID'.
https://bugs.launchpad.net/charms/+source/keystone/+bug/1503440/comments/1

James Page (james-page) wrote :

But this does not support injecting the key directly from configuration.

Ante Karamatić (ivoks) wrote :

Yes, adding '|key' is supported, but undocumented. However, requested feature is custom key without internet/proxy access.

Ryan Beisner (1chb1n) wrote :

FYI, we have a bug raised for the "need-to-document key usage" topic:
https://bugs.launchpad.net/charms/+source/keystone/+bug/1503440

James Page (james-page) on 2016-02-09
tags: added: hitlist openstack
James Page (james-page) on 2016-02-09
Changed in cinder (Juju Charms Collection):
importance: Undecided → Medium
Changed in cinder (Juju Charms Collection):
milestone: none → 16.04
Changed in glance (Juju Charms Collection):
milestone: none → 16.04
Changed in keystone (Juju Charms Collection):
milestone: none → 16.04
Changed in neutron-api (Juju Charms Collection):
milestone: none → 16.04
Changed in neutron-openvswitch (Juju Charms Collection):
milestone: none → 16.04
Changed in nova-cloud-controller (Juju Charms Collection):
milestone: none → 16.04
Changed in nova-compute (Juju Charms Collection):
milestone: none → 16.04
Changed in swift-proxy (Juju Charms Collection):
milestone: none → 16.04
Changed in swift-storage (Juju Charms Collection):
milestone: none → 16.04
Changed in openstack-dashboard (Juju Charms Collection):
milestone: none → 16.04
Changed in swift-storage (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in swift-proxy (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in openstack-dashboard (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in nova-compute (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in nova-cloud-controller (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in neutron-api (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in keystone (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in glance (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in cinder (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
status: New → In Progress
Changed in glance (Juju Charms Collection):
importance: Undecided → Medium
Changed in keystone (Juju Charms Collection):
importance: Undecided → Medium
Changed in neutron-api (Juju Charms Collection):
importance: Undecided → Medium
Changed in nova-cloud-controller (Juju Charms Collection):
importance: Undecided → Medium
Changed in nova-compute (Juju Charms Collection):
importance: Undecided → Medium
Changed in openstack-dashboard (Juju Charms Collection):
importance: Undecided → Medium
Changed in swift-proxy (Juju Charms Collection):
importance: Undecided → Medium
Changed in swift-storage (Juju Charms Collection):
importance: Undecided → Medium
Changed in neutron-openvswitch (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
importance: Undecided → Medium
status: New → In Progress
no longer affects: neutron-openvswitch (Juju Charms Collection)
Changed in ceilometer (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
importance: Undecided → Medium
milestone: none → 16.04
status: New → In Progress
Changed in neutron-gateway (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
importance: Undecided → Medium
milestone: none → 16.04
status: New → In Progress
Changed in heat (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
importance: Undecided → Medium
milestone: none → 16.04
status: New → In Progress
Changed in charm-helpers:
assignee: nobody → Edward Hope-Morley (hopem)
importance: Undecided → Medium
status: New → In Progress
Changed in ceilometer (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in cinder (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in glance (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in keystone (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-api (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-gateway (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in nova-cloud-controller (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in nova-compute (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in openstack-dashboard (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in swift-proxy (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in swift-storage (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in charm-helpers:
status: In Progress → Fix Committed
Changed in heat (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page) on 2016-04-22
Changed in nova-cloud-controller (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in keystone (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in cinder (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in glance (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in openstack-dashboard (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in swift-proxy (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in swift-storage (Juju Charms Collection):
status: Fix Committed → Fix Released
James Page (james-page) on 2016-04-22
Changed in ceilometer (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-gateway (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in heat (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in charm-helpers:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers