Perhaps, using “node_name” setting in the client.rb file would fix this issue. I ran into similar issue and was able to fix it by setting this value to the FQDN name of the node.
-Kapil
From: Kenneth Barry [mailto: " target="_blank"> ]
Sent: Monday, March 10, 2014 2:22 PM
To: " target="_blank">
Subject: [chef] node name coming across wrong.
I am bootstrapping a linux node: "knife bootstrap servername01.domain.org -x root -P [password]" knife node list afterwords shows "servername01", Not the expected "servername01.domain.org" (FYI, this was bootstrapped before, i did a "knife node delete" and "knife client delete") Also, i had to give the parameter --no-host-key-verify in the bootstrap bease of an error i was getting. Things "seem" to work just fine until i try to re-run chef-client a second time after bootstrapping.
Other boxed we have bootstrapped have gotten the name we expect. I am guessing that maybe there is something that mixxing things up because the hef server considers this as a "known host" even after the "knife node delete" process....
Any pointers.
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.