Cannot add archive signature key for custom archives

Bug #1518975 reported by Ante Karamatić
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Charm Helpers
Fix Released
Medium
Edward Hope-Morley
ceilometer (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
cinder (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
glance (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
heat (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
keystone (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
neutron-api (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
neutron-gateway (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
nova-cloud-controller (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
nova-compute (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
openstack-dashboard (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
swift-proxy (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
swift-storage (Juju Charms Collection)
Fix Released
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

Revision history for this message
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.

Revision history for this message
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

Revision history for this message
James Page (james-page) wrote :

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

Revision history for this message
Ante Karamatić (ivoks) wrote :

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

Revision history for this message
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)
tags: added: hitlist openstack
James Page (james-page)
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)
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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