You should define your model in the App namespace and reference any relationships by their name, not the actual variable, like this:
App.Esnode = DS.Model.extend({
nodeUrl: DS.attr('string'),
nodeState: DS.attr('string'),
indices: DS.hasMany('index')
});
And then when you create a record, you pass in the string name of the type of record you're creating, like this:
this.store.createRecord('esnode',{
nodeUrl: "http://192.168.1.13:9200"
});
That should fix your problem.