alena
f48efae77c
bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
2011-08-01 15:14:12 -07:00
frank
03fbe13f58
Add upgrade path to 2.2.9
...
Add files
2011-07-29 20:05:50 -07:00
frank
44f3ac98f6
A couple of things:
...
add 229 upgrade path
Bug 10860 - PremiumUpgrade is not run when upgrading to 2.2.8 (edit)
run checker before any components loaded
2011-07-29 20:05:50 -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
70e0b54a83
Upgrade scripts for missing indexes
2011-07-27 17:56:16 -07:00
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
Naredula Janardhana Reddy
e5ebd28743
bug 10557: updated upgrade script
2011-07-27 14:45:04 +05:30
Alex Huang
c610925304
moved agent ping to in memory rather than db based
2011-07-25 15:21:06 -07:00
Alex Huang
1b56808be5
brought over agent ping uses the same db connection
2011-07-25 10:57:00 -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
c8fc95e573
propagate db upgrade
2011-07-22 16:31:11 -07:00
Alex Huang
3ecfddf130
Added db upgrade fro the indexes
2011-07-22 16:29:02 -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
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
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
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
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
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
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
Kelven Yang
61676ff3ea
Make cluster request timeout to be configurable
2011-07-14 18:11:32 -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
Kelven Yang
72cbd65db2
bug 10668: add DB upgrade scripts for 2.2.7 to 2.2.8 upgrade
2011-07-08 18:12:13 -07:00
alena
70b1c69ef3
bug 10651: added missing keys to 227 to 228 db upgrade
...
status 10651: resolved fixed
2011-07-08 09:45:12 -07:00
alena
1bdc0de98c
Revert "bug 10651: added unique_name to network_offerings for 227->228"
...
This reverts commit 5537e65129f669da7ca9a22e53cc3daa9e69ac97.
Reverting the fix because only the unique key was missing; the column was inserted as a part of 225 to 226 upgrade
2011-07-08 09:19:05 -07:00
Abhinandan Prateek
57a05c79ab
bug 10651: added unique_name to network_offerings for 227->228
2011-07-08 20:48:32 +05:30
Edison Su
d548e8fc38
fix db upgrade from 2.2.6 to 2.2.8
2011-07-01 19:16:14 -07:00
Alex Huang
cbee5a6044
bug 10322: arrival of the next generation Merovingians
2011-06-29 12:01:43 -07:00
Kelven Yang
1edf772f92
bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql
2011-06-28 15:00:34 -07:00
alena
33624efd2f
Fixed bug in the comment
2011-06-28 14:07:28 -07:00
frank
317c1cc5c9
DB Upgrade: Add external_dhcp column to hot_pod_ref table
2011-06-28 14:06:45 -07:00
alena
dc535b96a2
bug 10475: cloud-sysvmadm - stop routers in multiple threads. Default number of threads is 5.
...
status 10475: resolved fixed
Also added support for logging. By default the logs go to cloud.log file under current dir; you can specify another log location using -l option
2011-06-28 11:14:36 -07:00
alena
56799fcbaa
Added upgrade path from 2.2.7 to 2.2.8
2011-06-24 12:07:33 -07:00
alena
d8c39cc59e
bug 10407: db upgrade fixes for guest.domain.suffix
...
status 10407: resolved fixed
2011-06-22 17:59:00 -07:00
alena
3b2015453c
bug 10391: insert hypervisor.list config parameter during db upgrade (if not present already)
...
status 10391: resolved fixed
2011-06-22 17:48:34 -07:00
alena
be5707b26e
Db upgrade:
...
* remove lb to vm mappings for Removed vms (result of the bug in 2.1.x when mappings weren't removed during the vm expunge)
* encode.api.response is false by default
2011-06-22 15:18:05 -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
975809b4e8
No need to tream "return" char twice
2011-06-13 10:53:42 -07:00
alena
cd7c74538b
bug 9697: encode api response values
...
status 9697: resolved fixed
Do encoding for ASCII chars only (done to eliminate problems with multiple language support)
To disable encoding, set "encode.api.response" to false
2011-06-10 17:45:15 -07:00
alena
85af11fac9
bug 9519 : add index to avoid table locking
...
Conflicts:
setup/db/create-index-fk.sql
2011-06-09 18:05:14 -07:00
alena
d8ceebffe5
bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
...
status 9618: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-06-09 18:05:14 -07:00
alena
5116abbcc5
DB upgrade merge from 224 branch
2011-06-09 18:05:14 -07:00
Alex Huang
f7dcbd75e3
host_address in storage_pool should not have gotten the change to char(40)
2011-06-09 18:05:14 -07:00
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
357e05f5c7
Handle 2.1.x bugs when do 21x to 22x DB upgrade:
...
* remove records from load_balancer_vm_map if the parent record is missing in load_balancer table
* remove user vm records from vm_instance table when corresponding record is missing in user_vm table
2011-06-08 14:58:59 -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
27d6020569
Ant target for apiDocs building
2011-06-07 11:21:07 -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
9a2cc8008b
Db upgarde: changed 225-226 to be 226-227
2011-06-06 13:55:50 -07:00
alena
0830f71bae
Fixed the name for system vm template
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
alena
c12790ab32
Fixed upgrade bug related with multiple template entries in vm_template table - search only for the template having NULL Removed field.
2011-06-03 17:33:16 -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
018b1c7ce9
Fixed problem that Kirk saw at upgrading between 2.2.3 and 2.2.5 at one of mour customers. The host address for storage pool is not an ip address and should not have been shrunk to 40 characters
2011-06-02 09:44:13 -07: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
anthony
2fdedfa14a
db upgrade for multiple secondary storages
2011-05-25 14:15:43 -07:00
alena
fc04d71e1f
225-226 DB upgrade for agent LB schema
2011-05-25 10:06:36 -07:00
alena
55692fd7cf
bug 9127: intermediate checkin for agent load balancer
2011-05-24 18:45:00 -07:00
keshav
5699f0b3c5
Added shared_source_nat_service column to upgrade script.
2011-05-24 10:45:57 -07:00
Alex Huang
0dfc44582b
bug 9651: Adding network tags
...
Also changes in Request logging.
2011-05-23 15:51:50 -07:00
keshav
e22d99f70d
Removed carriage return when a password is obtained. Changed mkpasswd encryption method to use SHA-512.
2011-05-23 12:18:46 -07:00
Abhinandan Prateek
5085cfd900
bug 8115: Source IP filtering in Virtual Router
...
schema change added to upgrade
2011-05-23 10:26:06 +05:30
Abhinandan Prateek
5ad41e09ae
bug 7553: Virtual Router service offering
2011-05-21 22:21:12 +05:30
alena
7bae4e3155
Fixed upgrade bug related with the fact that some db upgrade steps were missed in 2.2.0/2.2.1 to 2.2.2 db upgrade
2011-05-19 15:37:59 -07:00
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
b963429063
Added upgrade from 224 to 225
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
2011-05-17 16:43:53 -07:00
alena
b5ab92af89
Upgrade from 2.2.5 to 2.2.6
2011-05-17 15:22:59 -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
Alex Huang
4582f59d21
Database upgrade from 2.2.2 to 2.2.4 was broken.
2011-05-16 16:31:40 -07:00
Murali Reddy
5d3fae2fe4
bug 9250:Need a new Guest OS type for XenServer: "Other PV"
...
adding new guest OS type "Other PV"
2011-05-16 19:53:12 +05:30
alena
c7380b29e1
bug 9868: display help just once if wrong option is specified
...
status 9868: resolved fixed
2011-05-13 14:14:44 -07:00
alena
eed58597f2
Small fix to script that stop/starts system vms: added -m option (the host we send stop* api requests to); defaulted to localhost if not specified.
2011-05-12 09:54:30 -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
2a32377098
Added helper script for stopping/starting all system vms
2011-05-11 11:13:09 -07:00
alena
a58b4eafa4
bug 9807: insert hypervisor.list config value as a part of db upgrade
...
status 9807: resolved fixed
2011-05-09 16:02:54 -07:00
alena
e9bba1163f
Fixed "ant deploydb" broken by b16e637306adb40202efe00fbff81090888df0dc
2011-05-09 10:30:39 -07:00
Abhinandan Prateek
2984b0607f
bug 8115: source ip filtering
...
Created a table for source cidrs list.
Created necessary Daos and VOs.
Updated PortForwardingRulesDao to persist/update non null list of cidrs.
For deletion depending on ON DELETE CASCADE.
2011-05-09 17:41:50 +05:30
alena
fe3f74a56a
DB upgrade - update LVM storage with correct cluster id
2011-05-06 17:50:50 -07:00