Comment 94 for bug 1517839

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

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

commit 213f7120c483a37317091b7478dfb99495619ce4
Author: ChangBo Guo(gcb) <email address hidden>
Date: Mon Apr 17 16:51:02 2017 +0800

    Remove usage of parameter enforce_type

    Oslo.config deprecated parameter enforce_type and change its
    default value to True in Ifa552de0a994e40388cbc9f7dbaa55700ca276b0.
    Nova peridic py35 job failure due to the DeprecationWarning: "Using the
    'enforce_type' argument is deprecated in version '4.0' and will be
    removed in version '5.0': The argument enforce_type has changed its
    default value to True and then will be removed completely."[1]
    So need clean up usage of enforce_type.

    Note this patch also change enforce_type from False to default value
    True in test__get_node_console_with_reset_wait_timeout. We should test
    as runtime, we can use float type to test when config option
    serial_console_state_timeout is float.

    [1] http://logs.openstack.org/periodic/periodic-nova-py35-with-oslo-master/6eeea0f/testr_results.html.gz

    Related--Bug: #1517839

    Change-Id: I94915a5c6abbbb739c597025272dc0e25d3ba2ec