Merge lp:~andreserl/ubuntu/natty/eucalyptus/lp732082 into lp:~ubuntu-virt/ubuntu/natty/eucalyptus/natty

Proposed by Andres Rodriguez
Status: Merged
Merged at revision: 1132
Proposed branch: lp:~andreserl/ubuntu/natty/eucalyptus/lp732082
Merge into: lp:~ubuntu-virt/ubuntu/natty/eucalyptus/natty
Diff against target: 231 lines (+103/-27)
8 files modified
debian/changelog (+21/-0)
debian/control (+24/-10)
debian/eucalyptus-admin-tools.install (+16/-0)
debian/eucalyptus-common.install (+0/-16)
debian/eucalyptus-nc.install (+1/-0)
debian/eucalyptus-nc.links (+1/-0)
debian/powernap/eucalyptus.conf (+37/-0)
debian/rules (+3/-1)
To merge this branch: bzr merge lp:~andreserl/ubuntu/natty/eucalyptus/lp732082
Reviewer Review Type Date Requested Status
Dave Walker Approve
Review via email: mp+53877@code.launchpad.net
To post a comment you must log in.
1134. By Andres Rodriguez

debian/control: Change Recommends order of bittorrent to bittornado
first. Allows demontion of bittorrent. (LP: #697753)

Revision history for this message
Dave Walker (davewalker) wrote :

Looks good to me... nice work.

It will introduce a new binary package, but it doesn't introduce new files.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-03-05 09:31:36 +0000
3+++ debian/changelog 2011-03-17 20:02:50 +0000
4@@ -1,3 +1,24 @@
5+eucalyptus (2.0.1+bzr1256-0ubuntu3) natty; urgency=low
6+
7+ * Separate admin tools from eucalyptus-common package(LP: #732082)
8+ - debian/control:
9+ + Add eucalyptus-admin-tools binary package.
10+ + Add missing Depends on python-psutil. (LP: #731672)
11+ + eucalyptus-cloud: Depends on eucalyptus-admin-tools.
12+ - debian/eucalyptus-admin-tools.install: Added.
13+ - debian/eucalyptus-common.install: Drop installation of admin tools.
14+ * Switch to dh_python2 instead of python-central.
15+ - debian/control. Bump Depends on cdbs to (>= 0.4.90~); bump depends on
16+ python to (>= 2.6.6-3).
17+ * Add powernap configs to leverage recent PowerNap changes (LP: #726769):
18+ - debian/powernap/eucalyptus.conf: Add config.
19+ - debian/eucalyptus-nc.install: Install config.
20+ - debian/eucalyptus-nc.links: Symlink to /etc/powernap/config.d/.
21+ * debian/control: Change Recommends order of bittorrent to bittornado
22+ first. Allows demontion of bittorrent. (LP: #697753)
23+
24+ -- Andres Rodriguez <andreserl@ubuntu.com> Thu, 17 Mar 2011 15:23:36 -0400
25+
26 eucalyptus (2.0.1+bzr1256-0ubuntu2) natty; urgency=low
27
28 [ Andres Rodriguez ]
29
30=== modified file 'debian/control'
31--- debian/control 2011-03-04 22:25:46 +0000
32+++ debian/control 2011-03-17 20:02:50 +0000
33@@ -5,7 +5,7 @@
34 Build-Depends:
35 ant,
36 ant-optional,
37- cdbs,
38+ cdbs (>= 0.4.90~),
39 debhelper (>= 7),
40 default-jdk,
41 groovy (>= 1.7),
42@@ -56,25 +56,21 @@
43 zlib1g-dev,
44 libjavassist-java,
45 libjetty-extra-java,
46- python-central (>= 0.5),
47- python
48-XS-Python-Version: >= 2.5
49+ python (>= 2.6.6-3)
50+XS-Python-Version: >= 2.6
51 Standards-Version: 3.9.1
52 Homepage: http://open.eucalyptus.com/
53 Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-virt/ubuntu/natty/eucalyptus/natty/revision/1120
54
55 Package: eucalyptus-common
56 Architecture: any
57-XB-Python-Version: ${python:Versions}
58 Depends:
59 ${shlibs:Depends},
60 ${misc:Depends},
61 adduser,
62 openssh-server (>= 1:5.2p1-1ubuntu1),
63 openssh-client,
64- avahi-utils,
65- python,
66- python-boto
67+ avahi-utils
68 Recommends:
69 unzip,
70 munin-node
71@@ -87,6 +83,23 @@
72 This package contains the common parts: you will need to install either
73 eucalyptus-cloud, eucalyptus-cc or eucalyptus-nc (or all of them).
74
75+Package: eucalyptus-admin-tools
76+Architecture: any
77+XB-Python-Version: ${python:Versions}
78+Depends: ${python:Depends},
79+ ${misc:Depends},
80+ python-boto,
81+ python-psutil
82+Conflicts: eucalyptus-common (<= 2.0.1+bzr1256-0ubuntu2)
83+Replaces: eucalyptus-common (<= 2.0.1+bzr1256-0ubuntu2)
84+Description: Elastic Utility Computing Architecture - Admin tools
85+ EUCALYPTUS is an open source service overlay that implements elastic
86+ computing using existing resources. The goal of EUCALYPTUS is to allow
87+ sites with existing clusters and server infrastructure to co-host an
88+ elastic computing service that is interface-compatible with Amazon's EC2.
89+ .
90+ This package contains the eucalyptus admin tools.
91+
92 Package: eucalyptus-sc
93 Architecture: any
94 Depends:
95@@ -114,7 +127,8 @@
96 ${misc:Depends},
97 eucalyptus-common,
98 uec-component-listener,
99- eucalyptus-java-common
100+ eucalyptus-java-common,
101+ eucalyptus-admin-tools
102 Recommends:
103 python-image-store-proxy,
104 postfix | mail-transport-agent,
105@@ -140,7 +154,7 @@
106 eucalyptus-java-common
107 Recommends:
108 munin-node,
109- bittorrent | bittornado
110+ bittornado | bittorrent
111 Description: Elastic Utility Computing Architecture - Walrus (S3)
112 EUCALYPTUS is an open source service overlay that implements elastic
113 computing using existing resources. The goal of EUCALYPTUS is to allow
114
115=== added file 'debian/eucalyptus-admin-tools.install'
116--- debian/eucalyptus-admin-tools.install 1970-01-01 00:00:00 +0000
117+++ debian/eucalyptus-admin-tools.install 2011-03-17 20:02:50 +0000
118@@ -0,0 +1,16 @@
119+/usr/sbin/euca-add-user
120+/usr/sbin/euca-delete-user
121+/usr/sbin/euca-deregister-cluster
122+/usr/sbin/euca-deregister-storage-controller
123+/usr/sbin/euca-deregister-walrus
124+/usr/sbin/euca-describe-clusters
125+/usr/sbin/euca-describe-properties
126+/usr/sbin/euca-describe-storage-controllers
127+/usr/sbin/euca-describe-users
128+/usr/sbin/euca-describe-walruses
129+/usr/sbin/euca-get-credentials
130+/usr/sbin/euca-modify-property
131+/usr/sbin/euca-register-cluster
132+/usr/sbin/euca-register-storage-controller
133+/usr/sbin/euca-register-walrus
134+/usr/sbin/euca_admin usr/share/pyshared/
135
136=== modified file 'debian/eucalyptus-common.install'
137--- debian/eucalyptus-common.install 2011-03-04 22:25:46 +0000
138+++ debian/eucalyptus-common.install 2011-03-17 20:02:50 +0000
139@@ -25,19 +25,3 @@
140 debian/axis2.xml /etc/eucalyptus/axis2
141 debian/source_eucalyptus.py usr/share/apport/package-hooks
142 debian/15-eucalyptus-url /etc/update-motd.d/
143-/usr/sbin/euca-add-user
144-/usr/sbin/euca-delete-user
145-/usr/sbin/euca-deregister-cluster
146-/usr/sbin/euca-deregister-storage-controller
147-/usr/sbin/euca-deregister-walrus
148-/usr/sbin/euca-describe-clusters
149-/usr/sbin/euca-describe-properties
150-/usr/sbin/euca-describe-storage-controllers
151-/usr/sbin/euca-describe-users
152-/usr/sbin/euca-describe-walruses
153-/usr/sbin/euca-get-credentials
154-/usr/sbin/euca-modify-property
155-/usr/sbin/euca-register-cluster
156-/usr/sbin/euca-register-storage-controller
157-/usr/sbin/euca-register-walrus
158-/usr/sbin/euca_admin usr/share/pyshared/
159
160=== modified file 'debian/eucalyptus-nc.install'
161--- debian/eucalyptus-nc.install 2010-08-03 13:11:48 +0000
162+++ debian/eucalyptus-nc.install 2011-03-17 20:02:50 +0000
163@@ -12,3 +12,4 @@
164 /usr/share/eucalyptus/disconnect_iscsitarget.pl
165 /usr/share/eucalyptus/get_iscsitarget.pl
166 debian/30-eucalyptus-nc.conf etc/sysctl.d
167+debian/powernap/eucalyptus.conf usr/share/eucalyptus/powernap
168
169=== added file 'debian/eucalyptus-nc.links'
170--- debian/eucalyptus-nc.links 1970-01-01 00:00:00 +0000
171+++ debian/eucalyptus-nc.links 2011-03-17 20:02:50 +0000
172@@ -0,0 +1,1 @@
173+usr/share/eucalyptus/powernap/eucalyptus.conf etc/powernap/config.d/eucalyptus.conf
174
175=== added directory 'debian/powernap'
176=== added file 'debian/powernap/eucalyptus.conf'
177--- debian/powernap/eucalyptus.conf 1970-01-01 00:00:00 +0000
178+++ debian/powernap/eucalyptus.conf 2011-03-17 20:02:50 +0000
179@@ -0,0 +1,37 @@
180+# This config file adds/overrides PowerNap Monitor configuration for Eucalyptus
181+# compatibility with PowerNap, due to recent PowerNap changes.
182+
183+[ProcessMonitor]
184+# By default, it is assumed that PowerNap runs with PowerSave (ACTION_METHOD=0)
185+# (see /etc/powernap/config). This monitor will prevent PowerNap from entering
186+# into a lower power state by tracking the KVM Process. This means that when
187+# no instances are being run in the Node Controller, PowerNap will enter into
188+# a lower Power State.
189+# Setting this monitor will allow PowerNap to save power even though Eucalyptus
190+# has not been configured to do so. This Monitor is enabled by default and should
191+# be used in the following situations:
192+# - When running SCHEDPOLICY=ROUNDROBIN, Eucalyptus will not manage PowerNap
193+# at all. PowerNap will, however, enter into PowerSaving mode when no KVM
194+# Processes are found in the NC.
195+# - When running SCHEDPOLICY=POWERSAVE, Eucalyptus will decide when to put a
196+# NC to sleep by sending the powernap-now command. This command will execute
197+# the defined ACTION_METHOD, however, having this Monitor enabled, it will
198+# ensure that the NC enters to a PowerSave mode when there are no instances
199+# running. PowerNap and Eucalyptus in convination will manage the power saving
200+# features.
201+euca-kvm = "kvm"
202+
203+# When PowerNap ACTION_METHOD is configured to Suspend/Poweroff/Best-Effor
204+# (ACTION_METHOD equal to 1, 2, 3 or 4), this Process Monitor will prevent PowerNap
205+# from executing an action when it shouldn't.
206+# This monitor MUST be used to prevent PowerNap from taking the NC to a sleep
207+# state in the following situations:
208+# - When running SCHEDPOLICY=ROUNDROBIN, Eucalyptus does not manage power saving
209+# and adding this monitor will prevent PowerNap to put NC's to sleep even when
210+# there are instances running.
211+# - When running SCHEDPOLICY=POWERSAVE, Eucalyptus automatically manage when the
212+# NC's are put to sleep (sending powernap-now command). This monitor prevents
213+# PowerNap from putting NC's to sleep when Eucalyptus hasn't decided to so. This
214+# allows Eucalyptus to solely manage the POWERSAVE feature without the manual
215+# intervention of PowerNap.
216+#euca-init = "^/sbin/init"
217
218=== modified file 'debian/rules'
219--- debian/rules 2011-03-04 22:25:46 +0000
220+++ debian/rules 2011-03-17 20:02:50 +0000
221@@ -56,7 +56,9 @@
222 binary-install/eucalyptus-common::
223 dh_installinit -p$(cdbs_curpkg) --name=eucalyptus-network
224 dh_installinit -p$(cdbs_curpkg) --name=eucalyptus
225- DH_PYCENTRAL="include-links" dh_pycentral -peucalyptus-common
226+
227+binary-install/eucalyptus-admin-tools::
228+ dh_python2
229
230 binary-install/eucalyptus-cc::
231 dh_installinit -p$(cdbs_curpkg) --name=eucalyptus-cc-publication

Subscribers

People subscribed via source and target branches