Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1495159 - The GUI gives you a wrong error message: "Please enter a valid JSON string."
The GUI gives you a wrong error message: "Please enter a valid JSON string."
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-ui (Show other bugs)
12.0 (Pike)
Unspecified Unspecified
high Severity urgent
: beta
: 12.0 (Pike)
Assigned To: Jiri Tomasek
Julie Pichon
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-25 07:03 EDT by Udi
Modified: 2018-02-05 14:15 EST (History)
9 users (show)

See Also:
Fixed In Version: openstack-tripleo-ui-7.4.3-0.20171023133305.8616195.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-12-13 17:11:04 EST
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
Launchpad 1721520 None None None 2017-10-05 07:27 EDT
OpenStack gerrit 512955 None None None 2017-10-18 03:49 EDT
Red Hat Product Errata RHEA-2017:3462 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-15 20:43:25 EST

  None (edit)
Description Udi 2017-09-25 07:03:46 EDT
Description of problem:
For some parameters in the parameters dialog, you can't enter the value you want because you're stopped by this error message: "Please enter a valid JSON string."


Version-Release number of selected component (if applicable):
openstack-tripleo-ui-7.4.1-0.20170911164240.16684db.el7ost.noarch


How reproducible:
100%


Steps to Reproduce:
1. Include docker.yaml in your plan configuration, and save.
2. Switch to the parameters tab and select the section of the containerized deployment parameter.
3. Try to feed in a value to the parameter DockerInsecureRegistryAddress. I tried to enter ['****.****.redhat.com']


Actual results:
You're stopped with a validation message: "Please enter a valid JSON string."
Comment 1 Jiri Tomasek 2017-10-02 08:27:06 EDT
Fixed by https://review.openstack.org/#/c/508860/
Comment 3 Julie Pichon 2017-11-07 08:27:20 EST
Verified. Followed the steps in the bug description and was able to set and save the parameter.

1. Created a new OSP12 plan and clicked on "Edit Configuration"
2. docker.yaml was enabled by default so switched to Parameters tab -> Containerized Deployment" directly
3. Found DockerInsecureRegistryAddress and set it to ['****.****.redhat.com']. No validation error message.
4. Saved and closed the modal.
5. Parameter still set correctly when returning to the window. Also confirmed by looking at DockerInsecureRegistryAddress in plan-environment.yaml in Swift.

openstack-tripleo-ui-7.4.2-2.el7ost.noarch
Comment 7 errata-xmlrpc 2017-12-13 17:11:04 EST
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-2017:3462

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