Uploaded image for project: 'Razor (moved to puppet.atlassian.net)'
  1. Razor (moved to puppet.atlassian.net)
  2. RAZOR-203

Created policies are not set to enabled

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • RAZOR 0.15.0
    • QA
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support