Bug 1495159 - The GUI gives you a wrong error message: "Please enter a valid JSON string."
Summary: The GUI gives you a wrong error message: "Please enter a valid JSON string."
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-ui
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: beta
: 12.0 (Pike)
Assignee: Jiri Tomasek
QA Contact: Julie Pichon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-25 11:03 UTC by Udi Kalifon
Modified: 2018-02-05 19:15 UTC (History)
9 users (show)

Fixed In Version: openstack-tripleo-ui-7.4.3-0.20171023133305.8616195.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-13 22:11:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1721520 0 None None None 2017-10-05 11:27:30 UTC
OpenStack gerrit 512955 0 None None None 2017-10-18 07:49:54 UTC
Red Hat Product Errata RHEA-2017:3462 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 12.0 Enhancement Advisory 2018-02-16 01:43:25 UTC

Description Udi Kalifon 2017-09-25 11:03:46 UTC
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 12:27:06 UTC
Fixed by https://review.openstack.org/#/c/508860/

Comment 3 Julie Pichon 2017-11-07 13:27:20 UTC
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 22:11:04 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, 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.