Merge ~oddbloke/cloud-init/+git/cloud-init:ubuntu/devel into cloud-init:ubuntu/devel

Proposed by Dan Watkins
Status: Merged
Merged at revision: c45d5f2cc27236a2038ee5f6bd28e90bea0f1f26
Proposed branch: ~oddbloke/cloud-init/+git/cloud-init:ubuntu/devel
Merge into: cloud-init:ubuntu/devel
Diff against target: 38 lines (+6/-14)
2 files modified
debian/changelog (+6/-0)
debian/cloud-init.postinst (+0/-14)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Needs Fixing
Ryan Harper Approve
Review via email: mp+364162@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ryan Harper (raharper) wrote :

I think the post-inst should attempt to remove the existing file cloud-init wrote on upgrade. Thoughts?

Revision history for this message
Ryan Harper (raharper) wrote :

After some discussion, it's best to just not emit the file; cleaning up might affect existing systems which may still require this specific setting.

review: Approve
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

FAILED: Continuous integration, rev:c45d5f2cc27236a2038ee5f6bd28e90bea0f1f26
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https://code.launchpad.net/~daniel-thewatkins/cloud-init/+git/cloud-init/+merge/364162/+edit-commit-message

https://jenkins.ubuntu.com/server/job/cloud-init-ci/625/
Executed test runs:
    SUCCESS: Checkout
    SUCCESS: Unit & Style Tests
    SUCCESS: Ubuntu LTS: Build
    SUCCESS: Ubuntu LTS: Integration
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/625/rebuild

review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 61f09d7..c17e38b 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+cloud-init (18.5-44-g7c07af28-0ubuntu2) disco; urgency=medium
7+
8+ * d/postinst: remove now-incorrect apt pipelining configuration
9+
10+ -- Daniel Watkins <oddbloke@ubuntu.com> Fri, 08 Mar 2019 09:56:42 -0500
11+
12 cloud-init (18.5-44-g7c07af28-0ubuntu1) disco; urgency=medium
13
14 * New upstream snapshot.
15diff --git a/debian/cloud-init.postinst b/debian/cloud-init.postinst
16index f88d1c5..93d58e2 100644
17--- a/debian/cloud-init.postinst
18+++ b/debian/cloud-init.postinst
19@@ -297,20 +297,6 @@ datasource_list: [ $values ]
20 EOF
21 fi
22
23- # we want to affect apt_pipelining on install, not wait for
24- # cloud-init to run it on next boot.
25- pipeline_f="/etc/apt/apt.conf.d/90cloud-init-pipelining"
26- if [ -f /var/lib/cloud/instance/obj.pkl ]; then
27- cloud-init single --name apt-pipelining --frequency once >/dev/null 2>&1 ||
28- echo "Warning: failed to setup apt-pipelining" 1>&2
29- elif [ ! -f "$pipeline_f" ]; then
30- # there was no cloud available, so populate it ourselves.
31- cat > "$pipeline_f" <<EOF
32-//Written by cloud-init per 'apt_pipelining'
33-Acquire::http::Pipeline-Depth "0";
34-EOF
35- fi
36-
37 # if there are maas settings pre-seeded apply them
38 handle_preseed_maas
39

Subscribers

People subscribed via source and target branches