Hello community, here is the log from the commit of package openstack-glance for openSUSE:Factory checked in at 2013-10-03 07:26:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openstack-glance (Old) and /work/SRC/openSUSE:Factory/.openstack-glance.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openstack-glance" Changes: -------- --- /work/SRC/openSUSE:Factory/openstack-glance/openstack-glance.changes 2013-09-29 19:27:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openstack-glance.new/openstack-glance.changes 2013-10-03 07:26:05.000000000 +0200 @@ -1,0 +2,47 @@ +Wed Oct 2 20:02:51 UTC 2013 - dmuel...@suse.com + +- update to 2013.2.rc1 release tarball: + * no changes + +------------------------------------------------------------------- +Wed Oct 2 08:43:15 UTC 2013 - speili...@suse.com + +- Update to version 2013.2.a199.g04cd202: + + Corrected v2 image sharing documentation. + + Fixing glance-api hangs in the qpid notifier + + Imported Translations from Transifex + + Add rbd store support for zero size image +- Refresh glance-dont-test-qpid.patch + +------------------------------------------------------------------- +Tue Oct 1 00:28:12 UTC 2013 - opensuse-cl...@opensuse.org + +- Update to version 2013.2.a191.gf4f2a82: + + Fixes typos of v1 meta data in glanceapi.rst + + Add documentation for property protections + +------------------------------------------------------------------- +Sun Sep 29 00:17:19 UTC 2013 - opensuse-cl...@opensuse.org + +- Update to version 2013.2.a187.g7605ebb: + + Fixes V2 member-create allows adding an empty tenantId as member + + Adding checking to prevent conflict image size + +------------------------------------------------------------------- +Sat Sep 28 00:50:55 UTC 2013 - opensuse-cl...@opensuse.org + +- Update to version 2013.2.a183.g567fab9: + + Add swift_store_ssl_compression param + +------------------------------------------------------------------- +Fri Sep 27 16:32:22 UTC 2013 - dmuel...@suse.com + +- switch to crudini + +------------------------------------------------------------------- +Thu Sep 26 23:38:11 UTC 2013 - opensuse-cl...@opensuse.org + +- Update to version 2013.2.a181.gf6dc40f: + + Change response code for successful delete image member to 204. + +------------------------------------------------------------------- Old: ---- glance-master.tar.gz New: ---- glance-2013.2.rc1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openstack-glance-doc.spec ++++++ --- /var/tmp/diff_new_pack.0xmWGM/_old 2013-10-03 07:26:06.000000000 +0200 +++ /var/tmp/diff_new_pack.0xmWGM/_new 2013-10-03 07:26:06.000000000 +0200 @@ -19,13 +19,13 @@ %define component glance Name: openstack-%{component}-doc -Version: 2013.2.a179.g8c31de4 +Version: 2013.2.a199.g04cd202 Release: 0 Summary: OpenStack Image Service (Glance) - Documentation License: Apache-2.0 Group: Documentation/HTML Url: https://launchpad.net/glance -Source: glance-master.tar.gz +Source: glance-2013.2.rc1.tar.gz BuildRequires: graphviz BuildRequires: openstack-suse-macros BuildRequires: python-Sphinx @@ -48,7 +48,7 @@ This package contains documentation files for openstack-glance. %prep -%setup -q -n glance-2013.2.a179.g8c31de4 +%setup -q -n glance-2013.2.rc1 %openstack_cleanup_prep %build ++++++ openstack-glance.spec ++++++ --- /var/tmp/diff_new_pack.0xmWGM/_old 2013-10-03 07:26:06.000000000 +0200 +++ /var/tmp/diff_new_pack.0xmWGM/_new 2013-10-03 07:26:06.000000000 +0200 @@ -22,20 +22,20 @@ %define username openstack-%{component} Name: openstack-%{component} -Version: 2013.2.a179.g8c31de4 +Version: 2013.2.a199.g04cd202 Release: 0 Summary: OpenStack Image Service (Glance) License: Apache-2.0 Group: System/Management Url: https://launchpad.net/glance -Source0: glance-master.tar.gz +Source0: glance-2013.2.rc1.tar.gz Source1: openstack-glance.init Source5: %{name}.logrotate # PATCH-FIX-OPENSUSE: speili...@suse.com -- Don't test qpid functionality, we have no packages Patch2: glance-dont-test-qpid.patch +BuildRequires: crudini BuildRequires: fdupes BuildRequires: openstack-suse-macros -BuildRequires: openstack-utils BuildRequires: python-base BuildRequires: python-distribute # Documentation build requirements: @@ -136,7 +136,7 @@ of OpenStack Glance. %prep -%setup -q -n glance-2013.2.a179.g8c31de4 +%setup -q -n glance-2013.2.rc1 %patch2 -p1 %openstack_cleanup_prep sed -i "s|^#!.*||" tools/migrate_image_owners.py # Fix non-executable script warning @@ -184,13 +184,13 @@ ### set default configuration (mostly applies to package-only setups and quickstart, i.e. not generally crowbar) for i in api registry ; do - openstack-config --set %{buildroot}%{_sysconfdir}/glance/glance-$i.conf DEFAULT verbose True - openstack-config --set %{buildroot}%{_sysconfdir}/glance/glance-$i.conf paste_deploy flavor keystone + crudini --set %{buildroot}%{_sysconfdir}/glance/glance-$i.conf DEFAULT verbose True + crudini --set %{buildroot}%{_sysconfdir}/glance/glance-$i.conf paste_deploy flavor keystone #TODO/FIXME(saschpe): Do we want to use sqlite per default or demand PostgreSQL right away? - openstack-config --set %{buildroot}%{_sysconfdir}/glance/glance-$i.conf sql connection sqlite:////var/lib/glance/glance.db + crudini --set %{buildroot}%{_sysconfdir}/glance/glance-$i.conf sql connection sqlite:////var/lib/glance/glance.db done #NOTE(saschpe): Needed for (at least) ceilometer to colect image counters stats: -openstack-config --set %{buildroot}%{_sysconfdir}/glance/glance-api.conf DEFAULT notifier_strategy rabbit +crudini --set %{buildroot}%{_sysconfdir}/glance/glance-api.conf DEFAULT notifier_strategy rabbit ### authentication cache dir mkdir -p %{buildroot}%{_localstatedir}/cache/glance/api ++++++ _service ++++++ --- /var/tmp/diff_new_pack.0xmWGM/_old 2013-10-03 07:26:06.000000000 +0200 +++ /var/tmp/diff_new_pack.0xmWGM/_new 2013-10-03 07:26:06.000000000 +0200 @@ -1,6 +1,7 @@ <services> <service name="git_tarballs" mode="disabled"> - <param name="url">http://tarballs.openstack.org/glance/glance-master.tar.gz</param> + <!-- <param name="url">http://tarballs.openstack.org/glance/glance-master.tar.gz</param> --> + <param name="url">http://tarballs.openstack.org/glance/glance-2013.2.rc1.tar.gz</param> <param name="email">opensuse-cl...@opensuse.org</param> <param name="plain-version">True</param> </service> ++++++ glance-dont-test-qpid.patch ++++++ --- /var/tmp/diff_new_pack.0xmWGM/_old 2013-10-03 07:26:06.000000000 +0200 +++ /var/tmp/diff_new_pack.0xmWGM/_new 2013-10-03 07:26:06.000000000 +0200 @@ -1,6 +1,6 @@ diff -ruN a/glance/tests/unit/test_notifier.py b/glance/tests/unit/test_notifier.py ---- a/glance/tests/unit/test_notifier.py 2013-09-06 13:40:35.000000000 +0200 -+++ b/glance/tests/unit/test_notifier.py 2013-09-06 15:10:13.680745678 +0200 +--- a/glance/tests/unit/test_notifier.py 2013-10-01 17:32:17.000000000 +0200 ++++ b/glance/tests/unit/test_notifier.py 2013-10-02 10:44:51.371564341 +0200 @@ -18,8 +18,6 @@ import datetime import kombu.entity @@ -10,7 +10,7 @@ import stubout import webob -@@ -314,103 +312,6 @@ +@@ -314,114 +312,6 @@ self.assertEquals(info['conn_called'], 2) @@ -48,7 +48,7 @@ - qpid.messaging.Sender = self.orig_sender - qpid.messaging.Receiver = self.orig_receiver - -- def _test_notify(self, priority, exception=False, opened=True): +- def _test_notify(self, priority, exception=False, exception_send=False): - test_msg = {'a': 'b'} - - self.mock_connection = self.mocker.CreateMock(self.orig_connection) @@ -58,7 +58,7 @@ - self.mock_connection.username = "" - if exception: - self.mock_connection.open().AndRaise( -- Exception('Test Exception')) +- Exception('Test open Exception')) - else: - self.mock_connection.open() - self.mock_connection.session().AndReturn(self.mock_session) @@ -68,9 +68,14 @@ - '"create": "always"}' % priority) - self.mock_session.sender(expected_address).AndReturn( - self.mock_sender) -- self.mock_sender.send(mox.IgnoreArg()) -- self.mock_connection.opened().AndReturn(opened) -- if opened: +- if exception_send: +- self.mock_sender.send(mox.IgnoreArg()).AndRaise( +- Exception('Test send Exception')) +- # NOTE(afazekas): the opened and close call is expected +- # in this case, but not expected if the open fails +- else: +- self.mock_sender.send(mox.IgnoreArg()) +- self.mock_connection.opened().AndReturn(True) - self.mock_connection.close() - - self.mocker.ReplayAll() @@ -78,17 +83,17 @@ - self.config(notifier_strategy="qpid") - notifier = self.notify_qpid.QpidStrategy() - if priority == 'info': -- if exception: +- if exception or exception_send: - self.assertRaises(Exception, notifier.info, test_msg) - else: - notifier.info(test_msg) - elif priority == 'warn': -- if exception: +- if exception or exception_send: - self.assertRaises(Exception, notifier.warn, test_msg) - else: - notifier.warn(test_msg) - elif priority == 'error': -- if exception: +- if exception or exception_send: - self.assertRaises(Exception, notifier.error, test_msg) - else: - notifier.error(test_msg) @@ -107,8 +112,14 @@ - def test_exception_open_successful(self): - self._test_notify('info', exception=True) - -- def test_exception_open_failed(self): -- self._test_notify('info', exception=True, opened=False) +- def test_info_fail(self): +- self._test_notify('info', exception_send=True) +- +- def test_warn_fail(self): +- self._test_notify('warn', exception_send=True) +- +- def test_error_fail(self): +- self._test_notify('error', exception_send=True) - - class TestRabbitContentType(utils.BaseTestCase): -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org