Project

General

Profile

Actions

Bug #21428

closed

Hostgroup association with policy lost after upgrade

Added by Marek Hulán over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1503463

Description of problem: We had created policy for different hostgroup on satellite 6.2. But after upgrade the association of hostgroup with policy lost.

Version-Release number of selected component (if applicable): satellite 6.3 snap 20

*How reproducible:*always

Steps to Reproduce:
1. Create policy associated with hostgroup
2. satellite-installer --scenario satellite --upgrade
3. Navigate to policy -> edit

Actual results:
Found no hostgroup associated with policy after upgrade

Expected results:
Association should not lost after upgrade.

Additional info:


Related issues 1 (0 open1 closed)

Related to OpenSCAP - Bug #16325: policy deletion should delete associated assetsClosed08/26/2016Actions
Actions #1

Updated by Marek Hulán over 6 years ago

  • Related to Bug #16325: policy deletion should delete associated assets added
Actions #2

Updated by Marek Hulán over 6 years ago

  • Subject changed from Hostgroup association with policy lost after upgrade to Hostgroup association with policy lost after upgrade
  • Status changed from New to Assigned
  • Assignee set to Marek Hulán
  • translation missing: en.field_release set to 322

Users who upgraded to 0.6.0 on Foreman 1.15+ lost links between scap policies and hostgroup (1 time only). This is because the migration that was supposed to delete not links to policies that were already removed was not able to find even existing policies. Therefore all links were considered broken. This is caused by the change in Foreman core 1.15 that changes the way how objects in organization/location are searched for non-admin users.

Actions #3

Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman_openscap/pull/302 added
Actions #4

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

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF