From 65ffac0b4188152188545e93b3a78c09fe6e87f9 Mon Sep 17 00:00:00 2001 From: Khai Do Date: Tue, 10 Feb 2015 10:52:55 -0800 Subject: [PATCH] Add the luanchpadlib OS package to review-dev.o.o review-dev.o.o fails to update launchpad blueprints, issues, etc. because it's missing the launchpadlib package. Error in the Gerrit logs: Traceback (most recent call last): File "/usr/local/bin/update-bug", line 6, in from jeepyb.cmd.update_bug import main File "/usr/local/lib/python2.7/dist-packages/jeepyb/cmd/update_bug.py", line 25, in hook[change-merged] output: from launchpadlib import launchpad hook[change-merged] output: ImportError: No module named launchpadlib Change-Id: I94abd2928729cd59227b077578447d63464b2797 --- modules/openstack_project/manifests/review_dev.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/openstack_project/manifests/review_dev.pp b/modules/openstack_project/manifests/review_dev.pp index 624706bb9d..48759e1b49 100644 --- a/modules/openstack_project/manifests/review_dev.pp +++ b/modules/openstack_project/manifests/review_dev.pp @@ -104,6 +104,9 @@ class openstack_project::review_dev ( version => 'e00d5af', } + package { 'python-launchpadlib': + ensure => present, + } file { '/home/gerrit2/.launchpadlib': ensure => directory, owner => 'gerrit2',