public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/
@ 2022-05-29 18:29 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2022-05-29 18:29 UTC (permalink / raw
  To: gentoo-commits

commit:     1433a3a5522670926c764af58918b9bc690ce776
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 03:22:22 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun May 29 03:22:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1433a3a5

sys-cluster/nova: fix optfeatures

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nova/nova-25.0.0-r1.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys-cluster/nova/nova-25.0.0-r1.ebuild b/sys-cluster/nova/nova-25.0.0-r1.ebuild
index 31b5977e7..78727beab 100644
--- a/sys-cluster/nova/nova-25.0.0-r1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0-r1.ebuild
@@ -216,9 +216,9 @@ pkg_postinst() {
 
 	use iscsi && elog "iscsid needs to be running if you want cinder to connect"
 
-	optfeature "osprofiler" dev-python/osprofiler-1.4.0
-	optfeature "powervm" dev-python/pypowervm-1.1.15
-	optfeature "zvm" dev-python/zVMCloudConnector-1.3.0
-	optfeature "hyperv" dev-python/os-win-5.5.0
-	optfeature "vmware" dev-python/oslo-vmware-3.6.0
+	optfeature "osprofiler" >=dev-python/osprofiler-1.4.0
+	optfeature "powervm" >=dev-python/pypowervm-1.1.15
+	optfeature "zvm" >=dev-python/zVMCloudConnector-1.3.0
+	optfeature "hyperv" >=dev-python/os-win-5.5.0
+	optfeature "vmware" >=dev-python/oslo-vmware-3.6.0
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/
@ 2022-05-29 18:29 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2022-05-29 18:29 UTC (permalink / raw
  To: gentoo-commits

commit:     901825cbbdb46bc6b9b65f78b7d635a56f689e07
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun May 29 03:50:14 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun May 29 03:50:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=901825cb

sys-cluster/nova: add keepdir

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nova/nova-25.0.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-cluster/nova/nova-25.0.0-r1.ebuild b/sys-cluster/nova/nova-25.0.0-r1.ebuild
index 78727beab..ef270c92f 100644
--- a/sys-cluster/nova/nova-25.0.0-r1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0-r1.ebuild
@@ -173,6 +173,8 @@ python_install_all() {
 	diropts -m 0750 -o nova -g qemu
 	dodir /var/log/nova /var/lib/nova/instances
 	diropts -m 0750 -o nova -g nova
+	keepdir /var/log/nova
+	keepdir /var/lib/nova
 
 	insinto /etc/nova
 	insopts -m 0640 -o nova -g nova


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/
@ 2022-04-05  2:14 Ronny Gutbrod
  0 siblings, 0 replies; 6+ messages in thread
From: Ronny Gutbrod @ 2022-04-05  2:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0d437d5355f5d5b4f970466e94edeb9e36efc9f2
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Apr  4 19:03:55 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Mon Apr  4 19:32:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d437d53

sys-cluster/nova: add 25.0.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nova/Manifest           |   1 +
 sys-cluster/nova/nova-25.0.0.ebuild | 251 ++++++++++++++++++++++++++++++++++++
 2 files changed, 252 insertions(+)

diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index b87883dc5..189a69fa6 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1 +1,2 @@
 DIST nova-25.0.0.0rc1.tar.gz 9446116 BLAKE2B e747588076c5bd35bab5cf3d3afca37523ee3e2643d9d18e50243ce8320c71151fabf87ef530dab180b871049cd55e5ee4dec6dc9e3d16a68d99b627870e4f93 SHA512 1c07fb6ce81efebd78a519cf6334f47d4dc08d6d949910f6c38b356f3457e2b2c4df6edb90d0760ac17740df0c0116a75eccf9ac85780757614fba110280d013
+DIST nova-25.0.0.tar.gz 9445471 BLAKE2B 5584daee1026ebec9437368b5c39ded4c474d1a15291487f9e9ee72593626a3ce2204ec8bf5acb7d579328a7b7aed57174d42db3cabca1c8e93047e49e0bc847 SHA512 c4a1423dcb97bcc96bb5faccd43f58e17293172121a2715ff13c05690c5b8868befeb45815a9dca33fa5bc387fd8c586f68984b0c931427aa02794a1d2a5179e

diff --git a/sys-cluster/nova/nova-25.0.0.ebuild b/sys-cluster/nova/nova-25.0.0.ebuild
new file mode 100644
index 000000000..3ae0f19aa
--- /dev/null
+++ b/sys-cluster/nova/nova-25.0.0.ebuild
@@ -0,0 +1,251 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP="${P//_/}"
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit bash-completion-r1 distutils-r1 linux-info systemd tmpfiles udev
+
+DESCRIPTION="Cloud computing fabric controller"
+HOMEPAGE="
+	https://launchpad.net/nova
+	https://opendev.org/openstack/nova
+	https://pypi.org/project/nova/
+"
+SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
+
+KEYWORDS="~amd64"
+LICENSE="Apache-2.0 iscsi? ( GPL-2 )"
+SLOT="0"
+IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
+
+RDEPEND="
+	>=dev-python/pbr-5.8.0[${PYTHON_USEDEP}]
+	>=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
+	>=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
+	>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
+	>=dev-python/keystonemiddleware-4.20.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/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
+	>=dev-python/alembic-1.5.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/keystoneauth-3.16.0[${PYTHON_USEDEP}]
+	>=dev-python/python-neutronclient-7.1.0[${PYTHON_USEDEP}]
+	>=dev-python/python-glanceclient-2.8.0[${PYTHON_USEDEP}]
+	>=dev-python/requests-2.25.1[${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-4.5.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-config-8.6.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}]
+	>=dev-python/oslo-db-10.0.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.7.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}]
+	>=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-service-2.8.0[${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-5.2[${PYTHON_USEDEP}]
+	>=dev-python/os-resource-classes-1.1.0[${PYTHON_USEDEP}]
+	>=dev-python/os-traits-2.7.0[${PYTHON_USEDEP}]
+	>=dev-python/os-vif-1.15.2[${PYTHON_USEDEP}]
+	>=dev-python/castellan-0.16.0[${PYTHON_USEDEP}]
+	>=dev-python/microversion-parse-0.2.1[${PYTHON_USEDEP}]
+	>=dev-python/tooz-1.58.0[${PYTHON_USEDEP}]
+	>=dev-python/cursive-0.2.1[${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.7.0[${PYTHON_USEDEP}]
+	>=dev-python/futurist-1.8.0[${PYTHON_USEDEP}]
+	>=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
+	>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+
+	>=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
+	>=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
+	>=dev-python/os-win-5.5.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+	acct-user/nova
+	acct-group/nova
+	app-emulation/libvirt[iscsi?]
+	app-emulation/spice-html5
+	dev-python/libvirt-python[${PYTHON_USEDEP}]
+	dev-python/oslo-limit[${PYTHON_USEDEP}]
+	net-misc/bridge-utils
+	sys-apps/iproute2
+	sys-fs/sysfsutils
+	sys-fs/multipath-tools
+
+	compute? (
+		app-cdr/cdrtools
+		sys-fs/dosfstools
+		app-emulation/qemu
+	)
+	compute-only? (
+		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+	)
+	iscsi? (
+		sys-fs/lsscsi
+		>=sys-block/open-iscsi-2.0.873-r1
+	)
+	memcached? (
+		net-misc/memcached
+		>=dev-python/python-memcached-1.58[${PYTHON_USEDEP}]
+	)
+	mysql? (
+		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+	)
+	novncproxy? ( www-apps/novnc )
+	openvswitch? ( net-misc/openvswitch )
+	postgres? (
+		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+	)
+	rabbitmq? ( net-misc/rabbitmq-server )
+	sqlite? (
+		>=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
+	)
+"
+DEPEND="
+	${RDEPEND}
+	app-admin/sudo
+"
+BDEPEND="
+	test? (
+		>=dev-python/types-paramiko-0.1.3[${PYTHON_USEDEP}]
+		>=dev-python/ddt-1.2.1[${PYTHON_USEDEP}]
+		>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
+		>=dev-python/mock-3.0.0[${PYTHON_USEDEP}]
+		dev-python/psycopg:2[${PYTHON_USEDEP}]
+		>=dev-python/pymysql-0.8.0[${PYTHON_USEDEP}]
+		>=dev-python/python-barbicanclient-4.5.2[${PYTHON_USEDEP}]
+		>=dev-python/python-ironicclient-3.0.0[${PYTHON_USEDEP}]
+		>=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
+		>=dev-python/oslotest-3.8.0[${PYTHON_USEDEP}]
+		>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
+		>=dev-python/testresources-2.0.0[${PYTHON_USEDEP}]
+		>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
+		>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
+		>=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}]
+		>=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}]
+		>=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+		sys-cluster/placement[${PYTHON_USEDEP}]
+	)
+"
+
+REQUIRED_USE="
+	!compute-only? ( || ( mysql postgres sqlite ) )
+	compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )
+	test? ( mysql )
+"
+
+distutils_enable_tests pytest
+
+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() {
+	rm nova/tests/unit/test_hacking.py || die
+	sed -i '/^hacking/d' test-requirements.txt || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	oslo-config-generator --config-file=etc/nova/nova-config-generator.conf || die
+	oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf || die
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	for svc in api compute conductor consoleauth network novncproxy scheduler spicehtml5proxy xvpvncproxy; do
+		newinitd "${FILESDIR}/nova.initd" "nova-${svc}"
+	done
+
+	for svc in api compute conductor metadata-api novncproxy os-compute-api scheduler; do
+		systemd_dounit "${FILESDIR}/openstack-nova-${svc}.service"
+	done
+
+	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
+
+	doins etc/nova/nova.conf.sample
+	doins "${FILESDIR}/nova-compute.conf"
+	dodoc etc/nova/README*.txt
+	rm etc/nova/README*.txt || die
+	doins "${S}/etc/nova/"*
+	doins etc/nova/policy.yaml.sample
+	# 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"
+
+	newbashcomp tools/nova-manage.bash_completion nova-manage
+
+	newtmpfiles "${FILESDIR}/nova.tmpfile" nova.conf
+
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/nova.logrotate" nova.conf
+
+	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" || die
+}
+
+pkg_postinst() {
+	if use iscsi ; then
+		elog "iscsid needs to be running if you want cinder to connect"
+	fi
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/
@ 2022-03-29 11:12 Florian Schmaus
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-03-29 11:12 UTC (permalink / raw
  To: gentoo-commits

commit:     a60be1ac093c87d9d710ac9ff09d59dd3424fa52
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Mar 29 08:05:09 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 08:44:51 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a60be1ac

sys-cluster/nova: delete hacking test
generate conf and policy
install bashcomp

Closes: https://bugs.gentoo.org/836251
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nova/Manifest                          |  1 -
 ....0.0_rc1.ebuild => nova-25.0.0.0_rc1-r1.ebuild} | 26 +++++++++++++---------
 2 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index bcd14c85e..b87883dc5 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1,2 +1 @@
 DIST nova-25.0.0.0rc1.tar.gz 9446116 BLAKE2B e747588076c5bd35bab5cf3d3afca37523ee3e2643d9d18e50243ce8320c71151fabf87ef530dab180b871049cd55e5ee4dec6dc9e3d16a68d99b627870e4f93 SHA512 1c07fb6ce81efebd78a519cf6334f47d4dc08d6d949910f6c38b356f3457e2b2c4df6edb90d0760ac17740df0c0116a75eccf9ac85780757614fba110280d013
-DIST nova.conf.sample-25.0.0.0_rc1 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970

diff --git a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild
similarity index 93%
rename from sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
rename to sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild
index b492cfa2a..e78562284 100644
--- a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0.0_rc1-r1.ebuild
@@ -3,11 +3,10 @@
 
 EAPI=8
 
-EPYTEST_DESELECT=( nova/tests/unit/test_hacking.py )
 MYP="${P//_/}"
 PYTHON_COMPAT=( python3_{8..9} )
 
-inherit distutils-r1 linux-info udev
+inherit bash-completion-r1 distutils-r1 linux-info udev
 
 DESCRIPTION="Cloud computing fabric controller"
 HOMEPAGE="
@@ -15,14 +14,11 @@ HOMEPAGE="
 	https://opendev.org/openstack/nova
 	https://pypi.org/project/nova/
 "
-SRC_URI="
-	https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}
-	https://tarballs.openstack.org/${PN}/${MYP}.tar.gz
-"
+SRC_URI="https://tarballs.openstack.org/${PN}/${MYP}.tar.gz"
 S="${WORKDIR}/${MYP}"
 
 KEYWORDS="~amd64"
-LICENSE="Apache-2.0"
+LICENSE="Apache-2.0 iscsi? ( GPL-2 )"
 SLOT="0"
 IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
 
@@ -170,8 +166,6 @@ REQUIRED_USE="
 	compute-only? ( compute !rabbitmq !memcached !mysql !postgres !sqlite )
 	test? ( mysql )
 "
-#PATCHES=(
-#)
 
 distutils_enable_tests pytest
 
@@ -189,10 +183,16 @@ pkg_setup() {
 }
 
 python_prepare_all() {
+	rm nova/tests/unit/test_hacking.py || die
 	sed -i '/^hacking/d' test-requirements.txt || die
 	distutils-r1_python_prepare_all
 }
 
+python_compile_all() {
+	oslo-config-generator --config-file=etc/nova/nova-config-generator.conf || die
+	oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf || die
+}
+
 python_install_all() {
 	distutils-r1_python_install_all
 
@@ -210,9 +210,13 @@ python_install_all() {
 
 	insinto /etc/nova
 	insopts -m 0640 -o nova -g nova
-	newins "${DISTDIR}/nova.conf.sample-${PV}" "nova.conf.sample"
+
+	doins "nova.conf.sample"
 	doins "${FILESDIR}/nova-compute.conf"
+	dodoc etc/nova/README*.txt
+	rm etc/nova/README*.txt || die
 	doins "${S}/etc/nova/"*
+	doins policy.yaml
 	# rootwrap filters
 	insopts -m 0644
 	insinto /etc/nova/rootwrap.d
@@ -223,6 +227,8 @@ python_install_all() {
 	insopts -m 0600 -o root -g root
 	doins "${FILESDIR}/nova-sudoers"
 
+	newbashcomp tools/nova-manage.bash_completion nova-manage
+
 	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


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/
@ 2022-03-26 11:53 Andrew Ammerlaan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Ammerlaan @ 2022-03-26 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     97ed978cccdce2d0a2a32ba7bed6fe3efe64fe15
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 08:24:16 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 08:24:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97ed978c

sys-cluster/nova: add oslo-limits dependency

Closes: https://bugs.gentoo.org/836140
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nova/nova-25.0.0.0_rc1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
index 2c141a2e3..b492cfa2a 100644
--- a/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
+++ b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
@@ -100,6 +100,7 @@ RDEPEND="
 	app-emulation/libvirt[iscsi?]
 	app-emulation/spice-html5
 	dev-python/libvirt-python[${PYTHON_USEDEP}]
+	dev-python/oslo-limit[${PYTHON_USEDEP}]
 	net-misc/bridge-utils
 	sys-apps/iproute2
 	sys-fs/sysfsutils


^ permalink raw reply related	[flat|nested] 6+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/
@ 2022-03-25 11:24 Ronny Gutbrod
  0 siblings, 0 replies; 6+ messages in thread
From: Ronny Gutbrod @ 2022-03-25 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     dcbec62cfd20b78b803e2630b97b3b9a4b4a2e98
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 20 16:45:37 2022 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Sun Mar 20 16:45:37 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dcbec62c

sys-cluster/nova: add 25.0.0.0_rc1, drop 24.0.0.0_rc2

Closes: https://bugs.gentoo.org/817179
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/nova/Manifest                          |  4 +-
 ...4.0.0.0_rc2.ebuild => nova-25.0.0.0_rc1.ebuild} | 99 ++++++++++++----------
 2 files changed, 56 insertions(+), 47 deletions(-)

diff --git a/sys-cluster/nova/Manifest b/sys-cluster/nova/Manifest
index 35ff28377..bcd14c85e 100644
--- a/sys-cluster/nova/Manifest
+++ b/sys-cluster/nova/Manifest
@@ -1,2 +1,2 @@
-DIST nova-24.0.0.0rc2.tar.gz 9359645 BLAKE2B 3f1e09c17957025600d9cfab3340c64a424ad71e15baafd741b9fc25d95494b7489d1f54128b08ce0edcc02eb8ba8f856bad78c1937619a3db1dfff3a4ebaf91 SHA512 431acd7158af539dd8c7231708000e8a2c558471e25e62472e2f0dd7c69eea09e5aeb67d63415c5a28a2bd6405f4556906abc4e8853e3c3dae85ba31d5df5bb8
-DIST nova.conf.sample-24.0.0.0_rc2 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970
+DIST nova-25.0.0.0rc1.tar.gz 9446116 BLAKE2B e747588076c5bd35bab5cf3d3afca37523ee3e2643d9d18e50243ce8320c71151fabf87ef530dab180b871049cd55e5ee4dec6dc9e3d16a68d99b627870e4f93 SHA512 1c07fb6ce81efebd78a519cf6334f47d4dc08d6d949910f6c38b356f3457e2b2c4df6edb90d0760ac17740df0c0116a75eccf9ac85780757614fba110280d013
+DIST nova.conf.sample-25.0.0.0_rc1 187107 BLAKE2B e577126b67f2cc1aa6597f89b1632007f726ad85875d5f27041d0f9ac88923b944fe7f45ae2b3332157713b5f93034dad4da2860917b025649a52d7d71986612 SHA512 4149f8f19a573e8717f521183ba330853742bb6731f0e9ef02842d3be1c188ea3a2cdbeb6043086869360b9b1174a17e221c4ad1f543f74220c46cf31b1ca970

diff --git a/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
similarity index 87%
rename from sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
rename to sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
index 477ac1716..2c141a2e3 100644
--- a/sys-cluster/nova/nova-24.0.0.0_rc2.ebuild
+++ b/sys-cluster/nova/nova-25.0.0.0_rc1.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+EPYTEST_DESELECT=( nova/tests/unit/test_hacking.py )
 MYP="${P//_/}"
-PYTHON_COMPAT=( python3_8 )
+PYTHON_COMPAT=( python3_{8..9} )
 
 inherit distutils-r1 linux-info udev
 
@@ -12,7 +13,7 @@ DESCRIPTION="Cloud computing fabric controller"
 HOMEPAGE="
 	https://launchpad.net/nova
 	https://opendev.org/openstack/nova
-	https://pypi.org/project/nova
+	https://pypi.org/project/nova/
 "
 SRC_URI="
 	https://dev.gentoo.org/~prometheanfire/dist/openstack/nova/victoria/nova.conf.sample -> nova.conf.sample-${PV}
@@ -26,21 +27,7 @@ SLOT="0"
 IUSE="+compute compute-only iscsi +memcached +mysql +novncproxy openvswitch postgres +rabbitmq sqlite"
 
 RDEPEND="
-	>=dev-python/pbr-5.5.1[${PYTHON_USEDEP}]
-	compute-only? (
-		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
-	)
-	sqlite? (
-		>=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
-	)
-	mysql? (
-		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
-		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
-	)
-	postgres? (
-		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
-		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
-	)
+	>=dev-python/pbr-5.8.0[${PYTHON_USEDEP}]
 	>=dev-python/decorator-4.1.0[${PYTHON_USEDEP}]
 	>=dev-python/eventlet-0.30.1[${PYTHON_USEDEP}]
 	>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
@@ -54,6 +41,7 @@ RDEPEND="
 	>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
 	>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
 	>=dev-python/sqlalchemy-migrate-0.13.0[${PYTHON_USEDEP}]
+	>=dev-python/alembic-1.5.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}]
@@ -67,73 +55,92 @@ RDEPEND="
 	>=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-4.4.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-concurrency-4.5.0[${PYTHON_USEDEP}]
 	>=dev-python/oslo-config-8.6.0[${PYTHON_USEDEP}]
-	>=dev-python/oslo-context-3.1.1[${PYTHON_USEDEP}]
-	>=dev-python/oslo-log-4.4.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-context-3.4.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-log-4.6.1[${PYTHON_USEDEP}]
 	>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
-	>=dev-python/oslo-serialization-4.1.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-serialization-4.2.0[${PYTHON_USEDEP}]
 	>=dev-python/oslo-upgradecheck-1.3.0[${PYTHON_USEDEP}]
-	>=dev-python/oslo-utils-4.8.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-utils-4.12.1[${PYTHON_USEDEP}]
 	>=dev-python/oslo-db-10.0.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.7.0[${PYTHON_USEDEP}]
-	>=dev-python/oslo-privsep-2.4.0[${PYTHON_USEDEP}]
-	>=dev-python/oslo-i18n-5.0.1[${PYTHON_USEDEP}]
-	>=dev-python/oslo-service-2.5.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-privsep-2.6.2[${PYTHON_USEDEP}]
+	>=dev-python/oslo-i18n-5.1.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-service-2.8.0[${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-4.3.1[${PYTHON_USEDEP}]
-	>=dev-python/os-resource-classes-1.0.0[${PYTHON_USEDEP}]
-	>=dev-python/os-traits-2.5.0[${PYTHON_USEDEP}]
+	>=dev-python/os-brick-5.2[${PYTHON_USEDEP}]
+	>=dev-python/os-resource-classes-1.1.0[${PYTHON_USEDEP}]
+	>=dev-python/os-traits-2.7.0[${PYTHON_USEDEP}]
 	>=dev-python/os-vif-1.15.2[${PYTHON_USEDEP}]
-	>=dev-python/os-win-5.4.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.7.0[${PYTHON_USEDEP}]
-	>=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
 	>=dev-python/futurist-1.8.0[${PYTHON_USEDEP}]
 	>=dev-python/openstacksdk-0.35.0[${PYTHON_USEDEP}]
 	>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-	dev-python/libvirt-python[${PYTHON_USEDEP}]
+
+	>=dev-python/pypowervm-1.1.15[${PYTHON_USEDEP}]
+	>=dev-python/zVMCloudConnector-1.3.0[${PYTHON_USEDEP}]
+	>=dev-python/os-win-5.5.0[${PYTHON_USEDEP}]
+	>=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+	acct-user/nova
+	acct-group/nova
 	app-emulation/libvirt[iscsi?]
 	app-emulation/spice-html5
-	novncproxy? ( www-apps/novnc )
+	dev-python/libvirt-python[${PYTHON_USEDEP}]
+	net-misc/bridge-utils
 	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
 	)
+	compute-only? (
+		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+	)
 	iscsi? (
 		sys-fs/lsscsi
 		>=sys-block/open-iscsi-2.0.873-r1
 	)
-	acct-user/nova
-	acct-group/nova
+	memcached? (
+		net-misc/memcached
+		>=dev-python/python-memcached-1.58[${PYTHON_USEDEP}]
+	)
+	mysql? (
+		>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+	)
+	novncproxy? ( www-apps/novnc )
+	openvswitch? ( net-misc/openvswitch )
+	postgres? (
+		>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
+		>=dev-python/sqlalchemy-1.4.13[${PYTHON_USEDEP}]
+	)
+	rabbitmq? ( net-misc/rabbitmq-server )
+	sqlite? (
+		>=dev-python/sqlalchemy-1.4.13[sqlite,${PYTHON_USEDEP}]
+	)
 "
 DEPEND="
 	${RDEPEND}
 	app-admin/sudo
+"
+BDEPEND="
 	test? (
 		>=dev-python/types-paramiko-0.1.3[${PYTHON_USEDEP}]
 		>=dev-python/ddt-1.2.1[${PYTHON_USEDEP}]
@@ -152,6 +159,8 @@ DEPEND="
 		>=dev-python/gabbi-1.35.0[${PYTHON_USEDEP}]
 		>=dev-python/wsgi_intercept-1.7.0[${PYTHON_USEDEP}]
 		>=dev-python/oslo-vmware-3.6.0[${PYTHON_USEDEP}]
+
+		sys-cluster/placement[${PYTHON_USEDEP}]
 	)
 "
 
@@ -220,7 +229,7 @@ python_install_all() {
 		insinto /etc/nova/
 		doins "${FILESDIR}/scsi-openscsi-link.sh"
 	fi
-	rm -r "${ED}/usr/etc"
+	rm -r "${ED}/usr/etc" || die
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-05-29 18:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-29 18:29 [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/nova/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2022-05-29 18:29 Andrew Ammerlaan
2022-04-05  2:14 Ronny Gutbrod
2022-03-29 11:12 Florian Schmaus
2022-03-26 11:53 Andrew Ammerlaan
2022-03-25 11:24 Ronny Gutbrod

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox