Commit Graph

7954 Commits

Author SHA1 Message Date
Alena Prokharchyk 57cc61396d Schedule HA is a part of handleDisconnect, not removeAgent
Reviewed-by: Alex Huang
2012-01-31 10:24:21 -08:00
anthony ae31f362db bug 13379: throw exception, if master cannot connect to slave
status 13379: resolved fixed

reviewed-by : edison
2012-01-30 16:50:50 -08:00
abhi 606708e0a3 bug 12849: remove agent will kickstart HA if the host status is Down or Alert. The update is therefore moved before it
reviewed by: kishan
2012-01-30 18:10:37 +05:30
Naredula Janardhana Reddy 88a9b2f973 Bug 13375:
Summary of changes :
    - Added a new flag "-s" to ipassoc command to carry if the ip address is used for SNAT or not.
    - SNAT is completly decoupled from the first flag. first flag is used to decide if the ip address is first ip address of the interface.
    - -s and -f are independent, SNAT can be enabled on the non-first ip also.
2012-01-30 16:50:02 +05:30
frank 7b4b4c0ed8 Bug 13374 - cloud-setup-databases script failed to execute due to AttributeError
status 13374: resolved fixed
2012-01-27 16:42:02 -08:00
Kelven Yang b622fc60ae bug 13369: recycle roger hung worker VMs in vCenter 2012-01-27 15:16:58 -08:00
Edison Su 2cc15ecc08 add new guest os type: windows pv, tell kvm that this windows guest has windows pv driver installed 2012-01-27 10:58:04 -08:00
anthony 80bfbe8806 remove host.enable from XenServerConnectionPool 2012-01-27 10:09:18 -08:00
anthony 1f53790626 bug 13338:
increate timeout for sshcheck to 10 minutes
if sshcheck fails, finalizeCommandsOnStart fails, no exception

status 13338: resolved fixed

Conflicts:

	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2012-01-27 10:06:53 -08:00
anthony 1203063fef bug 13086: remove host tag from VDI after rset_power a VM
status 13086: resolved fixed

Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/XenServer600Resource.java
2012-01-27 09:58:58 -08:00
abhi c4adad34c6 bug 12849: cleanup logs, moved vm.getNameLabel(conn) before vm is removed, reverted fb277a2bd0934d13022a90565ad902318afa6f53 2012-01-27 20:25:48 +05:30
kishan 3d75bf2242 Bug 12649: Added new param path to listDomains respone
Status 12649: resolved fixed
Reviewed-By: Nitin
2012-01-27 17:52:50 +05:30
abhi d79c7d2c47 bug 12875:logging changes
reviewed by: kishan
2012-01-27 11:12:49 +05:30
Jessica Wang 1392d4f5fd bug 13319: cloudstack 2.2.14 - IP address page - VPN tab - pass domainId and account of the IP address owner to addVpnUser API. 2012-01-26 15:26:21 -08:00
Kelven Yang 06b8b8d0f9 More protective cleanup when exporting snaphost to reduce chances of leaving intermediate files behind under soft error conditions 2012-01-26 15:11:31 -08:00
Edison Su a455435f5f only decrease the snapshot count when the snapshot status is in backuped state 2012-01-26 13:53:52 -08:00
Edison Su 848bbad952 force vnc server listening on 0.0.0.0 2012-01-25 19:07:13 -08:00
Edison Su 3edecf121d detect centos 6.2 2012-01-25 19:06:59 -08:00
Kelven Yang 602e6ce0fe Relax the host/VM relationship tie check for IPAssoc command, as the command may be sent to a wrong host once host takes over domR from other host 2012-01-25 14:01:57 -08:00
Kelven Yang b0154aeb5c bug 12957: sort volume by device id to make sure ROOT disk device is configured at the very first 2012-01-25 11:44:36 -08:00
Chirag Jog c023db10cc Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y 2012-01-25 07:58:28 -08:00
Chirag Jog 4c447d92bc 1. Remove complete dependency from settings/environment
2. Add account creation/deletion to all relevant tests.
2012-01-25 07:57:05 -08:00
Nitin Mehta 5da4c970e6 Bug 12897: Make updatehostpassword more robust and allow it to be used only for Xenserver hyperVisor
Status 12897: resolved fixed
Reviewed-By: Kishan
2012-01-25 15:10:10 +05:30
abhi 273de60a5f bug 12875: Every time XenServerResource sends fullsync to CS, it should clear up VM status for this cluster and update with latest VM status for this cluster getting from XAPI.
reviewed by: anthony
2012-01-25 11:32:10 +05:30
Kelven Yang bf4be42d9c bug 12711: make sure NFS storage is not considered as local storage 2012-01-24 18:34:50 -08:00
Edison Su b4d14931f1 execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again 2012-01-24 17:30:02 -08:00
abhi 58d310a0e7 bug 12849: during fence command, remove vm state from sync so that it is not reported as stopped2.2.y
reviewed by: anthony
2012-01-25 06:33:11 +05:30
abhi a18d5c25d1 bug 12849: during fence command, remove vm state from sync so that it is not reported as stopped
reviewed by: anthony
2012-01-25 06:28:49 +05:30
Chirag Jog b91d919e55 This commit contains the following items:
1. Reduce dependency on settings. (It should be able to run in any environment).
2. Simplify clean up by creating accounts in setup and deleting the account in teardown.
3. Check the list_XXX calls instead of querying the database.

Currently the following tests work per the above logic:
1. test_vm_life_cycle.py
2. test_disk_offerings.py
3. test_service_offerings.py

Rest are work in progress.
2012-01-24 07:49:37 -08:00
Naredula Janardhana Reddy 86256c04a1 Bug 12496: Allowing guest vm's to access virtual router LB service 2012-01-24 18:31:48 +05:30
kishan 163dd18397 Bug 11931: Enclosed snapshot name with quotes to handle spaces
Status 11931: resolved fixed
Reviewed-By: Jana
2012-01-24 17:39:47 +05:30
Nitin Mehta 93c411eb59 Bug 12740: Allow root admins to bypass the ACL layer.
Reviewed-By: Kishan
2012-01-24 12:28:23 +05:30
Sam Robertson 9d575939fe Bug 11860: combining 32 bit signed values into a 64 bit value had errors. This should correct that 2012-01-23 13:28:39 -08:00
Prasanna Santhanam 8efacc97a6 * when httplib.Connection fails to get response it prevents further requests on
the connection - shallow copy and create a new connection object when this
happens

* timeout the SSH client to speed up tests
2012-01-22 22:07:59 +05:30
Chirag Jog 0102e3f61d Merge branch '2.2.y' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.y 2012-01-22 08:14:35 -08:00
Chirag Jog 932ac4d8f5 This commit contains the following items:
1.Tests related KVM Hosts
  2.Tests related iSCSI Storage
  3.Tests related secondary Storage
  4.Split the settings file and added the test data into each of the test cases.
  5.Removed environment specific settings for Network related entities.
2012-01-22 08:07:40 -08:00
Kelven Yang 8e82c19601 bug 12985: give it 3 seconds to realize a poweroff state 2012-01-20 18:48:00 -08:00
Kelven Yang 5c0f84e540 bug 13225: setup firewall rules for all ESX/ESXi hosts under a cluster as worker VM may be created at any host available, also add connect retry when work with vCenter and ESX/ESXi hosts 2012-01-20 17:58:06 -08:00
Naredula Janardhana Reddy 67d4b32c0e Bug 12808: Logging added, Improved remove_routing 2012-01-20 14:11:40 +05:30
anthony b851f63571 cleanup snapshot in secondary storage in background 2012-01-19 20:40:24 -08:00
anthony 432cfacf2a cleanup snapshot in secondary storage in background 2012-01-19 20:39:45 -08:00
Edison Su a976f1c23c bug 13145: update user data in domr when updatevmcmd is called
status 13145: resolved fixed
2012-01-19 20:02:17 -08:00
Edison Su d9287f0e43 tell agent to reconnect to mgt server, if cancelmaintainance cmd is called 2012-01-19 17:14:00 -08:00
Edison Su 86b51dedcf bug 12605: if agent is in maintenance mode, don't reconnect to mgt server
status 12605: resolved fixed
2012-01-19 16:44:30 -08:00
Edison Su afc61710b0 windows use localtime and set timer as catchup 2012-01-19 15:20:52 -08:00
Nitin Mehta ee1971526c Bug 12897: Make updateHostPassword more robust. Allow only KVM's individual host password be changed and Xenserver cluster password be changed. For rest of the hypervisors throw an exception.
Reviewed-By: Abhi
2012-01-19 21:27:18 +05:30
Naredula Janardhana Reddy 7fd7a4ae58 Bug 12808:
Summary of changes:
  - Mutiple routing table for each public interface is added (previously there is only one routing table ). when the packet is send out of public interface corresponding per-interface routing table will be used. per-interface routing table will modified when ever ip/interface added/deleted.
  - New parameter is added to ipassoc command  to include the default gateway for every interface/ip. prevously it is using only one public interface to send out, default gateway is obtained at the boot up time.
  - In the DNAT case. In the revese path(from guest vm to outside, or when DNAT packet receives from the eth0) the public ip/source ip will not be available till POSTROUTING. to overcome this, DNAT connection are marked with routing table number at the time of connection creation, in the reverse path the routing table# from DNAT connection is used to detect per-interface routing table.
2012-01-19 20:18:46 +05:30
Nitin Mehta 09e0fa0962 Bug 13027: ListIsos shouldnt display isos that are not dowloaded when asked for only ready templates.
Status 13027: resolved fixed
Reviewed-By: Kishan
2012-01-19 15:27:57 +05:30
kishan 6e96d6892e Bug 12072: Add premium configs if they do not exist. Upgrades from OSS will be missing there configs.
Status 12072: resolved fixed
Reviewed-By: Nitin
2012-01-19 12:07:04 +05:30
David Nalley 992edbf2b4 bug 13139: adding pt_BR language support
Status 13139: resolved fixed
2012-01-18 20:23:13 -05:00