Project

General

Profile

Actions

Bug #30358

closed

Assets are not deleted when unassigning policy from host

Added by Ondřej Pražák almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Fixed in Releases:
Found in Releases:

Description

The issue does not cause any problems, however we should clean up assets when unassigning policy from hosts.

Steps to reproduce:

1) ForemanOpenscap::Asset.all to check current assets
2) Assign a policy to a host
3) Unassign a policy from a host
4) repeat step 1, notice asset new asset is still present. Repeat steps 2 and 3 and observe asset count to grow.

Actions #1

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_openscap/pull/441 added
Actions #2

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases foreman_openscap 4.1.0 added
Actions #3

Updated by Ondřej Pražák over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot over 3 years ago

  • Pull request https://github.com/theforeman/foreman_openscap/pull/450 added
Actions

Also available in: Atom PDF