Issue #9679 has been updated by Dan Bode.

Status changed from Investigating to In Topic Branch Pending Merge
Assignee set to Dan Bode
Branch set to https://github.com/puppetlabs/puppetlabs-cloud-provisioner/pull/18


----------------------------------------
Bug #9679: classify action should check if node already exist and provide a 
clear message
https://projects.puppetlabs.com/issues/9679

Author: Dan Bode
Status: In Topic Branch Pending Merge
Priority: Normal
Assignee: Dan Bode
Category: 
Target version: 
Keywords: 
Branch: https://github.com/puppetlabs/puppetlabs-cloud-provisioner/pull/18


The classify action should check to see if the node_name already exists before 
attempting to create the node in the dashboard. If the node already exists, it 
should notify the user with a reasonable message.

It currently tries to recreate the node even if it already exists and provides 
the following unclear warning:

<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 ...
notice: Classifying node ... Done
</pre>


-- 
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.

Reply via email to