Use of vaultlocker based block device encryption requires use of PPA

Bug #1802905 reported by José Pekkarinen
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph OSD Charm
Fix Released
High
James Page
OpenStack Nova Compute Charm
Fix Released
High
James Page
OpenStack Swift Storage Charm
Fix Released
High
James Page

Bug Description

This missing feature is needed for offline deployments to let
the install hook succeed. Adding the snap as a resource works
but afterwards it'll look for this ppa also.

unit-ceph-osd-1: 20:29:50 INFO unit.ceph-osd/1.juju-log Failed executing 'add-apt-repository --yes ppa:openstack-charmers/vaultlocker'. Will retry in 10 seconds

Thanks!

José.

Tags: cpe-onsite
tags: added: cpe-onsite
description: updated
description: updated
James Page (james-page)
Changed in vault-charm:
status: New → Confirmed
Revision history for this message
Ryan Beisner (1chb1n) wrote :

Please include more details about how you intend to consume and configure this. A sanitized bundle would be best in describing that. Also, a more complete juju unit log from the existing failure would be helpful. Thank you.

Revision history for this message
José Pekkarinen (koalinux) wrote :

The best way would be to add an origin option to specify a deb line
with a pipe and the key for the repository in the bundle, like:

    options:
      origin: |
        deb http://mydomain.com/openstack-charmers/vaultlocker/ubuntu/ xenial main
        |
        -----BEGIN PGP PUBLIC KEY BLOCK-----

        ...
        -----END PGP PUBLIC KEY BLOCK-----

Revision history for this message
Ryan Beisner (1chb1n) wrote :
Ryan Beisner (1chb1n)
Changed in vault-charm:
status: Confirmed → Invalid
Changed in charm-ceph-osd:
status: New → Confirmed
James Page (james-page)
affects: charm-swift-proxy → charm-swift-storage
Revision history for this message
Ryan Beisner (1chb1n) wrote :

Rather than implement a new feature via escalation as a bespoke source/origin option for the vaultlocker package, we need to solve vaultlocker's current distribution challenge.

We will do that by releasing vaultlocker in the Queens and Rocky Ubuntu Cloud Archives.

It will then be consumable via offline repos along with the rest of the cloud archive which is already being mirrored offline in the use cases behind this bug.

Changed in charm-ceph-osd:
assignee: nobody → James Page (james-page)
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :

vaultlocker and hvac have been accepted into bionic-backports and are in the xenial/queens-proposed UCA pocket.

As soon as that is all built and published we can drop the need for the PPA addition from vaultlocker from all three charms - I'll raise the reviews for that now.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (master)

Fix proposed to branch: master
Review: https://review.openstack.org/617608

Changed in charm-ceph-osd:
status: Confirmed → In Progress
Revision history for this message
James Page (james-page) wrote : Re: There is no option to specify local repository for vaultlocker ppa

Charm reviews up however they can't land until pkgs are in UCA/updates and bionic-backports.

  https://review.openstack.org/#/q/topic:bug/1802905+(status:open+OR+status:merged)

I'll post the charms on the charmstore as well so UCA/queens-proposed can be used as a interim workaround

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

Charms to use until vaultlocker is generally available:

cs:~james-page/nova-compute-38
cs:~james-page/swift-storage-22
cs:~james-page/ceph-osd-96

Please use the specific versions.

Changed in charm-nova-compute:
status: New → In Progress
Changed in charm-swift-storage:
status: New → In Progress
Changed in charm-nova-compute:
assignee: nobody → James Page (james-page)
Changed in charm-swift-storage:
assignee: nobody → James Page (james-page)
Changed in charm-nova-compute:
importance: Undecided → High
Changed in charm-swift-storage:
importance: Undecided → High
Changed in charm-ceph-osd:
milestone: none → 19.04
Changed in charm-nova-compute:
milestone: none → 19.04
Changed in charm-swift-storage:
milestone: none → 19.04
no longer affects: vault-charm
James Page (james-page)
summary: - There is no option to specify local repository for vaultlocker ppa
+ Use of vaultlocker based block device encryption requires use of PPA
Revision history for this message
James Page (james-page) wrote :

vaultlocker is in xenial-queens/updates; I'm just waiting for the backport in bionic to be accepted.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on charm-ceph-osd (master)

Change abandoned by James Page (<email address hidden>) on branch: master
Review: https://review.openstack.org/617367
Reason: vaultlocker is in all the right places now so no need for this review.

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

vaultlocker is also now in bionic-backports

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (master)

Reviewed: https://review.openstack.org/617608
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=3136669653d1bc1a41571cd6e4a4fc02d6f9d807
Submitter: Zuul
Branch: master

commit 3136669653d1bc1a41571cd6e4a4fc02d6f9d807
Author: James Page <email address hidden>
Date: Tue Nov 13 11:36:46 2018 +0000

    Drop use of vaultlocker PPA

    vaultlocker is now provided in the UCA and via backports in bionic.

    Change-Id: I257b1b2e8aff7900eb0845ea416b54fb42b6b1f5
    Closes-Bug: 1802905

Changed in charm-ceph-osd:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-swift-storage (master)

Reviewed: https://review.openstack.org/617611
Committed: https://git.openstack.org/cgit/openstack/charm-swift-storage/commit/?id=9dfe75d82efb4f1d541cee8c667be94dc31d9f85
Submitter: Zuul
Branch: master

commit 9dfe75d82efb4f1d541cee8c667be94dc31d9f85
Author: James Page <email address hidden>
Date: Tue Nov 13 11:41:06 2018 +0000

    Drop use of vaultlocker PPA

    vaultlocker is now provided in the UCA and in backports for bionic.

    Change-Id: Ia2b4cfe75a152d4d8e1de7cda076b692ebd9d398
    Closes-Bug: 1802905

Changed in charm-swift-storage:
status: In Progress → Fix Committed
Changed in charm-nova-compute:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.openstack.org/617610
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=c68107f4be0a5939c0980b51b2ba4ac58453642e
Submitter: Zuul
Branch: master

commit c68107f4be0a5939c0980b51b2ba4ac58453642e
Author: James Page <email address hidden>
Date: Tue Nov 13 11:39:31 2018 +0000

    Drop use of vaultlocker PPA

    vaultlocker is now provided in the UCA and in backports for bionic.

    Change-Id: Iedff261d08401e99eb4e9f913458648d13fff048
    Closes-Bug: 1802905

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (stable/18.11)

Fix proposed to branch: stable/18.11
Review: https://review.openstack.org/621581

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-swift-storage (stable/18.11)

Fix proposed to branch: stable/18.11
Review: https://review.openstack.org/621582

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-osd (stable/18.11)

Fix proposed to branch: stable/18.11
Review: https://review.openstack.org/621583

James Page (james-page)
Changed in charm-ceph-osd:
status: Fix Committed → Fix Released
Changed in charm-swift-storage:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-swift-storage (stable/18.11)

Reviewed: https://review.openstack.org/621582
Committed: https://git.openstack.org/cgit/openstack/charm-swift-storage/commit/?id=63b5037662c4ee9f93c81f71c5686ecea2741c17
Submitter: Zuul
Branch: stable/18.11

commit 63b5037662c4ee9f93c81f71c5686ecea2741c17
Author: James Page <email address hidden>
Date: Tue Nov 13 11:41:06 2018 +0000

    Drop use of vaultlocker PPA

    vaultlocker is now provided in the UCA and in backports for bionic.

    Change-Id: Ia2b4cfe75a152d4d8e1de7cda076b692ebd9d398
    Closes-Bug: 1802905
    (cherry picked from commit 9dfe75d82efb4f1d541cee8c667be94dc31d9f85)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-osd (stable/18.11)

Reviewed: https://review.openstack.org/621583
Committed: https://git.openstack.org/cgit/openstack/charm-ceph-osd/commit/?id=e369a0973d397fb1df19b0b8d0cf7b548f090a43
Submitter: Zuul
Branch: stable/18.11

commit e369a0973d397fb1df19b0b8d0cf7b548f090a43
Author: James Page <email address hidden>
Date: Tue Nov 13 11:36:46 2018 +0000

    Drop use of vaultlocker PPA

    vaultlocker is now provided in the UCA and via backports in bionic.

    Change-Id: I257b1b2e8aff7900eb0845ea416b54fb42b6b1f5
    Closes-Bug: 1802905
    (cherry picked from commit 3136669653d1bc1a41571cd6e4a4fc02d6f9d807)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (stable/18.11)

Reviewed: https://review.openstack.org/621581
Committed: https://git.openstack.org/cgit/openstack/charm-nova-compute/commit/?id=a0d3a955dd131effd449e3982590b0ab4cfeac81
Submitter: Zuul
Branch: stable/18.11

commit a0d3a955dd131effd449e3982590b0ab4cfeac81
Author: James Page <email address hidden>
Date: Tue Nov 13 11:39:31 2018 +0000

    Drop use of vaultlocker PPA

    vaultlocker is now provided in the UCA and in backports for bionic.

    Change-Id: Iedff261d08401e99eb4e9f913458648d13fff048
    Closes-Bug: 1802905
    (cherry picked from commit c68107f4be0a5939c0980b51b2ba4ac58453642e)

James Page (james-page)
Changed in charm-nova-compute:
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.