Commit Graph

20559 Commits

Author SHA1 Message Date
SrikanteswaraRao Talluri
07a6daf6cb CLOUDSTACK-4646: Increase the wait time for the routers to go into stopped state
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 55ef4b8c3c)
2013-09-30 15:16:21 +05:30
SrikanteswaraRao Talluri
6b28e03d6d CLOUDSTACK-4691: move egress rules host maintenance tests to maint folder
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 15:06:46 +05:30
sanjeevneelarapu
a34bf457df CLOUDSTACK-702: Adding test for deploying vm in new cidr 1. Add guest ip range in new cidr and deploy vm in that
Signed-off-by: sanjeevneelarapu <sanjeev.neelarapu@citrix.com>
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit ff2bd3d443)
2013-09-30 14:56:08 +05:30
SrikanteswaraRao Talluri
94f741bbf5 CLOUDSTACK-4344: pass delay and retries explicitly to remoteSSHclient to reduce time taken by the tests
Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-30 12:21:39 +05:30
Edison Su
583279f337 CLOUDSTACK-4754: it's a race condition: delete template, and deploy vm from the template happened at the same time, 2013-09-27 16:09:46 -07:00
Kelven Yang
94c8e28f8d CLOUDSTACK-4734: Validate and Fail-over to another VmwareContext object when it is from the pool 2013-09-27 15:24:16 -07:00
Wei Zhou
c9aa8800ce add missing cloudstack-agent-upgrade in cloudstack-agent debian packages
(cherry picked from commit a6bfd96021)
2013-09-27 10:32:50 +02:00
Sheng Yang
92e9f6daf8 CLOUDSTACK-4745: Add StaticNatRule through firewall manager
This would fix CreateIpForwardingCmd API on 4.2+.
2013-09-26 14:05:13 -07:00
Wei Zhou
7f988d4e99 fix silly typo
(cherry picked from commit 522860c03d)
2013-09-26 22:47:58 +02:00
Abhinandan Prateek
2be3678602 Cloudstack-2997: the maxconn setting is masked by wrong conditions 2013-09-25 21:14:45 +05:30
Min Chen
143fb72e8b System vm not coming up in multizone upgraded enviornment if a system vm
template is register twice per zone.
2013-09-24 11:58:34 -07:00
Wei Zhou
5225bd434c CLOUDSTACK-4732: search network name for virtual router when listRouters by keyword
(cherry picked from commit 98c79cc313)
2013-09-24 15:01:53 +02:00
Wei Zhou
a206f423a3 fix issue: listHosts with hahost throws exception 2013-09-24 11:59:05 +02:00
Wei Zhou
a0988780ad CLOUDSTACK-4405: change rpm and debian packaging to support automatic update (KVM upgrade)
Including following steps:
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
    c1. mkdir /etc/libvirt/hooks
    c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
    c3. chmod +x /etc/libvirt/hooks/qemu
    c4. service libvirtd restart
2013-09-24 09:14:15 +02:00
Wei Zhou
175549f3ab CLOUDSTACK-4405: additional patch for bridge name and firewall rules issues after KVM upgrade to 4.2
There still exist two issues after Edison's commits.
(1) Migration from new hosts to old hosts failed.
The bridge name on old host is set to cloudVirBr* if network.bridge.name.schema is set to 3.0 in /etc/cloudstack/agent/agent.properties, but the actual bridge name is breth*-* after running cloudstack-agent-upgrade.
(2) all ports of vms (Basic zone, or Advanced zone with security groups) on old hosts are open, because the iptables rules are binding to device (bridge) name which is changed by cloudstack-agent-upgrade.

After this, the KVM upgrade steps :
a. Install 4.2 cloudstack agent on each kvm host
b. Run "cloudstack-agent-upgrade". This script will upgrade all the existing bridge name to new bridge name, and update related firewall rules.
c. install a libvirt hook:
    c1. mkdir /etc/libvirt/hooks
    c2. cp /usr/share/cloudstack-agent/lib/libvirtqemuhook /etc/libvirt/hooks/qemu
    c3. chmod +x /etc/libvirt/hooks/qemu
    c4. service libvirtd restart
    c5. service cloudstack-agent restart
2013-09-24 08:51:58 +02:00
Jessica Wang
4280f6e29d CLOUDSTACK-4693: UI > Network > Add Guest Network dialog > physical network dropdown - populate only physical networks that have Guest traffic type. 2013-09-23 16:10:36 -07:00
Jessica Wang
3eb899a5ba CLOUDSTACK-4128: UI > zone wizard > secondary storage step > provider "S3" > Create NFS staging is required for S3 at this moment. So, disallow user to uncheck "Create NFS Secondary Staging" checkbox when provider is "S3". 2013-09-23 13:54:20 -07:00
Jessica Wang
35e5076156 CLOUDSTACK-2180: UI > Instances ? Reboot VM action > if the template from which vm is created is password-enabled, pop up "Password has been reset to xxxxxxx" dialog after action is complete. 2013-09-23 11:58:21 -07:00
Wei Zhou
38bbfdc89a CLOUDSTACK-4716: upgrade resource count (cpu,memory,primary_storage,secondary_storage) in the upgrade to 4.2 2013-09-23 14:14:01 +02:00
Radhika PC
0363b4ae18 CLOUDSTACK-4727 upgrade steps IDREF issue fixed 2013-09-23 16:43:31 +05:30
Radhika PC
1628cfc663 CLOUDSTACK-4727 upgrade steps notes from abhinav has been incorporated 2013-09-23 16:21:24 +05:30
Wei Zhou
9d00a6da65 CLOUDSTACK-4726: complete secondary storage configuration in devcloud-advanced.cfg and devcloud-advancedsg.cfg 2013-09-23 11:09:05 +02:00
Kelven Yang
92db2d1a44 CLOUDSTACK-4659: Vmware allows destroying VM that has pending tasks, worker VM GC actually relies on the assumption that Vmware is protected from that which is a false assumption. Recycle Worker VM only it is from previous session 2013-09-20 10:59:30 -07:00
Alena Prokharchyk
df52280409 CS-18283: 2.2.x to 4.2 upgrade - corrected the Service Provider name for the Network offeirng that can be used in VPC (from VirtualRouter to VpcVirtualRouter) 2013-09-20 10:21:48 -07:00
radhikap
fd49d25276 https://issues.apache.org/jira/browse/CLOUDSTACK-4245 2013-09-20 15:25:42 +05:30
Kelven Yang
16a2442c41 Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called. This is the corrected commit 2013-09-19 23:18:26 -07:00
Kelven Yang
ebc95375e2 Revert "Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called"
This reverts commit 8e0faaa406.
2013-09-19 23:05:17 -07:00
Kelven Yang
8e0faaa406 Disable VMwareTools detection to avoid unreliable result caused by race-condition when VMwareTools is not ready in guest OS yet and the API is called 2013-09-19 22:19:22 -07:00
Jessica Wang
0bdbb9e72f CLOUDSTACK-4713: EIP/ELB Basic Zone: UI > Network > IP Addresses > make extra API call to get IPs allocated at guest network. 2013-09-19 18:34:42 -07:00
Jessica Wang
24e898b4cd CLOUDSTACK-4714: EIP/ELB Basic Zone > EIP/ELB Basic Zone > Network page > Add Load Balancer tab > add AutoScale rule > spinning wheel is hanging forever with JS error "args.context.ipAddresses is undefined". 2013-09-19 17:10:43 -07:00
Jessica Wang
e81a2b4ff2 CLOUDSTACK-4713: UI > EIP/ELB Basic Zone - fix a bug that IPs that are acquired are not showing in listView of IP Addresses page under Network menu. 2013-09-19 16:47:16 -07:00
Brian Federle
fa297948f0 CLOUDSTACK-4710: Fix broken help link 2013-09-19 13:37:41 -07:00
Alena Prokharchyk
798f34a49c CLOUDSTACK-4704: 41-42 db upgrade - populate vpc_service_map table with the services/providers supported by VPC 2013-09-19 13:15:05 -07:00
Alena Prokharchyk
cea14ce880 CLOUDSTACK-4573: fixed resource limit check when acquire public IP in VPC - update resource count for VPC public ip even when network_id is not set yet. 2013-09-19 10:57:34 -07:00
Alena Prokharchyk
a14145bb5e Fixed sysvmadm helper script (responsible for restarting/recreating VRs when needed on upgraded setups due to template changes) to have -v option. When -v is specified, all VPCs in the system will get restarted. As a part of the restart, VPC routers will get recreated 2013-09-19 10:28:19 -07:00
Jessica Wang
e81e6ef5eb CLOUDSTACK-4709: UI > template > register template > when zone dropdown is selected as All Zones, show all hypervisors supported in cloudstack instead of only hypervisors available in all zones. 2013-09-19 10:20:11 -07:00
Girish Shilamkar
25cf6c9bed Storage type was set to local due to which tests failed. Removed it.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit a726bfdba5)
2013-09-19 19:11:19 +05:30
Wei Zhou
78b912e38f CLOUDSTACK-1749: change cloud service name in systemvm 2013-09-19 10:52:28 +02:00
Jessica Wang
7f08333cc6 CLOUDSTACK-4702: UI > Network menu > Add Guest Network dialog > UI shouldn't pass null zoneid to listnetworkofferings API when zone dropdown is empty (i.e. when no advanced zone exists). 2013-09-18 16:43:18 -07:00
Jessica Wang
f4066b51fb CLOUDSTACK-4700: UI > Instances > Reset VM action > if the template from which vm is created is password-enabled, pop up "Password hsa been reset to xxxxxxx" dialog. 2013-09-18 11:41:30 -07:00
Ashutosh K
e49f14b7e3 Added missing test for VPC load balancing rule from old QA repo to cloudstack repo
def test_04_VPC_CreateLBRuleInMultipleNetworksVRStoppedState

Since VPC now only allows load balancing on a single tier the test case
has been updated to check that condition

Ref : http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/configure-vpc.html

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
(cherry picked from commit 5b5a617544)
2013-09-18 21:49:12 +05:30
Girish Shilamkar
7d06e77ed9 CLOUDSTACK-4637: Add 30sec sleep before router is ssh'd
Egress rules testcases access vm via router. Sleep before
accessing router else the expect fails since router is not
accessible. Also use router.hostid instead of vm.hostid
to identify the host.

Signed-off-by: venkataswamybabu budumuru <venkataswamybabu.budumuru@citrix.com>
2013-09-18 21:40:39 +05:30
Harikrishna Patnala
a9218f3411 CLOUDSTACK-2247: Automation - Reset a VM on Reboot
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 62b0ad03c8)
2013-09-18 09:37:55 +05:30
Girish Shilamkar
8cc37c2470 CLOUDSTACK-1800: Add automation tests for reset sshkey to access VM
Reviewed-By: Harikrishna Patnala <harikrishna.patnala@citrix.com>
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit dd4b1cbf44)
2013-09-18 09:33:48 +05:30
Anshul Gangwar
c93e6e216d CLOUDSTACK-2266: marvin tests for IP Address reservation within a network it also adds the ipaddress parameter to virtual machine's create method in base.py
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 955408166c)
2013-09-18 09:23:03 +05:30
Edison Su
9bff36ef45 add sourcetemplateid for template created from volume/snapshot 2013-09-17 17:04:03 -07:00
Jessica Wang
066d944c78 CLOUDSTACK-4688: UI > (1) Notifications widget - pollTimer() - error handling - check if args is null before trying to access args.message property (2) sharedFunctions.js - pollAsyncJobResult() - error handling - pass message argument to args.error(). 2013-09-17 16:37:47 -07:00
Sheng Yang
b96aefee2f CLOUDSTACK-4698: Check DHCP service in the network before get dhcp service provider 2013-09-17 16:01:01 -07:00
Min Chen
af2951ad56 CLOUDSTACK-4534:[object_store_refactor] Deleting uploaded volume is not
deleting the volume from backend.
2013-09-17 15:15:05 -07:00
Marcus Sorensen
39f7ddbb8f CLOUDSTACK-3565 - fix for new libvirt behavior when defining NFS
pools that are already mounted in KVM hypervisor
2013-09-17 10:52:04 -06:00