Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-203

Created policies are not set to enabled

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: RAZOR 0.15.0
    • Component/s: QA
    • Labels:
      None
    • Template:
    • Epic Link:
    • Story Points:
      1
    • Sprint:
      April 23

      Description

      When creating a new policy using the lastest version of Razor, the enabled property cannot be provided any more.

      root@razor:/opt/razor-client/bin# ./razor create-policy --json=/root/policy_ubuntu_12.04.json
      Error from doing POST http://localhost:8080/api/commands/create-policy
      422 Unprocessable Entity
      error: "extra attribute enabled was present in the command, but is not allowed"

      This keeps nodes from proceeding to the next step after the microkernel. When manually setting the enabled property in the database, the node continues as expected.

        Attachments

          Activity

            People

            Assignee:
            phong Phong Ly
            Reporter:
            Lord_Gaav Nick Douma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support