Project

General

Profile

Actions

Bug #39129

closed

Ansible tab in host details does not refresh when roles are added or removed

Added by Adam Ruzicka 7 months ago. Updated 7 months ago.

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

Description

Description of problem:
SSIA

How reproducible:
Always

Is this issue a regression from an earlier version:
Yes

Steps to Reproduce:
1. Have a host
2. Have ansible roles
3. Go to details of host
4. Go to Ansible tab
5. Click Assign roles directly to host
6. Select a role, move it to the right column, click confirm

The other direction
1. Have a host with a single ansible role already assigned
2. Go to details of host
3. Go to Ansible tab
4. Click edit ansible roles
5. Move the role the the left column, click confirn

Actual behavior:
After assigning the roles, the modal closes but the page still shows the "empty state".

After removing the roles, the modal closes but the page still shows the table with the previously assigned roles.

It sorts itself out after a reload.

Expected behavior:
After assigning the roles, the modal closes and the page shows the table with the roles without needing a reload.

After removing the roles, the modal closes and the page still shows the "empty state" without needing a reload.

Actions #1

Updated by The Foreman Bot 7 months ago

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

Updated by The Foreman Bot 7 months ago

  • Fixed in Releases foreman_ansible-17.0.4 added
Actions #3

Updated by Adam Ruzicka 7 months ago

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

Updated by Adam Lazik 7 months ago

  • Fixed in Releases foreman_ansible-17.0.5 added
  • Fixed in Releases deleted (foreman_ansible-17.0.4)
Actions

Also available in: Atom PDF