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

Rolling CV version update via API should return HTTP 403

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 6.18.0
    • Content Views
    • False
    • sat-artemis
    • None
    • None
    • None
    • None

      Description of problem:

      Rolling CV version update via API should return HTTP 403 since there is nothing like a Version for a Rolling CV.

       

      How reproducible:

      always

       

      Is this issue a regression from an earlier version:

      no

       

      Steps to Reproduce:

      1. Create a Rolling CV

      2. Try to update it's version via API

       

      Actual behavior:
      Currently 200 is returned but nothing actually changes (no update)

       

      2026-01-09 15:19:05 - nailgun.client - DEBUG - Making HTTP PUT request to https://satellite.redhat.com/katello/api/v2/content_views/4 with options {'auth': None, 'verify': None, 'headers': {'content-type': 'application/json'}}, no params and data {"version_ids": [6]}.2026-01-09 15:19:06 - nailgun.client - DEBUG - Received HTTP 200 response:   {"content_host_count":0,"composite":false,"rolling":true,"component_ids":[],"duplicate_repositories_to_publish":[],"default":false,"version_count":1,"latest_version":"1.0","latest_version_id":4,"auto_publish":false,"solve_dependencies":false,"import_only":false,"generated_for":"none","related_cv_count":0,"related_composite_cvs":[],"filtered":false,"needs_publish":false,"environment_ids":[],"repository_ids":[],"id":4,"name":"BkcysEl","label":"BkcysEl","description":null,"organization_id":3,"organization":{"name":"VQGLAqKaoFz","label":"VQGLAqKaoFz","id":3},"created_at":"2026-01-09 13:55:37 UTC","updated_at":"2026-01-09 13:55:37 UTC","last_task":null,"latest_version_environments":[],"repositories":[],"versions":[{"id":4,"version":"1.0","published":"2026-01-09 13:55:37 UTC","description":null,"environment_ids":[],"filters_applied":null,"published_at_words":"23 minutes"}],"components":[],"content_view_components":[],"activation_keys":[],"hosts":[],"next_version":"2.0","last_published":"2026-01-09 13:55:37 UTC","environments":[],"errors":null} 

       

       

      Expected behavior:

      403 in response

       

      Additional information:

      Blocks test_negative_change_rolling_version (id: f16dbe19-29ea-41f1-89e2-fd99aa07857f)

              Unassigned Unassigned
              vsedmik@redhat.com Vladimír Sedmík
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: