272 Commits

Author SHA1 Message Date
Chiradeep Vittal
8277584b8a merge ELB / nectarine branch 2011-08-08 15:20:56 -07:00
Chiradeep Vittal
a671a78da4 handle upgrade from 2.2.8 2011-08-04 23:13:21 -07:00
Alex Huang
f043f63eaa Merged changes from 2.2.8.zucchini 2011-08-02 15:33:48 -07:00
Alex Huang
f150f68128 sg improvements 2011-08-01 22:09:41 -07:00
alena
f73c2695a1 bug 10927: instance_id is foreign key, not index, in port_forwarding_rules table 2011-08-01 17:25:25 -07:00
alena
333e435fc5 bug 10927: added missing constraint to firewall_rules_cidr table 2011-08-01 15:52:44 -07:00
Chiradeep Vittal
fae6fa790c ELB VM: implement delete LB by deleting ELB vm
in the future we will manage a pool of vms more intelligently
2011-07-28 00:15:16 -07:00
Abhinandan Prateek
8a8cfe1388 bug 10866: Putting additional unique indexs on firewall_rules_cidrs to prevent duplicate rules.
Although the code has been tested for duplicate cidrs, the additional table constraint will add a further safegaurd for this condition.
2011-07-28 10:45:24 +05:30
Alex Huang
6fea146903 more index. moved op_lock to memory table to try it 2011-07-27 14:06:40 -07:00
Chiradeep Vittal
b829cde18f track ip to vm mapping 2011-07-27 12:00:08 -07:00
Alex Huang
b0fdb94f5c added more indexes 2011-07-25 10:03:34 -07:00
Alex Huang
5b39a1b620 added more indexes 2011-07-25 10:02:15 -07:00
Alex Huang
f4bab3b4db more index changes 2011-07-23 13:11:35 -07:00
Alex Huang
20c8261832 more index changes 2011-07-23 13:07:47 -07:00
Alex Huang
3385792081 missing indexes 2011-07-22 18:53:40 -07:00
Alex Huang
c3747878cf missing indexes 2011-07-22 18:52:59 -07:00
Alex Huang
ccce718783 added indexes for firewall rules and port forwarding rules 2011-07-22 16:49:42 -07:00
Alex Huang
c1f7bb57b0 propagate indexes 2011-07-22 14:49:08 -07:00
Alex Huang
e953ee7045 Added a bunch of indexes for different removed fields 2011-07-22 14:47:10 -07:00
Alex Huang
37c1401ad3 bug 10756: propagate to 2.2.8.z 2011-07-20 16:43:38 -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
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
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
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
alena
0d84cde633 bug 10409: added domainSuffix parameters to account/domain objects 2011-07-15 14:40:39 -07:00
Alex Huang
cbee5a6044 bug 10322: arrival of the next generation Merovingians 2011-06-29 12:01:43 -07:00
Abhinandan Prateek
976aab77bb bug 10305: for a systemvm only applicable system vm offering should be displayed
status 10305: resolved fixed
While creating a system vm offering specify the type. If no type specified the default to domainrouter.
While requesting a set of system offering specify the paramter systemvmtype.
2011-06-20 20:01:40 +05:30
Abhinandan Prateek
cf15573d06 bug 10313: marking default system offering as default so that they should not be deleted
status 10313: resolved fixed
2011-06-19 12:30:07 +05:30
alena
4fdb6186af Revert "bug 10199: don't allow network offering Name modification."
This reverts commit 97f2b9936a8b9e3a057116d327b058253458b4ef.

Use the following solution instead:

* add unique_name field to the network_offerings table. Use this filed as a unique offering identifier in the code
* Added db upgrade steps to 225to226 sql script
2011-06-09 13:32:53 -07:00
alena
8948c3dd84 1) listNetworks for domain level network case: fixed search to do multiple joins between the tables instead of querying all the data and making search for each entry.
2) Added new config parameter 'allow.subdomain.network.access' - default value is true. If it's set to false, the child domain can't use the network of the parent domain

Conflicts:

	server/src/com/cloud/network/NetworkManagerImpl.java
2011-06-08 12:00:19 -07:00
alena
64252b48f2 bug 10166: drop account_id/domain_id fields (if exist) in domain_router table
status 10166: resolved fixed
2011-06-06 13:55:50 -07:00
alena
14cdc7de14 bug 9127: covered failure scenarios for agent LB.
status 9127: resolved fixed

The feature is completed; please file separate bugs if any issue arises during the testing.
Wiki link describing how agentLB works: http://intranet.lab.vmops.com/engineering/release-2.2-features/agent-load-balancing
2011-06-05 17:35:30 -07:00
Alex Huang
d9e0bcfa1e bug 10126: Renamed getPodId() to getPodIdToDeployIn() 2011-06-03 22:17:08 -07:00
Edison Su
b449b1e408 add on delete cascade for networks table 2011-06-02 13:41:35 -04:00
Edison Su
9ec9d74514 zone can be deleted now 2011-06-02 12:33:37 -04:00
Alex Huang
67ff27496d tags added 2011-05-31 09:48:34 -07:00
Frank
bc101b0abb Remove netapp table from OSS, it was in premium 2011-05-27 14:06:02 -07:00
nit
77de414c81 bug 9596 : Make the template extractable by default. Allow only a ROOT Admin to change the flag once a template is submitted/created (Done through updateTemplatePermissions)
status 9596: resolved fixed
2011-05-27 15:44:35 +05:30
anthony
7a266b9321 bug 10046: size in diskofferingVO is in type now
status 10046: resolved fixed
2011-05-26 13:51:08 -07:00
Edison Su
638fdca138 add db schema 2011-05-25 15:46:13 -04:00
alena
55692fd7cf bug 9127: intermediate checkin for agent load balancer 2011-05-24 18:45:00 -07:00
Alex Huang
0dfc44582b bug 9651: Adding network tags
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
Abhinandan Prateek
5ad41e09ae bug 7553: Virtual Router service offering 2011-05-21 22:21:12 +05:30
Abhinandan Prateek
770e317218 bug 7553: Virtual Router service offering 2011-05-19 19:18:33 +05:30
alena
5148725916 Fixed bunch of db upgrade bugs. 2011-05-18 17:38:49 -07:00
alena
33bf819afc bug 9873: create default security group for the default admin
status 9873: resolved fixed
2011-05-17 15:08:13 -07:00
anthony
ba6b2ca670 initial checkin for multiple secondary storage 2011-05-16 16:37:15 -07:00
keshav
435e178eef Added a new service to enabled zone-wide, shared source NAT rules. 2011-05-11 15:35:26 -07:00
alena
e9bba1163f Fixed "ant deploydb" broken by b16e637306adb40202efe00fbff81090888df0dc 2011-05-09 10:30:39 -07:00