1 |
commit: 4b7e6a9a9af4217a16672d5391fce1e096d9229c |
2 |
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 29 00:04:36 2017 +0000 |
4 |
Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 29 00:22:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7e6a9a |
7 |
|
8 |
sys-cluster/nova: 13.1.4 and 14.0.5 stable amd64 and x86 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sys-cluster/nova/Manifest | 2 - |
13 |
sys-cluster/nova/nova-13.1.2.ebuild | 212 ---------------------------------- |
14 |
sys-cluster/nova/nova-13.1.4.ebuild | 2 +- |
15 |
sys-cluster/nova/nova-14.0.3.ebuild | 219 ------------------------------------ |
16 |
sys-cluster/nova/nova-14.0.5.ebuild | 2 +- |
17 |
5 files changed, 2 insertions(+), 435 deletions(-) |
18 |
|
19 |
diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest |
20 |
index 4d9c105326c..c48a2210ee0 100644 |
21 |
--- a/sys-cluster/nova/Manifest |
22 |
+++ b/sys-cluster/nova/Manifest |
23 |
@@ -1,8 +1,6 @@ |
24 |
DIST mitaka-nova.conf.sample 36427 SHA256 dd4c3ccab89fbe9f69df520f47d439c7ffa440d3f8b288b0ab99ac328a02ec75 SHA512 169671bde5cb5bb89065d801f80aa0d3c664af652d9ddb0c409ed3e0af2c0b94f1dbd0ebf834849e3e75dc38972935ec65a6e533d86148a7315839597d577cad WHIRLPOOL 20f95a296c3d112a532c9c5cc911d30b67472868d94bcfd52fadfd7105f9095a6b77020ca1caa6a70319548239358868d809feed363a82e4d574aceb6e5f016d |
25 |
DIST newton-nova.conf.sample 44496 SHA256 a7d9b95e67b77d0335edac760e037ad117d8c9f18c4792939ba8bb02739eae58 SHA512 ac917f0fed24c6705cbe43b4e1af31138bb656ea06f0cbe66d5b820677a47ca854abf6ca7fdf76a9a7f3a5afff758dac294ffd778d1bda82bb9f95c48d103d6e WHIRLPOOL 3c54dc8e4721f4289a8f64e9ac215c4b2e4b6afd2904fea4080659d3c292dcd942535d998b463efa4dd96a6090afb9830dfa6b9b3f2062439a8d03ec09356adc |
26 |
-DIST nova-13.1.2.tar.gz 5419167 SHA256 8e6762e09ff3bb1ab401881657faa460c75b32b730ca55e89b3de0a921843b99 SHA512 3ea9e4a26ef10dc6175b417d66817ed5f00915197fd7184778a2ce70ef56208a5e5e6c8fe72228c90eb4999b278eb9a2f6743f5430f1e14e5b5aa2d7c53e79f7 WHIRLPOOL bd025f3a434332acf61da52f9df72d644f1cea19e38a702c39939e32a8a45b1996340b1f93f253e9844098e0cfb73dc286cfadb13181751545f4b8356342487d |
27 |
DIST nova-13.1.4.tar.gz 5419307 SHA256 9ce2a44e94126b9992478bf3fb11c80a8ea6acd0d5a1a3614fbe1204bb101505 SHA512 a70783ceed1961201d198f4e8db118a8d6326ccf264061caf6610f21041a62836409f1acdfb668ad79c85192143bd7ddc1db4bc9b44f033d02d6578380d8c7d9 WHIRLPOOL 62c1a890a75d74ed8971ef465d95ae0883b304cad1282db021c24466c0fabdc16ab8f9bccc8bd081314032895ffee8f118938736ede7227b04870a47af004606 |
28 |
-DIST nova-14.0.3.tar.gz 5584926 SHA256 e5a93e747824cb77a0d389a3e74eaaa63954048530df942533c68bda1534e826 SHA512 9fff4b9370799f05c8d0984d19020ff794ffec3924e607eb2677e29e87990c32f9132e0f70137e8bb2142140476cc612e0dfdb1abeb3a8e6ae14b98703b1dffc WHIRLPOOL e73cfeb570722e081ee28f4ff06ef3175af93e2d82c1bced374178192296186d387c23e0b1d835253e3a33e70ee5681f70c0fc7867a6f080d16083dd4364b210 |
29 |
DIST nova-14.0.5.tar.gz 5595066 SHA256 762f18a0e18bda9d2c962e906424b8a60e3c2692d9b597d728a5c9b3ae28926a SHA512 8e169c625f65b1333dbf0737fd3451903ebf0a95bfac37394f588182d5395e3dc7d037075ef572306e9a07530c42a2d560bc26cb23ecc28c320e7412b5b1b093 WHIRLPOOL d6147e64405c11640ab3c7e1605d9e17a56fc1e4831516049059e1b114eab44d0f2ef6ea29209646caf5a80c5f595e69577c1936fc99507efd7ac3a2629c9d83 |
30 |
DIST nova-15.0.2.tar.gz 5737318 SHA256 bd1d5fd8b92bed97cc9b9ef51106a31f269096e294441744298a9d07c2f88f52 SHA512 d04804bcdf22a3f18fe2bc02c6c07bd5f894e674b01f64940587dc77c8d80904fcd802d3034c7dde4fa25bbbda4e2e6044bf6e877c658562242dde6d5d906628 WHIRLPOOL 58619c3cfbf7c618035ef90b967e355b35925f2a556ba1b610363753aaf4d038d8e782dce3f8ae4429be2c4d00b1f84146833ab08e73f14c58057a9669abd9f6 |
31 |
DIST nova.conf.sample-15.0.2 344760 SHA256 09c086c981505a6e775a4e2073856b1d38998d97b92062f019095f98d7d26e1f SHA512 5c55c752c8752876acbd8d2348abb39d6a8449f637ad2a6515f5c9f4619dbad73c4ae7a6ac4cd164656a0c466ed000a4d68a291050a03a5641fe96b3dd7f732d WHIRLPOOL 22f174d402e6d9c3e1e18da0cdec883209013083c66eb2b5a2921546fb609c1a19de594832afa8f40ee26a999f2596c563eb16ba1a08035895b5d6c72a729125 |
32 |
|
33 |
diff --git a/sys-cluster/nova/nova-13.1.2.ebuild b/sys-cluster/nova/nova-13.1.2.ebuild |
34 |
deleted file mode 100644 |
35 |
index f78cfd2766b..00000000000 |
36 |
--- a/sys-cluster/nova/nova-13.1.2.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,212 +0,0 @@ |
39 |
-# Copyright 1999-2016 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=6 |
43 |
-PYTHON_COMPAT=( python2_7 ) |
44 |
- |
45 |
-inherit distutils-r1 eutils linux-info multilib user |
46 |
- |
47 |
-DESCRIPTION="Cloud computing fabric controller (main part of an IaaS system) in Python" |
48 |
-HOMEPAGE="https://launchpad.net/nova" |
49 |
-SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz |
50 |
- https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/mitaka/nova.conf.sample -> mitaka-nova.conf.sample" |
51 |
- |
52 |
-LICENSE="Apache-2.0" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="amd64 ~arm64 x86" |
55 |
-IUSE="+compute compute-only iscsi +memcached mysql +novncproxy openvswitch postgres +rabbitmq sqlite" |
56 |
-REQUIRED_USE=" |
57 |
- !compute-only? ( || ( mysql postgres sqlite ) ) |
58 |
- compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )" |
59 |
- |
60 |
-CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
61 |
-DEPEND=" |
62 |
- >=dev-python/setuptools-16.0[${PYTHON_USEDEP}] |
63 |
- !~dev-python/setuptools-24.0.0[${PYTHON_USEDEP}] |
64 |
- ${CDEPEND} |
65 |
- app-admin/sudo" |
66 |
- |
67 |
-RDEPEND=" |
68 |
- ${CDEPEND} |
69 |
- compute-only? ( |
70 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
71 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
72 |
- ) |
73 |
- sqlite? ( |
74 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
75 |
- <dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] |
76 |
- ) |
77 |
- mysql? ( |
78 |
- dev-python/mysql-python |
79 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
80 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
81 |
- ) |
82 |
- postgres? ( |
83 |
- dev-python/psycopg:2 |
84 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
85 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
86 |
- ) |
87 |
- >=dev-python/boto-2.32.1[${PYTHON_USEDEP}] |
88 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
89 |
- >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
90 |
- >=dev-python/jinja-2.8[${PYTHON_USEDEP}] |
91 |
- >=dev-python/keystonemiddleware-4.0.0[${PYTHON_USEDEP}] |
92 |
- !~dev-python/keystonemiddleware-4.1.0[${PYTHON_USEDEP}] |
93 |
- >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
94 |
- >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
95 |
- !~dev-python/routes-2.0[${PYTHON_USEDEP}] |
96 |
- !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] |
97 |
- !~dev-python/routes-2.3.0[${PYTHON_USEDEP}] |
98 |
- >=dev-python/cryptography-1.0[${PYTHON_USEDEP}] |
99 |
- !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
100 |
- >=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
101 |
- >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] |
102 |
- >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
103 |
- >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
104 |
- dev-python/paste[${PYTHON_USEDEP}] |
105 |
- >=dev-python/prettytable-0.7[${PYTHON_USEDEP}] |
106 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
107 |
- >=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}] |
108 |
- >=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}] |
109 |
- !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] |
110 |
- >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
111 |
- >=dev-python/paramiko-1.16.0[${PYTHON_USEDEP}] |
112 |
- >=dev-python/Babel-1.3[${PYTHON_USEDEP}] |
113 |
- !~dev-python/Babel-2.3.0[${PYTHON_USEDEP}] |
114 |
- !~dev-python/Babel-2.3.1[${PYTHON_USEDEP}] |
115 |
- !~dev-python/Babel-2.3.2[${PYTHON_USEDEP}] |
116 |
- !~dev-python/Babel-2.3.3[${PYTHON_USEDEP}] |
117 |
- >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}] |
118 |
- >=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}] |
119 |
- !~dev-python/jsonschema-2.5.0[${PYTHON_USEDEP}] |
120 |
- <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] |
121 |
- >=dev-python/python-cinderclient-1.3.1[${PYTHON_USEDEP}] |
122 |
- >=dev-python/keystoneauth-2.1.0[${PYTHON_USEDEP}] |
123 |
- >=dev-python/python-neutronclient-2.6.0[${PYTHON_USEDEP}] |
124 |
- !~dev-python/python-neutronclient-4.1.0[${PYTHON_USEDEP}] |
125 |
- >=dev-python/python-glanceclient-2.0.0[${PYTHON_USEDEP}] |
126 |
- >=dev-python/requests-2.8.1[${PYTHON_USEDEP}] |
127 |
- !~dev-python/requests-2.9.0[${PYTHON_USEDEP}] |
128 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
129 |
- >=dev-python/stevedore-1.5.0[${PYTHON_USEDEP}] |
130 |
- >=dev-python/setuptools-16.0[${PYTHON_USEDEP}] |
131 |
- !~dev-python/setuptools-24.0.0[${PYTHON_USEDEP}] |
132 |
- >=dev-python/websockify-0.6.1[${PYTHON_USEDEP}] |
133 |
- >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] |
134 |
- >=dev-python/oslo-concurrency-3.7.1[${PYTHON_USEDEP}] |
135 |
- >=dev-python/oslo-config-3.7.0[${PYTHON_USEDEP}] |
136 |
- >=dev-python/oslo-context-0.2.0[${PYTHON_USEDEP}] |
137 |
- >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
138 |
- >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
139 |
- >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
140 |
- >=dev-python/oslo-utils-3.5.0[${PYTHON_USEDEP}] |
141 |
- >=dev-python/oslo-db-4.1.0[${PYTHON_USEDEP}] |
142 |
- >=dev-python/oslo-rootwrap-2.0.0[${PYTHON_USEDEP}] |
143 |
- >=dev-python/oslo-messaging-4.0.0[${PYTHON_USEDEP}] |
144 |
- >=dev-python/oslo-policy-0.5.0[${PYTHON_USEDEP}] |
145 |
- >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
146 |
- >=dev-python/oslo-service-1.0.0[${PYTHON_USEDEP}] |
147 |
- >=dev-python/rfc3986-0.2.0[${PYTHON_USEDEP}] |
148 |
- >=dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] |
149 |
- >=dev-python/psutil-1.1.1[${PYTHON_USEDEP}] |
150 |
- <dev-python/psutil-2.0.0[${PYTHON_USEDEP}] |
151 |
- >=dev-python/oslo-versionedobjects-1.5.0[${PYTHON_USEDEP}] |
152 |
- >=dev-python/alembic-0.8.0[${PYTHON_USEDEP}] |
153 |
- >=dev-python/os-brick-1.0.0[${PYTHON_USEDEP}] |
154 |
- !~dev-python/os-brick-1.4.0[${PYTHON_USEDEP}] |
155 |
- >=dev-python/os-win-0.2.3[${PYTHON_USEDEP}] |
156 |
- >=dev-python/castellan-0.3.1[${PYTHON_USEDEP}] |
157 |
- dev-python/libvirt-python[${PYTHON_USEDEP}] |
158 |
- app-emulation/libvirt[iscsi?] |
159 |
- novncproxy? ( www-apps/novnc ) |
160 |
- sys-apps/iproute2 |
161 |
- openvswitch? ( net-misc/openvswitch ) |
162 |
- rabbitmq? ( net-misc/rabbitmq-server ) |
163 |
- memcached? ( net-misc/memcached |
164 |
- <=dev-python/python-memcached-1.57 ) |
165 |
- sys-fs/sysfsutils |
166 |
- sys-fs/multipath-tools |
167 |
- net-misc/bridge-utils |
168 |
- compute? ( |
169 |
- app-cdr/cdrkit |
170 |
- sys-fs/dosfstools |
171 |
- app-emulation/qemu |
172 |
- ) |
173 |
- iscsi? ( |
174 |
- sys-fs/lsscsi |
175 |
- >=sys-block/open-iscsi-2.0.872-r3 |
176 |
- )" |
177 |
- |
178 |
-#PATCHES=( |
179 |
-#) |
180 |
- |
181 |
-pkg_setup() { |
182 |
- linux-info_pkg_setup |
183 |
- CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ |
184 |
- IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \ |
185 |
- NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \ |
186 |
- ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT" |
187 |
- if linux_config_exists; then |
188 |
- for module in ${CONFIG_CHECK_MODULES}; do |
189 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" |
190 |
- done |
191 |
- fi |
192 |
- enewgroup nova |
193 |
- enewuser nova -1 -1 /var/lib/nova nova |
194 |
-} |
195 |
- |
196 |
-python_prepare_all() { |
197 |
- sed -i '/^hacking/d' test-requirements.txt || die |
198 |
- distutils-r1_python_prepare_all |
199 |
-} |
200 |
- |
201 |
-python_install() { |
202 |
- distutils-r1_python_install |
203 |
- |
204 |
- if use !compute-only; then |
205 |
- for svc in api cert conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do |
206 |
- newinitd "${FILESDIR}/nova.initd" "nova-${svc}" |
207 |
- done |
208 |
- fi |
209 |
- use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute" |
210 |
- use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy" |
211 |
- |
212 |
- diropts -m 0750 -o nova -g qemu |
213 |
- dodir /var/log/nova /var/lib/nova/instances |
214 |
- diropts -m 0750 -o nova -g nova |
215 |
- |
216 |
- insinto /etc/nova |
217 |
- insopts -m 0640 -o nova -g nova |
218 |
- newins "${DISTDIR}/mitaka-nova.conf.sample" "nova.conf.sample" |
219 |
- doins "${S}/etc/nova/"* |
220 |
- #rootwrap filters |
221 |
- insopts -m 0644 |
222 |
- insinto /etc/nova/rootwrap.d |
223 |
- newins "${FILESDIR}/etc.mitaka/rootwrap.d/api-metadata.filters" "api-metadata.filters" |
224 |
- newins "${FILESDIR}/etc.mitaka/rootwrap.d/compute.filters" "compute.filters" |
225 |
- newins "${FILESDIR}/etc.mitaka/rootwrap.d/network.filters" "network.filters" |
226 |
- #copy migration conf file (not coppied on install via setup.py script) |
227 |
- insinto /usr/$(get_libdir)/python2.7/site-packages/nova/db/sqlalchemy/migrate_repo/ |
228 |
- doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" |
229 |
- #copy the CA cert dir (not coppied on install via setup.py script) |
230 |
- cp -R "${S}/nova/CA" "${D}/usr/$(get_libdir)/python2.7/site-packages/nova/" || die "installing CA files failed" |
231 |
- |
232 |
- #add sudoers definitions for user nova |
233 |
- insinto /etc/sudoers.d/ |
234 |
- insopts -m 0600 -o root -g root |
235 |
- doins "${FILESDIR}/nova-sudoers" |
236 |
- |
237 |
- if use iscsi ; then |
238 |
- # Install udev rules for handle iscsi disk with right links under /dev |
239 |
- udev_newrules "${FILESDIR}/openstack-scsi-disk.rules" 60-openstack-scsi-disk.rules |
240 |
- |
241 |
- insinto /etc/nova/ |
242 |
- doins "${FILESDIR}/scsi-openscsi-link.sh" |
243 |
- fi |
244 |
-} |
245 |
- |
246 |
-pkg_postinst() { |
247 |
- if use iscsi ; then |
248 |
- elog "iscsid needs to be running if you want cinder to connect" |
249 |
- fi |
250 |
-} |
251 |
|
252 |
diff --git a/sys-cluster/nova/nova-13.1.4.ebuild b/sys-cluster/nova/nova-13.1.4.ebuild |
253 |
index 5de77af6757..839c25b383b 100644 |
254 |
--- a/sys-cluster/nova/nova-13.1.4.ebuild |
255 |
+++ b/sys-cluster/nova/nova-13.1.4.ebuild |
256 |
@@ -13,7 +13,7 @@ SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz |
257 |
|
258 |
LICENSE="Apache-2.0" |
259 |
SLOT="0" |
260 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
261 |
+KEYWORDS="amd64 ~arm64 x86" |
262 |
IUSE="+compute compute-only iscsi +memcached mysql +novncproxy openvswitch postgres +rabbitmq sqlite" |
263 |
REQUIRED_USE=" |
264 |
!compute-only? ( || ( mysql postgres sqlite ) ) |
265 |
|
266 |
diff --git a/sys-cluster/nova/nova-14.0.3.ebuild b/sys-cluster/nova/nova-14.0.3.ebuild |
267 |
deleted file mode 100644 |
268 |
index 50457191bde..00000000000 |
269 |
--- a/sys-cluster/nova/nova-14.0.3.ebuild |
270 |
+++ /dev/null |
271 |
@@ -1,219 +0,0 @@ |
272 |
-# Copyright 1999-2017 Gentoo Foundation |
273 |
-# Distributed under the terms of the GNU General Public License v2 |
274 |
- |
275 |
-EAPI=6 |
276 |
-PYTHON_COMPAT=( python2_7 python3_4 ) |
277 |
- |
278 |
-inherit distutils-r1 eutils linux-info multilib user |
279 |
- |
280 |
-DESCRIPTION="Cloud computing fabric controller (main part of an IaaS system) in Python" |
281 |
-HOMEPAGE="https://launchpad.net/nova" |
282 |
-SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/newton/nova.conf.sample -> newton-nova.conf.sample |
283 |
-https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
284 |
- |
285 |
-LICENSE="Apache-2.0" |
286 |
-SLOT="0" |
287 |
-KEYWORDS="amd64 ~arm64 x86" |
288 |
-IUSE="+compute compute-only iscsi +memcached mysql +novncproxy openvswitch postgres +rabbitmq sqlite" |
289 |
-REQUIRED_USE=" |
290 |
- !compute-only? ( || ( mysql postgres sqlite ) ) |
291 |
- compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )" |
292 |
- |
293 |
-CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]" |
294 |
-DEPEND=" |
295 |
- >=dev-python/setuptools-16.0[${PYTHON_USEDEP}] |
296 |
- ${CDEPEND} |
297 |
- app-admin/sudo" |
298 |
- |
299 |
-RDEPEND=" |
300 |
- ${CDEPEND} |
301 |
- compute-only? ( |
302 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
303 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
304 |
- ) |
305 |
- sqlite? ( |
306 |
- >=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}] |
307 |
- <dev-python/sqlalchemy-1.1.0[sqlite,${PYTHON_USEDEP}] |
308 |
- ) |
309 |
- mysql? ( |
310 |
- >=dev-python/pymysql-0.6.2[${PYTHON_USEDEP}] |
311 |
- !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] |
312 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
313 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
314 |
- ) |
315 |
- postgres? ( |
316 |
- >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] |
317 |
- >=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}] |
318 |
- <dev-python/sqlalchemy-1.1.0[${PYTHON_USEDEP}] |
319 |
- ) |
320 |
- >=dev-python/boto-2.32.1[${PYTHON_USEDEP}] |
321 |
- >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] |
322 |
- >=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}] |
323 |
- >=dev-python/jinja-2.8[${PYTHON_USEDEP}] |
324 |
- >=dev-python/keystonemiddleware-4.0.0[${PYTHON_USEDEP}] |
325 |
- !~dev-python/keystonemiddleware-4.1.0[${PYTHON_USEDEP}] |
326 |
- !~dev-python/keystonemiddleware-4.5.0[${PYTHON_USEDEP}] |
327 |
- >=dev-python/lxml-2.3[${PYTHON_USEDEP}] |
328 |
- >=dev-python/routes-1.12.3[${PYTHON_USEDEP}] |
329 |
- !~dev-python/routes-2.0[${PYTHON_USEDEP}] |
330 |
- !~dev-python/routes-2.1[$(python_gen_usedep 'python2_7')] |
331 |
- !~dev-python/routes-2.3[${PYTHON_USEDEP}] |
332 |
- >=dev-python/cryptography-1.0[${PYTHON_USEDEP}] |
333 |
- !~dev-python/cryptography-1.3.0[${PYTHON_USEDEP}] |
334 |
- >=dev-python/webob-1.2.3[${PYTHON_USEDEP}] |
335 |
- >=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}] |
336 |
- >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] |
337 |
- dev-python/paste[${PYTHON_USEDEP}] |
338 |
- >=dev-python/prettytable-0.7[${PYTHON_USEDEP}] |
339 |
- <dev-python/prettytable-0.8[${PYTHON_USEDEP}] |
340 |
- >=dev-python/sqlalchemy-migrate-0.9.6[${PYTHON_USEDEP}] |
341 |
- >=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}] |
342 |
- !~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}] |
343 |
- >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] |
344 |
- >=dev-python/paramiko-2.0[${PYTHON_USEDEP}] |
345 |
- >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] |
346 |
- >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] |
347 |
- >=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}] |
348 |
- !~dev-python/jsonschema-2.5.0[${PYTHON_USEDEP}] |
349 |
- <dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}] |
350 |
- >=dev-python/python-cinderclient-1.6.0[${PYTHON_USEDEP}] |
351 |
- !~dev-python/python-cinderclient-1.7.0[${PYTHON_USEDEP}] |
352 |
- !~dev-python/python-cinderclient-1.7.1[${PYTHON_USEDEP}] |
353 |
- >=dev-python/keystoneauth-2.10.0[${PYTHON_USEDEP}] |
354 |
- >=dev-python/python-neutronclient-5.1.0[${PYTHON_USEDEP}] |
355 |
- >=dev-python/python-glanceclient-2.3.0[${PYTHON_USEDEP}] |
356 |
- !~dev-python/python-glanceclient-2.4.0[${PYTHON_USEDEP}] |
357 |
- >=dev-python/requests-2.10.0[${PYTHON_USEDEP}] |
358 |
- >=dev-python/six-1.9.0[${PYTHON_USEDEP}] |
359 |
- >=dev-python/stevedore-1.16.0[${PYTHON_USEDEP}] |
360 |
- >=dev-python/setuptools-16.0[${PYTHON_USEDEP}] |
361 |
- !~dev-python/setuptools-24.0.0[${PYTHON_USEDEP}] |
362 |
- >=dev-python/websockify-0.8.0[${PYTHON_USEDEP}] |
363 |
- >=dev-python/oslo-cache-1.5.0[${PYTHON_USEDEP}] |
364 |
- >=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}] |
365 |
- >=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}] |
366 |
- >=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}] |
367 |
- >=dev-python/oslo-log-1.14.0[${PYTHON_USEDEP}] |
368 |
- >=dev-python/oslo-reports-0.6.0[${PYTHON_USEDEP}] |
369 |
- >=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}] |
370 |
- >=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}] |
371 |
- >=dev-python/oslo-db-4.10.0[${PYTHON_USEDEP}] |
372 |
- !~dev-python/oslo-db-4.13.1[${PYTHON_USEDEP}] |
373 |
- !~dev-python/oslo-db-4.13.2[${PYTHON_USEDEP}] |
374 |
- >=dev-python/oslo-rootwrap-5.0.0[${PYTHON_USEDEP}] |
375 |
- >=dev-python/oslo-messaging-5.2.0[${PYTHON_USEDEP}] |
376 |
- >=dev-python/oslo-policy-1.9.0[${PYTHON_USEDEP}] |
377 |
- >=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}] |
378 |
- >=dev-python/oslo-service-1.10.0[${PYTHON_USEDEP}] |
379 |
- >=dev-python/rfc3986-0.2.2[${PYTHON_USEDEP}] |
380 |
- >=dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] |
381 |
- >=dev-python/psutil-1.1.1[${PYTHON_USEDEP}] |
382 |
- <dev-python/psutil-2.0.0[${PYTHON_USEDEP}] |
383 |
- >=dev-python/oslo-versionedobjects-1.13.0[${PYTHON_USEDEP}] |
384 |
- >=dev-python/os-brick-1.6.1[${PYTHON_USEDEP}] |
385 |
- >=dev-python/os-vif-1.1.0[${PYTHON_USEDEP}] |
386 |
- >=dev-python/os-win-0.2.3[${PYTHON_USEDEP}] |
387 |
- >=dev-python/castellan-0.4.0[${PYTHON_USEDEP}] |
388 |
- >=dev-python/microversion-parse-0.1.2[${PYTHON_USEDEP}] |
389 |
- >=dev-python/wsgiintercept-0.6.1[${PYTHON_USEDEP}] |
390 |
- dev-python/libvirt-python[${PYTHON_USEDEP}] |
391 |
- app-emulation/libvirt[iscsi?] |
392 |
- novncproxy? ( www-apps/novnc ) |
393 |
- sys-apps/iproute2 |
394 |
- openvswitch? ( net-misc/openvswitch ) |
395 |
- rabbitmq? ( net-misc/rabbitmq-server ) |
396 |
- memcached? ( |
397 |
- net-misc/memcached |
398 |
- >=dev-python/python-memcached-1.58 |
399 |
- ) |
400 |
- sys-fs/sysfsutils |
401 |
- sys-fs/multipath-tools |
402 |
- net-misc/bridge-utils |
403 |
- compute? ( |
404 |
- app-cdr/cdrtools |
405 |
- sys-fs/dosfstools |
406 |
- app-emulation/qemu |
407 |
- ) |
408 |
- iscsi? ( |
409 |
- sys-fs/lsscsi |
410 |
- >=sys-block/open-iscsi-2.0.873-r1 |
411 |
- )" |
412 |
- |
413 |
-#PATCHES=( |
414 |
-#) |
415 |
- |
416 |
-pkg_setup() { |
417 |
- linux-info_pkg_setup |
418 |
- CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ |
419 |
- IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \ |
420 |
- NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \ |
421 |
- ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT" |
422 |
- if linux_config_exists; then |
423 |
- for module in ${CONFIG_CHECK_MODULES}; do |
424 |
- linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" |
425 |
- done |
426 |
- fi |
427 |
- enewgroup nova |
428 |
- enewuser nova -1 -1 /var/lib/nova nova |
429 |
-} |
430 |
- |
431 |
-python_prepare_all() { |
432 |
- sed -i '/^hacking/d' test-requirements.txt || die |
433 |
- distutils-r1_python_prepare_all |
434 |
-} |
435 |
- |
436 |
-python_install_all() { |
437 |
- distutils-r1_python_install_all |
438 |
- |
439 |
- if use !compute-only; then |
440 |
- for svc in api cert conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do |
441 |
- newinitd "${FILESDIR}/nova.initd" "nova-${svc}" |
442 |
- done |
443 |
- fi |
444 |
- use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute" |
445 |
- use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy" |
446 |
- |
447 |
- diropts -m 0750 -o nova -g qemu |
448 |
- dodir /var/log/nova /var/lib/nova/instances |
449 |
- diropts -m 0750 -o nova -g nova |
450 |
- |
451 |
- insinto /etc/nova |
452 |
- insopts -m 0640 -o nova -g nova |
453 |
- newins "${DISTDIR}/newton-nova.conf.sample" "nova.conf.sample" |
454 |
- doins "${FILESDIR}/nova-compute.conf" |
455 |
- doins "${S}/etc/nova/"* |
456 |
- # rootwrap filters |
457 |
- insopts -m 0644 |
458 |
- insinto /etc/nova/rootwrap.d |
459 |
- doins "etc/nova/rootwrap.d/api-metadata.filters" |
460 |
- doins "etc/nova/rootwrap.d/compute.filters" |
461 |
- doins "etc/nova/rootwrap.d/network.filters" |
462 |
- |
463 |
- # add sudoers definitions for user nova |
464 |
- insinto /etc/sudoers.d/ |
465 |
- insopts -m 0600 -o root -g root |
466 |
- doins "${FILESDIR}/nova-sudoers" |
467 |
- |
468 |
- if use iscsi ; then |
469 |
- # Install udev rules for handle iscsi disk with right links under /dev |
470 |
- udev_newrules "${FILESDIR}/openstack-scsi-disk.rules" 60-openstack-scsi-disk.rules |
471 |
- |
472 |
- insinto /etc/nova/ |
473 |
- doins "${FILESDIR}/scsi-openscsi-link.sh" |
474 |
- fi |
475 |
-} |
476 |
- |
477 |
-python_install() { |
478 |
- distutils-r1_python_install |
479 |
- # copy migration conf file (not coppied on install via setup.py script) |
480 |
- insinto "$(python_get_sitedir)/db/sqlalchemy/migrate_repo/" |
481 |
- doins "nova/db/sqlalchemy/migrate_repo/migrate.cfg" |
482 |
- # copy the CA cert dir (not coppied on install via setup.py script) |
483 |
- cp -R "${S}/nova/CA" "${D}/$(python_get_sitedir)/nova/" || die "installing CA files failed" |
484 |
-} |
485 |
- |
486 |
-pkg_postinst() { |
487 |
- if use iscsi ; then |
488 |
- elog "iscsid needs to be running if you want cinder to connect" |
489 |
- fi |
490 |
-} |
491 |
|
492 |
diff --git a/sys-cluster/nova/nova-14.0.5.ebuild b/sys-cluster/nova/nova-14.0.5.ebuild |
493 |
index cfc13d1a7c1..50457191bde 100644 |
494 |
--- a/sys-cluster/nova/nova-14.0.5.ebuild |
495 |
+++ b/sys-cluster/nova/nova-14.0.5.ebuild |
496 |
@@ -13,7 +13,7 @@ https://tarballs.openstack.org/${PN}/${P}.tar.gz" |
497 |
|
498 |
LICENSE="Apache-2.0" |
499 |
SLOT="0" |
500 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
501 |
+KEYWORDS="amd64 ~arm64 x86" |
502 |
IUSE="+compute compute-only iscsi +memcached mysql +novncproxy openvswitch postgres +rabbitmq sqlite" |
503 |
REQUIRED_USE=" |
504 |
!compute-only? ( || ( mysql postgres sqlite ) ) |