Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1237068 - Ensure all parameters are passed to Tuskar as strings
Ensure all parameters are passed to Tuskar as strings
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-rdomanager-oscplugin (Show other bugs)
Director
Unspecified Unspecified
unspecified Severity urgent
: ga
: Director
Assigned To: Dougal Matthews
Ola Pavlenko
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-30 06:11 EDT by Dougal Matthews
Modified: 2015-08-05 09:57 EDT (History)
7 users (show)

See Also:
Fixed In Version: python-rdomanager-oscplugin-0.0.8-15.el7ost
Doc Type: Bug Fix
Doc Text:
Tuskar API expected all parameters to be strings, but since some of the parameters were passed as integer values, the API would reject those. With this update, all parameters are converted to strings before being sent to the API. As a result, the API accepts all parameters and the deployment works successfully.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-05 09:57:44 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Bugzilla 51990 None None None Never
Gerrithub.io 238094 None None None Never
Red Hat Product Errata RHEA-2015:1549 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform director Release 2015-08-05 13:49:10 EDT

  None (edit)
Description Dougal Matthews 2015-06-30 06:11:36 EDT
Description of problem:

Tuskar expects all parameters to be strings. Any CLI args that are ints will fail.



How reproducible:

    openstack overcloud deploy --plan overcloud --control-scale 1 --compute-scale 1 --ceph-storage-scale 1



Result:

    ERROR: openstack Invalid input for field/attribute value. Value: '1'. Wrong type. Expected '<type 'unicode'>', got '<type 'int'>' (



Expected:

    Successful deploy
Comment 3 Dougal Matthews 2015-06-30 06:25:43 EDT
This regression happened as a result of the work on this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1193922
Comment 7 errata-xmlrpc 2015-08-05 09:57:44 EDT
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, 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-2015:1549

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