keshav
34a0c44f4f
Added a new table for inline load balancer deployments, to store mappings between public IPs and NICs.
2011-08-03 16:10:20 -07:00
alena
603de56c93
Merged fixes for 228-229 upgrade from 2.2.8 zucchini branch
2011-08-03 10:39:02 -07:00
alena
21a98e8457
Added missing config value to 229 to 2210 upgrade
2011-08-03 10:35:32 -07:00
alena
a7bc955822
Added missing config value to 229 to 2210 upgrade
2011-08-03 10:35:06 -07:00
alena
da4b39279d
Added 229 to 2210 upgrade path
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
setup/db/db/schema-228to229.sql
2011-08-03 10:23:27 -07:00
Abhinandan Prateek
7e727be42c
bug 10748: use external dnses if set thru global config (dhcp otpion 6)
2011-08-03 12:34:02 +05:30
Alex Huang
f043f63eaa
Merged changes from 2.2.8.zucchini
2011-08-02 15:33:48 -07:00
Abhinandan Prateek
2f804dd799
bug 10748: use external dns, configurable thru global param
2011-08-02 16:21:55 +05:30
Abhinandan Prateek
9009026eba
bug 10748: use external dns
...
status 10748: resolved fixed
2011-08-02 15:35:13 +05:30
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
5ffaed128d
bug 10927: added index for Removed field in create-schema
2011-08-01 17:11:59 -07:00
alena
1d5543ec79
Removed the key from upgrade-228-229.sql as we are adding it as a part of java code
...
Fixed the typo in 2.2.8 to 2.2.9 upgrade
2011-08-01 17:00:06 -07:00
Alex Huang
270303e525
bug 10927: missing indexes in upgrade script
2011-08-01 16:19:22 -07:00
alena
333e435fc5
bug 10927: added missing constraint to firewall_rules_cidr table
2011-08-01 15:52:44 -07:00
alena
d30fe74794
Added 229 to 2210 upgrade path
2011-08-01 15:42:16 -07:00
alena
52f1a58fc6
bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
...
Conflicts:
setup/db/db/schema-228to229.sql
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-01 15:32:24 -07:00
alena
38db7a45dd
bug 10927: removed network_domain for account/domain as this feature is not in 2.2.9, but in 2.2.10
...
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-01 15:31:16 -07:00
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
e5b7c89986
bug 10866: putting additional database guard so as to enforce uniqness of cidrs at db level
2011-07-28 10:58:10 +05:30
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
3d7275f077
bug 10557: updated upgrade script
2011-07-27 14:48:14 +05:30
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
d54d7315da
added more indexes
2011-07-25 10:04:17 -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
868373c280
more index changes
2011-07-23 13:23:10 -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
da94f29881
missing indexes
2011-07-22 18:54:05 -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
03716ed5c6
propagate db upgrade
2011-07-22 16:31:59 -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
91722351db
propagate indexes
2011-07-22 14:49:52 -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
66f879e400
Revert "bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts"
...
This reverts commit c18e1a020357c0c42454656c070fa4827f8c0703.
Conflicts:
setup/db/db/schema-228to229.sql
2011-07-21 16:03:01 -07:00
alena
b1d5b5a51d
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
2011-07-21 15:43:52 -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
alena
c03d360968
bug 10373: added config parameter "domain.level.virtual.network" to the db upgrade scripts
2011-07-20 18:21:15 -07:00
anthony
9f2eaca6cb
Support XenServer 6.0 beta
2011-07-20 16:47:48 -07:00
Alex Huang
37c1401ad3
bug 10756: propagate to 2.2.8.z
2011-07-20 16:43:38 -07:00
anthony
bef3b480cd
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:44:37 -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
c4a1a89388
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:46 -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
Nitin
b3957d525b
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 12:10:51 +05:30
alena
9c7aade3d1
bug 10733: fixed/added incorrect/missing keys in 228 to 229 upgrade
...
status 10733: resolved fixed
Conflicts:
setup/db/db/schema-228to229.sql
2011-07-15 15:10:11 -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
281201be8e
Make cluster request timeout to be configurable
2011-07-14 18:23:23 -07:00
Kelven Yang
61676ff3ea
Make cluster request timeout to be configurable
2011-07-14 18:11:32 -07:00
alena
731c3bc20a
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
2011-07-14 16:28:13 -07:00
Kelven Yang
542ea6f0a6
bug 10702: add data migration for 2.2.7 to 2.2.8 migration
2011-07-13 14:13:27 -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
62a570484c
fix db upgrade from 2.2.6 to 2.2.8
...
Conflicts:
setup/db/db/schema-227to228.sql
2011-07-08 09:51:50 -07:00
alena
27ef3a1d2d
bug 10651: added missing keys to 227 to 228 db upgrade
...
status 10651: resolved fixed
Conflicts:
setup/db/db/schema-227to228.sql
2011-07-08 09:49:19 -07:00
alena
4c075774a3
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:48:24 -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
786420b439
bug 10651: added unique_name to network_offerings for 227->228
2011-07-08 20:53:00 +05:30
Abhinandan Prateek
57a05c79ab
bug 10651: added unique_name to network_offerings for 227->228
2011-07-08 20:48:32 +05:30
alena
9be9a970c9
bug 10409: added domainSuffix parameters to account/domain objects
2011-07-06 16:57:19 -07:00
Edison Su
d548e8fc38
fix db upgrade from 2.2.6 to 2.2.8
2011-07-01 19:16:14 -07:00
alena
17f785f07a
Intermidiate checkin for Projects feature; added 3 new apis - create/delete/listProject(s) - as a part of checkin
2011-07-01 13:19:12 -07:00
Alex Huang
27809e651e
bug 10322: arrival of the next generation Merovingians
2011-06-29 12:02:53 -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
Kelven Yang
0059dd0e57
bug 10480, 10494: NPE fix in VirtualMachineManagerImpl, move keystore upgrade sql to upgrade225to226.sql
2011-06-28 14:57:02 -07:00
alena
8002834581
Fixed bug in the comment
2011-06-28 14:07:45 -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
dc3e02ab3c
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:14 -07:00
alena
56799fcbaa
Added upgrade path from 2.2.7 to 2.2.8
2011-06-24 12:07:33 -07:00
alena
67be5512c8
Added upgrade path from 2.2.7 to 2.2.8
2011-06-24 11:31:08 -07:00
alena
784caafe2f
bug 10407: db upgrade fixes for guest.domain.suffix
...
status 10407: resolved fixed
2011-06-22 18:01:02 -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
1466d52a46
bug 10391: insert hypervisor.list config parameter during db upgrade (if not present already)
...
status 10391: resolved fixed
2011-06-22 17:49:39 -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
0d1ab8f9af
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:19:52 -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
79e38f0a1f
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:11:50 +05:30
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
Abhinandan Prateek
db29a56eaf
bug 10313: marking default system offering as default so that they should not be deleted
...
status 10313: resolved fixed
2011-06-19 12:16:06 +05:30
Prasanna Santhanam
3ac0b568f5
typo. Should be simulator not XenServer
2011-06-15 19:18:14 +05:30
Sheng Yang
aef562c69d
bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB
...
Then we can distingush BACKUP state from UNKNOWN state(which means we didn't get
valid answer from CheckRouterCommand).
2011-06-14 18:48:56 -07:00
alena
f40d21a80f
No need to tream "return" char twice
2011-06-13 10:54:44 -07:00
alena
975809b4e8
No need to tream "return" char twice
2011-06-13 10:53:42 -07:00
alena
ef3ea765bf
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 18:10:44 -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
Prasanna Santhanam
4eb094bf9c
adding templates file for the simulator
2011-06-10 20:07:43 +05:30
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
99d1cb4718
bug 9519 : add index to avoid table locking
...
Conflicts:
setup/db/create-index-fk.sql
2011-06-09 17:32:27 -07:00
alena
54ee9b0520
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 17:28:14 -07:00
alena
e7e5703184
DB upgrade merge from 224 branch
2011-06-09 17:19:27 -07:00
Alex Huang
dd8ca0cf72
host_address in storage_pool should not have gotten the change to char(40)
2011-06-09 17:14:51 -07:00
alena
f06818704b
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
Conflicts:
server/src/com/cloud/offerings/NetworkOfferingVO.java
2011-06-09 13:34:50 -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
ef5f0f5643
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:59:19 -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
f81ddc1f7b
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
2011-06-08 11:55:36 -07:00
Sheng Yang
62ac899091
bug 9154: Initial check in for enabling redundant virtual router
...
This patch enable redundant virtual routers.
1. To enable this feature, db need to be updated using follow SQL by now(we
would get a UI way later):
UPDATE network_offerings SET redundant_router=1 WHERE guest_type="Virtual" AND
system_only=0;
2. System would try to start up two routers at different hosts. But if there is
only one host in the zone, system would start up two routers on it.
3. The failover part is using keepalived, and connection tracking part is using
conntrackd. There would be one master router and one backup router. The status
of router(master or backup) can be query from the database table domain_router
now. Management server would update the status every 30s by default.
4. The routers for the same zone would use same external NIC(same ip and mac).
The script used for fail-over would ensure only one external NIC present in the
network at any time.
5. Currently management server don't got the ability to stop one of router is
both of them reported as master. The feature is in the todo list.
After two routers start up, disconnect anyone of them, the guest network
shouldn't be affected, and established connection(http, ssh, etc.) should still
works. The fail-over on gateway part should be 3~4 seconds.
Currently the patch works with KVM. Would deal with vmware and XenServer soon.
2011-06-07 14:47:45 -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
anthony
2d52813ff2
fixed build /start management server
2011-05-05 16:12:19 -07:00
anthony
10c4c14ad5
swift integration checkin
2011-05-05 13:55:29 -07:00
alena
275bab0d91
bug 9740: fixed DB upgrade for Direct Tagged networks in Advance zone
...
status 9740: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-05-05 11:20:27 -07:00
alena
fbdb663970
Fixed bunch of DB upgrade bugs related with the fact that DB was manually upated in 2.1.x setup (some records were deleted from the DB)
2011-05-05 11:20:27 -07:00
alena
b1c3c8c1d9
bug 9734: update op_ha_work table in mysql file instead of java code
...
status 9734: resolved fixed
2011-05-05 11:20:27 -07:00
alena
dfd5d943cc
bug 9690: DB upgrade - dropped unused keys
...
status 9690: resolved fixed
2011-05-03 14:33:55 -07:00
Murali Reddy
8a90f3665f
Bug 8391: remove guest.ip.network global config param
...
removing unused global config parameters guest.ip.network and guest.netmask
status 8391: resolved fixed
2011-05-03 13:14:00 +05:30
alena
5d332f0f30
bug 9688: remove orphaned lb/vm mappings as a part of db upgrade (there was a bug in 2.1.x when the LB rule was removed, but mapping was left in the DB)
...
status 9688: resolved fixed
To verify that the rule was removed:
* make sure that there is no record with lb id in load_balancer table
* verify that lb.delete event was generated for this rule
2011-05-02 19:05:27 -07:00
prachi
e365b0ac48
Bug 9505 - No indexes on op_dc_link_local_ip_address_alloc
...
Adding index to op_dc_link_local_ip_address_alloc.
Also added upgrade for 224 to 225
2011-05-02 17:11:34 -07:00
Alex Huang
c6c3748b0a
Propagate fixes to master
2011-05-02 14:48:26 -07:00
Murali Reddy
4fbcb02573
Bug 9534 : implement CPU cap
...
Changes specific for Xen hypervisor, and DB upgrade. Changes for vmware chcked-in already in commit 1c310a0d2ae81108386f0dd5c2e899ff00fee9e9, e71112e2f587f5d6c9c6d5337cfeb1f239f29633. KVM will not support this feature.
2011-05-02 13:06:02 +05:30
alena
5469fc4c01
bug 9658: added missing indexes to 2.1.x-2.2.x upgrade files
...
status 9658: resolved fixed
2011-05-01 12:54:23 -07:00
alena
fe2f186b00
bug 9654: db upgrade - set is_security_group_enabled to true for Direct Guest network in Basic zone
...
status 9654: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-05-01 12:54:10 -07:00
Alex Huang
44263a161c
bug 9649: fixed up the instance names to be the same
2011-04-29 17:41:21 -07:00
prachi
b2b01bfcd2
Bug 8830 - Return parent template ID from templates created off of a snapshot
...
Changes:
- Added a new column `source_template_id` to vm_template table to carry the parent/source template ID from which the tempalte was created
- Added the column in db upgrade 224 to 225
- Changed code to save the source_template_id if there is one associated to the volume/ volume from which the snapshot was taken
- API response returns the sourcetemplateid field, if set, in all template usecases.
2011-04-29 15:40:59 -07:00
anthony
bb13fa07f7
bug 9617: fixed snapshot upgrade from 223 to 224
...
status 9617: resolved fixed
2011-04-29 14:13:25 -07:00
anthony
2ebc943712
bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
...
status 9618: resolved fixed
2011-04-29 14:13:25 -07:00
alena
671ec62358
bug 9623: set ha_enable to false for consoleProxy vms and service_offering.
...
status 9623: resolved fixed
Also set ram_size to 1024 for console proxy offering during the upgrade
Conflicts:
core/src/com/cloud/vm/SecondaryStorageVmVO.java
server/src/com/cloud/agent/manager/allocator/impl/UserConcentratedAllocator.java
server/src/com/cloud/consoleproxy/ConsoleProxyManagerImpl.java
server/src/com/cloud/storage/allocator/LocalStoragePoolAllocator.java
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java
2011-04-29 11:53:07 -07:00
prachi
86b386e8c0
Merging changes from zonesfeature branch for Bug 8026 - discern proper cluster/pod/zone for added host (and refactor AgentManagerImpl)
...
- CreateZone API creates a zoneToken, inserts in DB and returns it in the
response
- UpdateZone API takes in 'details' map that is loaded to data_center_details
2011-04-28 23:08:58 -07:00
alena
11ef6bbbe2
bug 9638: fixed bunch of DB upgrade bugs
...
status 9638: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
utils/src/com/cloud/utils/net/NetUtils.java
2011-04-28 18:30:40 -07:00
alena
c6d5682579
Modify keys for security groups in java code instead of sql file (need to check if the key exists before dropping it)
...
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
2011-04-28 18:23:38 -07:00
Kelven Yang
025642801a
Bug 9519: add index to avoid full table scan when usage server tries to copy event records over
2011-04-28 17:34:58 -07:00
will
633d024b7c
- Merge all CloudZones Registration feature into master
2011-04-28 16:05:36 -07:00
Alex Huang
a15cf40ff5
bug 9633: removed schema.level
...
bug 9632: removed direct.attach.security.groups.enabled
2011-04-28 13:51:16 -07:00
alena
4a41920ab6
1) Don't drop netapp tables during the upgrade.
...
2) SecurityGroups DB upgrade - drop constraints before chaning the name for the network_group table
2011-04-28 13:30:32 -07:00
alena
485f7a10cc
bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
...
status 9621: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade218to22.java
setup/db/db/schema-222to224.sql
2011-04-27 22:51:56 -07:00
Alex Huang
b4f6cdda66
bug 9610: Added VERSION table and related index change
2011-04-27 13:56:52 -07:00
Murali Reddy
c12ccbd06f
Bug 9534 : implement CPU cap
...
Introducing new boolean flag in service offering to restrict the user VM's CPU utilization to what service offering it is entitled for.
2011-04-27 13:54:45 +05:30
alena
afa7d3f34d
bug 9563: fixed DB upgrade from 2.2.2/2.2.3 to 2.2.4
...
status 9563: resolved fixed
Also added unittest for 2.2.2 to 2.2.4 upgrade
Conflicts:
setup/db/db/schema-222to224.sql
2011-04-23 23:05:42 -07:00
alena
3c48d8d432
bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
...
status 9556: resolved fixed
2011-04-23 20:43:37 -07:00
Kelven Yang
e6194b6e09
localization and migration for custom certification support
2011-04-22 17:22:01 -07:00
anthony
8271f034ce
bug 9541: fix one snapshot DB migrate, one java check and one script typo
...
status 9541: resolved fixed
2011-04-22 12:57:16 -07:00
alena
41e5e38fef
bug 9336: securityGroups can be used by other securityGroups in the same domain only; no cross domain SG authentication
...
status 9336: resolved fixed
Following changes were made:
* deleteSecurityGroup/authorizeSecurityGroupIngress - removed account/domainId parameters as SG is uniquely identified by id now
* removed account_name field from securityGroup DB table; removed allowed_security_group/allowed_sec_grp_acct from security_ingress_rule.
These values were used for api response generation only for performance purposes; added caching on API level to improve performance
* Added missing security checks for securityGroups/ingressRules
2011-04-22 11:35:29 -07:00
Kelven Yang
6ed18b5583
Add keystore management and related JUNIT test case
2011-04-19 16:20:06 -07:00
alena
dd9c60e341
Update volumes having destroyed=127 with Destroyed state only after ensuring that corresponding account is removed, or instance is expunged
2011-04-18 16:59:45 -07:00
alena
0efd44ddf7
bug 9483: delete records from template_spool_ref if corresponding storage pool doesn't exist any more
...
status 9483: resolved fixed
2011-04-15 17:09:02 -07:00
Chiradeep Vittal
d6a151fad4
bug 9441: cannot change unique_name in vm_template as this will cause template sync to fail
2011-04-15 16:29:15 -07:00
prachi
734e3f17c2
Bug 9331 - Even when there is no longer clusters in the pod, 'Delete Pod - Failed - because there are clusters in this pod'
...
Changes:
- Cluster entry is not removed from the table when a cluster is deleted because there are some foreign key constraints failing if the row delete is attempted. Instead the cluster is marked as 'removed'
- While deleting the pod changed the check to see if pod has any clusters - we now check that there are no clusters with removed column null.
- Also pod entry cannot be deleted from the db due to foreign key constraints. So added 'removed' column to Pod table host_pod_ref
- Now on deleting a pod, the pod will be marked as removed and pod name is set to null.
2011-04-15 16:04:16 -07:00
alena
66c75d8ed0
bug 9473: mark all volumes with Destroyed>=1 with state=Destroy
...
status 9473: resolved fixed
2011-04-15 14:08:12 -07:00
alena
7f473dad6f
2.1.x-2.2.x upgrade: in "volumes" table use state=Destroy instead of "Destroyed"
2011-04-15 11:45:55 -07:00
alena
b4a65a6766
bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade
2011-04-14 17:03:11 -07:00
alena
52fe53f497
bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
...
status 9458: resolved fixed
Conflicts:
server/src/com/cloud/user/AccountManagerImpl.java
2011-04-14 15:39:51 -07:00
Frank
92155522f2
Add license header to files
2011-04-14 11:23:14 -07:00
prachi
3ad19c633f
Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it
...
- In the upgrade, new XenServer template entry was added in vm_template having id=100
- However we already have another System VM XenServer template downloaded in the upgrade process that gets different id.
- SSVM could not start because the vm_instance's templateId after the upgrade was set to '100' with the assumption that the Xenserver template with id=100 will be used.
Fix to upgrade script is:
- we should not insert any entry in vm_template table for XenServer systemVM via the upgrade DB script. The latest XenServer template will get added in the upgrade process having name 'routing-xenserver-2.2.4'.
- we should update the system VM's template_id in vminstance table to point to this ''routing-xenserver-2.2.4' template.
2011-04-13 17:59:39 -07:00
alena
c9989a7ddf
bug 9420: update existing user_statistics records with device_id and device_type
...
status 9420: resolved fixed
2011-04-13 15:54:01 -07:00
Kelven Yang
1b9cbd9166
bug 9223, 9224: persist runid to form cluster session, based on cluster session and DB condition to issue isolation notification for self-fencing
2011-04-13 15:13:54 -07:00
alena
1a81515566
DB upgrade: enable securityGroup for all Basic zones
2011-04-12 10:43:54 -07:00
nit
463bb0fdec
bug 9347: Adding index and foreign key constraint for upload table for migration from 2.1 to 2.2
...
Status 9347: resolved fixed
2011-04-12 12:35:08 +05:30
alena
d1a9200f4e
bug 9378: db upgrade - update guest_os_id in vm_instance table for system vms.
...
status 9378: resolved fixed
2011-04-11 18:19:30 -07:00
alena
acaab55c3e
bug 9391: removed source_id, source_type from "volumes" table as we don't use them any more
...
status 9391: resolved fixed
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-04-11 18:19:10 -07:00
alena
52bf157387
bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
...
status 9398: resolved fixed
Conflicts:
server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -07:00
alena
70151389d1
bug 9396: removed status field from volumes table as this field is no longer used
...
status 9396: resolved fixed
2011-04-11 18:12:04 -07:00
alena
0f2112ff26
bug 9373: db upgrade - added missing constraints for user_ip_address table
...
status 9373: resolved fixed
2011-04-11 18:11:52 -07:00
alena
28029b20c1
bug 9374: removed guest_ip/mac/netmask info from user_vm table. This information is kept in nics table in 2.2.x
...
status 9374: resolved fixed
2011-04-11 18:11:36 -07:00
alena
aea0a7326a
bug 9376: added missing constraints to vm_instance table
...
status 9376: resolved fixed
2011-04-11 18:11:24 -07:00
alena
407bd2ac16
bug 9348: added missing ALTER statement to 222-224 db upgrade script
...
status 9348: resolved fixed
2011-04-11 18:10:30 -07:00
Chiradeep Vittal
63ada2ef7e
bug 9330: ensure that existing system vms are updated to new xenserver template
2011-04-11 15:47:02 -07:00
Chiradeep Vittal
c14be6915f
bug 9330: add kvm / vmware builtin template definitions
2011-04-11 15:46:48 -07:00
Chiradeep Vittal
ae9180d33b
bug 9330: add kvm / vmware system vm template definitions
2011-04-11 15:46:37 -07:00
Frank
105db3b15a
Merge branch 'baremetal' to master
...
modifies:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/commands/AddHostCmd.java
api/src/com/cloud/api/commands/CreatePodCmd.java
api/src/com/cloud/api/commands/DeployVMCmd.java
api/src/com/cloud/dc/Pod.java
api/src/com/cloud/network/NetworkService.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/dc/HostPodVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/create-schema.sql
utils/src/com/cloud/utils/SerialVersionUID.java
2011-04-11 14:21:41 -07:00
kishan
782a22d95f
Usage upgrade changes
2011-04-11 18:49:52 +05:30
Murali Reddy
598503f094
bug 9129:can't create vm if an instance limit is set at root domain
...
pushing 2.2.4 fixes
2011-04-08 13:25:51 +05:30
Alex Huang
1bc498013e
bug 9344: fixed problems with the template table
2011-04-05 18:33:38 -07:00
Kelven Yang
6143737ef6
2.2.4 to 2.2.5 upgrade sql for system vm pooling
2011-04-05 18:11:56 -07:00
keshav
8c344cb567
Changed insert to insert ignore.
2011-04-05 16:24:55 -07:00
Alex Huang
3d0c4ae937
get unittest to work temporarily
2011-04-05 15:53:33 -07:00
anthony
415b973b92
fixed db upgrade
2011-04-05 15:09:05 -07:00
prachi
92c0b3b82f
Bug 9309 - In Manual migration, do not consider 'reserved_capacity' when computing available memory in destination
...
Changes:
- Now while listing hosts for migration, capacity is calculated as total_capacity -used_capacity
instead of total_capacity -(used_capacity + reserved_capacity)
- Also, the capacity columns in op_host_capacity are now 'signed' type so that the subtractions in queries does not overflow.
- Added this to DB upgrade 222 to 224 change as well.
2011-04-05 14:06:32 -07:00
alena
e0c4bb47d9
bug 9234: system network offerings are HA enabled
...
status 9234: resolved fixed
Conflicts:
setup/db/db/schema-222to224.sql
2011-04-05 13:44:44 -07:00
anthony
8d954931ea
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-04-05 12:11:02 -07:00
anthony
288a36d09f
Merge branch '2.2.4'
...
Conflicts:
api/src/com/cloud/configuration/ConfigurationService.java
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-21to22.sql
setup/db/db/schema-222to224.sql
utils/src/com/cloud/utils/exception/ExceptionUtil.java
2011-04-05 12:04:09 -07:00
Alex Huang
8ebe8db39a
bug 9326: put unique back into create-schema.sql
2011-04-05 12:01:30 -07:00
Alex Huang
c9d4e50b96
bug 9323: guid doesn't have to be NOT NULL
2011-04-05 11:23:31 -07:00
alena
dd162339dc
bug 9325: DB upgrade - added missing constraints to ssh_keypair table
...
status 9325: resolved fixed
2011-04-05 11:22:12 -07:00
alena
914952cd86
bug 9325: DB upgrade - added missing constraints to ssh_keypair table
...
status 9325: resolved fixed
2011-04-05 11:18:46 -07:00
Alex Huang
3f8dc115ec
bug 9323: dropped the snapshots_seq
2011-04-05 11:09:39 -07:00
Alex Huang
2230c24ab3
check in changes from 2.2.4
2011-04-05 11:01:35 -07:00
Alex Huang
e4cffa7928
removed the DEFAULT 0
2011-04-05 10:16:56 -07:00
Alex Huang
04099a4950
bug 9311: changed instance_id to nic_id
2011-04-05 09:12:55 -07:00
keshav
cf2336910f
Removed guest network and management cidr config values from upgrade.
2011-04-04 20:00:44 -07:00
Alex Huang
b2cab48e0c
bug 9308: changed instance_id to nic_id
2011-04-04 16:59:16 -07:00
Alex Huang
10e2dba837
bug 9301: added missing constraint
2011-04-04 15:30:39 -07:00
keshav
bf3c2b73e1
Removed some configuration table inserts.
2011-04-04 15:13:53 -07:00
keshav
45aebbe416
Removed some configuration table inserts.
2011-04-04 15:12:17 -07:00
alena
814804df5b
bug 9298: vm_type can be NULL in "nics" table (for placeholder nics)
...
status 9298: resolved fixed
2011-04-04 14:47:21 -07:00
alena
35c829f33b
bug 9293: 21 to 22 db upgrade - added missing constraints to load_balancer_vm_map
...
status 9293: resolved fixed
Conflicts:
setup/db/db/schema-21to22-cleanup.sql
setup/db/db/schema-21to22.sql
2011-04-04 14:47:21 -07:00
keshav
68d1cbcfbc
Added configuration table modifications to upgrade sql.
2011-04-04 14:27:04 -07:00
keshav
e3c4351b13
Added configuration table modifications to upgrade sql.
2011-04-04 14:20:31 -07:00
alena
6af0a1e9be
bug 9298: vm_type can be NULL in "nics" table (for placeholder nics)
...
status 9298: resolved fixed
2011-04-04 14:20:17 -07:00
alena
aba5395f96
bug 9293: 21 to 22 db upgrade - added missing constraints to load_balancer_vm_map
...
status 9293: resolved fixed
2011-04-04 14:06:57 -07:00
Alex Huang
e8720cc1f7
bug 9300: changed the network id to management from storage for ssvm
2011-04-04 13:53:51 -07:00
Edison Su
1545df1e1e
bug 9291: set name = display_name
...
status 9291: resolved fixed
2011-04-04 11:41:11 -04:00
Kelven Yang
2759eefcf5
Add weight to command to help future load management, fix issues found in system vm pooling
2011-04-04 09:33:42 -07:00
Edison Su
040c18613f
bug 9291: set name = display_name
...
status 9291: resolved fixed
2011-04-04 11:39:54 -04:00
Alex Huang
1eba5ea7a7
unittest failures fixed
2011-04-04 10:32:15 -07:00
Alex Huang
f8b8da1fa1
bug 9277: added table data_center_details
2011-04-04 10:07:35 -07:00
Alex Huang
01a0f75491
bug 9286: added constraint for domain id in data_center
2011-04-04 10:04:28 -07:00
Alex Huang
a93ebd21d2
bug 9281: fixed account_id can be null in db
2011-04-04 09:53:36 -07:00
Alex Huang
2dc5616766
bug 9287: change the names of the system service offerings
2011-04-04 09:39:08 -07:00
Alex Huang
380c275d54
bug 9290: fixed default to be 0
...
bug 9289: dropped domain column
2011-04-04 09:26:42 -07:00
Edison Su
aa4d678ed2
fix db upgrade error
2011-04-01 17:01:53 -04:00
Edison Su
59f622a2d9
fix db upgrade from 2.1.x to 2.2.1
2011-04-01 17:01:53 -04:00
Alex Huang
7ce3e22d36
bug 9259: added upgrade test suite
2011-04-01 17:01:53 -04:00
Alex Huang
611926bd90
bug 9259: added edison's changes as well
2011-04-01 17:01:53 -04:00
Alex Huang
af39fc5da0
bug 9259: removed some of the extra vpn statements duplicated from my change and chiradeep's change
2011-04-01 17:01:52 -04:00
Alex Huang
28da2ffb0e
bug 9259: why should destroyed be NULL to begin with. fix upgrade
2011-04-01 17:01:52 -04:00
alena
b876ad2530
224 to 225 upgrade - use schema*.sql instead of data*.sql
2011-04-01 16:25:56 -07:00
alena
bf588166ed
bug 7704: network limits cleanup.
...
status 7704: resolved fixed
For user vm:
* for default network, take limit from the corresponding service offering
* for all additional networks, take limit from the network offerings
For domainRouter/SSVM/CPVM:
* get info from the network offering
Added new config parameter: "vm.network.throttling.rate". If nw_rate is NULL for serviceOffering, this parameter would be used for default vm's network
2011-04-01 15:48:32 -07:00
Frank
7cd47376fd
Move all schema-*.sql to setup/db/db inline with db upgrade script
2011-04-01 15:47:16 -07:00
Edison Su
8161964bc2
fix db upgrade error
2011-04-01 14:21:26 -04:00
Edison Su
de2d650adf
fix db upgrade from 2.1.x to 2.2.1
2011-04-01 11:00:28 -04:00
Alex Huang
8b34065623
bug 9259: added upgrade test suite
2011-04-01 10:32:23 -07:00
Alex Huang
420157071b
bug 9259: added edison's changes as well
2011-04-01 09:55:42 -07:00
Alex Huang
d14b04f9a5
bug 9259: removed some of the extra vpn statements duplicated from my change and chiradeep's change
2011-04-01 09:41:26 -07:00
Alex Huang
a8454ad0eb
bug 9259: why should destroyed be NULL to begin with. fix upgrade
2011-04-01 09:33:37 -07:00
kishan
7f08061e72
Added missing semi-colon and corrected usage unit test error messages
2011-04-01 12:06:52 +05:30
Kelven Yang
ea95ac1808
bug 8713 : finalize the implementation of supporting system vm pooling
2011-03-31 17:14:09 -07:00
kishan
9a29e1d926
Added missing semi-colon and corrected usage unit test error messages
2011-03-31 18:16:44 +05:30
Alex Huang
bf13d2cbec
added missing changes from schema changes previously
2011-03-30 13:23:56 -07:00
Alex Huang
971915a26a
added missing changes from schema changes previously
2011-03-30 12:17:20 -07:00
Frank
6d005313bc
Move schema files to setup/db directory in line with DB upgrade code
2011-03-30 12:14:42 -07:00
Murali Reddy
1b251a5fc8
Bug 4061: support for Microsoft Hyper-V changes- part 1
2011-03-30 18:48:51 +05:30
alena
2af46789cb
bug 9192: multiple improvementes to listVms command.
...
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 19:18:30 -07:00
Kelven Yang
64148f46f4
bug 8713: supporting structures for SSVM load management
2011-03-29 18:52:54 -07:00
alena
46a80a599a
bug 9192: multiple improvementes to listVms command.
...
1) No longer do multiple searches involving "domain" table; only one join with domain is being done.
2) Do join with domain table only when command is executed by domainAdmin
3) Added index for "path" field in "domain" table
4) No longer do joins with account table as account_id is already present in vm_instance table.
2011-03-29 18:42:44 -07:00
will
38e95455d1
rollbacked create-schema foreign key constraint until we can figure out a way to make sure server-setup.xml isn't broken by this for developers.
2011-03-29 17:23:18 -07:00
will
0cd415c8d2
rollbacked create-schema foreign key constraint until we can figure out a way to make sure server-setup.xml isn't broken by this for developers.
2011-03-29 17:16:29 -07:00
Alex Huang
6bd978abfe
bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache
2011-03-29 11:31:59 -07:00
Alex Huang
f2e692099e
bug 9192: fixes the caches that are gone due to configuration server uses the same dao without cache
2011-03-29 11:31:23 -07:00
prachi
e87ffdec3e
Database upgrade from 222 to 224 for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts)
...
- Adding column and index 'allocation_state' to clusters and pods and zones and hosts
2011-03-29 11:05:05 -07:00
prachi
5ded9af0f3
Database upgrade from 222 to 224 for Bug 6873 - disable/enable mode for clusters (and pods and zones and hosts)
...
- Adding column and index 'allocation_state' to clusters and pods and zones and hosts
2011-03-29 11:01:36 -07:00
alena
d3357c6691
Set network limit to be 0 by default for Control/Management/Storage/Public networks (these networks are used by SSVM/ConsoleProxy/domR)
2011-03-28 15:48:11 -07:00
alena
cf0020d1df
Fixed 221-222 db upgrade. Fixes were added to 222-224 db upgrade script
2011-03-28 11:16:13 -07:00
alena
fdf0f589af
bug 8902: added Removed field to "cluster" table
...
status 8902: resolved fixed
2011-03-28 10:50:09 -07:00
alena
08036d5312
GuestIP field can be null in network_offerings table - fixed 221 to 222 upgrade script
2011-03-26 17:06:28 -07:00
alena
04551d59ea
Added missing config value to 221-222 upgrade script. It was present in 223 branch, but missing in master
2011-03-26 16:52:28 -07:00
alena
530cb9e77b
Fixed 221 to 222 upgrade script - guestIPType can be null in network offering
2011-03-26 16:32:45 -07:00
alena
a8cc285ca9
bug 8934: set correct guest_type for default Xen Centos template. DB upgrade script is also updated.
...
status 8934: resolved fixed
2011-03-25 16:05:06 -07:00
alena
92f01ba143
2.1.x to 2.2.2 upgrade for Domain level vlans
2011-03-25 15:23:18 -07:00
alena
33fff1262e
Changes to 222-224 db upgrade
2011-03-24 14:41:01 -07:00
anthony
6e60539427
bug 9140: 221to222 upgrade fix
...
INSERT INTO `cloud`.`guest_os` (id, category_id, display_name) VALUES (138, 7,
'None');
status 9140: resolved fixed
2011-03-24 14:05:40 -07:00
alena
dee2e59fb3
bug 8798: delete zone is fixed
...
status 8798: resolved fixed
2011-03-24 13:32:31 -07:00
David Noland
978a9c7df4
Show more meaningful error message if db deployment fails when "mysql" is missing from PATH.
2011-03-24 12:26:37 -07:00
Kelven Yang
bfc420f22e
Fix sql syntax error, a coma is missing
2011-03-24 10:27:15 -07:00
prachi
923f562aa8
Bug 6873: disable/enable mode for clusters (and pods and zones and hosts)
...
- Added a new flag 'allocation_state' to zone,pod,cluster and host
- The possible values for this flag are 'Enabled' or 'Disabled'
- When a new zone,pod,cluster or host is added, allocation_state is 'Disabled' by default.
- For existing zone,pod,cluster or host, the state is 'Enabled'.
- All Add/Update/List commands for each of zone,pod,cluster or host can now take a new parameter 'allocationstate'
- If 'allocation_state' is 'Disabled', Allocators skip that zone or pod or cluster or pod.
- For a root admin, ListZones lists all zones including the 'Disabled' zones. But for any other user, the 'Disabled' zones are not included in the response.
- For any usecase that creates/deploys/adds/registers a resource and takes in zone as parameter, now we check if the Zone is 'Disabled'. If yes then the operation cannot be performed by a user other than root-admin. Add volume, snapshot, templates are examples of this usecase.
- To enable the root admin to test a particular pod/cluster/host, deployVM command takes in 'host_id' parameter that can be passed in only by root admin.
If this parameter is passed in by the admin, allocators do not search for hosts and use that host only. StoragePools are searched in the cluster of that host.
If VM cannot be deployed to that host, allocators and deployVM fails without retrying
2011-03-23 22:15:35 -07:00
Frank
a8a5d18d91
Clean async Job
...
align vm_template with new systemvm template
2011-03-23 16:06:52 -07:00
alena
f84c81a47d
bug 8533: all IP Address fields in DB have char(40) type
...
status 8533: resolved fixed
2011-03-22 14:06:14 -07:00
Alex Huang
7103d30f57
router restarted but needs template update
2011-03-22 09:46:41 -07:00
Alex Huang
109c4eae0e
restarting domr is close to working
2011-03-21 17:56:00 -07:00
alena
abb2e2b2ff
bug 8831: partial checkin for Domain specific Networks (includes DB changes)
2011-03-21 15:05:07 -07:00
alena
505848bbbe
Fixed unittest
2011-03-21 10:29:11 -07:00
prachi
5bbffcaa97
Changes to add 'cluster_id' to 'op_host_capacity' table for Db upgrade from 222 to 224
2011-03-18 12:14:48 -07:00
Alex Huang
8723727de1
added 2.2.2 to 2.2.4
2011-03-18 10:41:58 -07:00
Alex Huang
d3ecf719ce
looks like everything is working except for snapshots
2011-03-18 09:14:05 -07:00
Alex Huang
f12f7da0ba
fixed everyting to upgrade from 2.1.7 to 2.2.2
2011-03-17 16:33:42 -07:00
alena
579a9294bf
Removed vm_type update in DB 217 to 221 upgrade
2011-03-16 15:57:41 -07:00
alena
6be1681647
DB upgrade for Basic zone: upgrade domR/ssvm/consoleProxy nics
2011-03-16 14:14:14 -07:00
Chiradeep Vittal
8d791777db
Introduce zone (datacenter) details
2011-03-15 15:44:36 -07:00
Frank
ffb900fc86
Bug 8208 - bare metal provisioning
...
Add useExternalDhcp option to createPodCmd
2011-03-14 16:42:59 -07:00
Edison Su
eaf9414a52
bug 8939: add management.network.cidr
...
status 8939: resolved fixed
2011-03-09 16:32:18 -05:00
Chandan Krishna Reddy Purushothama
3b2d4c3fb5
Additions made to the script inorder to avoid VM login using "saved_password" string
2011-03-09 15:54:18 -08:00
Edison Su
163af9a3b6
do not detect ip when you just deploy database
2011-03-09 15:28:55 -05:00
alena
a50950bbef
221 to 222 DB upgrade for InstanceGroup. Unit test is included
2011-03-09 08:34:08 -08:00
anthony
c013d0a6c6
fixed unit test
2011-03-08 20:04:28 -08:00
anthony
9e9ec24c70
remove snapshot_policy_ref index
2011-03-08 18:03:16 -08:00
anthony
b32e8f23a6
bug 8712: since we add multiple concurrent policy back in 2.2.3, we only support upgrade from 2.1.7 to 2.2.3, otherwise some policies will be removed silently
...
need test this upgarde
2011-03-08 17:10:27 -08:00
anthony
5b1a421e62
bug 8712: prepare from snapshot db migration
2011-03-08 17:10:27 -08:00
alena
fe267c2cb2
Basic zone 221 to 222 DB upgrade. Unit test is included
2011-03-08 15:32:55 -08:00
Alex Huang
35275c1615
added user ip address upgrade
2011-03-07 17:53:43 -08:00
Kevin Kluge
69c4a59696
resolved fixed: 8853
...
update to handle multiple NICs and non-virtual-networking cases.
2011-03-07 13:26:01 -08:00
alena
94fb0612f2
Fixed DB upgrade script - vm_type field can be NULL
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
2011-03-05 10:37:57 -08:00
Alex Huang
bda3264a77
networks are generated now from the domr
2011-03-04 18:07:26 -08:00
Alex Huang
f7ea6e17cd
break upgrade fix upgrade
2011-03-04 18:07:26 -08:00
abhishek
ade92456df
bug 8601: merge from 2.2.2 to master
2011-03-04 16:31:58 -08:00
abhishek
5b0f247b46
bug 8601: more db migration
2011-03-04 14:08:51 -08:00
abhishek
b6b0a22160
bug 8601: more db migration
2011-03-04 13:56:18 -08:00
alena
7cf4c375c2
cloud-set-guest-sshkey script (used by sshKey pair feature, has to be installed on the vm template) is a part of our code base now
2011-03-04 11:31:18 -08:00
Alex Huang
40db230095
more changes for db upgrade
2011-03-04 11:09:24 -08:00
keshav
1be21effc9
Changed password script to work even if multiple password servers are listening for requests
2011-03-03 11:52:53 -08:00
keshav
25cd4a5768
Changed password script to work with multiple NICs.
2011-03-02 18:30:19 -08:00
prachi
9ec4911285
Removing the scripts to add host_tags table from 21 to 22 DBUpgrade script, since 2.1.7 already has the necessary table.
2011-03-02 17:48:22 -08:00
abhishek
efcc1b9aa8
bug 8601: another upgrade step for network offerings
2011-03-02 14:37:39 -08:00
abhishek
e9d87d8d76
changes to security grps upgrade (ant unitttest passes)
2011-03-02 14:35:55 -08:00
nit
e772bfa00b
bug 8812: DB upgrade (2.1 - 2.2) changes for template. ant unittest successful
...
status 8812: resolved fixed
2011-03-02 13:39:03 -08:00
Alex Huang
f3b58a4b0a
removed a bunch of scripts that doesn't pass unittest
2011-03-02 00:16:54 -08:00
Alex Huang
d0a5816999
Added Premium upgrade
2011-03-01 23:47:36 -08:00
abhishek
0f53f2a2c7
bug 8601: changing traffic_type to guest_type
2011-03-01 17:57:55 -08:00
abhishek
d50a6a2e97
bug 8601: more upgrade fine tuning
2011-03-01 17:50:51 -08:00
abhishek
a3986f6691
added another upgrade step
2011-03-01 16:22:29 -08:00
abhishek
7fe999da97
bug 8601: adding another upgrade step for networks table
2011-03-01 16:15:08 -08:00
abhishek
dbb03006b7
adding a migration step from 221 to 222 using alex's framework. this should only be used for alex's upgrade from 217 to 22, for 221 to 222 for 222 release, we still are providing the bash script for upgrade.
2011-03-01 16:00:14 -08:00
abhishek
821277ecd1
reverting the change
2011-03-01 11:17:54 -08:00
abhishek
861874b51f
adding netapp related tables for migration from 2.1.x to 2.2.1
2011-03-01 11:09:47 -08:00
abhishek
f484c27a1f
bug 8601: adding another step for network offerings table
2011-03-01 10:30:27 -08:00
abhishek
343e06d116
bug 8601: adding another upgrade for data center table
...
status 8601: resolved fixed
2011-03-01 09:36:22 -08:00
anthony
3537c7e1a0
fix schema
2011-02-28 18:05:44 -08:00
abhishek
1014f93009
adding migration scripts for sec grp related stuff for 2.1.7 to 2.2.1
2011-02-28 17:58:40 -08:00
prachi
cf68ad7bc6
DB migration script for 2.1.7 to 2.2.1 - Changes needed for creating new host_tags table
2011-02-28 16:30:45 -08:00
anthony
cd27202a26
bug 8216: create volume from snapshot can take a disk_offering_id, if disk_offering_id is not specified, use the one from original volume
...
status 8216: resolved fixed
2011-02-28 16:28:41 -08:00
Alex Huang
8571d04034
unit testing is working again
2011-02-28 16:21:19 -08:00
prachi
889827b63a
Bug 7845 - Productize DeploymentPlanner
...
Bug 7723 - merge or re-write host tagging into master / 2.2
Bug 7627 - Need more logging for Allocators
Bug 8317 - Add better resource allocation failure messages
Changes for Deployment Planner to use host and storagePool allocators to find deployment destination.
Also has the changes for host tag feature.
Improved the logging for allocators.
2011-02-28 13:47:51 -08:00
abhishek
2a95a95d18
checking to see if mysql is running
2011-02-28 13:43:38 -08:00
anthony
1970161844
bug 8714: support paraleel recursive snapshot
...
snapshot doesn't depend on volume any more, volume can be removed even there are snapshots on this volume
status 8714: resolved fixed
2011-02-25 22:17:13 -08:00
abhishek
5c4078e296
bug 8601: adding the upgrade script from 2.2.1 to 2.2.2
2011-02-25 17:14:57 -08:00
abhishek
46994153a9
bug 8601: these are the 2 sql files for the cloud and cloud_usage db migration. I have tested some of the most common cases, as well as some uncommon cases (create a direct and virtual network in same zone).
2011-02-25 17:06:26 -08:00
Edison Su
8a40371288
refactor security group in advanced network mode: use direct tagged network instead of public network
2011-02-24 19:58:18 -05:00
alena
039b11b9ba
1) Added guestIpType to the network offering; create/listNetworkOffering apis got changed accordingly.
...
2) Set traffic Type to be Guest for Direct/Virtual non-system default network offerings. Use this guestIpType during the network creation/implementation
2011-02-24 15:36:01 -08:00
Alex Huang
a6ac728761
cleanup script is also running now as well
2011-02-24 11:35:49 -08:00
kishan
8eb665246e
bug 7935: Included hypervisor type to vm usage records
...
status 7935: resolved fixed
2011-02-24 20:08:12 +05:30
kishan
f138552f36
bug 8603: Included netwrok_id in network usage records
...
status 8603: resolved fixed
2011-02-24 15:31:59 +05:30
Edison Su
adbd20ca5a
bug 8655: add security group for direct tagged network
2011-02-23 15:53:14 -05:00
Alex Huang
2002abd7c3
fixed copy and paste errors
2011-02-22 19:33:25 -08:00
Alex Huang
b6056bc0b1
missing files
2011-02-22 19:12:10 -08:00
Alex Huang
78f5c6cc47
schema converted over.
2011-02-22 18:23:05 -08:00
Alex Huang
c22b37e402
latest work on db migration
2011-02-22 18:23:05 -08:00
kishan
99b5f7279d
added queries to handle unit MB to bytes change for volume usage
2011-02-22 17:12:22 +05:30
alena
cd90bc7166
bug 8412: allow to delete network when it has dhcp/domRs
...
status 8412: resolved fixed
1) Don't count domR/Dhcp nic in active nics.
2) Removed domR cleanup thread; Network shutdown thread would shutdown domR/dhcp when network has no active vms
2011-02-18 10:31:59 -08:00
abhishek
2275d8d833
bug 8452: introducing a state for domain; blocking creation of accounts/users whilst domain is in an inactive state
2011-02-17 15:17:45 -08:00
Kelven Yang
45eb1b4d3c
Fix syntax error in create-schema.sql
2011-02-17 11:26:34 -08:00
Alex Huang
6b0d4947ed
bug 8529: propagated to master. Added junit test support to ant
2011-02-16 17:40:58 -08:00
kishan
70b5a7224f
2.2beta4 to GA upgrade changes
2011-02-16 13:43:42 +05:30
Edison Su
8887b6c443
add correct mdsum
2011-02-15 18:13:50 -05:00
Edison Su
c6e84374cc
direct boot info to vga console instead of serial console for user vm template
2011-02-15 18:04:24 -05:00
alena
c11a9c18e2
bug 8381: disassociateIpAddress is async now
2011-02-15 12:24:18 -08:00
Kelven Yang
d9d128ee9d
Incremental refactoring - retire host_master table
2011-02-15 10:56:04 -08:00
alena
d80caf24fd
bug 8564: Changed implementation for static nat rules. Now we use separate interfaces instead of PortForwardingRules interfaces.
...
status 8564: resolved fixed
2011-02-15 10:45:28 -08:00
Alex Huang
7dd54f079b
started vms with these latest
2011-02-11 17:03:04 -08:00
Alex Huang
b0f0efa29b
more changes to make it work better in a cluster
2011-02-11 17:03:04 -08:00
kishan
6e9ef0d988
2.2beta4 to GA db changes
2011-02-11 20:37:13 +05:30
nit
e901ccfe07
bug 8498: Make osTypeId optional. Introdue a new OS type None to be shown for non bootable ISOs. Add check that when the ISO is bootable a valid osTypeId gets passed
2011-02-11 18:44:26 +05:30
alena
4054d7e2b5
Store ip address as String instead of Long in user_ip_address and port_forwarding_rules tables
2011-02-09 19:35:03 -08:00
abhishek
da115c4281
adding index at end, removing redundant view
2011-02-09 18:47:14 -08:00
abhishek
133f0d9eb3
some more help
2011-02-09 17:35:23 -08:00
abhishek
487aa4becc
more changes to the upgrade script
2011-02-09 16:58:17 -08:00
abhishek
d8273c7feb
adding the sql file for db migration from 22beta4 to 22GA. This has the schema and data changes for both cloud and cloud_usage databases. The corresponding java file is already checked in
2011-02-09 11:26:27 -08:00
kishan
77719be46a
bug 8465: track network usage per router in user_statistics table
...
status 8465: resolved fixed
2011-02-09 18:38:41 +05:30
alena
b4ee5fa1ea
Renamed get_password_from_domr to cloud-set-guest-password
2011-02-08 17:31:54 -08:00
Frank
c38aff60f4
Bug 8275 - SELinux error message provides incorrect directions
...
status 8275: resloved fixed
2011-02-07 13:39:35 -08:00
alena
54236677f3
bug 8419: changed domR password reset script to work with 2.1.x and 2.2 password scripts on userVm side
...
status 8419: resolved fixed
2011-02-07 11:04:55 -08:00
anthony
9199b59cc1
comment out snmp configuration in server-setup.xml
2011-02-04 20:09:04 -08:00
anthony
e14b8311cc
bug 7563: create snapshot in async create method
...
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
nit
5469916060
bug 7522 : Extract ISO/Template - By default these entities wouldnt be extractable, GLOBAL ADMINS - always allowed to extract, OTHERS - allowed to extract if - 1) Its own template and extractable=true 2) Its not its own template but public=true and extractable=true.
...
status 7522: resolved fixed
2011-02-04 17:51:42 +05:30
abhishek
5f9e379327
updating md5 checksums for new system vm templates
2011-02-02 12:35:29 -08:00
alena
ff281af035
bug 8253: get_password_from_domr is a part of source code now. It should be located under /usr/bin/ directory on the Management server once cloudstack software is installed
...
status 8253: resolved fixed
2011-02-01 17:40:00 -08:00
alena
f6f8a35c75
bug 8251: introduced "id" field for public IP address. In the DB id is a primary key in user_ip_address table; ip_address and source_network_id is a composite key
...
status 8251: resolved fixed
2011-02-01 12:16:18 -08:00
kishan
92bf106ab9
including host type in network stats
2011-01-31 19:36:32 +05:30
Alex Huang
f9a9698d96
more unused fields removed
2011-01-28 15:37:00 -08:00
abhishek
5a008fb410
bug 8212: applying patch
...
status 8212: resolved fixed
2011-01-28 15:27:16 -08:00
abhishek
e13e136f07
bug 8212: applying patch
...
status 8212: resolved fixed
2011-01-28 15:21:20 -08:00
anthony
68b86004ea
remove preallocLun
2011-01-28 14:02:21 -08:00
abhishek
5d18c4c527
bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
...
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony
96d9776c20
remove preallocatedLun
2011-01-28 12:36:31 -08:00
alena
6d72b45379
Set "msid" field to be unsigned for mshost table
2011-01-26 11:12:00 -08:00
alena
347fa866d8
Fixed constraint for op_ha_work table to use correct field name (msid instead of id)
2011-01-26 10:52:19 -08:00
alena
731e78937f
Added 2 new api commands for 1-1 nat feauture: enable/disableOneToOneNat. Here is the 1-1 nat api summary:
...
* to enable 1-1 nat for ip/vm use enalbeOneToOneNat api
* to open port range (or multiple port ranges) use createIpForwardingRule api.
* to delete one port range use deleteIpForwardingRule api.
* to disable 1-1 nat use disableOneToOneNat api.
2011-01-26 09:35:32 -08:00
Alex Huang
c70113835d
removed unused columns
2011-01-26 09:16:57 -08:00
alena
a96f8f9575
Refactored 1-1 NAT feature:
...
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
Frank
38ab26bcb0
ovs tunnel network -- add lock entry in ovs_tunnel_account
2011-01-24 13:47:34 -08:00
nit
1bc05b8791
bug 8142: Making SystemVM and base CentOS template names consistent.
...
status 8142 : resolved fixed
2011-01-24 18:24:20 +05:30
Frank
276e37115b
open vswitch - Implement gre tunnel based network that doesn't use vlan
...
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek
dcdbd0f515
adding comments for migration
2011-01-19 17:22:45 -08:00
abhishek
afcb202923
bug 7900: removing obsolete network domain param
...
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
Alex Huang
16bb33979d
bug 7896: Added check for template constraint in template_spool_ref table. Removed On delete cascade on the template_host_ref table
2011-01-19 17:05:58 -08:00
nit
421d150f7f
DB upgrade script from 2.2beta3 to 2.2beta4
2011-01-18 20:08:44 +05:30
Chiradeep Vittal
2e018d46be
bug 7929: when account is deleted, ensure that related security groups are deleted
2011-01-13 15:40:29 -08:00
Ragnar B. Johannsson
4bb42e43cc
Get UserVm details via UserVmDao.loadDetails().
...
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
Ragnar B. Johannsson
83b3580c32
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
...
Conflicts:
client/tomcatconf/commands.properties.in
core/src/com/cloud/vm/UserVmVO.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson
3e59707dd2
Added user_vm_details table and corresponding access objects.
...
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
kishan
6bb4af8381
bug 6947: removed network type from service offering APIs
...
status 6947: resolved fixed
2011-01-12 19:13:09 +05:30
Frank
870d0835a5
bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
...
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
Alex Huang
6e6e8ff876
better expunge and destroy of volumes
2011-01-11 18:02:09 -08:00
Alex Huang
7f597e594c
added work list to vm start
2011-01-11 18:02:09 -08:00
Alex Huang
ad4ed5b2fd
added hypervisor type to vm
2011-01-11 18:02:09 -08:00
alena
5dfe399c1a
bug 7803: introduces new parameter "is_default" for the network. DeployVm requires 1 default network to be specified, other networks (if any) have to be secondary
...
status 7803: resolved fixed
Fix overview:
1) Parameter "isDefault" should be defined as a part of createNetwork
* Virtual network is always default
* Parameter can be specified only for DirectNetwork
* Once parameter is set, there is no way to change it as we don't provide updateNetwork command.
2) Added isDefault parameter to listNetworks command so you can sort by that.
3) DeployVmCmd:
* at least one default network should be set
* if more than 1 default network is set - throw an error
4) Return isDefault information as a part of Nic object for the vm response in deploy/stop/start/listVm
2011-01-11 14:22:26 -08:00
Frank
c6683c2eab
bug 7722: open vswitch -
...
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
Frank
9d2916ffcc
it works
2011-01-08 16:28:47 -08:00
Frank
c94b6acadf
bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next
2011-01-08 16:22:59 -08:00
Frank
5c01c42ba7
fix bug 7722, code complete basic architecture
2011-01-08 16:20:39 -08:00
Alex Huang
e496a99c1c
added processing for events
2011-01-07 13:42:43 -08:00
Ragnar B. Johannsson
32c68e1583
API cmds for SSH-keys manipulation and VM passwds retrieval.
...
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena
916b516d13
bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
...
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
prachi
b46a53579f
DB schema changes that will be needed for the host tags feature. This commit does not include any code changes for the feature.
2011-01-05 14:03:44 -08:00
Kelven Yang
ce517a890f
Add cluster details to prepare supporting Xen host/cluster mode in vmware
2011-01-04 02:41:49 -08:00
Greenqloud
6dbf6fe67a
adding ssh keypairs and passwords
2010-12-31 17:16:33 +00:00
Kelven Yang
e7749afdfe
Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume
2010-12-29 21:54:17 -08:00
keshav
3da09345c9
Changed schema to keep track of which public IP address and host a user statistics entry is for
2010-12-29 19:14:35 -08:00
Alex Huang
a10ce22f99
remote access vpn from management server side is done
2010-12-29 12:13:35 -08:00
Alex Huang
090bc1edb4
more changes to fix up the merge
2010-12-29 09:32:54 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
alena
085824d524
1) Updated schema for data_center - provider fields can have NULL values.
...
2) Fixed deletePortForwarding/deleteIpForwardingRule commands to return false when delete rule fails.
2010-12-28 16:22:36 -08:00
alena
88afdb3313
Made NetworkId parameter required for Vlan, modified DB schema and corresponding Managers' methods. For Virtual and Direct untagged vlan networkId is got from default system Public/Public-DirectPodBased networks accordingly
2010-12-28 15:15:24 -08:00
abhishek
cd73ff54a5
adding an upgrade script
2010-12-28 09:40:06 -08:00
abhishek
719f3984d2
changing domain.suffix to guest.domain.suffix, along with associated deps
2010-12-27 17:00:07 -08:00
alena
3775ba043e
Added Services (dhcp, gateway, portForwarding, etc.) to NetworkOffering.
2010-12-23 09:40:15 -08:00
edison
882fe2e213
fix vmware template url
2010-12-22 11:04:28 -08:00
kishan
a7626fc991
bug 7504: Added usage events
2010-12-22 12:28:05 +05:30
kishan
fc8138bcfa
bug 7504: Added new usage event table
2010-12-22 12:10:38 +05:30
abhishek
078a377b48
bug 7607: changing sizes for default disk offerings
...
status 7607: resolved fixed
2010-12-21 16:01:15 -08:00
anthony
57de81983f
add XenServer 5.6 FP1 specific guest os type
2010-12-20 15:47:57 -08:00
edison
6c9d3da4fd
bug 7500, 7447: add external url for template download
...
status 7500: resolved fixed
status 7447: resolved fixed
2010-12-20 11:19:53 -08:00
anthony
c72527a747
add DB migration for cluster.type
2010-12-17 13:49:01 -08:00
anthony
6419e49977
add guid in cluster table
2010-12-16 16:28:56 -08:00
abhishek
8a002527de
updating the config var name to the refactored value
2010-12-16 16:22:51 -08:00
abhishek
cec26017a2
bug 6361: added some more comments
2010-12-16 15:37:19 -08:00
abhishek
5bb4abac93
bug 6361: changing the index file to updated table name
2010-12-16 15:37:19 -08:00
abhishek
5154ba1539
bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying
2010-12-16 15:37:19 -08:00
Frank Zhang
032f321363
catch exception if mysqld has not been started when
...
perform 'cloud-setup-database'
2010-12-16 15:29:06 -08:00
Alex Huang
e613ecaba0
unit test passed
2010-12-16 14:04:32 -08:00
Kelven Yang
65c094a2c0
Add a API to allow adding external hypervisor cluster
2010-12-16 10:00:42 -08:00
alena
d673686f5f
Added Availability field for NetworkOffering. Added updateNetworkOffering API command
2010-12-13 18:28:33 -08:00
alena
65f53e3910
1) Create default networks for zones specified in server-setup.xml file
...
2) Direct pod based netwoks is taken care by DirectNetworkGuru now
2010-12-13 14:03:19 -08:00
alena
3ceffaf5c3
Use "revoke" istead of "pending" field in load_balancer_vm_map table.
2010-12-10 17:53:04 -08:00
Alex Huang
7cfbd5b7e0
missing mac fields
2010-12-10 17:20:31 -08:00
Alex Huang
790bf40be6
Forgot what i change but must be important
2010-12-10 17:20:31 -08:00
alena
88d6ff2136
bug 7467: release IP address works now.
...
status 7467: resolved fixed
Fixed all load balancer commands to work with the latest networking code
2010-12-10 15:12:32 -08:00
abhishek
5d419be638
bug 7476: fixing the pod creation issue
...
status 7476: resolved fixed
2010-12-10 13:24:57 -08:00
Alex Huang
8ac694bf55
changes from testing
2010-12-10 09:29:23 -08:00
Alex Huang
68932929fb
Changes to how public ip addresses are allocated
2010-12-10 08:38:20 -08:00
keshav
198cab4dee
Added support code for external firewalls and loadbalancers. Added new host types and startup commands, and enabled NicVO to reserve IPs for external network resources.
2010-12-09 11:40:02 -08:00
alena
1f7d74dbec
1) Disabled updatePortForwardingRule api command.
...
2) Added vm information (id, name, display_text) to all port forwarding rule responses.
2010-12-08 14:28:37 -08:00
Alex Huang
2c42ebbf71
ip assoc working
2010-12-08 09:03:34 -08:00
Alex Huang
f794abfdef
ip addresses are now separated from domR
2010-12-08 09:03:34 -08:00
alena
e279389c2b
Added created/removed fields to Nics and Networks tables.
2010-12-07 18:08:05 -08:00
Alex Huang
d890189a92
missing default values for providers
2010-12-06 15:20:13 -08:00
Alex Huang
f147bf5f94
start vm not working again
2010-12-06 14:17:53 -08:00
Alex Huang
fcdd20ca06
more checkin
2010-12-06 14:17:53 -08:00
Alex Huang
cf032b7a3a
more changes
2010-12-04 17:33:02 -08:00
edison
2827ab2e25
fix capacity
2010-12-04 14:59:39 -08:00
alena
150d684e05
1) isShared attribute belongs to Network now, not NetworkOffering
...
2) Added list by networkId support to listVirtualMachines command.
3) Implemented search by zoneId in listNetworks command
2010-12-03 19:07:08 -08:00
Kelven Yang
cc7dc5e6be
Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare
2010-12-03 18:59:23 -08:00
Frank Zhang
4445b89d72
add database name before table name
2010-12-03 16:35:08 -08:00
anthony
1c4c95f81f
snapshot id is unique
2010-12-03 12:14:10 -08:00
anthony
4f2790c09b
move db migration to script
2010-12-03 11:24:25 -08:00
root
8a4d170892
correct misspelling
2010-12-03 10:06:48 -08:00
Alex Huang
5db9ba61d9
extra comma
2010-12-03 09:47:12 -08:00
Alex Huang
bb78986ddb
port forwarding working
2010-12-03 08:48:02 -08:00
Alex Huang
223688d0bf
Port forwarding rules and load balancing rules rewrite
2010-12-03 08:48:02 -08:00
nit
b543faeeee
bug 7366 : Removing the bootable field from "createTemplate","registerTemplate","listTemplate" and "updateTemplate" commands.
...
Making some db changes for a successful ant deploydb
status 7366: resolved fixed
2010-12-03 18:31:08 +05:30
alena
f8a687ab23
1) Implemented create/list/deleteNetworkOffering create/delete/listNetwork APIs.
...
2) Added networkIds parameter to deployVMCmd - accepts list of networks ids separated by coma.
3) Changed domainRouter/systemVm/userVm response to return list of Nics associated with the vm.
2010-12-02 19:30:17 -08:00
anthony
6f1eb4bf44
bug 7144: return snapshotId with jobid
...
1. manual and recursive snapshot use the same command
2. upgrade from 2.2 beta1 to beta need to execute schema-22beta1to22beta2.sql and data-22beta1to22beta2.sql
3. upgrade from 2.1GA to 2.2GA need to execute schema-21to22.sql and data-21to22.sql
status 7144: resolved fixed
2010-12-02 19:23:34 -08:00
nit
7e4ee81103
Altering db schema - adding physical_size. This was causing runtime exceptions while running the cloud stack
2010-11-30 22:26:36 +05:30
anthony
d3325de5ae
1. limit xs-tools in xenserver related java file
...
2. don't populate xs-tools to template_host_ref
3. introduce a new template type PERHOST, which doesn't need to be populated to secondary storage
2010-11-29 18:21:08 -08:00
anthony
30fa6530f9
bug 6088: track template physical size in template_host_ref table
...
add migration from 21 to 22
after migration , SSVM needs to stop/start
status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
nit
8ea124ae79
bug 7046 : extracting templates should allow for exclusion of some templates. An attribute "extractable" would be set on templates by the template owner at upload time. It would specify if we allow the template to be extracted from the system. Default would be true ie "allow extraction". If set to false, it would not be possible to extract the template or any derivatives of the template. For example, volumes, snapshots or templates from that template.
...
status 7046: resolved fixed
2010-11-24 18:37:54 +05:30
abhishek
3d4b8ab4a0
bug 7263: changing the param name. Found a couple of bugs whilst testing this, the validation of vol size whilst cust vol creation was missing. Adding the same.
...
status 7263: resolved fixed
2010-11-23 16:20:30 -08:00
Alex Huang
5b4a6f27db
Changed networkconfigurations to network as per Sheng's suggestion
2010-11-19 15:44:42 -08:00
Chiradeep Vittal
07711744ce
Config values for VPN
2010-11-18 18:52:21 -08:00
Kelven Yang
3866926598
remove hard-code of vcenter server record from template.sql
2010-11-18 11:07:10 -08:00
Chiradeep Vittal
4c7bb302bc
bug 6971: Use PSK length configuration
...
validate global configurations
2010-11-17 16:32:50 -08:00
alena
88fc03f1b1
Set networktype default value to be "Basic" in create-schema.sql
2010-11-16 17:11:53 -08:00
alena
dae39942f1
bug 7192: Added networktype parameter for the zone
...
status 7192: resolved fixed
1) Zone has networktype parameter now, 2 values are supported: Basic and Advanced. "networktype" field is created in data_center table. The parameter is being set at creation time; we don't allow to modify it with updateZone command.
2) Only vlan of Untagged Direct type can be created in Basic network zone; any other vlan except for Untagged Direct can be created in Advanced zone
3) Allow NULL guest vlan range for the zone. Only vlan of Direct type can be created in zone with NULL guest vlan.
4) "Default" zone is Basic by default.
5) Changed "vnet" parameter to "vlan" in updateZone command to be consistent with createZone
2010-11-16 16:54:44 -08:00
Alex Huang
ed31497188
ComponentLocator changes
2010-11-16 04:28:15 -08:00
abhishek
d520f0af5b
adding a column in user_ip_address table called one_to_one_nat; which is a boolean to tell us if the ip is a nat ip. This is false by default, and is set to true when we nat the ip. Also, this value is returned in the list public ip addrsses api call.
...
finally, the value is set to false when we delete the ip forwarding rule.
2010-11-15 12:39:24 -08:00
edison
8ca6f1669e
start2command fro secondarys storage vm and make it work for KVM
2010-11-11 17:04:10 -08:00
abhishek
f712cfcc46
removing the port to fwrule map table, as we are not supporting this anymore
2010-11-11 13:07:26 -08:00
abhishek
26b75fc05d
this is a good point to check the code in; have completed a part of the enhancement's code; with create and delete ip forwarding rule commands and the skeleton for port to rule map with associated table
2010-11-11 13:07:26 -08:00
Alex Huang
edf9ddd464
added reservation id to vnet
2010-11-08 12:29:38 -08:00
Alex Huang
aca8ef79cd
a bunch of other changes for network refactoring
2010-11-08 12:29:37 -08:00
Kelven Yang
e02a8c9d9f
Support for Chiradeep's new template
2010-11-05 18:37:29 -07:00
Alex Huang
5f90a8adb0
Checking in to do git pull...stupid git
2010-11-05 16:10:22 -07:00
Alex Huang
1fe446002b
stop vm is now formalized
2010-11-05 16:10:22 -07:00
Alex Huang
e27bb550fe
Harmony among gurus
2010-11-03 21:18:31 -07:00
abhishek
63298da434
adding the new column to the upgrade script
2010-11-03 17:45:52 -07:00
abhishek
2303afe55c
making changes for disk offerings with a new column called customized being added, for the UI to cosume whilst deploying vm with an arbitrary volume size. The UI will use this value to set the right size and the offering will ensure the right tags are taken.
2010-11-03 17:45:52 -07:00
Chiradeep Vittal
58b8d10c6b
add vpnusersdao into components.xml, schema migration, add another constraint
2010-11-03 14:02:13 -07:00
Chiradeep Vittal
b6d3b3c184
users for vpn -- data model
2010-11-03 14:02:12 -07:00
edison
da56df0604
add default vmware template
2010-11-03 13:45:49 -07:00
edison
50cf96fa61
remove unused vmware template
2010-11-02 19:46:34 -07:00
Alena Prokharchyk
694a8231ef
Build responses in ApiResponseHelper for the deploy/start/stop/reboot/recover/listVm create/list snapshot/snapshotPolicies
2010-11-02 18:16:45 -07:00
abhishek
3bab616478
After discussing with Alex, it was agreed that there is no need to mgmt server level locking using the mgmt_server_id. This makes the code easier, as we have one parent acquire and release mechanism, and the complexity is reduced. In accordance, we do not need to maintain cleanup tasks for mgmt server crashes, as the async mechanism deals with this. Also, the schema becomes a tad simpler as the mgmt_server_id column is not needed anymore
2010-11-01 17:04:28 -07:00
edison
d3404cfec1
cloud-setup-databases don't need to specify hypervisor type, just remove the confusing help
2010-11-01 15:40:43 -07:00
Chiradeep Vittal
1e0eb04442
Add VPN apis, some systemvm changes for vpn
2010-11-01 10:27:49 -07:00
abhishek
362e67d724
adding failover protection case for when the mgmt svr crashes in the middle of executing something; along with custom response for cert
2010-11-01 09:04:51 -07:00
root
3752a4eb31
making the logic more robust, testing more corner cases, improving efficiency and changing the schema
2010-11-01 09:04:51 -07:00
Kelven Yang
fd4b44d326
Shorten index key requirement on storage_pool_details to let it fall within the support of mysql
2010-10-29 18:11:06 -07:00
Alex Huang
14f80f2e13
domain router up and running...now on to patching through the network between the domain router and the vm
2010-10-29 12:16:58 -07:00
nit
c9069303ce
Code clean up for Extract functionality and making it more robust.
2010-10-28 18:45:12 +05:30
Alex Huang
4f9f249218
make console proxy work again with the new network configuration
2010-10-26 17:37:29 -07:00
Alex Huang
f58063911e
deploy vm completed
2010-10-26 09:35:24 -07:00
anthony
cc6b43d58d
bug 6546: support ubuntu 10.04 PV kernel,
...
for ext3 requirement, we can file a seperate bug for it, the solution should be install ext4 module in xenserver
status 6546: resolved fixed
2010-10-21 18:28:31 -07:00
abhishek
2b9ab00cc2
bug 3386: first part of the checkin, wherein we have an optional param domainId for create and modify zones. If this domain exists in the system, then the zone is tagged with this domain id, so that subsequent calls are checked for sanity against this domain.
2010-10-21 11:43:06 -07:00
kishan
fa4a16cb68
bug 5592: Added configurable domain for hosts.
...
status 5592: resolved fixed
2010-10-21 11:51:09 +05:30
nit
6723549fc7
bug 6399: extending extract functionlity for templates and ISO's to allow download. The extraction can have two modes FTP_UPLOAD and HTTP_DOWNLOAD. In the former one the user would provide the ftp url where the entity needs to be uploaded and in the later the user would be provided a HTTP URL where from he/she can download the entity. This url would be exposed for a specific time limit and would not function after the time limit.
2010-10-20 11:40:03 +05:30
abhishek
a007cf2495
In deletepool, we set the uuid to null. However, in the db, we had a not null constraint on uuid, because of which deletepool would not work. Removing the same constaint.
2010-10-19 17:37:09 -07:00
Alex Huang
2da8035bd1
more changes for the rewrite
2010-10-19 11:52:02 -07:00
Alex Huang
794ca16a65
Added code to start domR
2010-10-19 11:52:01 -07:00
Kelven Yang
2c919c5c01
Make unique name conforming with the name generated in template installation for routing template, some other minor fixes
2010-10-15 16:36:02 -07:00
Kelven Yang
f6e0d2dd41
Make system VM work on vmware
2010-10-14 17:23:13 -07:00
Kris McQueen
8e086d7a21
resolving merge conflicts between 2.1.refactor and master
2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2
more changes for refactor
2010-10-12 07:17:47 -07:00
edison
e5c9384a3a
default routing template uuidname is changed to "routing-template-id", to make it work with installrtng.sh
2010-10-07 16:34:14 -07:00
Kelven Yang
d307b86b07
Temporarily add a blank system vm for vmware testing, explcitly check the ticket info in console access URL
2010-10-06 17:36:13 -07:00
Alex Huang
9d1270b35f
console proxy started completely and running
2010-10-06 17:22:35 -07:00
edison
139ff273ff
fix systemvm template for kvm, using chiradeep's latest debian template
2010-10-05 20:41:39 -07:00
Alex Huang
652d86956c
more files checked in
2010-10-04 12:04:59 -07:00
edison
ad1ef80459
Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
...
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
Kelven Yang
b7efa12d59
Fix corrupted eclipse project settings, schema fixes and updated template download url
2010-09-29 18:41:54 -07:00
edison
e4b3be97a4
guest os name can be null
2010-09-29 18:41:54 -07:00
edison
ccf629360a
Sometimes, the permission of secondary-stoarage/templates is 755, no-writable.
...
Fix it by "chmod 777 -R" for secondary storage
2010-09-29 18:41:54 -07:00
edison
9e0f57bc0e
change code for new UI
2010-09-29 18:40:52 -07:00
edison
8943cc6745
create volume
...
Conflicts:
api/src/com/cloud/vm/VmCharacteristics.java
core/src/com/cloud/dc/ClusterVO.java
core/src/com/cloud/server/ManagementServer.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/storage/allocator/AbstractStoragePoolAllocator.java
2010-09-29 18:40:51 -07:00
Kelven Yang
9c67a9f585
Update vcenter address to vmware demo instance
2010-09-29 18:40:48 -07:00
Kelven Yang
da5bd82b5f
Add vmware template info to hybrid branch
2010-09-29 18:40:48 -07:00
edison
6ef5530994
hypervisor type in cluster can be null
2010-09-29 18:40:48 -07:00
edison
edb16aa117
change storage allocator policy based on hypervisor
2010-09-29 18:40:47 -07:00
edison
3aef9f408e
step1
2010-09-29 18:40:47 -07:00
edison
211b4c5da2
hybrid
2010-09-29 18:40:47 -07:00
anthony
319d4f1aa0
snapshot redesign
...
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
abhishek
91340ca8de
bug 5190: incremental checkin with a bunch of vo,dao,schema and upgrade changes
2010-09-28 11:03:12 -07:00
Alex Huang
3292779a96
removed account id and domain id from domain router
2010-09-22 14:24:55 -07:00
Alex Huang
22652e7ace
got the vm created
2010-09-22 10:43:59 -07:00
Alex Huang
8acba8fbd1
more checkins
2010-09-22 10:43:59 -07:00
Alex Huang
286e78c849
moved account id, service offering id, and domain id into isntance
2010-09-22 10:43:59 -07:00
alena
55b33120e7
Fixed rpm build
2010-09-22 09:31:16 -07:00
alena
0c659af24a
Implemented DB migration from 2.1.x to 2.2.x for Instance Grous feature. Added missing Daos to migration-components.xml (AccountDao, ResourceCoundDao, InstanceGroupDao, InstanceGroupVmMapDao).1
2010-09-21 18:53:18 -07:00
Alex Huang
bebe79ebc9
more work from alex
2010-09-17 13:37:53 -07:00
nit
48cd102ab9
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-09-17 17:04:35 +05:30
nit
636dc041c7
bug 4286: Making extractIsoCmd and extractTemplateCmd async
2010-09-17 17:04:07 +05:30
Alex Huang
131e487c32
allocation complete. Moving on to actual create and deploy
2010-09-16 12:01:56 -07:00
Alex Huang
327924a9ad
More changes for refactoring
2010-09-15 18:00:54 -07:00
nit
f5ac46255c
bug 4286: Schema changes to include the upload table, Introducing extractIso command and extractVolume command
2010-09-15 17:51:42 +05:30
alena
b26ac321de
bug 6177: Make VM group a first class object
...
1) Added new apis: createInstanceGroup, updateInstanceGroup, deleteInstanceGroup, listInstanceGroups
2) Group can be created using:
* createInsanceGroup api
* deployVirtualMachine/updateVirtualMachine commands (we create a group with name equal to "group" parameter value if the group doesn't exist already)
3) Group can be removed by:
* deleteInstanceGroup api
* when corresponding account is removed
4) Vm can be assigned to one group only. To move vm from one group to another, use updateVirtualMachine command with "group" parameter
5) Changed listVirtualMachines command to use "groupId" parameter instead of "group".
status 6177: resolved fixed
2010-09-14 19:08:01 -07:00
root
077690cf15
switched from networkprofile to network configuration
2010-09-09 17:48:24 -07:00
Alex Huang
5d185ad82f
removed network profile creation
2010-09-09 14:45:16 -07:00
Alex Huang
7249f168d5
more file changes
2010-09-09 13:27:20 -07:00
Alex Huang
6134f7dfd2
more file changes
2010-09-09 11:52:12 -07:00
abhishek
25ac9104bb
Adding migration script to remove the 'upgrade.url' parameter from the 2.2 codebase
2010-08-31 09:41:12 -07:00
Kelven Yang
e9ab931a55
Add windows xp template to vmware
2010-08-27 16:32:09 -07:00
Kelven Yang
753fe25074
Link with create/start command for vmware VMs
2010-08-27 16:32:06 -07:00
Kelven Yang
7eb61b705a
Allow NetworkManagerImpl and SecondaryStorageImpl to tolerate missing of system vm template at startup
2010-08-27 16:32:03 -07:00
Manuel Amador (Rudd-O)
cebd1da99c
Added support for injecting the VMWare templates across the board, and in the packages too
2010-08-26 19:18:37 -07:00
Manuel Amador (Rudd-O)
e992e8732d
bug 5985: rename hotfix for bug to be consistent with other migration scripts, and include in fedora / ubuntu packaging
2010-08-26 19:18:37 -07:00
Kris McQueen
8be0a3f70f
Issue 5985: remove the username/removed uniqueness constraint since (a) usernames need to be unique within a domain but not accross domains and (b) the contraint isn't really doing anything at this point. Status 5985: resolved fixed
2010-08-26 16:58:16 -07:00
Kelven Yang
bbb307c82d
Explode vmware template file in place
2010-08-26 11:22:12 -07:00
Kelven Yang
0e2df1fe42
Use dummy template package to speed up debug
2010-08-26 09:43:37 -07:00
Kelven Yang
0682d70ce6
add correct check sum to default vmware template records
...
Let StoragePoolMonitor be aware of vmware hypervisor
2010-08-25 11:07:27 -07:00
Kelven Yang
e3af2edc1d
add vmware DB initial sql scripts for templates and guest OSes
2010-08-25 09:48:31 -07:00
Kelven Yang
0a401f7b91
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-25 09:40:57 -07:00
Kelven Yang
45cb68e7e2
add templates.vmware.sql
...
modify build to deploy vmware database records
2010-08-24 22:58:05 -07:00
Alex Huang
415bc8ae20
bug 5764: checkin before I switch to work on 2.1.x
2010-08-24 14:40:29 -07:00
Alex Huang
fb389e8cd6
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-24 00:01:09 -07:00
Alex Huang
20b26082db
bug 5764: changing from networkoffering to network profile
2010-08-24 00:00:43 -07:00
abhishek
67e1eee981
Adding to migration script
2010-08-23 16:27:40 -07:00
abhishek
7454f0f24a
Incremental checkin for volume lineage
2010-08-23 16:02:45 -07:00
Alex Huang
bb06bc3d57
fixed merge conflict
2010-08-23 15:10:08 -07:00
Alex Huang
e0165dd2ef
my changes
2010-08-23 13:59:23 -07:00
Kelven Yang
08ae56d360
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
...
Conflicts:
api/src/com/cloud/hypervisor/Hypervisor.java
build/build-cloud.xml
2010-08-23 12:12:45 -07:00
Kelven Yang
7bcff5acf3
Vmware incremental check-in
2010-08-20 18:50:33 -07:00
Edison Su
bf3db195ed
fix typo
2010-08-20 18:51:17 -04:00
Alex Huang
4356eb7c26
Start2Command implementation for xenserver
2010-08-20 13:35:08 -07:00
Kelven Yang
ff02e07a33
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-18 21:44:37 -07:00
Kelven Yang
792fdf91b8
1) Add host_master table for tracking VMWare vShpere servers
...
2) Add SynchronizationEvent for in-process event synchronization
3) Move VMware files out of FOSS code base
2010-08-18 17:30:11 -07:00
Alex Huang
b250b985ec
changes
2010-08-18 12:19:22 -07:00
Alex Huang
e077b23d98
stupid git
2010-08-17 10:26:34 -07:00
Alex Huang
a89aad4d15
removed override
2010-08-17 10:16:16 -07:00
Alex Huang
c5f822ca7a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-16 11:30:22 -07:00
Alex Huang
867b43dcf9
more changes for the rewrite.
2010-08-16 11:28:11 -07:00
unknown
30c5352f20
- dos2unix deploy-db-dev.sh
2010-08-12 17:19:30 -07:00
Manuel Amador (Rudd-O)
ac730ec496
Branch 2.1.refactor committed
2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6
Source code committed
2010-08-11 09:13:29 -07:00