{"push_id":601741737,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"9616c5f4754649965735d8cdcba225941b3cebf3","before":"9b55f3831a6bc3064b83cbbc25d0fffa4f008158","commits":[{"sha":"0df884ac931c99f50ce020b18fd42a1b94d96481","author":{"email":"0ef9166ffb07b98b817ea7d6bbe447ae88189dfd@redhat.com","name":"Terry Wilson"},"message":"Add rootwrap daemon mode support\n\nThis patch introduces support for rootwrap daemon mode. It adds\na new config option, AGENT.root_helper_daemon with no default. To\nenable, set to something like:\n\nroot_helper_daemon = sudo neutron-rootwrap-daemon /etc/neutron/rootwrap.conf\n\nThe patch currently assumes that the root_helper_daemon value, and specifically\nthe rootwrap config, will not change once calls to execute() happen. While it\nwould not be hard to generate a rootwrap daemon client for each new config, I\ncouldn't think of a legitimate reason to support it and left it out as YAGNI.\n\nThis patch does change the behavior of the addl_env argument to create_process\nand execute. Previously, an environment dict would be passed to Popen. If\na root helper was used, this environemnt would actually be passed to 'sudo'\nwhich would filter it before passing it to the underlying command. In the case\nof daemon mode, this would cause a problem as the enviornment is filtered by\nsudo only once, at daemon startup. Any environment variables added at execute\ntime would then just be passed directly to the underyling command unfiltered.\n\noslo.rootwrap 1.6.0 fixes this issue by denying the passing of environment\nvariables to the daemon altogether. Instead, anything using rootwrap and needing\nto pass additional environment variables should define an EnvFilter and run the\ncommand with env var=val cmd. utils.execute/create_process have been modified to\nrun code in this way (which netns.execute already did).\n\nNo code in neutron currently uses both run_as_root=True and addl_env, so this\nchange does not require any change in code or filters.\n\nDocImpact\nImplements: blueprint rootwrap-daemon-mode\nChange-Id: I567334bb611253c7b9d830d50c5be308a5153baf","distinct":true,"url":"https://api.github.com/repos/noironetworks/neutron/commits/0df884ac931c99f50ce020b18fd42a1b94d96481"},{"sha":"bad92a463ee4761833cdfcc7bb55f553ba3aa803","author":{"email":"02456206d06e3b8b8e3773e1cf675ac3e8cd933f@brocade.com","name":"Shiv Haris"},"message":"Brocade vendor code decomposition from neutron repo.\n\nBrocade code decomposition of VDX mechanism driver,\nincludes moving out the driver and unit tests. Left\nbehind are the DB model for migration and config\n\nCloses bug: #1427793\n\nChange-Id: I3b06a1800cce1ddbb87c6ebd7981e3f249df5060","distinct":true,"url":"https://api.github.com/repos/noironetworks/neutron/commits/bad92a463ee4761833cdfcc7bb55f553ba3aa803"},{"sha":"84243b2f08367d895090f3d076348600b4a336e3","author":{"email":"d95b56ce41a2e1ac4cecdd398defd7414407cc08@review.openstack.org","name":"Jenkins"},"message":"Merge \"Add rootwrap daemon mode support\"","distinct":true,"url":"https://api.github.com/repos/noironetworks/neutron/commits/84243b2f08367d895090f3d076348600b4a336e3"},{"sha":"9616c5f4754649965735d8cdcba225941b3cebf3","author":{"email":"d95b56ce41a2e1ac4cecdd398defd7414407cc08@review.openstack.org","name":"Jenkins"},"message":"Merge \"Brocade vendor code decomposition from neutron repo.\"","distinct":true,"url":"https://api.github.com/repos/noironetworks/neutron/commits/9616c5f4754649965735d8cdcba225941b3cebf3"}]}