Project

General

Profile

Bug #6156

Updated by Brett Smith almost 9 years ago

Do the following: 

 * Introduce a configuration variable to API server that provides a C-style printf format string to generate a compute node hostname given a slot_number. 
 * Update Node.hostname_for_slot to return a result based on the configured format string. 
 * In Node#ping: 
 ** Only assign a slot_number if slot_number and hostname are both nil 
 ** Always assign a hostname generated by Node.hostname_for_slot if hostname is nil 
 * Don't consider slot_number in Node#crunch_worker_state. 

Back