From e6de9abeb485586c1c96d808496e64eb994f6f5f Mon Sep 17 00:00:00 2001 From: sanjeev Date: Mon, 25 May 2015 16:28:09 +0530 Subject: [PATCH] CLOUDSTACK-8508 Install wget package inside LXC vm This closes #295 --- test/integration/component/test_vpc_vm_life_cycle.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/integration/component/test_vpc_vm_life_cycle.py b/test/integration/component/test_vpc_vm_life_cycle.py index e185e968b76..b4fbb0967c7 100644 --- a/test/integration/component/test_vpc_vm_life_cycle.py +++ b/test/integration/component/test_vpc_vm_life_cycle.py @@ -353,7 +353,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase): services=cls.services["lbrule"], traffictype='Ingress' ) - + cls.services["icmp_rule"]["protocol"] = "all" cls.nwacl_internet_1 = NetworkACL.create( cls.api_client, networkid=cls.network_1.id, @@ -843,6 +843,7 @@ class TestVMLifeCycleVPC(cloudstackTestCase): ipaddress=self.public_ip_1.ipaddress.ipaddress, reconnect=True) self.debug("SSH into VM is successfully") + ssh.execute("yum install wget -y") except Exception as e: self.fail("Failed to SSH into instance") @@ -1146,7 +1147,7 @@ class TestVMLifeCycleSharedNwVPC(cloudstackTestCase): services=cls.services["lbrule"], traffictype='Ingress' ) - + cls.services["icmp_rule"]["protocol"] = "all" cls.nwacl_internet_1 = NetworkACL.create( cls.api_client, networkid=cls.network_1.id, @@ -1596,6 +1597,7 @@ class TestVMLifeCycleSharedNwVPC(cloudstackTestCase): ipaddress=self.public_ip_1.ipaddress.ipaddress, reconnect=True) self.debug("SSH into VM is successfully") + ssh.execute("yum install wget -y") except Exception as e: self.fail("Failed to SSH into instance") @@ -2885,7 +2887,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase): services=cls.services["lbrule"], traffictype='Ingress' ) - + cls.services["icmp_rule"]["protocol"] = "all" cls.nwacl_internet = NetworkACL.create( cls.api_client, networkid=cls.network_1.id, @@ -3456,6 +3458,7 @@ class TestVMLifeCycleDiffHosts(cloudstackTestCase): "get_ssh_client should return ssh handle") self.debug("SSH into VM is successfully") + ssh.execute("yum install wget -y") except Exception as e: self.fail("Failed to SSH into instance: %s" % e)