I have installed suse openstack cloud 6 and using the crowbar that comes with it. Could you provide me the pointers to those node apis ?
My objective is to skip the discovery process and to register the nodes. Assume you have the details of all baremetal nodes(Mac,ip., .etc) available, how to register them with crowbar?
Thanks,
Nivas
Hi Nivas,
Does the documentation help?
Thanks,
Dirk
Yes, I am following this method currently.
I would like to know if there are any explicit REST APIs /CLIs to do that.
Hi,
I wonder, how is crowbar_register different from a CLI? What is missing from it?
There is no direct REST call for this because the registration involves an initial chef-client run (at least collection of system information and upload to the node database), which means it is a multiple step process including installation of additional packages and registration against the chef server.
Are you saying that you want to register a node without executing code on that note?
Greetings,
Dirk
Here the mechanism is pull. You need to get that script in every node and execute it. Push would be better like you execute a command at server side.
>>There is no direct REST call for this because the registration involves an initial chef-client run (at least collection of system information and upload to the node database), which means it is a multiple step process including installation of additional packages and registration against the chef server.
If you have all the data already available, you can skip that step right?. If you go through the link I referred in opencrowbar, there you can add a node with just name and Mac address..then update it more details.
>>Are you saying that you want to register a node without executing code on that note?
Yes, I am looking for such thing . The registration related thing happens at one node(admin node). I agree that even after such thing, the crowbar needs to contact every registered node to do certain standard configurations as in crowbar_register script
Thanks,
Nivas