Bug #34404
closedhammer host interface update does not update remote execution setting
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2009398
Description of problem:
hammer host interface update --host myhost.example.com --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 myhost.example.com|------------|-------------------------------------------|-------------------|--------------|-----------------------------
--
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 | myhost.example.com
20 | | base | | |
21 | | base | | |
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------
2.
#hammer host interface update --host myhost.example.com --execution false --interface-id 17
Interface updated.
3.
#hammer p RedHat1! host interface list --host myhost.example.com|------------|-------------------------------------------|-------------------|--------------|-----------------------------
--
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 | myhost.example.com
20 | | base | | |
21 | | base | | |
---|------------|-------------------------------------------|-------------------|--------------|-----------------------------
Actual results:
interface not updated
Expected results:
interface setting updated
Additional info:
Updated by Adam Ruzicka over 3 years ago
- Project changed from Hammer CLI to Foreman Remote Execution
- Category set to CLI
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer_cli_foreman_remote_execution/pull/43 added
Updated by Ondřej Ezr about 3 years ago
- Related to Bug #34452: Allow host not having an execution interface added