From commits-return-34677-apmail-cloudstack-commits-archive=cloudstack.apache.org@cloudstack.apache.org Sat Nov 16 00:00:14 2013 Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF05110C32 for ; Sat, 16 Nov 2013 00:00:14 +0000 (UTC) Received: (qmail 44283 invoked by uid 500); 16 Nov 2013 00:00:14 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 44232 invoked by uid 500); 16 Nov 2013 00:00:14 -0000 Mailing-List: contact commits-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list commits@cloudstack.apache.org Received: (qmail 44225 invoked by uid 99); 16 Nov 2013 00:00:14 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Nov 2013 00:00:14 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 32BD282F9F1; Sat, 16 Nov 2013 00:00:14 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: anthonyxu@apache.org To: commits@cloudstack.apache.org Message-Id: <1ad65acc64cf46e8b81b99708cf2ebd8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/4.2-workplace to 81a40be Date: Sat, 16 Nov 2013 00:00:14 +0000 (UTC) Updated Branches: refs/heads/4.2-workplace 0a0e86d16 -> 81a40bef3 fixed typo Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/81a40bef Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/81a40bef Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/81a40bef Branch: refs/heads/4.2-workplace Commit: 81a40bef30c8e3ebe44633dd2f306faf627fb8c1 Parents: 0a0e86d Author: Anthony Xu Authored: Fri Nov 15 15:59:40 2013 -0800 Committer: Anthony Xu Committed: Fri Nov 15 15:59:40 2013 -0800 ---------------------------------------------------------------------- .../com/cloud/hypervisor/xen/resource/CitrixResourceBase.java | 3 ++- scripts/vm/hypervisor/xenserver/cloud-plugin-generic | 4 ---- scripts/vm/hypervisor/xenserver/xcposs/cloud-plugin-generic | 4 ---- scripts/vm/hypervisor/xenserver/xenserver62/patch | 2 +- 4 files changed, 3 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81a40bef/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java ---------------------------------------------------------------------- diff --git a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java index e6453df..4680e93 100644 --- a/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java +++ b/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java @@ -5179,7 +5179,8 @@ public abstract class CitrixResourceBase implements ServerResource, HypervisorRe com.trilead.ssh2.Session session = sshConnection.openSession(); - String cmd = "mkdir -p /opt/cloud/bin; mkdir -p /opt/cloud/tools; mkdir -p /var/log/cloud; mkdir -p /etc/cloud"; + String cmd = "mkdir -p /opt/cloud/bin; mkdir -p /opt/cloud/tools; mkdir -p /var/log/cloud;" + + " mkdir -p /etc/cloud; mkdir -p /var/run/cloud; mkdir -p /var/cache/cloud"; if (!SSHCmdHelper.sshExecuteCmd(sshConnection, cmd)) { throw new CloudRuntimeException("Cannot create directory /opt/cloud/bin on XenServer hosts"); } http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81a40bef/scripts/vm/hypervisor/xenserver/cloud-plugin-generic ---------------------------------------------------------------------- diff --git a/scripts/vm/hypervisor/xenserver/cloud-plugin-generic b/scripts/vm/hypervisor/xenserver/cloud-plugin-generic index 16f2a50..e43638e 100644 --- a/scripts/vm/hypervisor/xenserver/cloud-plugin-generic +++ b/scripts/vm/hypervisor/xenserver/cloud-plugin-generic @@ -449,10 +449,6 @@ def can_bridge_firewall(session, args): return 'false' default_ebtables_rules() allow_egress_traffic(session) - if not os.path.exists('/var/run/cloud'): - os.makedirs('/var/run/cloud') - if not os.path.exists('/var/cache/cloud'): - os.makedirs('/var/cache/cloud') #get_ipset_keyword() cleanup_rules_for_dead_vms(session) http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81a40bef/scripts/vm/hypervisor/xenserver/xcposs/cloud-plugin-generic ---------------------------------------------------------------------- diff --git a/scripts/vm/hypervisor/xenserver/xcposs/cloud-plugin-generic b/scripts/vm/hypervisor/xenserver/xcposs/cloud-plugin-generic index aca0fe1..7eb30b1 100644 --- a/scripts/vm/hypervisor/xenserver/xcposs/cloud-plugin-generic +++ b/scripts/vm/hypervisor/xenserver/xcposs/cloud-plugin-generic @@ -363,10 +363,6 @@ def can_bridge_firewall(session, args): return 'false' default_ebtables_rules() allow_egress_traffic(session) - if not os.path.exists('/var/run/cloud'): - os.makedirs('/var/run/cloud') - if not os.path.exists('/var/cache/cloud'): - os.makedirs('/var/cache/cloud') #get_ipset_keyword() cleanup_rules_for_dead_vms(session) http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81a40bef/scripts/vm/hypervisor/xenserver/xenserver62/patch ---------------------------------------------------------------------- diff --git a/scripts/vm/hypervisor/xenserver/xenserver62/patch b/scripts/vm/hypervisor/xenserver/xenserver62/patch index f32f183..02f33e8 100644 --- a/scripts/vm/hypervisor/xenserver/xenserver62/patch +++ b/scripts/vm/hypervisor/xenserver/xenserver62/patch @@ -37,7 +37,7 @@ cloud-plugin-generic=..,0755,/etc/xapi.d/plugins xen-ovs-vif-flows.rules=..,0644,/etc/udev/rules.d ovs-vif-flows.py=..,0755,/etc/xapi.d/plugins -cloud_plugin-lib.py=..,0755,/etc/xapi.d/plugins +cloud_plugin_lib.py=..,0755,/etc/xapi.d/plugins cloud-plugin-ovstunnel=..,0755,/etc/xapi.d/plugins cloud-plugin-snapshot=..,0755,/etc/xapi.d/plugins cloud-plugin-swiftxen=..,0755,/etc/xapi.d/plugins