kishan
6303ab8a10
Remove unused tables event and usage_security_group from cloud_usage schema.
2011-09-21 18:12:44 +05:30
alena
a1331d1cfc
Intermidiate checkin to Project feature:
...
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
Sheng Yang
fdfb4d3678
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:34 -07:00
keshav
e801a21001
Added inline load balancer nic map table to 2.2.11 -> 2.2.12 upgrade script.
2011-09-16 10:15:31 -07:00
kishan
96c51df0d5
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:21:06 +05:30
Naredula Janardhana Reddy
10fb507609
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-15 11:46:34 +05:30
Sheng Yang
e330e97f4b
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 16:23:17 -07:00
Sheng Yang
dfd36e4ae2
bug 11307: Add Bumped field for domain_router
...
Only used for redundant virtual router.
2011-09-14 16:22:11 -07:00
alena
c4efac2083
Added back changed reverted by merge
2011-09-13 11:19:48 -07:00
anthony
162e5cf50a
storage_ip_address in host table can be NULL
2011-09-13 11:15:47 -07:00
anthony
7da10dc158
bug 11403:
...
use unique_name to do update
2011-09-13 11:08:27 -07:00
kishan
d2293137c7
bug 11199: Moved DB upgrade changes to schema-2211to2212-premium
...
status 11199: resolved fixed
2011-09-13 23:28:54 +05:30
alena
f6a79c603f
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
Conflicts:
core/src/com/cloud/alert/AlertManager.java
server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
kishan
7840302c70
bug 11199: Added indexes to upgarde 2211 to 2212 script
...
status 11199: resolved fixed
2011-09-13 18:01:51 +05:30
kishan
1b44c0c8f5
bug 11199: Added indexes to tables in cloud_usage DB in create-schema-premium.sql
...
status 11199: resolved fixed
2011-09-13 17:57:21 +05:30
Edison Su
d461cfbf1b
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:41 -07:00
Chiradeep Vittal
fae5e84699
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
...
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
d03c5af720
make instance_id unique to allow usage of ON DUPLICATE KEY
...
useful logging
Reduce batch size to 16 to avoid sql errors
try using multi inserts to overcome deadlock during batch update
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
e216686029
Revert "bug 10617: Intermediate checking"
...
revert pending review
This reverts commit 561b27565512d438db3d8896df6f97b644b0b498.
2011-09-12 14:45:58 -07:00
Nitin
cbe996e1ce
bug 11403: Making hypervisor_type of xs-tools.iso (id=200) as XenServer. Made the corresponding DB changes as well.
2011-09-13 03:07:32 +05:30
Prasanna Santhanam
53b8b99d57
* Added indexes to some of the mock tables
...
* Moving the mocksecurityrules to Memory
(cherry picked from commit 76b07b040fc62a4f56e85a2d113eec8e4dc60c54)
2011-09-12 17:09:21 +05:30
alena
5a67bfd7f0
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:06:11 -07:00
Naredula Janardhana Reddy
f9b0962ad9
bug 10617: Intermediate checking
...
Changes :
- Fixing API doc +response name + errorMessage
- Adding seperate events to Egress rules
- Egress rules Using the same database table as that of ingress with new column type.
Pending Tasks:
- db upgrade
- database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
- Retesting on kvm
2011-09-09 18:14:19 +05:30
kishan
4e663bbef9
bug 8338: Added usage.aggregation.range parameter. Also included in 2211 to 2212 upgrade
2011-09-09 13:43:13 +05:30
prachi
bd09e70509
Bug 11200 - maximum number of guests per host
...
Changes to schema file to insert default records in hypervisor_capabilities table.
2011-09-08 18:23:37 -07:00
Kelven Yang
048dc4eb62
bug 11381: Set HypervisorVersion to StartupRoutingCommand when a VMWare host connects
2011-09-08 17:04:48 -07:00
Kelven Yang
aa7f06d7eb
bug 11384: deprecate vmware.guest.nic.device.type global configuration variable
2011-09-08 16:11:17 -07:00
Kelven Yang
f70958809b
bug 11360: make user_vm_details generic to all VMs instead of user-only VMs, VM details info will be carried down to hypervisor resource
2011-09-07 15:42:40 -07:00
prachi
84868b7f9c
Bug 11200 - maximum number of guests per host
...
Changes:
- Adding a new table 'hypervisor_capabilities' that will record capabilities for each hypervisor version. Added db schema changes for this.
- Currently a few capabilities have been added, namely, 'max_guests_limit' and 'security_group_enabled'
- Added a new column 'hypervisor_version' to host table. StartupRouting command now takes in this parameter. It should be set when a host connects.
- If a host's hypervisor version is not present, we find all the capabilities rows for that hypervisor type and use the first record.
- 'max_guests_limit' is the maximum number of running guest Vms that a host can have for the given hypervisor.
- Host Allocators use this limit and skip a host if the number of running VMs on that host exceeds this limit.
2011-09-07 14:53:05 -07:00
alena
b883b25a12
bug 11348: make content type for "json" files configurable
...
status 11348: resolved fixed
2011-09-07 14:22:01 -07:00
alena
6dfd2f280b
1) More logging to cloud-sysvmadm script - to give the user better details on which domR is being restarted at the moment
...
2) When domR is executed in parallel thread, make sure that the thread "exit 0" after the restart is done
2011-09-06 16:11:17 -07:00
alena
fb01f58bcb
bug 11329: changed default number of parallel threads to be 10 in cloud-sysvmadm
...
status 11329: resolved fixed
2011-09-06 11:31:50 -07:00
alena
8fb76e747e
bug 11321: update vms in obsolete "Creating" state to "Error" state.
...
status 11321: resolved fixed
2011-09-02 17:30:50 -07:00
kishan
8d5e7ff659
bug 11316: In 2.2.y, removed new template upgrade changes. Added upgrade path from 2210 to 2211. Moved existing changes to 2211to2212
...
status 11316: resolved fixed
2011-08-31 15:16:12 +05:30
kishan
2ff1e4f92a
bug 11316: Removed new template upgrade changes. Added upgrade path from 2210 to 2211. Existing changes moved to 2211to2212 upgrade
...
status 1316: resolved fixed
2011-08-31 14:19:20 +05:30
alena
0b95ad2f0f
bug 11290: insert VPN config values as a part of 229-2210 upgrade
...
status 11290: resolved fixed
2011-08-29 11:22:42 -07:00
Naredula Janardhana Reddy
db0d6329d8
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network.
disabled - stats disabled.
2011-08-26 15:21:49 +05:30
Naredula Janardhana Reddy
cbed4c7a44
bug 11253:
...
Added New value "link-local" to global config network.loadbalancer.haproxy.stats.visibility . With this change it can take new parameter "link-local" value apart from the existing 3 values global,guest-network,disabled.
global - stats visible from public network
guest-network - stats visible only to guestnetwork.
link-local - stats visible only to link local network
disabled - stats disabled.
2011-08-26 15:21:29 +05:30
alena
a11b7de9fe
Set firewall.rule.ui.enabled to false by default
...
Conflicts:
server/src/com/cloud/configuration/Config.java
2011-08-25 16:12:55 -07:00
Kelven Yang
97a7dddf7d
bug 11162: support memory overprovisioning in VMware
2011-08-25 15:38:28 -07:00
prachi
05440f0905
Bug 9921 - template tags
...
Changes:
- CreateTemplate and RegisterTemplate now support adding a template tag. It is a string value. This is root-admin only action - only admin can add template tags.
- ListTemplates will return the template tag in response.
- HostAllocator changed to use template tag along with the existing tag on service offering. If both tags are present, allocator now finds hosts satisfying both tags. If no hosts have both tags, allocation will fail.
- DB changes to add new column to vm_template table.
- DB upgrade changes for upgrade from 2.2.10 to 2.2.11
2011-08-25 12:03:59 -07:00
Naredula Janardhana Reddy
145a4aad37
bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)
2011-08-24 13:30:23 +05:30
Naredula Janardhana Reddy
4169be9e49
bug 11191: Added global config to disable/enable rp_filter for domR(public interfaces)
...
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-24 13:28:48 +05:30
frank
b3478c377e
Full opensource
2011-08-23 19:52:19 -07:00
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
Naredula Janardhana Reddy
4369b0ba96
bug 1067:
...
- covered basic impelementation for xen, need to test corner cases.
- Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
Edison Su
e8a62cc4a9
add security table
2011-08-18 11:38:26 -07:00
Edison Su
bdb325609d
simulate more commands
2011-08-18 11:38:18 -07:00
Edison Su
df6bee4061
add template for simulator
2011-08-18 11:37:50 -07:00
Edison Su
1cf4db7276
add security table
2011-08-16 10:30:52 -07:00
Edison Su
3dc2e0a919
simulate more commands
2011-08-16 10:30:52 -07:00
Edison Su
0be1510496
add template for simulator
2011-08-16 10:30:51 -07:00
kishan
1b6f583748
Added sql queries and script to update new template and restart networks
2011-08-16 19:51:11 +05:30
kishan
db6c0e810b
Added sql queries and script to update new template and restart networks
2011-08-16 19:42:51 +05:30
alena
5fcc2616a1
bug 11120: elb/load balancer config values should be the part of 229 to 2210 db upgrade, not 228 to 229
...
status 11120: resolved fixed
2011-08-15 10:20:35 -07:00
alena
803255b0ba
bug 11029: db upgrade from 2.2.9 to 2.2.10 includes firewall_rule upgrade now
...
status 11029: resolved fixed
Commit also includes the following:
* map firewall rule to pf/lb/staticNat/vpn when the firewall rule is created as a part of pf/lb/staticNat/vpn rule creation
* when delete firewall rules, also delete related firewall rule
2011-08-15 10:18:09 -07:00
alena
6b9603bc4c
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
Conflicts:
api/src/com/cloud/api/BaseCmd.java
client/tomcatconf/commands.properties.in
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2011-08-09 15:51:56 -07:00
alena
f521b6844d
Revert "Network_domain is supported in nectarine 2.2.8, so adding corresponding db upgrade step to 228-229 upgrade"
...
This reverts commit bc43d5ba5c6b329f39b2ab89256c381e3ca677f6.
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-09 15:07:21 -07:00
Kelven Yang
eb28549e6c
Seperate template cleanup control to enable template preloading
2011-08-09 13:42:50 -07:00
Kelven Yang
fe9ccf33b5
Seperate template cleanup control to enable template preloading
2011-08-09 13:38:27 -07:00
Chiradeep Vittal
924961d898
merge nectarine
2011-08-08 21:45:37 -07:00
alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Kelven Yang
02e64f90de
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:45:47 -07:00
Kelven Yang
39a3d82f11
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:37:26 -07:00
Chiradeep Vittal
8277584b8a
merge ELB / nectarine branch
2011-08-08 15:20:56 -07:00
Chiradeep Vittal
52e8d5c4da
bug 11005: upgrade must enable lb on system guest network
2011-08-05 23:21:23 -07:00
alena
cb9998be53
Network_domain is supported in nectarine 2.2.8, so adding corresponding db upgrade step to 228-229 upgrade
2011-08-05 21:43:29 -07:00
Chiradeep Vittal
1e82b65983
Ensure upgrade picks up new db configs
2011-08-05 18:13:52 -07:00
anthony
fb46a7f1d6
bug 10849: storage ip is not require NOT NULL
...
status 10849: resolved fixed
2011-08-05 11:27:02 -07:00
anthony
355be3a417
bug 10849: storage ip is not require NOT NULL
...
status 10849: resolved fixed
2011-08-05 11:26:10 -07:00
Nitin
f6e2669a6e
bug 9345: Remove pool_id from template_host_ref. Add upgrade changes for the same.
...
status 9345: resolved fixed
2011-08-05 13:49:55 +05:30
Chiradeep Vittal
a671a78da4
handle upgrade from 2.2.8
2011-08-04 23:13:21 -07:00
Sheng Yang
38366074c9
Add some default values for 2.2.9-2.2.10 scheme
2011-08-04 12:10:56 -07:00
Sheng Yang
63e67c21d3
Add some default values for 2.2.9-2.2.10 scheme
2011-08-04 12:10:08 -07:00
anthony
2d23ce6dd1
Bug 10197: DB upgrade
2011-08-04 10:58:19 -07:00
anthony
94855b688f
Bug 10197: DB upgrade
2011-08-04 10:52:28 -07:00
alena
294e30d7c2
Merged 228-229 db upgrade from 228 branch
2011-08-04 10:19:23 -07:00
alena
3d0758691f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
Conflicts:
setup/db/db/schema-228to229.sql
2011-08-04 10:01:06 -07:00
Nitin
a3cb6d9a09
bug 9345: Remove pool_id from template_host_ref. Its not needed anymore. Also removed the unwarranted code.
...
status 9345: resolved fixed
2011-08-04 12:51:35 +05:30
alena
dfd0d7730e
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
2011-08-03 20:47:44 -07:00
alena
527c3b024f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
2011-08-03 20:46:33 -07:00
Sheng Yang
7f859cf30f
Update scheme-229to2210.sql to reflect redundant virtual router change
2011-08-03 17:33:53 -07:00
Sheng Yang
13e7c5f3d4
Update scheme-229to2210.sql to reflect redundant virtual router change
2011-08-03 17:06:06 -07:00
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