Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1941097

Summary: NodeDataLookup is failing in RHOSP16.1 due to JSONDecoder raising due to ' instead of "
Product: Red Hat OpenStack Reporter: David Hill <dhill>
Component: openstack-tripleo-heat-templatesAssignee: RHOS Maint <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Joe H. Rahme <jhakimra>
Severity: low Docs Contact:
Priority: unspecified    
Version: 16.1 (Train)CC: mburns, rajsingh, ramishra
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-22 06:48:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Hill 2021-03-19 23:08:16 UTC
Description of problem:
NodeDataLookup is failing in RHOSP16.1 due to JSONDecoder raising due to ' instead of " ...

parameter_defaults:
  service: multipath
  NodeDataLookup:
    {"39373638-3935-4753-4839-323159513647": {"swift::storage::disks::args": {"scsi-331402ec012ad6a72": {"base_dir":"/dev/disk/by-id/"}, "scsi-331402ec012ad6a73": {"base_dir":"/dev/disk/by-id/"}, "scsi-331402ec012ad6a74": {"base_dir":"/dev/disk/by-id/"}}},
     "39373638-3935-4753-4839-323159513634": {"swift::storage::disks::args": {"scsi-331402ec012ad4452": {"base_dir":"/dev/disk/by-id/"}, "scsi-331402ec012ad4453": {"base_dir":"/dev/disk/by-id/"}, "scsi-331402ec012ad4454": {"base_dir":"/dev/disk/by-id/"}}},
     "39373638-3935-4753-4839-32315951364a": {"swift::storage::disks::args": {"scsi-331402ec012ad6512": {"base_dir":"/dev/disk/by-id/"}, "scsi-331402ec012ad6513": {"base_dir":"/dev/disk/by-id/"}, "scsi-331402ec012ad6514": {"base_dir":"/dev/disk/by-id/"}}}
  }

ends up with:
3-19 16:30:25,723] (heat-config) [INFO] deploy_resource_name=TripleOSoftwareDeployment\\n[2021-03-19 16:30:25,723] (heat-config) [INFO] deploy_signal_transport=NO_SIGNAL\\n[2021-03-19 16:30:25,723] (heat-config) [DEBUG] Running /var/lib/
heat-config/heat-config-script/e8096538-4cd9-4f9c-81f7-2a8f594bf243\\n[2021-03-19 16:30:25,816] (heat-config) [INFO] b\\'\\'\\n[2021-03-19 16:30:25,817] (heat-config) [DEBUG] b\\'Traceback (most recent call last):\\\\n  File \"<string>\"
, line 5, in <module>\\\\n  File \"/usr/lib64/python3.6/json/__init__.py\", line 354, in loads\\\\n    return _default_decoder.decode(s)\\\\n  File \"/usr/lib64/python3.6/json/decoder.py\", line 339, in decode\\\\n    obj, end = self.raw
_decode(s, idx=_w(s, 0).end())\\\\n  File \"/usr/lib64/python3.6/json/decoder.py\", line 355, in raw_decode\\\\n    obj, end = self.scan_once(s, idx)\\\\njson.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: li
ne 1 column 2 (char 1)\\\\nTraceback (most recent call last):\\\\n  File \"<string>\", line 5, in <module>\\\\n  File \"/usr/lib64/python3.6/json/__init__.py\", line 354, in loads\\\\n    return _default_decoder.decode(s)\\\\n  File \"/u
sr/lib64/python3.6/json/decoder.py\", line 339, in decode\\\\n    obj, end = self.raw_decode(s, idx=_w(s, 0).end())\\\\n  File \"/usr/lib64/python3.6/json/decoder.py\", line 355, in raw_decode\\\\n    obj, end = self.scan_once(s, idx)\\\
\njson.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)\\\\n\\'\\n[2021-03-19 16:30:25,817] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-script/e8096538-4cd9-4f9
c-81f7-2a8f594bf243. [1]\\n\\n'",


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 6 Rabi Mishra 2021-03-22 06:48:42 UTC

*** This bug has been marked as a duplicate of bug 1924952 ***