Commit Graph

666 Commits

Author SHA1 Message Date
Kelven Yang 5d3cc153a9 bug 13021: add a global configuration variable to let control default network adapter type inside system VMs 2012-01-12 14:08:52 -08:00
Kelven Yang fd758208d9 bug 12709: add management server active fencing 2012-01-04 18:06:24 -08:00
Naredula Janardhana Reddy 9e0912f0f0 Bug 12679: Database Upgrade script added for rp_filter from 2.2.12 to 2.2.13 2011-12-22 10:57:19 +05:30
Edison Su a4d1ce3f87 set the cpu weight based on cpu * cores 2011-12-15 15:08:14 -08:00
frank 9312823c97 Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
fix a typo
2011-12-15 11:01:30 -08:00
frank 387f8afac6 Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
status 12565: resolved fixed
2011-12-15 10:47:30 -08:00
Prasanna Santhanam 3a3b31f7a2 adding the missing database creation file when we seperated cloud_simulator database from cloud 2011-12-15 13:53:37 +05:30
Prasanna Santhanam f9e9916d80 sql syntax corrections in the simulator schema creation file 2011-12-15 13:53:37 +05:30
kishan 807394cbd0 bug 12436: Add new parameter external.network.stats.interval to upgrade script
status 12436 : resolved fixed
reviewed-by: Nitin
2011-12-08 12:08:02 +05:30
frank 672e71ce34 better error message when checking hostname failed in cloud-setup-database 2011-12-01 10:45:46 -08:00
frank 3ca237c150 better help message of cloud-setup-database 2011-11-23 17:33:15 -08:00
frank 82db0eb371 add cleanup/recover procedures to cloud-setup-database 2011-11-23 17:14:20 -08:00
frank 97e97b6609 Refine cloud-setup-database script 2011-11-23 11:25:09 -08:00
Alena Prokharchyk d387e586ef bug 12067: set 'extractable' field default value to 0 as a part of 2.2.13 to 2.2.14 db upgrade
status 12067: resolved fixed
2011-11-18 13:35:07 -08:00
Alena Prokharchyk f084445901 bug 11938: don't index usage tables when do upgrade from 2211 to 2212.
status 11938: resolved fixed
reviewed-by: Frank Zhang

This fix would cover following scenario:

* the customer is upgrading from 2.2.11 to 2.2.13.
* the incorrect indexes are being dropped as a part of 2.2.12 to 2.2.13 upgarde, but we still insert them as a part of 2.2.11 to 2.2.12, and it might lead to the db upgrade failure. The only one way to handle this case - remove them from 2.2.11 to 2.2.12 upgrade path
2011-11-14 16:00:28 -08:00
Alena Prokharchyk 56e5255cdc bug 11573: made network wait timeout configurable
status 11573: resolved fixed
reviewed-by: Alex Huang
2011-11-09 13:13:49 -08:00
kishan 4a80506448 bug 11938: Removed unique constraint on usage_network_offering table.
status 11938: resolved fixed
reviewed-by: Abhi
2011-11-09 16:27:31 +05:30
Edison Su 5e447ad17c bug 11463: simulator uses a seperate db source, to get it faster
status 11463: resolved fixed
2011-11-03 17:28:48 -07:00
Abhinandan Prateek 8ff78668e9 bug 11678: adding the config entry to db, during upgrade
status 11678: resolved fixed
2011-11-03 14:52:09 +05:30
frank b63964a9d9 add upgrade path from 2.2.x to 2.2.13 for baremetal 2011-10-28 14:29:38 -07:00
frank d61a544e68 Add Solaris support for Ovm 2011-10-25 18:09:15 -07:00
Kelven Yang 9ad7c23074 bug 9614: let root volume use IDE disk controller by default to ensure backwards compatibility with existing CloudStack deployments 2011-10-24 15:28:10 -07:00
Kelven Yang 231640f279 bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration) 2011-10-21 18:44:21 -07:00
Kelven Yang 27a64088fa bug 11774: refactor guest OS mapping to avoid conflicts with changes in master branch 2011-10-20 17:31:55 -07:00
Kelven Yang 28d7b3a628 bug 11774: fix guest OS mapping for CentOS/Ubuntu in VMware 2011-10-20 16:10:40 -07:00
frank 29254fbae1 correct ant build-apidoc
use right script path
2011-10-18 14:39:46 -07:00
frank 4fe3752428 correct ant build-apidoc 2011-10-18 14:31:03 -07:00
frank 969f1d4ada Bug 11640 - Upgrade from 2.2.9 FOSSOVM to 2.2.12- OVM hypervisor is not provided as one of the options for "Hypervisor" when adding a cluster
add Ovm in hypervisor.list of configuration table

status 11640: resolved fixed
2011-10-12 15:08:10 -07:00
alena 16989227d9 bug 11667: drop primary keys in cloud_usage.usage_load_balancer_policy and cloud_usage.usage_port_forwarding
status 11667: resolved fixed
2011-10-07 10:58:19 -07:00
Edison Su 4fa95df837 bug 11463: Simulator: try to put security rule into db again, but only put seq/signature into db. Hope it will be faster. 2011-10-05 14:46:24 -07:00
alena 3b652f25bf bug 11603: for OSS build - update guru_name from GuestNetworkGuru to ExternalGuestNetworkGuru.
status 11603: resolved fixed
2011-09-29 10:40:57 -07:00
Sheng Yang 902458bfa0 bug 11513: Fix public IP release in advance network
We should only persist DomR's public ip, not console proxy and ssvm.

Reviewed-by: Edison
2011-09-21 19:16:29 -07:00
Sheng Yang 8064b229ff bug 11504: Fix source nat ip's NIC strategy from upgrading
We've added "Strategy.Managed" for source nat ip address, to prevent it from
releasing when we try to execute restartNetwork command. But we didn't update
the existed nics when mgmt upgraded. This would result in restartNetwork command
fail(NPE) when try to restart an existed network.

status 11504: resolved fixed

Reviewed-by: Alena
2011-09-20 17:49:23 -07:00
keshav 0569b51764 Added inline load balancer nic map table to 2.2.11 -> 2.2.12 upgrade script. 2011-09-16 10:19:16 -07:00
kishan 43810508e4 bug 11344: Added constarints on usage helper tables. Added corresponding alter queries in upgrade script
status 11344: resolved fixed
Reviewed-by: Nitin
2011-09-16 18:22:23 +05:30
Naredula Janardhana Reddy 01ac82d9d6 bug 11372:
Added two New values "all" and "default" to global config "network.loadbalancer.haproxy.stats.visibility" . With this change, it can take six possible value:
       global - stats visible from public network.
       guest-network - stats visible only to guestnetwork.
       link-local - stats visible only to link local network(for xen and kvm).
       disabled - stats disabled.
       all - stats available on public,guest and link-local.  (Newly added)
       default - stats availble on the serving http port, this does need any specific http port.(Newly added)

Except default and disabled, all the rest of 4 need to configure the stats port.
2011-09-14 17:09:21 +05:30
Sheng Yang 49031c5563 bug 11307: Mark router as to-be-stopped, rather than force stop it.
Force stop the router would release all the resources it used, but router may
still running. Add a column "stop_pending" in the database, and stop it when the
router come back.

Admin would able to choose to force destroy such router, then recover the
network using restartNetwork command with cleanup=false.
2011-09-14 03:05:09 -07:00
Sheng Yang 59eb1b0ba1 bug 11307: Add Bumped field for domain_router
Only used for redundant virtual router.
2011-09-14 03:03:47 -07:00
alena a5c8771d2f Added back changed reverted by merge 2011-09-13 11:18:10 -07:00
anthony 2978e3ee15 storage_ip_address in host table can be NULL 2011-09-13 11:14:44 -07:00
anthony 409081cb35 bug 11403:
use unique_name to do update
2011-09-13 11:07:50 -07:00
kishan 7ac764005b bug 11199: Moved DB upgrade changes to schema-2211to2212-premium
status 11199: resolved fixed
2011-09-13 23:30:31 +05:30
alena 0c127890ea bug 11036: resource count update is refactored
status 11036: resolved fixed

1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains
2011-09-13 10:47:55 -07:00
kishan 64c125b28a bug 11199: Added indexes to upgarde 2211 to 2212 script
status 11199: resolved fixed
2011-09-13 18:04:36 +05:30
kishan d9d0e94dac bug 11199: Added indexes to tables in cloud_usage DB in create-schema-premium.sql
status 11199: resolved fixed
2011-09-13 18:04:26 +05:30
Edison Su 35ee752e5f fix security group rule which not get updated into db, and simulator agents reports the wrong security group to mgt server 2011-09-12 19:09:15 -07:00
Nitin 2ab80e92bb bug 11403: Making hypervisor_type of xs-tools.iso (id=200) as XenServer. Made the corresponding DB changes as well. 2011-09-13 03:11:13 +05:30
Prasanna Santhanam 17ba582609 * Added indexes to some of the mock tables
* Moving the mocksecurityrules to Memory
2011-09-12 17:31:26 +05:30
alena d95cc56d8f bug 11393: insert agent.lb.enabled config parameter (if doesn't exist) as a part of db upgrade
status 11393: resolved fixed
2011-09-09 14:07:19 -07:00
kishan 698c524cf2 bug 8338: Added usage.aggregation.timezone. Also included in 2211 to 2212 upgrade 2011-09-09 13:59:19 +05:30