Issue #9675 has been updated by Dan Bode.
cluster of issues surrounding cloud provisioner: This ticket is being used to collect the existing issues with the classify action. After further examination, it appears that the action does actually work. Most of the issues surrounding the classify action are usability issues: # it uses existing Puppet options: report_server and report_port. These options are not documented in the help, but are required options. Using http://#{Puppet[:report_server]}:#{Puppet[:report_port]} as Dashboard url. # if the required option --node-group is not specified, it fails silently by default. The error message below is actually only printed to the console when either --verbose of --debug is specified <pre> info: No classification method selected - does not print by default </pre> # Cannot prefix report_server with http: the resulting url is: http://http://rhel-55-64-1:3000 # Not clear that group should already exist in Dashboard You get back the following output if the group does not already exist in the Dashbaord <pre> puppet node classify --report_server rhel-55-64-1 --report_port 3000 foo --debug --node-group test info: Using http://rhel-55-64-1:3000 as Dashboard. notice: Registering node ... notice: Registering node ... Done notice: Classifying node ... warning: Classifying node ... Failed warning: Server responded with a 422 status </pre> # Error message is not clear if node_name already exists if the node already exists, I get the following output: <pre> puppet node classify --report_server rhel-55-64-1 --report_port 3000 foo --debug --node-group test --trace info: Using http://rhel-55-64-1:3000 as Dashboard. notice: Registering node ... warning: Registering node ... Failed warning: Server responded with a 422 status notice: Classifying node ... warning: Classifying node ... Failed warning: Server responded with a 422 status </pre> ---------------------------------------- Bug #9675: ensure that classify action works for cloud provisioner https://projects.puppetlabs.com/issues/9675 Author: Dan Bode Status: Investigating Priority: High Assignee: Dan Bode Category: cloudpack Target version: Keywords: Branch: There is some concern that the classify action no longer works with cloud provisioner. This feature needs to ship with the next version. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
