lp:~dan-prince/nova/fix_agent_plugin_inject_file
- Get this branch:
- bzr branch lp:~dan-prince/nova/fix_agent_plugin_inject_file
Branch merges
- Brian Lamar (community): Approve
- Devin Carlen (community): Approve
-
Diff: 90 lines (+21/-28)1 file modifiedplugins/xenserver/xenapi/etc/xapi.d/plugins/agent (+21/-28)
Related bugs
Bug #810657: agent plugin fails to detect correct file injection capability | Medium | Fix Released |
Related blueprints
Branch information
Recent revisions
- 1281. By Dan Prince
-
Change _agent_has_method to _get_agent_
features. Update the inject
files function so that it calls _get_agent_features only once per injected
file. - 1280. By Dan Prince
-
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
isn'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. - 1279. By Kevin L. Mitchell
-
Adds greater configuration flexibility to rate limiting via api-paste.ini. In particular:
* "limits" relation provides a string representation of desired default limits in the form:
- '(VERB, URI, REGEX, VALUE, UNIT); (VERB, URI, REGEX, VALUE, UNIT)'[...]
+ VALUE must be an integer, and UNIT must be one of SECOND, MINUTE, HOUR, DAY (case insensitive)
+ Empty string is also a valid value
* "user:<username>" relations specify limits in the same format, but per user.
* "limiter" relation can specify an alternate class to use in place of Limiter.
- This makes it easier to use WsgiLimiterProxy if desired
(All these relations are specified in the '[filter:
ratelimit] ' section.) - 1277. By Brian Waldon
-
- Present ip addresses in their actual networks, not just a static public/private
- Floating ip addresses are grouped into the networks with their associated fixed ips
- Add addresses attribute to server entities - 1276. By Dan Prince
-
Update the agent plugin so that it gets 'b64_contents' from the args dict instead of 'b64_file' (which isn't what nova sends).
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~hudson-openstack/nova/trunk