Re: [openstack-dev] oslo.db 0.4.0 released
On Aug 21, 2014, at 12:16 PM, Andreas Jaeger wrote: > On 08/20/2014 02:38 PM, Victor Sergeyev wrote: >> Hello Folks! >> >> Oslo team is pleased to announce the new Oslo database handling library >> release - oslo.db 0.4.0 >> Thanks all for contributions to this release. > > > Unfortunately this breaks manila. If I downgrade to oslo.db 0.3.0, it works. > > https://bugs.launchpad.net/oslo/+bug/1359888 Thanks for raising that. It looks like Victor has already pointed out an approach that was used to fix this in Heat, so I think we should be able to get a fix together fairly quickly. I don’t see a liaison from Manilla on https://wiki.openstack.org/wiki/Oslo/ProjectLiaisons. Does someone from the project want to volunteer to work with us to help avoid issues like this in the future? Doug > > Andreas > -- > Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi > SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany > GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) >GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 > > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] oslo.db 0.4.0 released
On 08/20/2014 02:38 PM, Victor Sergeyev wrote: > Hello Folks! > > Oslo team is pleased to announce the new Oslo database handling library > release - oslo.db 0.4.0 > Thanks all for contributions to this release. Unfortunately this breaks manila. If I downgrade to oslo.db 0.3.0, it works. https://bugs.launchpad.net/oslo/+bug/1359888 Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] oslo.db 0.4.0 released
On Aug 20, 2014, at 7:38 AM, Victor Sergeyev wrote: > Hello Folks! > > Oslo team is pleased to announce the new Oslo database handling library > release - oslo.db 0.4.0 > Thanks all for contributions to this release. > > Feel free to report issues using the launchpad tracker: > https://bugs.launchpad.net/oslo and mark them with ``db`` tag. > > See the full list of changes: > > $ git log --oneline --no-merges 0.3.0..0.4.0 > ee176a8 Implement a dialect-level function dispatch system > 6065b21 Move to oslo.utils > deeda38 Restore correct source file encodings > 4dde38b Handle DB2 SmallInteger type for change_deleted_column_type_to_boolean > 4c18fca Imported Translations from Transifex > 69f16bf Fixes comments to pass E265 check. > e1dbd31 Fixes indentations to pass E128 check. > 423c17e Uses keyword params for i18n string to pass H703 > 3cb5927 Adds empty line to multilines docs to pass H405 > 0996c5d Updates one line docstring with dot to pass H402 > a3ca010 Changes import orders to pass H305 check > 584a883 Fixed DeprecationWarning in exc_filters > fc2fc90 Imported Translations from Transifex > 3b17365 oslo.db.exceptions module documentation > c919585 Updated from global requirements > 4685631 Extension of DBDuplicateEntry exception > 7cb512c oslo.db.options module documentation > c0d9f36 oslo.db.api module documentation > 93d95d4 Imported Translations from Transifex > e83e4ca Use SQLAlchemy cursor execute events for tracing > d845a16 Remove sqla_07 from tox.ini > 9722ab6 Updated from global requirements > 3bf8941 Specify raise_on_warnings=False for mysqlconnector > 1814bf8 Make MySQL regexes generic across MySQL drivers > 62729fb Allow tox tests with complex OS_TEST_DBAPI_CONNECTION URLs > a9e3af2 Raise DBReferenceError on foreign key violation > b69899e Add host argument to get_connect_string() > 9a6aa50 Imported Translations from Transifex > f817555 Don't drop pre-existing database before tests > 4499da7 Port _is_db_connection_error check to exception filters > 9d5ab2a Integrate the ping listener into the filter system. > cbae81e Add disconnect modification support to exception handling > 0a6c8a8 Implement new exception interception and filtering layer > 69a4a03 Implement the SQLAlchemy ``handle_error()`` event. > f96deb8 Remove moxstubout.py from oslo.db > 7d78e3e Added check for DB2 deadlock error > 2df7e88 Bump hacking to version 0.9.2 > c34c32e Opportunistic migration tests > 108e2bd Move all db exception to exception.py > 35afdf1 Enable skipped tests from test_models.py > e68a53b Use explicit loops instead of list comprehensions > 44e96a8 Imported Translations from Transifex > 817fd44 Allow usage of several iterators on ModelBase > baf30bf Add DBDuplicateEntry detection for mysqlconnector driver > 4796d06 Check for mysql_sql_mode is not None in create_engine() > 01b916c remove definitions of Python Source Code Encoding > > Thanks, > Victor I want to point out one of the changes in that long long list for special attention: "Implement new exception interception and filtering layer”. This and a few related changes means that the new version of oslo.db uses a consistent set of exceptions, no matter which database backend is in use. That means applications no longer need to have different imports or logic for catching exceptions from mysql, postgresql, sqlite, etc. The team held back from releasing the library until they could update a few places in applications to catch the new exceptions to ensure that the new library release didn’t break anyone. Nice work, everyone! Doug > ___ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] oslo.db 0.4.0 released
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Thanks! And I'm immediately bumping the version [1] to utilize raise_on_warnings=False for my mysql-connector effort. :) [1]: https://review.openstack.org/115626 On 20/08/14 14:38, Victor Sergeyev wrote: > Hello Folks! > > Oslo team is pleased to announce the new Oslo database handling > library release - oslo.db 0.4.0 Thanks all for contributions to > this release. > > Feel free to report issues using the launchpad tracker: > https://bugs.launchpad.net/oslo and mark them with ``db`` tag. > > See the full list of changes: > > $ git log --oneline --no-merges 0.3.0..0.4.0 ee176a8 Implement a > dialect-level function dispatch system 6065b21 Move to oslo.utils > deeda38 Restore correct source file encodings 4dde38b Handle DB2 > SmallInteger type for change_deleted_column_type_to_boolean 4c18fca > Imported Translations from Transifex 69f16bf Fixes comments to pass > E265 check. e1dbd31 Fixes indentations to pass E128 check. 423c17e > Uses keyword params for i18n string to pass H703 3cb5927 Adds empty > line to multilines docs to pass H405 0996c5d Updates one line > docstring with dot to pass H402 a3ca010 Changes import orders to > pass H305 check 584a883 Fixed DeprecationWarning in exc_filters > fc2fc90 Imported Translations from Transifex 3b17365 > oslo.db.exceptions module documentation c919585 Updated from global > requirements 4685631 Extension of DBDuplicateEntry exception > 7cb512c oslo.db.options module documentation c0d9f36 oslo.db.api > module documentation 93d95d4 Imported Translations from Transifex > e83e4ca Use SQLAlchemy cursor execute events for tracing d845a16 > Remove sqla_07 from tox.ini 9722ab6 Updated from global > requirements 3bf8941 Specify raise_on_warnings=False for > mysqlconnector 1814bf8 Make MySQL regexes generic across MySQL > drivers 62729fb Allow tox tests with complex > OS_TEST_DBAPI_CONNECTION URLs a9e3af2 Raise DBReferenceError on > foreign key violation b69899e Add host argument to > get_connect_string() 9a6aa50 Imported Translations from Transifex > f817555 Don't drop pre-existing database before tests 4499da7 Port > _is_db_connection_error check to exception filters 9d5ab2a > Integrate the ping listener into the filter system. cbae81e Add > disconnect modification support to exception handling 0a6c8a8 > Implement new exception interception and filtering layer 69a4a03 > Implement the SQLAlchemy ``handle_error()`` event. f96deb8 Remove > moxstubout.py from oslo.db 7d78e3e Added check for DB2 deadlock > error 2df7e88 Bump hacking to version 0.9.2 c34c32e Opportunistic > migration tests 108e2bd Move all db exception to exception.py > 35afdf1 Enable skipped tests from test_models.py e68a53b Use > explicit loops instead of list comprehensions 44e96a8 Imported > Translations from Transifex 817fd44 Allow usage of several > iterators on ModelBase baf30bf Add DBDuplicateEntry detection for > mysqlconnector driver 4796d06 Check for mysql_sql_mode is not None > in create_engine() 01b916c remove definitions of Python Source Code > Encoding > > Thanks, Victor > > > ___ OpenStack-dev > mailing list OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJT9JnPAAoJEC5aWaUY1u57UWEIAMvWMn+hcRHypkRlETPaVa4w k7ZGO77n1u/x9lMhVozGKVPBJL6OyYwD8ADk3SR8WDGKpwx1hS8njK+U0R1thucg eFwlo0VCMWAvELLTAoWHn5Ppgc7tSx/0fJ2jddDw0yqAUqtO9i8fWjnbzpsy4vmK RSJD4KF5Qr/9F/GqqhhpNHD39yw8dA6nSbBU+tW3eWk4o78NouOvqnqJBZ83H2x7 7ttBdFprOmG5kgeYB8he6SlVhQxypIk4kIS97ghSkrVLlzfOCekYhmX8J7Lz3XdT Z6BJhcSQkhCb7ycb7kt1lom2SckLBUdSSnMofjWAhphxTIFfQ0nWY1THdsghdTI= =X+ou -END PGP SIGNATURE- ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev