[openstack-dev] Oslo.config raises AttributeError instead of NoSuchOptError

Nachi Ueno nachi at ntti3.com
Fri Aug 2 02:05:41 UTC 2013


Thanks! This code works

2013/8/1 Davanum Srinivas <davanum at gmail.com>:
> Nachi,
>
> I've submitted a review for oslo.config -
> https://review.openstack.org/#/c/39850/ - please see if that helps in
> your environment as well.
>
> -- dims
>
> On Thu, Aug 1, 2013 at 8:22 PM, Nachi Ueno <nachi at ntti3.com> wrote:
>> Hi Mark
>>
>> When I use latest oslo,
>> Oslo.config raises AttributeError instead of NoSuchOptError.
>> (now devstack is using latest oslo, and this is also breaking neutron gating)
>>
>> Neutron agents handles NoSuchOptError, so this change brokes
>> most of neutron agents.
>>
>> (see
>> https://bugs.launchpad.net/oslo/+bug/1207541 )
>>
>> I prefer NoSuchOptError than AtrtributeError, because
>> NoSuchOptError has more info and it is subclass of AtrtributeError.
>> At least, since this is API change, this change should be agreed on community.
>>
>> I would like to suggest to revert the change which makes this change.
>> https://github.com/openstack/oslo.config/commit/305ecd817836a90a8f5e495cbf6a770dcea1f7e8
>>
>> Best
>> Nachi
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list