diff options
author | Dan Prince <dan.prince@rackspace.com> | 2011-07-18 19:07:20 +0000 |
---|---|---|
committer | Tarmac <> | 2011-07-18 19:07:20 +0000 |
commit | d101bb53cf310e1f093c46cdbdbe2c5b0207e49e (patch) | |
tree | be3af18521f98773afb2aa0390d1997a7d26e21a /nova/test.py | |
parent | cf25ab33cb7d6b5e233a767ad96b3c45b1387b5e (diff) | |
parent | 813253e8bea9a8db9c1df45f9aa5e094503a015a (diff) | |
download | nova-d101bb53cf310e1f093c46cdbdbe2c5b0207e49e.tar.gz nova-d101bb53cf310e1f093c46cdbdbe2c5b0207e49e.tar.xz nova-d101bb53cf310e1f093c46cdbdbe2c5b0207e49e.zip |
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.
Diffstat (limited to 'nova/test.py')
0 files changed, 0 insertions, 0 deletions