Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-197

Error on Deployment page when logged in as user with scoped role

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.1.0
    • None
    • None

    Description

      #domain-deployments page throws an Error, consequently deployments are not listed.

      Request
      {
          "address" => [],
          "operation" => "composite",
          "steps" => [
              {
                  "address" => [],
                  "operation" => "read-children-resources",
                  "child-type" => "deployment"
              },
              {
                  "operation" => "read-children-resources",
                  "child-type" => "server-group"
              },
              {
                  "address" => [
                      ("server-group" => "*"),
                      ("deployment" => "*")
                  ],
                  "operation" => "read-resource"
              }
          ]
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "result" => {
              "step-1" => {
                  "outcome" => "failed",
                  "rolled-back" => true
              },
              "step-2" => {
                  "outcome" => "failed",
                  "rolled-back" => true
              },
              "step-3" => {
                  "outcome" => "failed",
                  "result" => [],
                  "rolled-back" => true
              }
          },
          "failure-description" => {"domain-failure-description" => "JBAS014654: Composite operation was rolled back"},
          "rolled-back" => true
      }
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-hbraun Heiko Braun
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: