~rackspace-titan/nova/osapi-flavors-serialization

Viewing all changes in revision 1282.

Updates to the XenServer agent plugin to fix file injection:

  -Update _agent_has_method so that it parses the features 'message' from nova-agent correctly. (it was trying to call .split on a dict).
  -Rip out the agent_has_method caching functionality which just plain wasn't working (with XenServer 5.6 SP2).
  -Pass the arg_dict to _agent_has_method. This fixes an issue where a subsequent call to xenstore.write_record didn't get the 'dom_id' (KeyError).
  -Fix a string formatting issue in inject_file in creating the b64 data.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: