FFE: oslo-config 1.2.1

Bug #1232062 reported by Chuck Short
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-config (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Openstack requirements were changed upstream to use oslo.config greater or equal to 1.2.1, we are currently shipping 1.2.0a2 in saucy. if python-oslo.config is not upgraded in saucy to at least 1.2.1 Openstack (Nova, keystone, etc) will not build properly or run properly for the final version shipped in suacy. Below is the changelog between 1.2.1 and 1.2.0a2.

--- old/oslo-config-1.2.0a3/ChangeLog 2013-07-02 07:24:03.000000000 -0400
+++ oslo.config-1.2.1/ChangeLog 2013-09-26 05:48:14.000000000 -0400
@@ -1,3 +1,314 @@
+commit eae8b3108d2c794a373660633042f3c0e3a23546
+Merge: 3d59667 bf70519
+Author: Jenkins <email address hidden>
+Date: Thu Sep 26 09:05:00 2013 +0000
+
+ Merge "Fix subparsers add_parser() regression"
+
+commit bf705193595d34a70abefc4b3867ea550c0c15db
+Author: Mark McLoughlin <email address hidden>
+Date: Wed Sep 25 20:07:03 2013 +0100
+
+ Fix subparsers add_parser() regression
+
+ With SubCommandOpt, the handler() callback gets invoked with a
+ subparsers object which has a add_parser() method. The arguments to
+ this method match the arguments to the ArgumentParser constructor and
+ the arguments are passed to the class for our ArgumentParser instance.
+
+ However, we added a ArgumentParser subclass (_CachedArgumentParser) so
+ that we could sort the output of --help ... but the subclass doesn't
+ support all the arguments of the parent class.
+
+ glance-control is the only known example of a SubCommandOpt user which
+ passes unusual arguments to subparsers.add_parser(). It uses the parent
+ arg and blows up at startup with:
+
+ File "./bin/glance-control", line 276, in add_command_parsers
+ parser = subparsers.add_parser(server, parents=[cmd_parser])
+ File "/usr/lib64/python2.7/argparse.py", line 1064, in add_parser
+ parser = self._parser_class(**kwargs)
+ TypeError: __init__() got an unexpected keyword argument 'parents'
+
+ It appears we broke glance-control back in June (commit 2951391), but
+ nobody noticed it until 1.2.0 was released and broke stable/grizzly
+ because we stopped using glance-control in the Havana glance unit tests
+ before this regression.
+
+ Closes-Bug: #1230416
+ Change-Id: I8d1b52e5390295726eb49af32eb7cab14c29592c
+
+commit 3d59667b781650039f5ba2c454dff39d860f879e
+Author: Ian Wienand <email address hidden>
+Date: Wed Sep 25 14:31:06 2013 +1000
+
+ Expand DeprecatedOpt documentation
+
+ It is not a priori obvious how deprecated options are chosen, so
+ expand the docstring a bit
+
+ Change-Id: If10b45fb042b4a4d6063129b693228fd6ca86b82
+
+commit 9dabbd0ff744ae9fde993861aaeae576c2e19597
+Author: Mark McLoughlin <email address hidden>
+Date: Mon Sep 23 15:55:30 2013 +0100
+
+ Release notes for 1.2.0
+
+ Change-Id: Ic9c36f9d2b2ecc2d8d76ca87079e75f83c7f08c1
+
+commit 7ec9a88fc451386c23e472036849385da038f4fa
+Author: Zhongyue Luo <email address hidden>
+Date: Thu Sep 12 21:23:36 2013 +0800
+
+ Raises error if duplicate keys found in DictOpt
+
+ DictOpt didn't report when the input values had duplicate keys.
+ This would be a problem if the user had put in duplicate keys in
+ the conf file and the service didn't work as expected.
+ (c.f) Neutrons provider network mapping options
+ This patch raises a ConfigFileValueError when duplicate keys are found.
+
+ Fixes bug #1228995
+
+ Change-Id: I91e1bd0eda4ed4fd6c7eb6ea5d4a89d583d1305e
+
+commit f2be4e83f04579ee0cd87e8601868f310c951fac
+Author: Zhongyue Luo <email address hidden>
+Date: Wed Sep 11 13:11:17 2013 +0800
+
+ Fix DictOpt to split only the first colon
+
+ I've encountered a ValueError when adapting DictOpt to
+ neutron's network_vlan_ranges.
+ https://github.com/openstack/neutron/blob/master/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini#L23
+
+ This patch makes dictopt to split only the first colon for every value
+
+ Fixes bug #1223667
+
+ Change-Id: Iee4011f2a45be933dad393c72df099d6a8116849
+
+commit 0b915fd91f40c968aa507ba3c90ae43071646a5f
+Merge: a0905c8 58aa8f1
+Author: Jenkins <email address hidden>
+Date: Tue Aug 27 02:53:18 2013 +0000
+
+ Merge "Update requirements"
+
+commit 58aa8f12a357ca7ef8d78d2b00ae03057103f8d3
+Author: Julien Danjou <email address hidden>
+Date: Fri Aug 23 11:06:04 2013 +0200
+
+ Update requirements
+
+ This is the fabulous result of running the update.py script from
+ openstack/requirements with this repository as the target. It therefore
+ updates all dependencies, with nice version numbers that this repository
+ have to use to work. It also fixes case on some dependencies.
+ This update also brings a brand shiny new setup.py automatically handled
+ and generate by this same openstack/requirements repository.
+
+ Change-Id: I22ec396e5fa802c1617514aa6df3ed82f05271b0
+
+commit a0905c875ba19f52c72822fa2cb85598d7099f95
+Author: Mark McLoughlin <email address hidden>
+Date: Fri Aug 23 16:06:23 2013 +0100
+
+ Release notes for 1.2.0a4
+
+ Change-Id: Iff43254317071b863d1ccd50eef4d71fb85240a7
+
+commit 662cfb09c0ea62e642077f80d74056b31dba94d1
+Author: Mark McLoughlin <email address hidden>
+Date: Sun Aug 25 12:46:48 2013 +0100
+
+ Remove explicit version from setup.cfg
+
+ With the explicit "pre version" in setup.cfg, PBR generates our
+ version as 1.2.0.a1.g2748574 and, without it, it generates
+ 1.2.0a4.1.g2748574.
+
+ which in turn causes nova to complain about:
+
+ VersionConflict: (oslo.config 1.2.0.a1.g2748574
+ (/opt/stack/new/oslo.config),
+ Requirement.parse('oslo.config>=1.2.0a3'))
+
+ when trying to load extensions with stevedore.
+
+ I'm not sure why this is suddenly an issue after 1.2.0a4 has been
+ tagged, but removing this version is the right thing to do anyway
+ since we want to rely on tags for all versioning info.
+
+ Change-Id: I9090b8401a43befd73a82f9bb78e0b6165619c7c
+
+commit 1cec054637b95fe394bbc57642806d41dd28ed8b
+Author: Davanum Srinivas <email address hidden>
+Date: Sun Aug 18 19:52:33 2013 -0400
+
+ Fix first param in __eq__ impl to be self
+
+ first parameter of a method should be named 'self'. Added a
+ test case as well
+
+ Change-Id: I03a993a9f84af354dcf7e358ed0e5e126eda48af
+
+commit 111845b3eafc4315f1464ae844caf04a286f4b6a
+Author: Zhongyue Luo <email address hidden>
+Date: Fri Aug 16 14:29:23 2013 +0800
+
+ Bump hacking to 0.7.0
+
+ Change-Id: I4414f4b8f82bdb3df3fc9c1e9de675e1994aed05
+
+commit c280f6060c6bbc50e9f5f74232b3c45bccee2ec4
+Author: Flaper Fesp <email address hidden>
+Date: Wed Aug 14 09:31:37 2013 +0200
+
+ Add auto-create support for OptGroup instances
+
+ Currently, it is possible to auto-create groups by passing a group name
+ to register_opt or register_opts. However, it is not possible to
+ auto-register groups when a OptGroup instance is passed instead.
+
+ This patch adds support for that to the _get_group method. There are
+ some advantages introduced by this patch:
+
+ * It keeps consistency of oslo.config's public API.
+ * It allow users to auto-register a group a group and
+ re-use the instance:
+ group = cfg.OptGroup("test")
+ cfg.register_opts(..., group=group)
+ # do something with the group
+ * It allows users to auto-register groups with descriptions.
+
+ DocImpact
+
+ Change-Id: I9b9a74688c906d6bdea9c42044b47dc52e48c19d
+
+commit c85c8e6c4d5a921aa36a4774fe6bd8ab07d58fb3
+Author: Davanum Srinivas <email address hidden>
+Date: Thu Aug 1 21:43:32 2013 -0400
+
+ NoSuchOptError should be used not AttributeError
+
+ Switch back to previous behavior. Looks like we are missing a test to
+ enforce the old behavior that everyone depends on
+
+ Fixes LP# 1207541
+
+ Change-Id: I79c58cfcf619a461f6a42a4dccfa9141bc1033a0
+
+commit 8470e71e8b0fab7db9a73ddaf4b122c592ed6d60
+Author: Zhongyue Luo <email address hidden>
+Date: Sun Jul 28 13:48:29 2013 +0900
+
+ Fixes six imports
+
+ Change-Id: I4ee63d990bf95d74cadd1d65ad75f7fe26cc8fbd
+
+commit 115e73801f2e2c80006dc11f61599029794f7541
+Merge: 9bc1af3 b7f895f
+Author: Jenkins <email address hidden>
+Date: Mon Jul 22 21:09:49 2013 +0000
+
+ Merge "Allow use of hacking 0.6.0 and fix min version"
+
+commit 9bc1af398e888f5981453a3efbff2b913767d21a
+Author: Doug Hellmann <email address hidden>
+Date: Sun Jul 21 17:00:31 2013 -0400
+
+ Fix python 3.3 test configuration
+
+ It is no longer necessary to install testrepository from bzr,
+ so don't. That means we no longer need a separate py33
+ environment definition, or the special requirements file.
+
+ Do not use distribute in the test virtualenvs.
+
+ Change-Id: I1c0002d3992e25e7e0927eca85ccd5e4d57ee7d1
+
+commit b7f895fad2d5973a2a8515b537bd00740a725d01
+Author: Sergey Lukjanov <email address hidden>
+Date: Sat Jul 20 00:47:56 2013 +0400
+
+ Allow use of hacking 0.6.0 and fix min version
+
+ Change-Id: Iaf75b8991c6a7c79a22651ca15867adda4dac2b1
+
+commit d836c1f05ac6909409b1c8763d5926d31fad5e2f
+Author: Luis A. Garcia <email address hidden>
+Date: Thu Jul 18 22:39:44 2013 +0000
+
+ Add eclipse project files to .gitignore
+
+ Like some of the other projects (nova, heat) ignore eclipse
+ project files, for those people that work with eclipse (yuck :)
+
+ Change-Id: I803a5a9a4bf30dc053b3f3a260a69ce19f3a6c9b
+
+commit 305ecd817836a90a8f5e495cbf6a770dcea1f7e8
+Author: Julien Danjou <email address hidden>
+Date: Tue Jul 16 11:49:04 2013 +0200
+
+ Add Python 3 support
+
+ These are the final changes needed to have the full py33 tox environment
+ running and passing all tests.
+
+ Change-Id: I3ac149345561a5bb99e017022ba2e2be10154584
+
+commit b96ebd3e5d958d3bf52508a0df5fcc77daa4bdf5
+Merge: 4f44b97 3302fb0
+Author: Jenkins <email address hidden>
+Date: Mon Jul 15 19:16:52 2013 +0000
+
+ Merge "Raise an exception when _oparser is not initialized"
+
+commit 3302fb05723e62f9b02c2cce74e30ded1edfda51
+Author: Davanum Srinivas <email address hidden>
+Date: Tue Jul 2 12:16:38 2013 -0400
+
+ Raise an exception when _oparser is not initialized
+
+ Throw an exception when print_help and print_usage
+ are called before __call__() is invoked on ConfigOpts
+ object
+
+ Fixes LP# 1196601
+
+ Change-Id: I2c3b412c5aa9adef87a92103b9749cc66158a3e4
+
+commit 4f44b97017e7f2b5920065f63df9ebe50027f4fb
+Author: Mark McLoughlin <email address hidden>
+Date: Wed Jul 10 08:22:13 2013 +0100
+
+ Hook docstrings into the published docs
+
+ Fixes bug #1182842
+
+ We've always had pretty decent documentation coverage in the docstrings
+ but have never taken the time to hook them into the published docs.
+
+ This is a first-cut at doing that. There's plenty of rough edges, but
+ it's a good start.
+
+ Change-Id: I62a509e7d6e156e9b67e75bef9da68fbfc4601ac
+
+commit 2b14d7314e4a760a282688174cfbf2edeb31c402
+Author: Mark McLoughlin <email address hidden>
+Date: Wed Jul 10 07:09:37 2013 +0100
+
+ Use oslo.sphinx and remove local copy of doc theme
+
+ Use the new oslo.sphinx version of the OpenStack doc
+ theme instead of copying it into this repo.
+
+ blueprint oslo.sphinx
+
+ Change-Id: I0bd91f7bb43f97b99051fed65b75fc05d5149cc8
+
 commit 29bf15d65d54219cd76a7f2b18bab0272bc180fe
 Author: Mark McLoughlin <email address hidden>
 Date: Tue Jul 2 11:28:13 2013 +0100

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oslo-config - 1:1.2.1-0ubuntu1

---------------
oslo-config (1:1.2.1-0ubuntu1) saucy; urgency=low

  * New upstream release (LP: #1232062).
  * Bumped python-fixtures, testrepository, python-testscenarios,
    and python-testtools.
 -- Chuck Short <email address hidden> Fri, 27 Sep 2013 09:34:18 -0400

Changed in oslo-config (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.