Commit Graph

6528 Commits

Author SHA1 Message Date
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
Alex Huang b92208c91c bug 10756: Removed constraints for the op_host_capacity table. op_host_capacity table is a table that is frequently updated and is only used in the background. There's no real reason for it to maintain data integrity with other tables. This change may introduce problems where data center, cluster, or pod is deleted and there are capacities entries left. However, this really should be in the application logic to do this deletion rather than relying on the database schema. Be sure to test these cases and make sure there are no data left over. 2011-07-19 10:15:14 -07:00
Alex Huang 6a27d11434 more db connection controls through jmx 2011-07-19 09:26:05 -07:00
Nitin ad60edfc5b bug 9452: Remove the overridden getPageSizeVal function in listCapacity and use it from BaseListCmd which has the changes for default pagination to unlimited. 2011-07-19 19:25:56 +05:30
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
Edison Su 3459eda509 fix cloud-setup-agent, if selinux is disabled, should return successful, instead of raise an exception 2011-07-18 18:03:06 -07:00
Alex Huang d54f6d536a propagating transaction isolation fix for merovingian2 2011-07-18 16:48:49 -07:00
alena a86f49c106 From Alex - assertion fix 2011-07-18 15:12:44 -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
Alex Huang c097800dae connection conierge to deal with connections that are not returned to pools 2011-07-18 14:22:48 -07:00
frank 345fb3aef5 Bug 9887 - baremetal: support for image operation (create template from guest disk)
Add files
2011-07-18 13:57:13 -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
Nitin 149c8d4b03 bug 9596: Extract Template/ISO - make extractable = false by default. Make changes to cleanup the extract URL's for multiple sec. storage.
status 9596: resolved fixed
2011-07-18 10:28:59 -07:00
Nitin 85b8205522 bug 10520: CAPACITY_TYPE_PUBLIC_IP and CAPACITY_TYPE_PRIVATE_IP - Change from remove and insert to the to the insert and update model. It doesnt seem like they are referenced for the allocators while creating a vm. Next might change them to calculating them on the fly. 2011-07-18 22:08:19 +05:30
Sheng Yang 7f8a0dad31 bug 10714: Implement packet fragmentation
Also add an simple nio unit test.

status 10714: resolved fixed
2011-07-15 19:22:48 -07:00
Sheng Yang 1dac8f3815 bug 10737: Fix java.nio.BufferOverflowException in decompression
Also add unit test for compression/decompression

status 10737: resolved fixed
2011-07-15 18:21:45 -07:00
anthony 4a30f38dd4 bug 10680: changing guest.network.device in global config also change existing hosts guest.network.device, reconnect will use network information in host_details
status 10680: resolved fixed
2011-07-15 18:17:53 -07:00
alena 15aa7d9102 bug 10297: make default page size unlimited (-1) 2011-07-15 16:01:44 -07:00
alena 4d7cc54763 bug 10328: updateAccount is no longer available for domainAdmin
status 10328: resolved fixed
2011-07-15 15:27:23 -07:00
alena f67c771410 bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
status 10733: resolved fixed
2011-07-15 15:07:11 -07:00
alena 0d84cde633 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-15 14:40:39 -07:00
alena 84edb80c0c bug 10687: respect "bootable" parameter when listIso
status 10687: resolved fixed
2011-07-15 14:28:53 -07:00
alena 21afc889d0 bug 10438: always return success on disableAccount when it got disabled successfully in the DB. If his vms failed to stop on the backend, mark account for cleanup and let background thread to do the cleanup job
status 10438: resolved fixed
2011-07-15 14:27:58 -07:00
alena 5300dd52a9 bug 4706: added one more parameter - "ipaddress" to deployVm api. This parameter will apply to default network of vm
status 4706: resolved fixed

Merge from master to 2.2.8 branch

Conflicts:

	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:23:28 -07:00
alena 0d2787e2db bug 4706: allow to specify which ip address from the network to take when do vm deployment. The model is supported for multiple network case as well.
status 4706: resolved fixed

Merge from master to 2.2.8 branch

Conflicts:

	api/src/com/cloud/api/ApiConstants.java
	server/src/com/cloud/network/NetworkManager.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/guru/GuestNetworkGuru.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-07-15 14:20:52 -07:00
Kelven Yang 06ea7338a8 bug 10732: fix console proxy assignment issue - file was not saved, commit again 2011-07-14 21:56:51 -07:00
Kelven Yang 1081a3cfaa bug 10732: fix console proxy assignment issue 2011-07-14 21:56:34 -07:00
anthony 18003deedf bug 10628: root cause is CheckHealthCommand return false, XenServerInvestigator is not called
status 10628: resolved fixed
2011-07-14 20:42:26 -07:00
Kelven Yang 61676ff3ea Make cluster request timeout to be configurable 2011-07-14 18:11:32 -07:00
alena d11ac32f08 bug 10727: fixed duplicated usage event generation when create volume from snapshot
status 10727: resolved fixed
2011-07-14 10:28:28 -07:00
Nitin 1a6d859f22 bug 10718: checkSumSync - remove it as we dont require it.
status 10718: resolved fixed
2011-07-14 16:48:42 +05:30
anthony b9803a05ae bug 10705: don't need to print trace
status 10705: resolved fixed
2011-07-13 18:35:56 -07:00
anthony b6d4c3e86d bug 10691: expand try-catch, and add more log 2011-07-13 18:24:14 -07:00
alena 25206e6257 bug 10681: for serviceOfferings, diskOfferings, templates/isos return records with not null Removed field on findById method call
status 10681: resolved fixed
2011-07-13 17:16:07 -07:00
Kelven Yang 398cea40e1 bug 10702: add data migration for 2.2.7 to 2.2.8 migration 2011-07-13 13:48:19 -07:00
anthony 72b405948b bug 10691: add more log 2011-07-13 11:47:58 -07:00
Alex Huang b54edececf resolved a bug where the wrong msid was used in releasing locks 2011-07-13 09:52:35 -07:00
Alex Huang 5619f0490c added more locking logging 2011-07-13 09:29:38 -07:00
Kelven Yang 11527ad914 bug 10699: log on listener registration 2011-07-12 16:58:55 -07:00
Kelven Yang 280a93a83d bug 10699: more log for this 2011-07-12 16:14:58 -07:00
Kelven Yang 40145b0b8b add logging to clustering notification 2011-07-12 16:14:58 -07:00
Sheng Yang 8725257f6b bug 10692: Fix the limitation of SSL packet is 16k using compression 2011-07-12 13:09:52 -07:00