Hello community, here is the log from the commit of package openstack-nova for openSUSE:Factory checked in at 2014-04-18 11:09:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openstack-nova (Old) and /work/SRC/openSUSE:Factory/.openstack-nova.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openstack-nova" Changes: -------- --- /work/SRC/openSUSE:Factory/openstack-nova/openstack-nova.changes 2014-04-14 10:56:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openstack-nova.new/openstack-nova.changes 2014-04-18 12:25:32.000000000 +0200 @@ -1,0 +2,40 @@ +Thu Apr 17 12:54:30 UTC 2014 - [email protected] + +- update to 2014.1: + * no change + +------------------------------------------------------------------- +Wed Apr 16 09:39:10 UTC 2014 - [email protected] + +- add debug-iscsi-attach-failure.diff + +------------------------------------------------------------------- +Tue Apr 15 13:53:30 UTC 2014 - [email protected] + +- add 0001-Robust-detection-for-postgresql-connection-errors.patch (bnc#872361) + +------------------------------------------------------------------- +Mon Apr 14 08:59:52 UTC 2014 - [email protected] + +- update to 2014.1.rc2: + * Add RBAC policy for ec2 API security groups calls + * Fix straggling uses of direct-to-database queries in nova-network + * Update docs to reflect new default filters + * Fix anti-affinity server-group boot failure + * Enable ServerGroup scheduler filters by default + * Fix Jenkins translation jobs + * Require admin context for interfaces on ext network + * VMware: Fixes the instance resize problem + * mark vif_driver as deprecated and log warning + * Ensure network interfaces are in requested order + * Note that XML support *may* be removed + * libvirt: pause mode is not supported by all drivers + * Revert object-assuming changes to _post_live_migration() + +------------------------------------------------------------------- +Thu Apr 10 08:43:15 UTC 2014 - [email protected] + +- add init scripts for nova-api-metadata, nova-api-ec2, + nova-api-os-compute + +------------------------------------------------------------------- Old: ---- nova-2014.1.rc1.tar.gz New: ---- 0001-Robust-detection-for-postgresql-connection-errors.patch debug-iscsi-attach-failure.diff nova-2014.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openstack-nova-doc.spec ++++++ --- /var/tmp/diff_new_pack.QQDBun/_old 2014-04-18 12:25:35.000000000 +0200 +++ /var/tmp/diff_new_pack.QQDBun/_new 2014-04-18 12:25:35.000000000 +0200 @@ -19,7 +19,7 @@ %define component nova Name: openstack-%{component}-doc -Version: 2014.1.rc1 +Version: 2014.1 Release: 0 Summary: OpenStack Compute (Nova) - Documentation License: Apache-2.0 ++++++ openstack-nova.spec ++++++ --- /var/tmp/diff_new_pack.QQDBun/_old 2014-04-18 12:25:35.000000000 +0200 +++ /var/tmp/diff_new_pack.QQDBun/_new 2014-04-18 12:25:35.000000000 +0200 @@ -22,7 +22,7 @@ %define username %{component} Name: openstack-%{component} -Version: 2014.1.rc1 +Version: 2014.1 Release: 0 Summary: OpenStack Compute (Nova) License: Apache-2.0 @@ -57,6 +57,8 @@ Patch10: 0001-Drop-nova-rpc-zmq-receiver-man-page.patch Patch11: 0001-libvirt-Make-nwfilter-driver-use-right-filterref.patch Patch12: 0001-Start-ping-listener-also-for-postgresql.patch +Patch13: 0001-Robust-detection-for-postgresql-connection-errors.patch +Patch14: debug-iscsi-attach-failure.diff BuildRequires: crudini BuildRequires: fdupes BuildRequires: openstack-suse-macros @@ -79,7 +81,7 @@ Requires: openstack-suse-sudo Requires: python >= 2.6.8 Requires: python-nova = %{version} -Requires: python-oslo.config >= 1.2.0 +Requires: python-oslo.config >= 1.2 #Requires: vblade-persist Requires(post): sysconfig %if 0%{?suse_version} > 1110 @@ -109,7 +111,7 @@ Requires: python-Babel >= 1.3 Requires: python-Jinja2 Requires: python-Paste -Requires: python-PasteDeploy >= 1.5.0 +Requires: python-PasteDeploy >= 1.5 Requires: python-Routes >= 1.12.3 Requires: python-SQLAlchemy >= 0.7.8 Requires: python-SQLAlchemy >= 0.7.8 @@ -117,21 +119,21 @@ Requires: python-amqplib >= 0.6.1 Requires: python-anyjson >= 0.3.3 Requires: python-argparse -Requires: python-boto >= 2.12.0 +Requires: python-boto >= 2.12 Requires: python-cinderclient >= 1.0.6 -Requires: python-eventlet >= 0.13.0 -Requires: python-glanceclient >= 0.9.0 +Requires: python-eventlet >= 0.13 +Requires: python-glanceclient >= 0.9 Requires: python-greenlet >= 0.3.2 Requires: python-iso8601 >= 0.1.9 -Requires: python-jsonschema >= 2.0.0 -Requires: python-keystoneclient >= 0.7.0 +Requires: python-jsonschema >= 2 +Requires: python-keystoneclient >= 0.7 Requires: python-kombu >= 2.4.8 Requires: python-lxml >= 2.3 Requires: python-netaddr >= 0.7.6 Requires: python-neutronclient >= 2.3.4 -Requires: python-oslo.messaging >= 1.3.0a9 +Requires: python-oslo.messaging >= 1.3 Requires: python-oslo.rootwrap -Requires: python-paramiko >= 1.9.0 +Requires: python-paramiko >= 1.9 Requires: python-pbr >= 0.6 Requires: python-pyasn1 Requires: python-pycadf >= 0.4.1 @@ -293,7 +295,7 @@ %endif Requires: python-feedparser Requires: python-fixtures >= 0.3.14 -Requires: python-mock >= 1.0 +Requires: python-mock >= 1 Requires: python-mox >= 0.5.3 Requires: python-psycopg2 Requires: python-python-subunit >= 0.0.18 @@ -314,6 +316,8 @@ %patch10 -p1 %patch11 -p1 %patch12 +%patch13 -p1 +%patch14 -p1 %openstack_cleanup_prep %build @@ -353,7 +357,9 @@ ### init scripts mkdir -p %{buildroot}%{_sbindir} -for i in api cert cells compute baremetal-deploy-helper conductor console consoleauth spicehtml5proxy network objectstore scheduler ; do +for i in api api-metadata api-ec2 api-os-compute cert cells compute \ + baremetal-deploy-helper conductor console consoleauth \ + spicehtml5proxy network objectstore scheduler ; do tmp=$(mktemp) cat %{SOURCE1} | sed "s/__NAME__/$i/g" > $tmp if [ "x$i" = "xcompute" ] ; then @@ -597,6 +603,12 @@ %config %{_sysconfdir}/nova/rootwrap.d/api-metadata.filters %{_initddir}/%{name}-api %{_sbindir}/rc%{name}-api +%{_initddir}/%{name}-api-metadata +%{_sbindir}/rc%{name}-api-metadata +%{_initddir}/%{name}-api-ec2 +%{_sbindir}/rc%{name}-api-ec2 +%{_initddir}/%{name}-api-os-compute +%{_sbindir}/rc%{name}-api-os-compute %{_bindir}/nova-api %{_bindir}/nova-api-ec2 %{_bindir}/nova-api-metadata ++++++ 0001-Robust-detection-for-postgresql-connection-errors.patch ++++++ >From d9bbb042f6287061e89c1e2f96b9f70c176c871a Mon Sep 17 00:00:00 2001 From: Dirk Mueller <[email protected]> Date: Fri, 11 Apr 2014 17:06:53 +0200 Subject: [PATCH] Robust detection for postgresql connection errors In most cases, when the database is failing over to a new node, engine.dialect.is_disconnected() returns True. However in some cases it returns False and the exception string is "unknown error". In those cases we can however query the closed attribute on the db_connection that is set to True at that point. Change-Id: I64ef17f451780c622e1cfd257acf74e2e11e8b62 Closes-Bug: #1306668 --- openstack/common/db/sqlalchemy/session.py | 4 ++- tests/unit/db/sqlalchemy/test_sqlalchemy.py | 44 +++++++++++++++++++++++++++-- 2 files changed, 45 insertions(+), 3 deletions(-) Index: nova-2014.1.rc2/nova/openstack/common/db/sqlalchemy/session.py =================================================================== --- nova-2014.1.rc2.orig/nova/openstack/common/db/sqlalchemy/session.py +++ nova-2014.1.rc2/nova/openstack/common/db/sqlalchemy/session.py @@ -501,7 +501,10 @@ def _ping_listener(engine, dbapi_conn, c ping_sql = 'select 1 from (values (1)) AS t1' cursor.execute(ping_sql) except Exception as ex: - if engine.dialect.is_disconnect(ex, dbapi_conn, cursor): + if (engine.dialect.is_disconnect(ex, dbapi_conn, cursor) or + ('unknown error' in str(ex).partition('\n')[0] and + getattr(dbapi_conn, 'closed', False))): + msg = _LW('Database server has gone away: %s') % ex LOG.warning(msg) ++++++ 0001-libvirt-Make-nwfilter-driver-use-right-filterref.patch ++++++ --- /var/tmp/diff_new_pack.QQDBun/_old 2014-04-18 12:25:35.000000000 +0200 +++ /var/tmp/diff_new_pack.QQDBun/_new 2014-04-18 12:25:35.000000000 +0200 @@ -20,11 +20,11 @@ nova/virt/libvirt/firewall.py | 15 ++++++------- 2 files changed, 44 insertions(+), 9 deletions(-) -diff --git a/nova/tests/virt/libvirt/test_libvirt.py b/nova/tests/virt/libvirt/test_libvirt.py -index 982fcaa..09684fc 100644 ---- a/nova/tests/virt/libvirt/test_libvirt.py -+++ b/nova/tests/virt/libvirt/test_libvirt.py -@@ -7467,6 +7467,44 @@ class NWFilterTestCase(test.TestCase): +Index: nova-2014.1.rc2/nova/tests/virt/libvirt/test_libvirt.py +=================================================================== +--- nova-2014.1.rc2.orig/nova/tests/virt/libvirt/test_libvirt.py ++++ nova-2014.1.rc2/nova/tests/virt/libvirt/test_libvirt.py +@@ -7664,6 +7664,44 @@ class NWFilterTestCase(test.TestCase): db.instance_destroy(admin_ctxt, instance_ref['uuid']) @@ -69,11 +69,11 @@ class LibvirtUtilsTestCase(test.TestCase): def test_create_image(self): -diff --git a/nova/virt/libvirt/firewall.py b/nova/virt/libvirt/firewall.py -index 24f5f8f..e064544 100644 ---- a/nova/virt/libvirt/firewall.py -+++ b/nova/virt/libvirt/firewall.py -@@ -112,20 +112,17 @@ class NWFilterFirewall(base_firewall.FirewallDriver): +Index: nova-2014.1.rc2/nova/virt/libvirt/firewall.py +=================================================================== +--- nova-2014.1.rc2.orig/nova/virt/libvirt/firewall.py ++++ nova-2014.1.rc2/nova/virt/libvirt/firewall.py +@@ -112,20 +112,17 @@ class NWFilterFirewall(base_firewall.Fir LOG.info(_('Ensuring static filters'), instance=instance) self._ensure_static_filters() @@ -100,6 +100,3 @@ vif)) def _get_instance_filter_parameters(self, vif): --- -1.9.0 - ++++++ debug-iscsi-attach-failure.diff ++++++ diff --git a/nova/virt/libvirt/volume.py b/nova/virt/libvirt/volume.py index 71b317a..cae6bfb 100644 --- a/nova/virt/libvirt/volume.py +++ b/nova/virt/libvirt/volume.py @@ -256,7 +256,7 @@ class LibvirtISCSIVolumeDriver(LibvirtBaseVolumeDriver): def _get_target_portals_from_iscsiadm_output(self, output): # return both portals and iqns - return [line.split() for line in output.splitlines()] + return [line.split(None, 2) for line in output.splitlines()] @utils.synchronized('connect_volume') def connect_volume(self, connection_info, disk_info): @@ -280,6 +280,8 @@ class LibvirtISCSIVolumeDriver(LibvirtBaseVolumeDriver): check_exit_code=[0, 255])[0] \ or "" + LOG.warning("mulitpath discovery returned %(out)s", {'out': out}) + for ip, iqn in self._get_target_portals_from_iscsiadm_output(out): props = iscsi_properties.copy() props['target_portal'] = ip ++++++ nova-2014.1.rc1.tar.gz -> nova-2014.1.tar.gz ++++++ /work/SRC/openSUSE:Factory/openstack-nova/nova-2014.1.rc1.tar.gz /work/SRC/openSUSE:Factory/.openstack-nova.new/nova-2014.1.tar.gz differ: char 5, line 1 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
