Project

General

Profile

Actions

Bug #36667

closed

Hammer accepts non-existent LCE in host update

Added by Lucy Fu 11 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Hammer host update accepts non-existent LCE id and says 'Host updated.', but it's not.

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

How reproducible:
always

Steps to Reproduce:
1. Have a host registered to the Satellite
2. Run `hammer host update --id <host_id> --lifecycle-environment-id 999999`

Actual results:
[root@sat ~]# hammer host update --id 24 --lifecycle-environment-id 999999
Host updated.

Expected results:
Should fail with proper message (like "LCE does not exist", "LCE is not assigned to the content source", etc.)

Actions #1

Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lucy Fu
  • Pull request https://github.com/Katello/katello/pull/10691 added
Actions #2

Updated by Jeremy Lenz 11 months ago

  • Subject changed from Hammer accepts non-existent LCE in host update to Hammer accepts non-existent LCE in host update
  • Target version set to Katello 4.10.0
  • Triaged changed from No to Yes
Actions #3

Updated by The Foreman Bot 11 months ago

  • Fixed in Releases Katello 4.10.0 added
Actions #4

Updated by Lucy Fu 11 months ago

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

Updated by Jeremy Lenz 11 months ago

  • Target version changed from Katello 4.10.0 to Katello 4.9.2
  • Triaged changed from Yes to No

This is being hit by users, so proposing for 4.9.2

Actions #6

Updated by Quinn James 11 months ago

  • Triaged changed from No to Yes
Actions #7

Updated by The Foreman Bot 10 months ago

  • Pull request https://github.com/Katello/katello/pull/10754 added
Actions #8

Updated by The Foreman Bot 10 months ago

  • Pull request deleted (https://github.com/Katello/katello/pull/10691, https://github.com/Katello/katello/pull/10754)
Actions #9

Updated by The Foreman Bot 10 months ago

  • Fixed in Releases Katello 4.9.2 added
Actions

Also available in: Atom PDF