Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18994

Hammer accepts non-existent LCE in host update

XMLWordPrintable

    • 0
    • False
    • Moderate
    • Sprint 120, Sprint 121, Sprint 127, Sprint 128, Sprint 129, Sprint 130, Sprint 131, Sprint 132, Sprint 133
    • sat-proton
    • None
    • None
    • None
    • None

      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.)

          There are no Sub-Tasks for this issue.

              rhn-engineering-lfu Lucy Fu
              jira-bugzilla-migration RH Bugzilla Integration
              Vijaykumar Sawant Vijaykumar Sawant
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: