You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When rhconsulting_service_catalogs.rake is parsing the content (line 300) of the service_template finds fields that are not expected and the export of the service_catalogs fails.
When a service_template is created via API, the field "options" are filled with the content of "config_info" as follows :
{
"href": "https://x.x.x.x/api/service_templates/99000000000030",
"id": "99000000000030",
"name": "Demo Ansible Tower service",
"description": "Demo Ansible Tower service description",
"guid": "2bef37be-4ce3-4f40-98b6-8d5fece062cf",
"type": "ServiceTemplateAnsibleTower",
"service_template_id": null,
"options": {
"config_info": {
"provision": {
"fqname": "/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision/CatalogItemInitialization",
"dialog_id": "99000000000001"
},
"configuration_script_id": "99000000000001"
}
},
"created_at": "2019-07-03T12:18:54Z",
"updated_at": "2019-07-03T12:26:47Z",
"display": false,
"evm_owner_id": null,
"miq_group_id": "99000000000002",
"service_type": "atomic",
"prov_type": "generic_ansible_tower",
"provision_cost": null,
"service_template_catalog_id": "99000000000001",
"long_description": null,
"tenant_id": "99000000000001",
"generic_subtype": null,
"deleted_on": null,
"internal": false,
"config_info": {
"provision": {
"fqname": "/AutomationManagement/AnsibleTower/Service/Provisioning/StateMachines/Provision/CatalogItemInitialization",
"dialog_id": "99000000000001"
},
"configuration_script_id": "99000000000001"
},
......
When rhconsulting_service_catalogs.rake is parsing the content (line 300) of the service_template finds fields that are not expected and the export of the service_catalogs fails.
cfme-rhconsulting-scripts/rhconsulting_service_catalogs.rake
Line 300 in 65aca08
The text was updated successfully, but these errors were encountered: