diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /sys-cluster/nova | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'sys-cluster/nova')
-rw-r--r-- | sys-cluster/nova/Manifest | 14 | ||||
-rw-r--r-- | sys-cluster/nova/nova-2020.1.9999.ebuild | 6 | ||||
-rw-r--r-- | sys-cluster/nova/nova-2020.2.9999.ebuild | 4 | ||||
-rw-r--r-- | sys-cluster/nova/nova-21.1.1.ebuild | 4 | ||||
-rw-r--r-- | sys-cluster/nova/nova-21.1.2.ebuild | 217 | ||||
-rw-r--r-- | sys-cluster/nova/nova-22.0.1.ebuild | 4 | ||||
-rw-r--r-- | sys-cluster/nova/nova-22.1.0.ebuild | 213 |
7 files changed, 449 insertions, 13 deletions
diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest index 0755010297d9..2b57fd8da96f 100644 --- a/sys-cluster/nova/Manifest +++ b/sys-cluster/nova/Manifest @@ -4,13 +4,19 @@ AUX nova.initd 747 BLAKE2B 2a20a632fcb66001e68f4d70fa11ba179db9b06a6f412115d7b89 AUX openstack-scsi-disk.rules 134 BLAKE2B c1e3e150d93ab51b4da48caf2a0f83513fe63b5dde1e449a9c4c4dbfad65589b6326c799958736da86390142a914acbf9acf5b78bb1042e2c156eaf01cec8250 SHA512 6c3734d0b9ce9de887e15b1ddd5f5486dd1d0a55f463f9824ef067d3fe64a93d08ad2ef2b9d288f0dd42d570a5061e7a06976f7223df44b98bd321b73f9d036b AUX scsi-openscsi-link.sh 2777 BLAKE2B 84c14df2b1c49fe6210a4abf4387229aaa4fcd0c956b374b719285a20d8309f1bb58d51061084f34d284624d279bc64d53a629ec57702314c23e9b129c4a16b4 SHA512 3e7f6fc872f27b6a4d6c991346bd8eafcbc8f2b74439f1c77e93362e57fa1010ff002813cf21bf12d0550bfc165f79c70430862cd4ed5aaa15056777baf34409 DIST nova-21.1.1.tar.gz 9300545 BLAKE2B 757e7da69a10da73f7786e71e81ffc126304f8bff65910d3cb7ee8bf8fddc70490451b8173ac1a26e0b256e6cf54f4292617481c5fc7394e727ad2da20ed4607 SHA512 c44f0ca3b689cf3a3f364654bbdc8d4a425c702506be2d4e2d00002baf3395b5212807f1cc696488602d642c3565a7a84a407357d3621028c39e844c2ac4c466 +DIST nova-21.1.2.tar.gz 9306569 BLAKE2B 7b4a0d1a0b7432b027ffe3674ffa3db7ba75724342e1c5de833ed35bc03998057c05cc2e02383433440cda2c19d7a079f65d0d26c60061cd78cbb4d97af93695 SHA512 66dde411c7661d63b9a2104faf0e9dd82979579b9662083f2eb0b597aff960731c27ef1966995fc7eefc48c7d47d746982e995be76e844daa0512a2f8e38cf9c DIST nova-22.0.1.tar.gz 9254552 BLAKE2B b676ef872a9c14331860cd907a74c30f41dfb64908af9ac9e93bbc966a43daf1b3ef74d8a9e80e6f50ac25713a65a0082a02ecb276731ea3ea704dad210d6e7e SHA512 002b4fac8807b0a993e281fe6438b3e1db5cba31f12b2570c3bfd7cc495a5334668db4cc75a66f11186a8f0409f84e47e9e8b38220a1b3af762e543481ab0b7c +DIST nova-22.1.0.tar.gz 9267366 BLAKE2B 0e10b22f5a149eb59b600545f2d2ac91366e13b2d94ca4781358bc6008b569e9f0791eed8f62cf204339b48a970ef47808a94bc4605ac1d1868c4be2fc7db0e0 SHA512 fb5353abd0b2e90f0903ab45690526ed6e0294d3d0a09ffc4acfda022fb0c170be20da406e71a8b303efaef0174ca273ff44dcae79bfc33ffd51e910f0d20fee DIST nova.conf.sample-2020.1.9999 191182 BLAKE2B 99999b1b42b9ecc6a7f404c9874c5065591dfd8e896c97d261307f7f3b5e935e12db1b4650182660cf1eb97bcfb993d41a1f89e079120adc00b339b5a4ac1c98 SHA512 af22ba8dcfbafdb07ba2785bdcb40efd201adb81d47bee15ee11bb76437bc7a5b7c88390f995432ffa92b64b849df754bd15264e97530334f3eac6f8f93e828d DIST nova.conf.sample-2020.2.9999 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970 DIST nova.conf.sample-21.1.1 191182 BLAKE2B 99999b1b42b9ecc6a7f404c9874c5065591dfd8e896c97d261307f7f3b5e935e12db1b4650182660cf1eb97bcfb993d41a1f89e079120adc00b339b5a4ac1c98 SHA512 af22ba8dcfbafdb07ba2785bdcb40efd201adb81d47bee15ee11bb76437bc7a5b7c88390f995432ffa92b64b849df754bd15264e97530334f3eac6f8f93e828d +DIST nova.conf.sample-21.1.2 191182 BLAKE2B 99999b1b42b9ecc6a7f404c9874c5065591dfd8e896c97d261307f7f3b5e935e12db1b4650182660cf1eb97bcfb993d41a1f89e079120adc00b339b5a4ac1c98 SHA512 af22ba8dcfbafdb07ba2785bdcb40efd201adb81d47bee15ee11bb76437bc7a5b7c88390f995432ffa92b64b849df754bd15264e97530334f3eac6f8f93e828d DIST nova.conf.sample-22.0.1 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970 -EBUILD nova-2020.1.9999.ebuild 7628 BLAKE2B 3486d8ff71c4e70391cd416b6ef0cdf346ea8676d79cf594abaae8ea0f91dbe77a9a4a7fc720cbd4c6f910be91180b25251fa196878a33b4c8d114bb382c7e2a SHA512 d2a507f1fa6a00c2260f837cec8f02d6b151efbc7a50aecb6d50f30c1e56bd3cc708245ff7dec1a2d1a2601fb7a12a028a00ab3a7e75ff015500640c4b00c26a -EBUILD nova-2020.2.9999.ebuild 7493 BLAKE2B 13c828ef32b49e6284464e2fe99d396412e1345b7b148368fbcf2eecfcf671d9653733e8c64729a548cacf3b149d89099421ac78bc9c5a4e5083f83273180d12 SHA512 e7e8dd5dfea3be846e769207859255c88ab04ea745fbaf8062c1763f34959241b09ba0a444967e8abc91a9c96bfea00e6861006597bf8571843de6050b9e3779 -EBUILD nova-21.1.1.ebuild 7651 BLAKE2B fef31b81037d3412567f60578d63732f08fa0e70697c8a936d31e6b1fe5868b0dbb722447826b918ecb1467df9b95d9efec07fbe7a94225efa3f0695825e3f41 SHA512 c1a64cea2dbed104b03330662349ac165e18e162b89812a4c101f28f539773bb8563a3a56656fe561109eaef54f7eb3eccc799d81ec35de420109f35ade74352 -EBUILD nova-22.0.1.ebuild 7491 BLAKE2B c7c9321f79801920a7f12e2c6ac50a822afa149f6563e6ecceded24c790369c47bd961c0902f43c79a97cdfefc5417f2c0fa6370ca3a8871a8adea5b9eb805d0 SHA512 cc9bd391e783872f7384e136725d132fc8c2dffbe57b4af3fd7216029183a6218714d4243e9f2d489d611b04c6992d91b678a3f1f0875a62f757de997bdc8cd1 +DIST nova.conf.sample-22.1.0 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970 +EBUILD nova-2020.1.9999.ebuild 7633 BLAKE2B 7a9a900405589b3356673cee3a0d465e075b53fab5fcf84ddeaed587d11438bbcc838e3edb6409cc0e9cf6585d195b106a803bba5d950103b24018a047bbba49 SHA512 425b6951ad85c0e3e8e4600d670ba8f090469cf5f017693a4639a2cb27fc66b21aa75dc110d48d4623bd4f2aa612f85f20308b83677331bb8c1b348bb9af036c +EBUILD nova-2020.2.9999.ebuild 7498 BLAKE2B 45329d98d262f46b12e79aea2a256372c43824577b5b45620195fef5ce9899a14c8b29e09acb7769c43ace5986aead38b87f9304420666ab5a185229b7b131dd SHA512 ff46e10838353976449927878edc096abc33287156721e17989dbb9ffcf5e1238dedd61000fc81e712e865d63414848ed8345ff11095ee8c7d300b37ba764111 +EBUILD nova-21.1.1.ebuild 7656 BLAKE2B 9715cf99a2213416d7bb6f2fcb4971b179948eb5da5c50d1b50256a6b17c040020fd398e574b55dac8353f3e3f2ced4c3841d9812661106e7df9ad3b46098b4d SHA512 49a1ccf6ec51b414031d8bdba6ed3246cabe265f9e2fe2ac7b09708abdde16eced12e5c8c1b7d37cbda0928e0492d6c7824b8309b28e4be2e440bdb7b16e50f5 +EBUILD nova-21.1.2.ebuild 7658 BLAKE2B cf41045236d69ca97f2e1b7c46cc5f49148d2ccb379b2fa09acab28ff3ee8b4d19040f247596f0bcd16ae649335096de615581e2f35fcc9ffe6915bf677a3274 SHA512 7584dbfcbb9334d940d9de0db02e85579a6987b142b73dc9e68d7dbac9646be827d25de99d53c0f64fcfa9b1dcfcb48068e97f6807d1bb9e1a99a77fee92ce3e +EBUILD nova-22.0.1.ebuild 7496 BLAKE2B 9490d2b6faba72c8526f18aade9833abc81c0650ceb203b73ea0dfcd8f216a79af31b8b6c4196183140380d9a014e27084c2f77d1ebdeda5e0bea2c6df3b5115 SHA512 2b7e5a1fe04830b860fd6e0aa95324501ece938c7059fefb93dc2d4c21b8f0fcd7b87a01346d5823ba5a092540a1b86a40fbdd483b7c3a8c8553fbf6af2d37b3 +EBUILD nova-22.1.0.ebuild 7498 BLAKE2B 45329d98d262f46b12e79aea2a256372c43824577b5b45620195fef5ce9899a14c8b29e09acb7769c43ace5986aead38b87f9304420666ab5a185229b7b131dd SHA512 ff46e10838353976449927878edc096abc33287156721e17989dbb9ffcf5e1238dedd61000fc81e712e865d63414848ed8345ff11095ee8c7d300b37ba764111 MISC metadata.xml 1172 BLAKE2B aa85fe6bed1e40717884d721c2633c5f6d380914c69cb8a4a4c31b3e4c779db52b90fdaa5ee63b66ad9bc6694f666dd37dceeffb8de4676014ef3bb688476ef7 SHA512 bb506fa680b064c3d6a48710cac11efedc9e8a340603e234bf5c4c48aaab773e4527d7a8fc66ae36ec894230a1d02a5be995e521d222914f652e03b6f72642e4 diff --git a/sys-cluster/nova/nova-2020.1.9999.ebuild b/sys-cluster/nova/nova-2020.1.9999.ebuild index b3e54e918d9d..7a7b59e2390e 100644 --- a/sys-cluster/nova/nova-2020.1.9999.ebuild +++ b/sys-cluster/nova/nova-2020.1.9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_7 ) -inherit distutils-r1 eutils linux-info multilib +inherit distutils-r1 eutils linux-info multilib udev DESCRIPTION="Cloud computing fabric controller" HOMEPAGE="https://launchpad.net/nova" @@ -87,7 +87,7 @@ RDEPEND=" >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] >=dev-python/oslo-concurrency-3.29.0[${PYTHON_USEDEP}] >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] - >=dev-python/oslo-context-2.21.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] >=dev-python/oslo-serialization-1.21.0[${PYTHON_USEDEP}] diff --git a/sys-cluster/nova/nova-2020.2.9999.ebuild b/sys-cluster/nova/nova-2020.2.9999.ebuild index 4f4d7b2b35ea..1469e1f90d46 100644 --- a/sys-cluster/nova/nova-2020.2.9999.ebuild +++ b/sys-cluster/nova/nova-2020.2.9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_7 python3_8 ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 eutils linux-info multilib +inherit distutils-r1 eutils linux-info multilib udev DESCRIPTION="Cloud computing fabric controller" HOMEPAGE="https://launchpad.net/nova" diff --git a/sys-cluster/nova/nova-21.1.1.ebuild b/sys-cluster/nova/nova-21.1.1.ebuild index f1651e868045..0c8937f383c8 100644 --- a/sys-cluster/nova/nova-21.1.1.ebuild +++ b/sys-cluster/nova/nova-21.1.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_7 ) -inherit distutils-r1 eutils linux-info multilib +inherit distutils-r1 eutils linux-info multilib udev DESCRIPTION="Cloud computing fabric controller" HOMEPAGE="https://launchpad.net/nova" diff --git a/sys-cluster/nova/nova-21.1.2.ebuild b/sys-cluster/nova/nova-21.1.2.ebuild new file mode 100644 index 000000000000..6e90915fb659 --- /dev/null +++ b/sys-cluster/nova/nova-21.1.2.ebuild @@ -0,0 +1,217 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 ) +inherit distutils-r1 eutils linux-info multilib udev + +DESCRIPTION="Cloud computing fabric controller" +HOMEPAGE="https://launchpad.net/nova" + +if [[ ${PV} == *9999 ]];then + inherit git-r3 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/ussuri/nova.conf.sample -> nova.conf.sample-${PV}" + EGIT_REPO_URI="https://github.com/openstack/nova.git" + EGIT_BRANCH="stable/ussuri" +else + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/ussuri/nova.conf.sample -> nova.conf.sample-${PV} + https://tarballs.openstack.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite" +REQUIRED_USE=" + !compute-only? ( || ( mysql postgres sqlite ) ) + compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )" + +CDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + app-admin/sudo" + +RDEPEND=" + ${CDEPEND} + compute-only? ( + >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}] + ) + sqlite? ( + >=dev-python/sqlalchemy-1.2.19[sqlite,${PYTHON_USEDEP}] + ) + mysql? ( + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}] + ) + postgres? ( + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}] + ) + >=dev-python/decorator-3.4.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.20.0[${PYTHON_USEDEP}] + !~dev-python/eventlet-0.20.1[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10[${PYTHON_USEDEP}] + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}] + >=dev-python/lxml-2.4.1[${PYTHON_USEDEP}] + !~dev-python/lxml-3.7.0[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] + >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.4.10[${PYTHON_USEDEP}] + !~dev-python/greenlet-0.4.14[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] + >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + <dev-python/prettytable-0.8[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/paramiko-2.0.0[${PYTHON_USEDEP}] + >=dev-python/Babel-2.3.4[${PYTHON_USEDEP}] + !~dev-python/Babel-2.4.0[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] + !~dev-python/python-cinderclient-4.0.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.16.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.14.2[${PYTHON_USEDEP}] + >=dev-python/six-1.10.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/websockify-0.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.29.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.21.0[${PYTHON_USEDEP}] + >=dev-python/oslo-upgradecheck-0.1.1[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-db-4.44.0[${PYTHON_USEDEP}] + >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}] + >=dev-python/oslo-policy-3.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-privsep-1.33.2[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-service-1.40.1[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.1.0[${PYTHON_USEDEP}] + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] + >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] + >=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}] + >=dev-python/os-brick-3.0.1[${PYTHON_USEDEP}] + >=dev-python/os-resource-classes-0.4.0[${PYTHON_USEDEP}] + >=dev-python/os-traits-2.2.0[${PYTHON_USEDEP}] + >=dev-python/os-vif-1.14.0[${PYTHON_USEDEP}] + >=dev-python/os-win-3.0.0[${PYTHON_USEDEP}] + >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] + >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}] + >=dev-python/os-xenapi-0.3.3[${PYTHON_USEDEP}] + >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] + >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] + >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}] + >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] + >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}] + dev-python/libvirt-python[${PYTHON_USEDEP}] + app-emulation/libvirt[iscsi?] + app-emulation/spice-html5 + novncproxy? ( www-apps/novnc ) + sys-apps/iproute2 + openvswitch? ( net-misc/openvswitch ) + rabbitmq? ( net-misc/rabbitmq-server ) + memcached? ( + net-misc/memcached + >=dev-python/python-memcached-1.58 + ) + sys-fs/sysfsutils + sys-fs/multipath-tools + net-misc/bridge-utils + compute? ( + app-cdr/cdrtools + sys-fs/dosfstools + app-emulation/qemu + ) + iscsi? ( + sys-fs/lsscsi + >=sys-block/open-iscsi-2.0.873-r1 + ) + acct-user/nova + acct-group/nova" + +#PATCHES=( +# "${FILESDIR}/filename" +#) + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ + IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \ + NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \ + ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT" + if linux_config_exists; then + for module in ${CONFIG_CHECK_MODULES}; do + linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" + done + fi +} + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + if use !compute-only; then + for svc in api conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do + newinitd "${FILESDIR}/nova.initd" "nova-${svc}" + done + fi + use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute" + use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy" + + diropts -m 0750 -o nova -g qemu + dodir /var/log/nova /var/lib/nova/instances + diropts -m 0750 -o nova -g nova + + insinto /etc/nova + insopts -m 0640 -o nova -g nova + newins "${DISTDIR}/nova.conf.sample-${PV}" "nova.conf.sample" + doins "${FILESDIR}/nova-compute.conf" + doins "${S}/etc/nova/"* + # rootwrap filters + insopts -m 0644 + insinto /etc/nova/rootwrap.d + doins "etc/nova/rootwrap.d/compute.filters" + + # add sudoers definitions for user nova + insinto /etc/sudoers.d/ + insopts -m 0600 -o root -g root + doins "${FILESDIR}/nova-sudoers" + + if use iscsi ; then + # Install udev rules for handle iscsi disk with right links under /dev + udev_newrules "${FILESDIR}/openstack-scsi-disk.rules" 60-openstack-scsi-disk.rules + + insinto /etc/nova/ + doins "${FILESDIR}/scsi-openscsi-link.sh" + fi + rm -r "${ED}/usr/etc" +} + +pkg_postinst() { + if use iscsi ; then + elog "iscsid needs to be running if you want cinder to connect" + fi +} diff --git a/sys-cluster/nova/nova-22.0.1.ebuild b/sys-cluster/nova/nova-22.0.1.ebuild index ba69c65d6da4..c79122d7ce8e 100644 --- a/sys-cluster/nova/nova-22.0.1.ebuild +++ b/sys-cluster/nova/nova-22.0.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_7 python3_8 ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 eutils linux-info multilib +inherit distutils-r1 eutils linux-info multilib udev DESCRIPTION="Cloud computing fabric controller" HOMEPAGE="https://launchpad.net/nova" diff --git a/sys-cluster/nova/nova-22.1.0.ebuild b/sys-cluster/nova/nova-22.1.0.ebuild new file mode 100644 index 000000000000..1469e1f90d46 --- /dev/null +++ b/sys-cluster/nova/nova-22.1.0.ebuild @@ -0,0 +1,213 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 python3_8 ) +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 eutils linux-info multilib udev + +DESCRIPTION="Cloud computing fabric controller" +HOMEPAGE="https://launchpad.net/nova" + +if [[ ${PV} == *9999 ]];then + inherit git-r3 + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}" + EGIT_REPO_URI="https://github.com/openstack/nova.git" + EGIT_BRANCH="stable/victoria" +else + SRC_URI="https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV} + https://tarballs.openstack.org/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" +fi + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite" +REQUIRED_USE=" + !compute-only? ( || ( mysql postgres sqlite ) ) + compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )" + +CDEPEND=" + >=dev-python/pbr-2.0.0[${PYTHON_USEDEP}] + !~dev-python/pbr-2.1.0[${PYTHON_USEDEP}]" +DEPEND=" + ${CDEPEND} + app-admin/sudo" + +RDEPEND=" + ${CDEPEND} + compute-only? ( + >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}] + ) + sqlite? ( + >=dev-python/sqlalchemy-1.2.19[sqlite,${PYTHON_USEDEP}] + ) + mysql? ( + >=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}] + !~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}] + ) + postgres? ( + >=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-1.2.19[${PYTHON_USEDEP}] + ) + >=dev-python/decorator-4.1.0[${PYTHON_USEDEP}] + >=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}] + >=dev-python/jinja-2.10[${PYTHON_USEDEP}] + >=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}] + >=dev-python/lxml-4.5.0[${PYTHON_USEDEP}] + >=dev-python/routes-2.3.1[${PYTHON_USEDEP}] + >=dev-python/cryptography-2.7[${PYTHON_USEDEP}] + >=dev-python/webob-1.8.2[${PYTHON_USEDEP}] + >=dev-python/greenlet-0.4.15[${PYTHON_USEDEP}] + >=dev-python/pastedeploy-1.5.0-r1[${PYTHON_USEDEP}] + >=dev-python/paste-2.0.2[${PYTHON_USEDEP}] + >=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}] + <dev-python/prettytable-0.8[${PYTHON_USEDEP}] + >=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}] + >=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}] + >=dev-python/netifaces-0.10.4[${PYTHON_USEDEP}] + >=dev-python/paramiko-2.7.1[${PYTHON_USEDEP}] + >=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}] + >=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}] + >=dev-python/python-cinderclient-3.3.0[${PYTHON_USEDEP}] + !~dev-python/python-cinderclient-4.0.0[${PYTHON_USEDEP}] + >=dev-python/keystoneauth-3.16.0[${PYTHON_USEDEP}] + >=dev-python/python-neutronclient-6.7.0[${PYTHON_USEDEP}] + >=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.23.0[${PYTHON_USEDEP}] + >=dev-python/six-1.11.0[${PYTHON_USEDEP}] + >=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}] + >=dev-python/websockify-0.9.0[${PYTHON_USEDEP}] + >=dev-python/oslo-cache-1.26.0[${PYTHON_USEDEP}] + >=dev-python/oslo-concurrency-3.29.0[${PYTHON_USEDEP}] + >=dev-python/oslo-config-6.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-context-2.22.0[${PYTHON_USEDEP}] + >=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}] + >=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}] + >=dev-python/oslo-serialization-1.21.0[${PYTHON_USEDEP}] + >=dev-python/oslo-upgradecheck-0.1.1[${PYTHON_USEDEP}] + !~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}] + >=dev-python/oslo-utils-4.5.0[${PYTHON_USEDEP}] + >=dev-python/oslo-db-4.44.0[${PYTHON_USEDEP}] + >=dev-python/oslo-rootwrap-5.8.0[${PYTHON_USEDEP}] + >=dev-python/oslo-messaging-10.3.0[${PYTHON_USEDEP}] + >=dev-python/oslo-policy-3.4.0[${PYTHON_USEDEP}] + >=dev-python/oslo-privsep-1.33.2[${PYTHON_USEDEP}] + >=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}] + >=dev-python/oslo-service-1.40.1[${PYTHON_USEDEP}] + >=dev-python/rfc3986-1.2.0[${PYTHON_USEDEP}] + >=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}] + >=dev-python/psutil-3.2.2[${PYTHON_USEDEP}] + >=dev-python/oslo-versionedobjects-1.35.0[${PYTHON_USEDEP}] + >=dev-python/os-brick-3.1.0[${PYTHON_USEDEP}] + >=dev-python/os-resource-classes-0.4.0[${PYTHON_USEDEP}] + >=dev-python/os-traits-2.4.0[${PYTHON_USEDEP}] + >=dev-python/os-vif-1.14.0[${PYTHON_USEDEP}] + >=dev-python/os-win-4.2.0[${PYTHON_USEDEP}] + >=dev-python/castellan-0.16.0[${PYTHON_USEDEP}] + >=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}] + >=dev-python/os-xenapi-0.3.4[${PYTHON_USEDEP}] + >=dev-python/tooz-1.58.0[${PYTHON_USEDEP}] + >=dev-python/cursive-0.2.1[${PYTHON_USEDEP}] + >=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}] + >=dev-python/retrying-1.3.3[${PYTHON_USEDEP}] + >=dev-python/os-service-types-1.7.0[${PYTHON_USEDEP}] + >=dev-python/taskflow-3.8.0[${PYTHON_USEDEP}] + >=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}] + >=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}] + >=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}] + >=dev-python/pyyaml-3.13[${PYTHON_USEDEP}] + dev-python/libvirt-python[${PYTHON_USEDEP}] + app-emulation/libvirt[iscsi?] + app-emulation/spice-html5 + novncproxy? ( www-apps/novnc ) + sys-apps/iproute2 + openvswitch? ( net-misc/openvswitch ) + rabbitmq? ( net-misc/rabbitmq-server ) + memcached? ( + net-misc/memcached + >=dev-python/python-memcached-1.58 + ) + sys-fs/sysfsutils + sys-fs/multipath-tools + net-misc/bridge-utils + compute? ( + app-cdr/cdrtools + sys-fs/dosfstools + app-emulation/qemu + ) + iscsi? ( + sys-fs/lsscsi + >=sys-block/open-iscsi-2.0.873-r1 + ) + acct-user/nova + acct-group/nova" + +#PATCHES=( +#) + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK_MODULES="BLK_DEV_NBD VHOST_NET IP6_NF_FILTER IP6_NF_IPTABLES IP_NF_TARGET_REJECT \ + IP_NF_MANGLE IP_NF_TARGET_MASQUERADE NF_NAT_IPV4 IP_NF_FILTER IP_NF_IPTABLES \ + NF_CONNTRACK_IPV4 NF_DEFRAG_IPV4 NF_NAT_IPV4 NF_NAT NF_CONNTRACK NETFILTER_XTABLES \ + ISCSI_TCP SCSI_DH DM_MULTIPATH DM_SNAPSHOT" + if linux_config_exists; then + for module in ${CONFIG_CHECK_MODULES}; do + linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled in kernel" + done + fi +} + +python_prepare_all() { + sed -i '/^hacking/d' test-requirements.txt || die + distutils-r1_python_prepare_all +} + +python_install_all() { + distutils-r1_python_install_all + + if use !compute-only; then + for svc in api conductor consoleauth network scheduler spicehtml5proxy xvpvncproxy; do + newinitd "${FILESDIR}/nova.initd" "nova-${svc}" + done + fi + use compute && newinitd "${FILESDIR}/nova.initd" "nova-compute" + use novncproxy && newinitd "${FILESDIR}/nova.initd" "nova-novncproxy" + + diropts -m 0750 -o nova -g qemu + dodir /var/log/nova /var/lib/nova/instances + diropts -m 0750 -o nova -g nova + + insinto /etc/nova + insopts -m 0640 -o nova -g nova + newins "${DISTDIR}/nova.conf.sample-${PV}" "nova.conf.sample" + doins "${FILESDIR}/nova-compute.conf" + doins "${S}/etc/nova/"* + # rootwrap filters + insopts -m 0644 + insinto /etc/nova/rootwrap.d + doins "etc/nova/rootwrap.d/compute.filters" + + # add sudoers definitions for user nova + insinto /etc/sudoers.d/ + insopts -m 0600 -o root -g root + doins "${FILESDIR}/nova-sudoers" + + if use iscsi ; then + # Install udev rules for handle iscsi disk with right links under /dev + udev_newrules "${FILESDIR}/openstack-scsi-disk.rules" 60-openstack-scsi-disk.rules + + insinto /etc/nova/ + doins "${FILESDIR}/scsi-openscsi-link.sh" + fi + rm -r "${ED}/usr/etc" +} + +pkg_postinst() { + if use iscsi ; then + elog "iscsid needs to be running if you want cinder to connect" + fi +} |