Commit Graph

20546 Commits

Author SHA1 Message Date
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
Gaurav Aradhye af2646f9a8 Automation: Resource Limits - memory limits test cases 2013-09-17 16:14:52 +05:30
frank 584bb9bc0c CLOUDSTACK-4689
UI:API: associate Profile to Blade may take longer in some cases, which will result in timeout
2013-09-16 16:11:03 -07:00
Jessica Wang 5d13033293 CLOUDSTACK-4687: UI > infrastructure > zone > UCS > blades > add extra properties (Chassis, Blade ID) to ucsblade object returned by API which has only bladedn property. 2013-09-16 14:52:01 -07:00
Jessica Wang 3e14b6b795 CLOUDSTACK-4687: UI > listView widget > actions in a grid row > when an action is completed, refresh the grid row with only data returned by getUpdatedItem() instead of combination of data returned by getUpdatedItem() and original embedded data in grid row. 2013-09-16 13:52:54 -07:00
Kelven Yang 5e52a86a2a CLOUDSTACK-4659: Fix the regression caused by worker VM consolidation for GC purpose 2013-09-15 11:39:32 -07:00
Min Chen 4ab2a741f6 Fix unit test failure of VmwareDatacenterApiUnitTest. 2013-09-14 18:26:28 -07:00
frank fe5468881a Add disassocating profile to UCS 2013-09-14 09:17:30 -07:00
radhikap e34c80398e release notes structure issue fixed, links to known issues and fixed issues have been added 2013-09-14 10:51:07 +05:30
radhikap 391be476dc known issues added, 4.1 reference removed 2013-09-14 10:36:40 +05:30
radhikap deacb5d7c8 minor edits on release notes 2013-09-14 09:09:28 +05:30
Prachi Damle 8dfd34cd7e CLOUDSTACK-4651: Restarting management server when volume Snapshot is still in progress for root volume of a VM , then there is no way to restart VM since the startVM job is stuck forever since the volume is in "Snapshoting" state.
Change:
-If no volume of the VM is usable, VM cannot be deployed or started. Atleast ROOT volume should always be in usable state to start up the VM
2013-09-13 16:55:44 -07:00
Prachi Damle f3be68a833 CLOUDSTACK-4664: [ZWPS] High delay to start a stopped VM which has ROOT/DATA volumes migrated to Second Zone wide primary Storage(More than 10 mins)
Changes:
- DeploymentPlanningManager needs to reuse the zone wide primary storage pool when VM's volume is READY
2013-09-13 16:55:41 -07:00
Prachi Damle f4e4be01ff CLOUDSTACK-4668: Upgrade to 4.2 fails with NullPointerException when hypervisor_type is null for a cluster entry
Changes:
- Care for null value during comparing the hypervisor_type
- Do not consider removed clusters
- Method rename according to coding conventions
2013-09-13 16:55:37 -07:00