Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-23279 PUT /api/v2/discovered_hosts/reboot_all - returns response in plain text
  3. SAT-23931

[QE] PUT /api/v2/discovered_hosts/reboot_all - returns response in plain text

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • Rocket

      Description of problem:
      PUT /api/v2/discovered_hosts/reboot_all - returns response in plain text even though content-type is application/json

      Version-Release number of selected component (if applicable):
      Satellite 6.15.0 Snap 9

      How reproducible:
      Always

      Steps to Reproduce:
      1. # curl -X PUT -k -H 'Content-Type: application/json' -u admin:changeme -i 'https://satellite.example.com/api/v2/discovered_hosts/reboot_all'
      2.
      3.

      Actual results:
      Returned response is not valid json, it's plain text

      Expected results:
      Returned output is formatted as JSON

      Additional info:
      Jira issue https://issues.redhat.com/browse/SAT-20935

      QE Tracker for https://issues.redhat.com/browse/SAT-23279
      Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2264195

            gtalreja@redhat.com Gaurav Talreja
            satellite-focaccia-bot Focaccia Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: