Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-21408

requests on 3scale fail with: Invalid configuration - missing insights compliance configuration

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • None

      We recently changed cockpit's "create new session" API endpoint from a GET to a POST, as per the specification. This is because GET requests should not change the state, but creating a session does.

      However, this does not work on 3scale:

      # curl -D- -X POST -k -u mmarusak-et:123456789 https://test.cloud.redhat.com/api/webconsole/v1/sessions/new
      HTTP/2 500 
      [...]
      Invalid configuration - missing insights compliance configuration
      

      I don't know what that means, but supposedly the 3scale configuration needs to be updated to allow POST requests?

      FYI: jvanderw@redhat.com mmarusak cheimes@redhat.com kwalsh@redhat.com

      *Update*: Turns out this has nothing to do with POST specifically, it does not work with GET either. And in fact it's not even specific to webconsole, it happens the same way on the test route:

      $ curl -u 'mmarusak-et:123456789' https://test.cloud.redhat.com/api/apicast-tests/ping
      Invalid configuration - missing insights compliance configuration
      

            Unassigned Unassigned
            rhn-engineering-mpitt Martin Pitt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: