Hello community, here is the log from the commit of package openstack-glance for openSUSE:Factory checked in at 2013-07-03 16:01:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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-06-13 17:23:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.openstack-glance.new/openstack-glance.changes 2013-07-03 16:01:54.000000000 +0200 @@ -2 +2 @@ -Sat Jun 8 00:16:09 UTC 2013 - opensuse-cloud@opensuse.org +Thu Jun 27 23:44:10 UTC 2013 - opensuse-cloud@opensuse.org @@ -4,3 +4,10 @@ -- Update to version 2013.1.3.a3.ga5dda27: - + Bump stable/grizzly next version to 2013.1.3 - + Encode headers and params +- Update to version 2013.2.a56.gb8a13ea: + + Don't run store tests without a store! + + Fix for unencrypted uris in scrubber queue files + +------------------------------------------------------------------- +Thu Jun 27 15:10:15 UTC 2013 - speilicke@suse.com + +- Drop glance-default-signing_dir.patch: Isn't used any more +- Move secure file attributes to /etc/glance/glance-*.conf instead of + /etc/glance/glance-*-paste.ini since respective values moved upstream @@ -9 +16 @@ -Thu May 30 23:57:14 UTC 2013 - opensuse-cloud@opensuse.org +Wed Jun 26 14:18:35 UTC 2013 - opensuse-cloud@opensuse.org @@ -11,4 +18,3 @@ -- Update to version 2013.1.2.a10.ga799a98: - + Call monkey_patch before other modules are loaded - + Don't raise HTTPForbidden on a multitenant environment - + Call os.kill for each child instead of the process group +- Update to version 2013.2.a52.ga880ab4: + + Do not raise NEW exceptions + + Import sql_connection option before using it. @@ -17 +23 @@ -Thu May 30 00:00:07 UTC 2013 - opensuse-cloud@opensuse.org +Mon Jun 24 23:42:43 UTC 2013 - opensuse-cloud@opensuse.org @@ -19,2 +25,2 @@ -- Update to version 2013.1.2.a4.g4149680: - + Adding help text to the options that did not have it. +- Update to version 2013.2.a48.g52958e4: + + Do not send traceback to clients by default @@ -23 +29 @@ -Wed May 29 10:42:46 UTC 2013 - dmueller@suse.com +Mon Jun 24 12:56:55 UTC 2013 - speilicke@suse.com @@ -25 +31,62 @@ -- remove setBadness call from rpmlintrc +- Install all files from etc/ into /etc/glance (/etc/schema-image.json + was missing before) (#bnc826328, bnc#780210) + +-------------------------------------------------------------------- +Thu Jun 20 23:42:29 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a46.g9dd8a85: + + Fix incorrect assertion in test_create_pool + +-------------------------------------------------------------------- +Mon Jun 17 00:06:58 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a45.gbf3d19f: + + Replace openstack-common with oslo in HACKING.rst + +-------------------------------------------------------------------- +Fri Jun 14 00:07:46 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a43.g56a94c6: + + Remove explicit distribute depend. + + Add a policy layer for membership APIs + + Use Python 3.x compatible octal literals + +-------------------------------------------------------------------- +Thu Jun 13 00:08:41 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a37.gca5425e: + + Add missing Keystone settings to scrubber conf + + Prevent '500' error when admin uses private marker + + Remove routes collection mappings + +-------------------------------------------------------------------- +Wed Jun 12 09:20:27 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a31.gaae7252: + + Sql query optimization for image detail + +------------------------------------------------------------------- +Tue Jun 11 10:51:54 UTC 2013 - dmueller@suse.com + +- add missing dependency to six and pyOpenSSL + +-------------------------------------------------------------------- +Tue Jun 11 09:38:06 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a29.g6019f15: + + Pass configure_via_auth down to auth plugin + + python3: Introduce py33 to tox.ini + +-------------------------------------------------------------------- +Fri Jun 7 23:51:24 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a25.g2c73455: + + Prevent E500 when listing with null values + + Patch changes Fedora 16 to 18 on install page. + +-------------------------------------------------------------------- +Wed Jun 5 23:52:20 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a21.gc043f30: + + Move sql_connection option into sqlalchemy package. + + Remove unused dictionary from test_registry_api.py @@ -28 +95 @@ -Mon May 27 21:52:48 UTC 2013 - dmueller@suse.com +Tue Jun 4 13:05:01 UTC 2013 - speilicke@suse.com @@ -30 +97 @@ -- fix missing requires on test subpackage +- Add glance-dont-test-qpid.patch: We don't have packages for it @@ -33 +100 @@ -Thu May 9 23:45:23 UTC 2013 - opensuse-cloud@opensuse.org +Mon Jun 3 23:49:34 UTC 2013 - opensuse-cloud@opensuse.org @@ -35,2 +102,21 @@ -- Update to version 2013.1.2.a2.g4b1f803: - + Bump stable/grizzly next version to 2013.1.2 +- Update to version 2013.2.a17.g98dcfb4: + + updated content_type in the exception where it is missing. + +-------------------------------------------------------------------- +Fri May 31 23:45:54 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a16.g1797d83: + + Fix pydevd module import error + + Don't make functional tests inherit from IsolatedUnitTest + + Encode headers and params + + Add qpid-python to test-requires + +-------------------------------------------------------------------- +Wed May 29 23:47:21 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a147.gfdf81b2: + + Add documentation on reserving a Glance image + + Make passing user token to registry configurable + + Sync oslo imports to the latest version. + + Import strutils from oslo, and convert to it. + + Fix undefined variable in cache @@ -39 +125,25 @@ -Thu Apr 4 16:34:56 UTC 2013 - dmueller@suse.com +Wed May 29 11:17:46 UTC 2013 - dmueller@suse.com + +- remove setBadness call from rpmlintrc + +------------------------------------------------------------------- +Mon May 27 21:55:34 UTC 2013 - dmueller@suse.com + +- add missing requires to test subpackage + +-------------------------------------------------------------------- +Sun May 26 23:43:32 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a138.ge549be8: + + Respond with 412 after upload if image was deleted. + + rbd: return image size when asked + + rbd: remove extra str() conversions and test with unicode + + Improve unit tests for glance.api.v1 module + + RBD store uses common utils for reading file chunks + + Prevent '500' error when using forbidden marker + +-------------------------------------------------------------------- +Fri May 24 23:44:45 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a126.g22fdbcb: + + Add GLANCE_LOCALEDIR env variable @@ -41 +151,21 @@ -- update to grizzly-stable +-------------------------------------------------------------------- +Thu May 23 23:43:40 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a124.g685382d: + + Add unittests for image upload functionality in v1 + + Improve unit tests for glance.common package + +-------------------------------------------------------------------- +Wed May 22 23:45:28 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a120.g8f37488: + + tests: remove unused methods from test_s3 and test_swift + + Remove glance-control from the test suite + + Small change to 'is_public' documentation + + Remove gettext.install() from glance/__init__.py + +-------------------------------------------------------------------- +Mon May 20 23:47:17 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a112.gb901d92: + + Improve unit tests for glance.common.auth module @@ -44 +174,40 @@ -Tue Apr 2 08:39:30 UTC 2013 - speilicke@suse.com +Fri May 17 07:15:32 UTC 2013 - dmueller@suse.com + +- adjust d2to1 runtime dependency + +-------------------------------------------------------------------- +Thu May 16 00:10:39 UTC 2013 - opensuse-cloud@opensuse.org + +- Update to version 2013.2.a110.g00da175: + + Redirects requests from /v# to /v#/ with correct Location header + ++++ 130 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/openstack-glance/openstack-glance.changes ++++ and /work/SRC/openSUSE:Factory/.openstack-glance.new/openstack-glance.changes Old: ---- glance-default-signing_dir.patch glance-stable-grizzly.tar.gz sqlalchemy-update.diff New: ---- glance-dont-test-qpid.patch glance-master.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openstack-glance-doc.spec ++++++ --- /var/tmp/diff_new_pack.Ih7bW6/_old 2013-07-03 16:01:55.000000000 +0200 +++ /var/tmp/diff_new_pack.Ih7bW6/_new 2013-07-03 16:01:55.000000000 +0200 @@ -19,13 +19,13 @@ %define component glance Name: openstack-%{component}-doc -Version: 2013.1.3.a3.ga5dda27 +Version: 2013.2.a56.gb8a13ea Release: 0 Summary: OpenStack Image Service (Glance) - Documentation License: Apache-2.0 Group: Documentation/HTML Url: https://launchpad.net/glance -Source: glance-stable-grizzly.tar.gz +Source: glance-master.tar.gz BuildRequires: graphviz BuildRequires: openstack-suse-macros BuildRequires: python-Sphinx @@ -47,7 +47,7 @@ This package contains documentation files for openstack-glance. %prep -%setup -q -n glance-2013.1.3.a3.ga5dda27 +%setup -q -n glance-2013.2.a56.gb8a13ea %openstack_cleanup_prep %build ++++++ openstack-glance.spec ++++++ --- /var/tmp/diff_new_pack.Ih7bW6/_old 2013-07-03 16:01:55.000000000 +0200 +++ /var/tmp/diff_new_pack.Ih7bW6/_new 2013-07-03 16:01:55.000000000 +0200 @@ -22,20 +22,19 @@ %define username openstack-%{component} Name: openstack-%{component} -Version: 2013.1.3.a3.ga5dda27 +Version: 2013.2.a56.gb8a13ea Release: 0 Summary: OpenStack Image Service (Glance) License: Apache-2.0 Group: System/Management Url: https://launchpad.net/glance -Source0: glance-stable-grizzly.tar.gz +Source0: glance-master.tar.gz Source1: openstack-glance.init # WSGI application skeleton for API app (for the SSL proxy): Source4: openstack-glance-api.wsgi Source5: %{name}.logrotate -# PATCH-FIX-OPENSUSE: saschpe@suse.de -- #TODO/FIXME: similar to other services -Patch1: glance-default-signing_dir.patch -Patch2: sqlalchemy-update.diff +# PATCH-FIX-OPENSUSE: speilicke@suse.com -- Don't test qpid functionality, we have no packages +Patch2: glance-dont-test-qpid.patch BuildRequires: apache2 BuildRequires: fdupes BuildRequires: openstack-suse-macros @@ -48,6 +47,7 @@ Requires: python >= 2.6.8 Requires: python-glance = %{version} Requires: python-oslo.config >= 1.1.0 +Requires: python-pbr # To generate a self-signed certificate to be used in demo setups: Requires(post): apache2-utils Requires(post): openssl @@ -86,11 +86,12 @@ Requires: python >= 2.6.8 Requires: python-Paste Requires: python-PasteDeploy -Requires: python-SQLAlchemy >= 0.7 +Requires: python-SQLAlchemy >= 0.7.8 Requires: python-WebOb >= 1.2 Requires: python-anyjson >= 0.2.4 Requires: python-argparse Requires: python-boto >= 2.4.0 +Requires: python-d2to1 >= 0.2.10 Requires: python-eventlet >= 0.9.12 Requires: python-greenlet >= 0.3.1 Requires: python-httplib2 @@ -100,8 +101,10 @@ Requires: python-kombu >= 1.0.4 Requires: python-lxml Requires: python-passlib +Requires: python-pyOpenSSL Requires: python-pycrypto >= 2.1.0alpha1 Requires: python-routes >= 1.12.3 +Requires: python-six Requires: python-sqlalchemy-migrate >= 0.7 Requires: python-swiftclient >= 1.2 Requires: python-wsgiref @@ -116,14 +119,17 @@ Requires: %{name} = %{version} Requires: python-coverage Requires: python-fixtures >= 0.3.12 +Requires: python-flake8 >= 2.0 Requires: python-glanceclient +Requires: python-hacking >= 0.5.3 Requires: python-mox Requires: python-nose Requires: python-nose-exclude Requires: python-nosehtmloutput >= 0.0.3 Requires: python-openstack.nose_plugin >= 0.7 -Requires: python-pep8 >= 1.3.3 +Requires: python-pep8 >= 1.4.5 Requires: python-psycopg2 +Requires: python-pyflakes >= 0.7.2 Requires: python-pysendfile >= 2.0.0 Requires: python-requests Requires: python-testtools >= 0.9.22 @@ -134,8 +140,7 @@ of OpenStack Glance. %prep -%setup -q -n glance-2013.1.3.a3.ga5dda27 -%patch1 -p1 +%setup -q -n glance-2013.2.a56.gb8a13ea %patch2 -p1 %openstack_cleanup_prep sed -i "s|^#!.*||" tools/migrate_image_owners.py # Fix non-executable script warning @@ -158,10 +163,7 @@ ### configuration files install -d -m 0755 %{buildroot}%{_sysconfdir}/glance -cp etc/*.conf %{buildroot}%{_sysconfdir}/glance -cp etc/*.ini %{buildroot}%{_sysconfdir}/glance -cp etc/*.sample %{buildroot}%{_sysconfdir}/glance -cp etc/policy.json %{buildroot}%{_sysconfdir}/glance +cp etc/* %{buildroot}%{_sysconfdir}/glance install -p -D -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} ### init scripts @@ -223,14 +225,15 @@ %defattr(-,root,root) %doc LICENSE README.rst %dir %{_sysconfdir}/glance -%config(noreplace) %{_sysconfdir}/glance/glance-api.conf -%config %attr(0600, %{username}, root) %{_sysconfdir}/glance/glance-api-paste.ini -%config(noreplace) %{_sysconfdir}/glance/glance-cache.conf -%config(noreplace) %{_sysconfdir}/glance/glance-registry.conf -%config %attr(0600, %{username}, root) %{_sysconfdir}/glance/glance-registry-paste.ini -%config(noreplace) %{_sysconfdir}/glance/glance-scrubber.conf +%config(noreplace) %attr(0640, root, %{username}) %{_sysconfdir}/glance/glance-api.conf +%config(noreplace) %attr(0640, root, %{username}) %{_sysconfdir}/glance/glance-cache.conf +%config(noreplace) %attr(0640, root, %{username}) %{_sysconfdir}/glance/glance-registry.conf +%config(noreplace) %attr(0640, root, %{username}) %{_sysconfdir}/glance/glance-scrubber.conf +%config %{_sysconfdir}/glance/glance-api-paste.ini +%config %{_sysconfdir}/glance/glance-registry-paste.ini %config %{_sysconfdir}/glance/logging.cnf.sample %config %{_sysconfdir}/glance/policy.json +%config %{_sysconfdir}/glance/schema-image.json %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %dir %attr(0755, %{username}, %{username}) %{_localstatedir}/lib/glance %dir %attr(0755, %{username}, %{username}) %{_localstatedir}/lib/glance/images ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Ih7bW6/_old 2013-07-03 16:01:55.000000000 +0200 +++ /var/tmp/diff_new_pack.Ih7bW6/_new 2013-07-03 16:01:55.000000000 +0200 @@ -1,6 +1,6 @@ <services> <service name="git_tarballs" mode="disabled"> - <param name="url">http://tarballs.openstack.org/glance/glance-stable-grizzly.tar.gz</param> + <param name="url">http://tarballs.openstack.org/glance/glance-master.tar.gz</param> <param name="email">opensuse-cloud@opensuse.org</param> <param name="plain-version">True</param> </service> ++++++ glance-dont-test-qpid.patch ++++++ diff -ruN a/glance/tests/unit/test_notifier.py b/glance/tests/unit/test_notifier.py --- a/glance/tests/unit/test_notifier.py 2013-06-04 00:41:39.000000000 +0200 +++ b/glance/tests/unit/test_notifier.py 2013-06-04 15:04:00.874938449 +0200 @@ -18,8 +18,6 @@ import datetime import kombu.entity import mox -import qpid -import qpid.messaging import stubout from glance.common import exception @@ -313,103 +311,6 @@ self.assertEquals(info['conn_called'], 2) -class TestQpidNotifier(utils.BaseTestCase): - """Test Qpid notifier.""" - - def setUp(self): - super(TestQpidNotifier, self).setUp() - - self.mocker = mox.Mox() - - self.mock_connection = None - self.mock_session = None - self.mock_sender = None - self.mock_receiver = None - - self.orig_connection = qpid.messaging.Connection - self.orig_session = qpid.messaging.Session - self.orig_sender = qpid.messaging.Sender - self.orig_receiver = qpid.messaging.Receiver - qpid.messaging.Connection = lambda *_x, **_y: self.mock_connection - qpid.messaging.Session = lambda *_x, **_y: self.mock_session - qpid.messaging.Sender = lambda *_x, **_y: self.mock_sender - qpid.messaging.Receiver = lambda *_x, **_y: self.mock_receiver - - self.notify_qpid = importutils.import_module("glance.notifier." - "notify_qpid") - self.addCleanup(self.reset_qpid) - self.addCleanup(self.mocker.ResetAll) - - def reset_qpid(self): - - qpid.messaging.Connection = self.orig_connection - qpid.messaging.Session = self.orig_session - qpid.messaging.Sender = self.orig_sender - qpid.messaging.Receiver = self.orig_receiver - - def _test_notify(self, priority, exception=False, opened=True): - test_msg = {'a': 'b'} - - self.mock_connection = self.mocker.CreateMock(self.orig_connection) - self.mock_session = self.mocker.CreateMock(self.orig_session) - self.mock_sender = self.mocker.CreateMock(self.orig_sender) - - self.mock_connection.username = "" - if exception: - self.mock_connection.open().AndRaise( - Exception('Test Exception')) - else: - self.mock_connection.open() - self.mock_connection.session().AndReturn(self.mock_session) - expected_address = ('glance/notifications.%s ; ' - '{"node": {"x-declare": {"auto-delete": true, ' - '"durable": false}, "type": "topic"}, ' - '"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: - self.mock_connection.close() - - self.mocker.ReplayAll() - - self.config(notifier_strategy="qpid") - notifier = self.notify_qpid.QpidStrategy() - if priority == 'info': - if exception: - self.assertRaises(Exception, notifier.info, test_msg) - else: - notifier.info(test_msg) - elif priority == 'warn': - if exception: - self.assertRaises(Exception, notifier.warn, test_msg) - else: - notifier.warn(test_msg) - elif priority == 'error': - if exception: - self.assertRaises(Exception, notifier.error, test_msg) - else: - notifier.error(test_msg) - - self.mocker.VerifyAll() - - def test_info(self): - self._test_notify('info') - - def test_warn(self): - self._test_notify('warn') - - def test_error(self): - self._test_notify('error') - - 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) - - class TestRabbitContentType(utils.BaseTestCase): """Test AMQP/Rabbit notifier works.""" Binary files a/glance/tests/unit/.test_notifier.py.swp and b/glance/tests/unit/.test_notifier.py.swp differ -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org