Bug 2009398 - hammer host interface update does not update remote execution setting
Summary: hammer host interface update does not update remote execution setting
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Remote Execution
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: 6.11.0
Assignee: Adam Ruzicka
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-30 14:30 UTC by Stefan Nemeth
Modified: 2023-01-20 00:54 UTC (History)
14 users (show)

Fixed In Version: tfm-rubygem-foreman_remote_execution-5.0.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:30:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34452 0 Normal Closed Allow host not having an execution interface 2022-03-08 11:00:25 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:30:14 UTC

Description Stefan Nemeth 2021-09-30 14:30:12 UTC
Description of problem:

hammer host interface update --host snemeth-interfaces.sysmgmt.lan --execution false --interface-id 17 

does not change remote execution setting

Version-Release number of selected component (if applicable):

6.9.6.1

How reproducible:

100%

Steps to Reproduce:
1.

#hammer -p RedHat1! host interface list --host snemeth-interfaces.sysmgmt.lan
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------
ID | IDENTIFIER | TYPE                                      | MAC ADDRESS       | IP ADDRESS   | DNS NAME
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------
18 |            | interface                                 | 52:54:00:20:2d:1e | 172.16.0.231 |
17 | ens3       | interface (primary, provision, execution) | 52:54:00:7a:e0:22 | 172.16.0.139 | snemeth-interfaces.sysmgmt.lan
20 |            | base                                      |                   |              |
21 |            | base                                      |                   |              |
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------

2.

#hammer host interface update --host snemeth-interfaces.sysmgmt.lan --execution false --interface-id 17 
Interface updated.

3.
#hammer -p RedHat1! host interface list --host snemeth-interfaces.sysmgmt.lan
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------
ID | IDENTIFIER | TYPE                                      | MAC ADDRESS       | IP ADDRESS   | DNS NAME
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------
18 |            | interface                                 | 52:54:00:20:2d:1e | 172.16.0.231 |
17 | ens3       | interface (primary, provision, execution) | 52:54:00:7a:e0:22 | 172.16.0.139 | snemeth-interfaces.sysmgmt.lan
20 |            | base                                      |                   |              |
21 |            | base                                      |                   |              |
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------

Actual results:

interface not updated

Expected results:

interface setting updated

Additional info:

Comment 12 Adam Ruzicka 2022-02-07 10:29:52 UTC
Created redmine issue https://projects.theforeman.org/issues/34404 from this bug

Comment 16 Ondřej Ezr 2022-02-17 11:54:54 UTC
The proper fix for this is a https://projects.theforeman.org/issues/34452

Comment 32 errata-xmlrpc 2022-07-05 14:30:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.11 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:5498


Note You need to log in before you can comment on or make changes to this bug.