Skip to content

Ovirt Snapshot successful when actual task had failed in ovirt #777

@hemak88

Description

@hemak88
SUMMARY

A snapshot creation fails in ovirt but ansible module doesnt fail and provides exit code successful

COMPONENT NAME

ovirt.ovirt.ovirt_snapshot

STEPS TO REPRODUCE

Snapshot of vm was created with below

ovirt_snapshot:
  vm_name: test
  use_memory: no
  wait: yes
  description: snapshotnew

In ovirt the snapshot task had failed. But ansible play was successful.

EXPECTED RESULTS

In all cases if snapshot has failed in ovirt, ansible task should also fail

ACTUAL RESULTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions