Hide Forgot
Description of problem: Documentation bug at https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/paged/director-installation-and-usage/chapter-9-scaling-the-overcloud at section 9.1. ADDING COMPUTE OR CEPH STORAGE NODES on the newnodes.json file. Version-Release number of selected component (if applicable): RH OSP 8.0 director documentation. How reproducible: 100% Steps to Reproduce: 1. JSON file format is wrong. Import fails. 2. 3. Actual results: File example is : { "nodes":[ { "mac":[ "dd:dd:dd:dd:dd:dd" ], "cpu":"4", "memory":"6144", "disk":"40", "arch":"x86_64", "pm_type":"pxe_ipmitool", "pm_user":"admin", "pm_password":"p@55w0rd!", "pm_addr":"192.0.2.207" }, { "mac":[ "ee:ee:ee:ee:ee:ee" ], "cpu":"4", "memory":"6144", "disk":"40", "arch":"x86_64", "pm_type":"pxe_ipmitool", "pm_user":"admin", "pm_password":"p@55w0rd!", "pm_addr":"192.0.2.208" }, ] } Expected results: File should not contain a comma at the end of the last json object : { "nodes":[ { "mac":[ "dd:dd:dd:dd:dd:dd" ], "cpu":"4", "memory":"6144", "disk":"40", "arch":"x86_64", "pm_type":"pxe_ipmitool", "pm_user":"admin", "pm_password":"p@55w0rd!", "pm_addr":"192.0.2.207" }, { "mac":[ "ee:ee:ee:ee:ee:ee" ], "cpu":"4", "memory":"6144", "disk":"40", "arch":"x86_64", "pm_type":"pxe_ipmitool", "pm_user":"admin", "pm_password":"p@55w0rd!", "pm_addr":"192.0.2.208" } ] } Additional info: Please remove the comma after the last node definition.
Hi Julio, The comma should be removed and the JSON file should be correct now. Was there anything else requires for this BZ?
No response in over a month. Closing this BZ.