Description of problem: when creating snapshot via Automate, the snapshot is created with name other than expected: For VM with name "test_1", create a snapshot, with name "snp1", Creates actually snapshot with name "Snapshot:<snp1> for test_1", though it should be "snp1" Version-Release number of selected component (if applicable): CFME-5.7.1.2 RHV-4.0.7 Additional info: The exact flow in automate, used to create the snapshot is described in bug 1399207 description.
Looks like the provider create_snapshot method ignores the name passed to the method. https://github.com/ManageIQ/manageiq/blob/51c1c07fa128b496f480e59f054647492ca38033/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb#L24 Sending to providers team to take a look.
After investigating this issue with masayag, it turned out that for RHV provider, Snapshot name parameter is not used. Therefore, running create snapshot method with the following line, that includes snap_name, as done in this case: snap_desc = $evm.root['snap_desc'] || "Snapshot:<#{snap_name}> for #{vm.name}" is not relevant. considering the above, I am closing the bug.