fix compliance&cyndi generator template: remove host_type altogether as the validation was changed to either allow host_type='edge' or None, nothing else. #143
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[2024-11-07 14:57:50,292] [8] [140518771590976] [inventory.app.queue.host_mq] [ERROR] Validation error while adding or updating host: {'system_profile': ["System profile does not conform to schema.\n'not_ed-ge' is not one of ['edge']\n\nFailed validating 'enum' in schema['properties']['host_type']:\n {'type': 'string',\n 'enum': ['edge'],\n 'maxLength': 4,\n 'description': 'Indicates the type of host.',\n 'example': 'edge, None'}\n\nOn instance['host_type']:\n 'not_ed-ge'"]}; Invalid data: {'system_profile': {'owner_id': 'b783079b-4aa5-4cdd-af70-8f6883c51419', 'cpu_model': 'Intel(R) I7(R) CPU I7-10900k 0 @ 4.90GHz', 'operating_system': {'major': 7, 'minor': 9, 'name': 'RHEL'}, 'installed_packages': ['python3-pip-0:9.0.3-7.el7_8.noarch', 'scrub-0:2.5.2-5.el7.x86_64', 'opensm-0:3.3.20-2.el7.x86_64', 'xcb-util-renderutil-0:0.3.9-3.el7.i686', 'msv-msv-1:2013.5.1-7.el7.noarch', 'hunspell-be-0:1.1-7.el7.noarch', 'pyOpenSSL-0:0.13.1-3.el7.x86_64', 'linuxconsoletools-0:1.4.5-3.el7.x86_64', 'k...