Bug 2049982 - `tempest init <workspace>` shows UserWarning
Summary: `tempest init <workspace>` shows UserWarning
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ga
: 17.0
Assignee: Chandan Kumar
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-03 00:05 UTC by Takashi Kajinami
Modified: 2022-09-21 12:19 UTC (History)
5 users (show)

Fixed In Version: openstack-tempest-30.1.0-0.20220418200411.44dac69.el9ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:18:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1959859 0 None None None 2022-02-03 00:19:48 UTC
OpenStack gerrit 827575 0 None MERGED Fix inconsistent type of default value 2022-03-29 09:46:51 UTC
Red Hat Issue Tracker OSP-12450 0 None None None 2022-02-03 00:08:12 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:19:23 UTC

Description Takashi Kajinami 2022-02-03 00:05:35 UTC
Description of problem:

The `tempest init <workspace>` command shows UserWarning below.

(overcloud) [stack@undercloud-0 ~]$ tempest init mytempest
2022-02-03 00:00:20.702 37765 INFO tempest [-] Using tempest config file /etc/tempest/tempest.conf
/usr/lib/python3.6/site-packages/oslo_config/types.py:59: UserWarning: converting '3000' to a string
  warnings.warn('converting \'%s\' to a string' % str_val)
(overcloud) [stack@undercloud-0 ~]$ 


Version-Release number of selected component (if applicable):
openstack-tempest-26.1.0-2.20210531080657.271f820.el8ost.1.noarch
python3-tempest-26.1.0-2.20210531080657.271f820.el8ost.1.noarch
python3-tempestconf-3.2.1-2.20210527211920.f88961e.el8ost.1.noarch


How reproducible:
Always

Steps to Reproduce:
1. Run `tempest init <workspace> in undercloud

Actual results:
One UserWarning is shown

Expected results:
No UserWarning is shown

Additional info:
I'm not aware of any actual issue caused by this message

Comment 1 Martin Kopec 2022-06-13 09:10:48 UTC
The fix has been merged upstream and it's part of the openstack-tempest-30.1.0-0.20220418200411.44dac69.el9osttrunk package.

Comment 12 Martin Kopec 2022-06-22 12:01:30 UTC
I confirm that the Fixed in version package contains the fix for this failure and that the package is available in the given puddle.

Comment 16 errata-xmlrpc 2022-09-21 12:18:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543


Note You need to log in before you can comment on or make changes to this bug.