2854 Commits

Author SHA1 Message Date
Sheng Yang
611a1564cc Generate keystore using RSA rather than DSA
Also fix a typo.
2011-07-25 18:22:30 -07:00
Murali Reddy
5322accbc8 bug 10764: changing service offering drops cpu cap
status 10764: resolved fixed
2011-07-25 18:23:11 +05:30
Alex Huang
429c1a0a18 changed a bunch of map logs to trace 2011-07-22 18:14:02 -07:00
Edison Su
8c1d77b23e bug 10770: don't select cluster if it's removed in firstfitplanner
status 10770: resolved fixed
2011-07-22 15:06:33 -07:00
Alex Huang
b59c6b4ab6 propagate lock table fix 2011-07-22 11:35:47 -07:00
Nitin
65b0af0a9d bug 9452: listCapacity - when the hosts > 200 the host_id and storage_pool_id start colliding, to workaround that also compart the capacity type. 2011-07-22 19:30:14 +05:30
Kelven Yang
3a6f3b71e0 bug 10791: add data integrity check upon management server startup 2011-07-21 17:08:29 -07:00
alena
307741edcd 2 fixes for Agent Load Balancer:
* when management server dies and notifies other management servers about this, the running management server has to cleanup host_transfer records belonging to the died management server
* issue agent load balancing task only when agent load (number of connected agents in the system) exceeds "agent.load.threshold" - 70% by default

Conflicts:

	server/src/com/cloud/configuration/Config.java
	setup/db/db/schema-228to229.sql
2011-07-21 15:27:50 -07:00
Alex Huang
abd3321077 bug 10799: propagate to 2.2.9 2011-07-21 11:30:03 -07:00
Nitin
f6077e605f bug 9452: ListCapacity - works now. Remove all the pagination logic. 2011-07-21 18:13:36 +05:30
Abhinandan Prateek
de34d6089d bug 10731: sending source cidrs to the required router element, on domR allowing these source cidrs thru iptables
status 10731: resolved fixed
2011-07-21 13:40:06 +05:30
Nitin
358c9eba05 bug 10624: ExtractVolume - code change for multiple secondary storage. 2011-07-21 11:11:04 +05:30
Nitin
5b834edea2 bug 10624: ExtractVolume - code change for multiple secondary storage. 2011-07-21 11:10:47 +05:30
Alex Huang
109ef29e86 bug 10632: propagate to 2.2.9 2011-07-20 16:27:06 -07:00
alena
6dc8e515f4 bug 10736: when restart dhcp in basic zone, generate vmData info only for vms in the same pod 2011-07-20 15:22:11 -07:00
anthony
d4ae9483cb bug 10768: root cause is StopCommand is not sent out in force stop,
status 10768: resolved fixed
2011-07-20 12:11:21 -07:00
kishan
6b4c61a348 bug 10382: Move volume delete events to destroyVolume method
status 10382: resolved fixed
2011-07-20 11:22:31 +05:30
kishan
ddd416a492 bug 10382: wrapped usage events in txn 2011-07-20 11:19:39 +05:30
kishan
427b73a2b9 bug 10372: Added Vm State Machine listener for usage events
status 10372: resolved fixed
2011-07-20 11:13:56 +05:30
anthony
20cbe7e739 bug 10197: enable trackVmHostChange for XenServer 2011-07-19 15:52:45 -07:00
anthony
3881e13387 bug 10197:
The step to upgrade xenserver,

1. put cluster in Unmanaged state through UI , then MS will not talk to hosts in the cluster
2. upgrade xenserver according to XenServer upgrade guide.
3. put cluster in Managed state through UI, then MS will reconnect hosts

TODO,

1. UI
2. vm pool sync , leveraged from kelven's work
2011-07-19 15:26:25 -07:00
Sheng Yang
8d2e41abd1 bug 10429: Enable redundant virtual router for 2.2.9
status 10429: resolved fixed
2011-07-19 15:06:20 -07:00
Sheng Yang
fa623c04e2 bug 10640: Redundant virtual router: Try to deploy the second virtual router to different pod/cluster/host/storagepool
The old strategy is to deploy the second virtual router to diffent host only.

status 10640: resolved fixed
2011-07-19 15:06:15 -07:00
alena
1a38c8547d bug 10605: updateNetworks api command - restart the network if networkDomain is updated.
updateNetwork command is async now

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-07-19 12:09:25 -07:00
Sheng Yang
aa8fc81790 Fix restartNetwork command on destroying virtual router 2011-07-19 11:55:16 -07:00
alena
c48c3edfbc bug 10271: don't include removed records when search for local storage pool
status 10217: resolved fixed
2011-07-19 11:10:53 -07:00
alena
8c9fe2ec71 bug 9871: deployVm - check network's zone when do vm deployment
status 9871: resolved fixed

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-19 11:10:53 -07:00
alena
3468d1b7ea bug 9894: listSnapshots by domain admin - do recursive search if domainid is not specified in the request
status 9894: resolved fixed
2011-07-19 11:10:53 -07:00
alena
630e8d9db4 bug 9991: do account permission check in getCloudIdentifier api
status 9991: resolved fixed
2011-07-19 11:10:53 -07:00
alena
c663217b00 bug 9642: listVms by regular user using domainId parameter will work only when domainId specified is the domainId the caller belongs to.
status 9642: resolved fixed
2011-07-19 11:10:52 -07:00
alena
fa312617f1 bug 9723: fixed listServiceOfferings to work right with isSystem/domainId parameters
status 9723: resolved fixed

Conflicts:

	server/src/com/cloud/server/ManagementServerImpl.java
2011-07-19 11:10:52 -07:00
alena
81117f325d bug 9743: respect id/accountName/domainId parameters when call is executed by the regular user
status 9743: resolved fixed
2011-07-19 11:10:52 -07:00
alena
5be1f94c0d bug 9620: fixed updateUser api to make updates only for the fields that are specified in the request
status 9620: resolved fixed
2011-07-19 11:10:52 -07:00
alena
8b100f7c4d bug 10409: added domainSuffix parameters to account/domain objects
Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/upgrade/dao/Upgrade228to229.java
	server/src/com/cloud/user/AccountManagerImpl.java
	setup/db/db/schema-228to229.sql
2011-07-19 11:10:52 -07:00
Sheng Yang
3100d4b22f Update RestartNetworkCmd to reimplment the network
Because the redundant router config may change.

Back port from 8c7c9a4b499ceee8a07f1f3a2b908d4a128aef32 partly.
2011-07-19 10:53:21 -07:00
alena
19f7c9e26f Close ResultSet and PreparedStatement when gather vm information during the listVirtualMachines call 2011-07-19 10:33:34 -07:00
alena
ca87603925 Throw correct types of exceptions when fail to create account 2011-07-19 10:33:34 -07:00
alena
d970c13cf2 bug 10417: Basic zone - send vm data info only to the dhcp server in the same pod
status 10417: resolved fixed

Conflicts:

	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-07-19 10:33:34 -07:00
alena
e2eac341a4 bug 10710: Basic zone setup - send dhcp entries to all domRs (in every Pod) only when network.dns.basiczone.updates is set to "all"
status 10710: resolved fixed

Conflicts:

	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
	setup/db/db/schema-228to229.sql
2011-07-19 10:33:34 -07:00
kishan
14a8cbdc28 throw exception after intercepting to log error event 2011-07-19 18:39:32 +05:30
kishan
427b70e572 bug 10276: Throw exception for account APIs failure
status 10276: resolved fixed
2011-07-19 18:38:54 +05:30
Abhinandan Prateek
24510cd5fb bug 10731: adding optional paramter for cidr 2011-07-19 12:10:48 +05:30
Sheng Yang
978b2640e2 Backport VirtualNetworkApplianceManager
Also:
1. Discard VPN related change.
2. Add network.dns.basiczone.updates in Config.java
3. Add findByNetworkOutsideThePod() for DomainRouterVO

Tested with VLAN and basic mode, works.

Disable redundant virtual router temporaily, would enable it after more testing.
2011-07-18 18:30:05 -07:00
Sheng Yang
44d4113ae6 bug 10429: backport redundant router
Part 2

commit 797839360c65cd348d2eb20630521177ab0919de
    bug 9154: redundant virtual router

commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
    bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB

commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
    bug 9154: Add redundant state to DomainRouterResponse

commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
    bug 9154: Add router fault state report

commit 7a3090378f9785caecf741b70554f6ea17c41764
    bug 9154: Send alert if found two virtual routers in master state

commit 66831056e4bf27665871bccd24e6159071564847
    bug 9154: Code clean up

commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
    bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
Sheng Yang
4bc8686513 bug 10429: Backport redundant virtual router
Part 1

This backport contained:

commit 52317c718c25111c2535657139b541db0c9d1e1f
    bug 9154: Initial check in for enabling redundant virtual router

commit 54199112055d754371bfb141168fb5538bf6d6ea
    Add host verification for CheckRouterCommand

commit cef978a228c90056ead9be10cbc4de74c2b8de76
    Fix CheckRouterAnswer's isMaster report

commit 4072f0a6991ac3b63601a1764fbe14188965f62f
    Some build fixes and code refactoring for redundant router

commit 4d3350b7cd8ee2706a9bace4437fc194e36c8dd5
    Redundant Router: Fix OVS

commit 6a228830e7c46d819fa0c3317e159e041337e887
    Fix findByNetwork()/findByNetworkAndPod()'s return

commit c627777b3d5bdbcd60db4032cebd349a5b1ecd83
    Redundant Router: Fix isVmAlive()

commit e1275d2514adc41f8744f5107d4069c38be195f1
    Only issue CheckRouterCommand to redundant routers

And all modification to the scripts till
commit 4e3942462ed3fde3a3d7011e95839e2128fba514
logging changes

in the master branch.
2011-07-18 18:29:56 -07:00
Alex Huang
d54f6d536a propagating transaction isolation fix for merovingian2 2011-07-18 16:48:49 -07:00
alena
7a04334b60 bug 10734: removed global lock in "DirectAgentScanTimerTask". This lock used to prevent the task from executing on multiple management server simultaniously.
status 10734: resolved fixed
2011-07-18 15:00:13 -07:00
Alex Huang
392c03ce6f propagated db connection savings from master 2011-07-18 14:22:49 -07:00
Alex Huang
e52a97b969 Switched ping to use the same db connection so that running out of db connections won't affect basic operations 2011-07-18 14:22:49 -07:00
frank
244de00b65 Bug 9887 - baremetal: support for image operation (create template from guest disk)
Resolved fixed
2011-07-18 13:57:03 -07:00