Cannot add archive signature key for custom archives
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: Pending requested 2016-02-11
-
Diff: 175 lines (+84/-21)2 files modifiedcharmhelpers/contrib/openstack/utils.py (+45/-13)
tests/contrib/openstack/test_openstack_utils.py (+39/-8)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 672 lines (+212/-97)9 files modifiedcharm-helpers-hooks.yaml (+1/-1)
hooks/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
hooks/charmhelpers/contrib/openstack/context.py (+11/-7)
hooks/charmhelpers/contrib/openstack/neutron.py (+18/-6)
hooks/charmhelpers/contrib/openstack/utils.py (+108/-43)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
hooks/charmhelpers/core/host.py (+41/-26)
hooks/charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 662 lines (+211/-96)8 files modifiedcharmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
charmhelpers/contrib/openstack/context.py (+11/-7)
charmhelpers/contrib/openstack/neutron.py (+18/-6)
charmhelpers/contrib/openstack/utils.py (+108/-43)
charmhelpers/contrib/python/packages.py (+22/-7)
charmhelpers/core/host.py (+41/-26)
charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 761 lines (+244/-102)10 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
hooks/charmhelpers/contrib/openstack/context.py (+16/-8)
hooks/charmhelpers/contrib/openstack/neutron.py (+18/-6)
hooks/charmhelpers/contrib/openstack/templates/section-keystone-authtoken (+11/-0)
hooks/charmhelpers/contrib/openstack/utils.py (+108/-43)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
hooks/charmhelpers/core/host.py (+41/-26)
hooks/charmhelpers/fetch/giturl.py (+5/-3)
tests/basic_deployment.py (+17/-5)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 651 lines (+209/-94)8 files modifiedcharmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
charmhelpers/contrib/openstack/context.py (+11/-7)
charmhelpers/contrib/openstack/neutron.py (+18/-6)
charmhelpers/contrib/openstack/utils.py (+108/-43)
charmhelpers/contrib/python/packages.py (+22/-7)
charmhelpers/core/host.py (+41/-26)
charmhelpers/fetch/giturl.py (+3/-1)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 555 lines (+166/-74)8 files modifiedcharmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
charmhelpers/contrib/openstack/context.py (+11/-7)
charmhelpers/contrib/openstack/neutron.py (+18/-6)
charmhelpers/contrib/openstack/utils.py (+65/-23)
charmhelpers/contrib/python/packages.py (+22/-7)
charmhelpers/core/host.py (+41/-26)
charmhelpers/fetch/giturl.py (+3/-1)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 555 lines (+166/-74)8 files modifiedcharmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
charmhelpers/contrib/openstack/context.py (+11/-7)
charmhelpers/contrib/openstack/neutron.py (+18/-6)
charmhelpers/contrib/openstack/utils.py (+65/-23)
charmhelpers/contrib/python/packages.py (+22/-7)
charmhelpers/core/host.py (+41/-26)
charmhelpers/fetch/giturl.py (+3/-1)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 662 lines (+211/-96)8 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
hooks/charmhelpers/contrib/openstack/context.py (+11/-7)
hooks/charmhelpers/contrib/openstack/neutron.py (+18/-6)
hooks/charmhelpers/contrib/openstack/utils.py (+108/-43)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
hooks/charmhelpers/core/host.py (+41/-26)
hooks/charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 662 lines (+211/-96)8 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
hooks/charmhelpers/contrib/openstack/context.py (+11/-7)
hooks/charmhelpers/contrib/openstack/neutron.py (+18/-6)
hooks/charmhelpers/contrib/openstack/utils.py (+108/-43)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
hooks/charmhelpers/core/host.py (+41/-26)
hooks/charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 662 lines (+211/-96)8 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
hooks/charmhelpers/contrib/openstack/context.py (+11/-7)
hooks/charmhelpers/contrib/openstack/neutron.py (+18/-6)
hooks/charmhelpers/contrib/openstack/utils.py (+108/-43)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
hooks/charmhelpers/core/host.py (+41/-26)
hooks/charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 662 lines (+211/-96)8 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
hooks/charmhelpers/contrib/openstack/context.py (+11/-7)
hooks/charmhelpers/contrib/openstack/neutron.py (+18/-6)
hooks/charmhelpers/contrib/openstack/utils.py (+108/-43)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
hooks/charmhelpers/core/host.py (+41/-26)
hooks/charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 662 lines (+211/-96)8 files modifiedcharmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
charmhelpers/contrib/openstack/context.py (+11/-7)
charmhelpers/contrib/openstack/neutron.py (+18/-6)
charmhelpers/contrib/openstack/utils.py (+108/-43)
charmhelpers/contrib/python/packages.py (+22/-7)
charmhelpers/core/host.py (+41/-26)
charmhelpers/fetch/giturl.py (+5/-3)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+3/-2)
- OpenStack Charmers: Pending requested 2016-02-11
-
Diff: 201 lines (+80/-29)5 files modifiedhooks/charmhelpers/contrib/openstack/amulet/deployment.py (+1/-1)
hooks/charmhelpers/contrib/openstack/context.py (+11/-7)
hooks/charmhelpers/contrib/openstack/utils.py (+45/-13)
hooks/charmhelpers/contrib/python/packages.py (+22/-7)
tests/charmhelpers/contrib/openstack/amulet/deployment.py (+1/-1)
James Page (james-page) wrote : | #1 |
Nobuto Murata (nobuto) wrote : | #2 |
Seems like at least adding a key with key id is supported by openstack-
https:/
James Page (james-page) wrote : | #3 |
But this does not support injecting the key directly from configuration.
Ante Karamatić (ivoks) wrote : | #4 |
Yes, adding '|key' is supported, but undocumented. However, requested feature is custom key without internet/proxy access.
Ryan Beisner (1chb1n) wrote : | #5 |
FYI, we have a bug raised for the "need-to-document key usage" topic:
https:/
tags: | added: hitlist openstack |
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 |
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 |
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 |
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.