The workaround I have been using is to use “knife node edit <NODENAME>” and manually delete the attributes. This is acceptable to me for now but would appreciate if I can get more insight on why the knife command mentioned in original post does not work.
Thanks
-Kapil
From: Kapil Shardha [mailto:
I am trying to delete node attribute using knife, as mentioned in http://docs.opscode.com/essentials_cookbook_resources_first_run.html (towards the end). The commands completes without any errors but I can still see the attribute in Chef Server UI. The same issue is mentioned at http://stackoverflow.com/questions/20624221/not-able-to-delete-node-attribute-using-knife-command.
I ran the same command with –VV switch to get verbose output and I see HTTP 200 OK debug messages. The “knife search node ‘<ATTRIBUTE>’” returns the correct node.
Any idea if it is a bug?
Thanks
-Kapil
This email and any accompanying documents may contain privileged or otherwise confidential information of, and/or is the property of Education Management Solutions, Inc. If you are not the intended recipient, please immediately advise the sender by reply email & delete the message & any attachments without using, copying or disclosing the contents. Thank you. |
Archive powered by MHonArc 2.6.16.