AppController/djinn.rb
# An Array of DjinnJobData objects, each of which containing information about
# a node in the currently running AppScale deployment.
An Array of DjinnJobData objects, each of which containing information about
a node in the currently running AppScale deployment.
An Array of DjinnJobData objects each of which containing information about a node in the currently running AppScale deployment .
def spawn_and_setup_appengine()
    keyname = @options['keyname']
    machines = JSON.load(@options['ips'])
    appengine_info = spawn_appengine(machines)
    Djinn.log_info("Nodes info after starting remotes: #{appengine_info.join(', ')}.")
    @state = "Copying over needed files and starting the AppController on the other VMs"
    appengine_info = Djinn.convert_location_array_to_class(appengine_info, keyname)
    appengine_info = convert_fqdns_to_ips(appengine_info)
    @state_change_lock.synchronize {
      @nodes.concat(appengine_info)
      @nodes.uniq!
    }
    find_me_in_locations()
    write_database_info()
    update_firewall()
    initialize_nodes_in_parallel(appengine_info)
  end
def spawn_and_setup_appengine ( ) keyname = @options [ 'keyname' ] machines = JSON . load ( @options [ 'ips' ] ) appengine_info = spawn_appengine ( machines ) Djinn . log_info ( "Nodes info after starting remotes: #{appengine_info.join(', ')}." ) @state = "Copying over needed files and starting the AppController on the other VMs" appengine_info = Djinn . convert_location_array_to_class ( appengine_info , keyname ) appengine_info = convert_fqdns_to_ips ( appengine_info ) @state_change_lock . synchronize { @nodes . concat ( appengine_info ) @nodes . uniq! } find_me_in_locations ( ) write_database_info ( ) update_firewall ( ) initialize_nodes_in_parallel ( appengine_info ) end
An Array of DjinnJobData objects, each of which containing information about
a node in the currently running AppScale deployment.
An Array of DjinnJobData objects each of which containing information about a node in the currently running AppScale deployment .
# should also make sure the tools are on the vm and the envvars are set