Warning during tox -e genconfig

Bug #1718102 reported by Bertrand Lallau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Medium
Bertrand Lallau

Bug Description

The following warning messages appears during genconfig:
.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/types.py:54: UserWarning: converting '42401' to a string", " warnings.warn('converting \\'%s\\' to a string' % str_val)
.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/types.py:54: UserWarning: converting '42402' to a string", " warnings.warn('converting \\'%s\\' to a string' % str_val)
.tox/genconfig/local/lib/python2.7/site-packages/oslo_config/types.py:54: UserWarning: converting '42403' to a string", " warnings.warn('converting \\'%s\\' to a string' % str_val)
...

Changed in kolla:
assignee: nobody → Bertrand Lallau (bertrand-lallau)
Revision history for this message
Eduardo Gonzalez (egonzalez90) wrote :

Could this be a oslo version issue?

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/506189

Changed in kolla:
status: New → In Progress
Changed in kolla:
importance: Undecided → Medium
milestone: none → queens-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/506189
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=85c5baf3ad949228f82e9d8c6a9483aadc838d7f
Submitter: Jenkins
Branch: master

commit 85c5baf3ad949228f82e9d8c6a9483aadc838d7f
Author: Bertrand Lallau <email address hidden>
Date: Thu Sep 21 15:55:54 2017 +0200

    Fix warning during tox -e genconfig

    uid and gid are defined in oslo.config as "String" but Integer is used
    to declare like:
    https://github.com/openstack/kolla/blob/master/kolla/common/config.py#L655

    Closes-Bug: #1718102
    Change-Id: I0a43aa0057ba15d989bc868fc60c88b085842da5

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/507662

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/pike)

Reviewed: https://review.openstack.org/507662
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=c1060d030740a36ba5f27939784748aef3c129ce
Submitter: Jenkins
Branch: stable/pike

commit c1060d030740a36ba5f27939784748aef3c129ce
Author: Bertrand Lallau <email address hidden>
Date: Thu Sep 21 15:55:54 2017 +0200

    Fix warning during tox -e genconfig

    uid and gid are defined in oslo.config as "String" but Integer is used
    to declare like:
    https://github.com/openstack/kolla/blob/master/kolla/common/config.py#L655

    Closes-Bug: #1718102
    Change-Id: I0a43aa0057ba15d989bc868fc60c88b085842da5
    (cherry picked from commit 85c5baf3ad949228f82e9d8c6a9483aadc838d7f)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 6.0.0.0b2

This issue was fixed in the openstack/kolla 6.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.1

This issue was fixed in the openstack/kolla 5.0.1 release.

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.