Page MenuHomePhabricator

Retire and remove module labs_debrepo
Open, Needs TriagePublic


labs_debrepo sets up a shared apt repository in /data/project/repo (configurable). As this is on NFS and NFS is deprecated wherever possible, uses of labs_debrepo should be replaced by aptly or in other ways.

Event Timeline

scfc created this task.Dec 19 2016, 5:39 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 19 2016, 5:39 AM

How exactly is this related to T153439 Tim? A bit more info than one line would be nice.

scfc added a comment.Dec 20 2016, 1:56 AM

@Multichill: Sorry for being too terse. labs_debrepo is used inter alia by WDQ in the form of operations/puppet's [[;8eb8d2e54ad387657bfecb1b3a821c646c4a636b$7|modules/role/manifests/wdq_mm/server.pp]]:

# == Class: role::wdq_mm::server
​# Role class for setting up an instance of
​# Magnus' WDQ on labs
​class role::wdq_mm::server {
​    requires_realm('labs')
​    include ::labs_debrepo
​    include labs_lvm
​    labs_lvm::volume { 'instance-storage':
​        mountat => '/srv',
​        size    => '80%FREE',
​    }
​    class { '::wdq_mm':
​        require => [
​            Class['::labs_debrepo'],
​            Labs_lvm::Volume['instance-storage'],
​        ]
​    }

So labs_debrepo can't be removed before WDQ is decommissioned (or WDQ would need to be set up differently).

@scfc You can probably start with this one? Or is WDQ still blocking you in some way?