Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-22172 Updating setting host_owner fails with "Value Host owner is invalid"
  3. SAT-25317

[QE] Updating setting host_owner fails with "Value Host owner is invalid"

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • Settings
    • None

      Verified.

      Tested on: Satellite stream snap 60

      Steps followed:

      1. # hammer user list     (By executing this command, you can retrieve the user ID. For example, if the ID is 1, use that ID in the command below.)

      2. # hammer settings set --id host_owner --value '1-Users'     

      3. After running the above command, you will receive the output - "Setting [host_owner] updated to [1-Users]"

      4. To verify the second command, first run the following command which provides the token:
         # echo -n 'username:password' | base64
         
      5. # curl -X PUT -k -H 'Content-Type: application/json' -H 'Authorization: Basic <token>=' -i 'https://satellite.example.com/api/v2/settings/host_owner' --data '{"value": "1-Users"}'

      Both commands work properly and update the setting.

            rh-ee-amolpati Amol Patil
            satellite-focaccia-bot Focaccia Bot
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: