Comment 84 for bug 1517839

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.openstack.org/406449
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c7df051e3e40fa5ddcf3e472cae6f390f07272e1
Submitter: Jenkins
Branch: master

commit c7df051e3e40fa5ddcf3e472cae6f390f07272e1
Author: ChangBo Guo(gcb) <email address hidden>
Date: Sat Dec 3 18:19:16 2016 +0800

    Remove invalid tests for config option osapi_compute_workers

    Config option osapi_compute_workers is integer with min=1, that
    means any value < 1 will raise ValueError in runtime. Method
    set_override of ConfigOpts will not check value when enforce_type=False,
    In the future release of oslo.config, will set parameter enforce_type
    with True by default.

    This commit fixes warning as follow:
    DeprecationWarning: The argument enforce_type is changing its default
    value to True and then will be removed completely, please fix the
    invalid Integer(min=1) value '0' for option 'osapi_compute_workers'. in
    version '4.0'

    Related-Bug: 1517839

    Change-Id: I7da19419ed13e5d0602bbf5028c3cf7ae30c3c62