GitHub user rhtyd opened a pull request: https://github.com/apache/cloudstack/pull/1633
CLOUDSTACK-9452: use optparse instead of argparse in patchviasocket Use optparse that is supported by python 2.3+, instead of argparse that is supported by python 2.7+. On KVM hosts which don't have python-argparse pkg installed, the patchviasocket script will break. This fixes so that patchviasocket would work on CentOS6 KVM hosts, or KVM hosts without python 2.7/argparse in general. The patchviasocket script was rewritten as a Python script from PR #1533 @blueorangutan package You can merge this pull request into a Git repository by running: $ git pull https://github.com/shapeblue/cloudstack patchviasocket-49-py26fix Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1633.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1633 ---- commit bfbf9f45ad8ca7247fb96005d47afeb7131ba216 Author: Rohit Yadav <rohit.ya...@shapeblue.com> Date: 2016-08-10T08:43:40Z CLOUDSTACK-9452: use optparse instead of argparse in patchviasocket Use optparse that is supported by python 2.3+, instead of argparse that is supported by python 2.7+. On KVM hosts which don't have python-argparse pkg installed, the patchviasocket script will break. This fixes so that patchviasocket would work on CentOS6 KVM hosts, or KVM hosts without python 2.7/argparse in general. The patchviasocket script was rewritten as a Python script from PR #1533 Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com> ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---