Commit Graph

5489 Commits

Author SHA1 Message Date
alena d4dc90d9fc Fixed a bug in XmlApiDocReader 2011-04-29 10:16:28 -07:00
Kelven Yang ed76394b8e bug 9519 : add index to avoid table locking 2011-04-28 18:41:01 -07:00
alena 3ea4b18311 bug 9638: fixed bunch of DB upgrade bugs
status 9638: resolved fixed
2011-04-28 18:18:56 -07:00
alena 5ad7730e06 Modify keys for security groups in java code instead of sql file (need to check if the key exists before dropping it) 2011-04-28 18:18:56 -07:00
will 1c2935a5ed bug 8816: Changed private ip address to link local address when displaying virtual routers.
merge from master
2011-04-28 18:16:58 -07:00
keshav 14d280634e Added a check for duplicate public networks. 2011-04-28 16:06:17 -07:00
Alex Huang b273d74c35 bug 9456: added the host id that was already tried to avoid list. Added more debug logs in case that condition happens. 2011-04-28 14:43:44 -07:00
Alex Huang a1fa03ab4b bug 9633: removed schema.level
bug 9632: removed direct.attach.security.groups.enabled
2011-04-28 13:49:52 -07:00
alena 71b264322d 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:29:43 -07:00
Frank 510b7ab803 Bug 9635 - set java heap size to 1 GB by defaul
Resolved: Fixed
2011-04-28 13:30:31 -07:00
alena 9b799ae4b3 More logging to consoleProxy start command 2011-04-28 01:17:03 -07:00
alena bd0259c59f bug 9621: set addressFormat during NicProfile creation
status 9621: resolved fixed
2011-04-27 23:25:41 -07:00
alena a4645ac925 bug 9621: dbUpgrade - set reservation strategy to be Create for Guest Nics in Basic zone
status 9621: resolved fixed
2011-04-27 22:45:29 -07:00
alena a35088d545 Fixed upgrade from 2.1.9 to 2.2.x 2011-04-27 21:27:50 -07:00
alena a9dded4d27 bug 9622: update mode for nics
status 9622: resolved fixed
2011-04-27 21:03:20 -07:00
anthony 2ba4f60a8b bug 9619: handle two types of domr name
status 9619: resolved fixed
2011-04-27 18:44:05 -07:00
Kelven Yang 817d76c190 Allow space in datastore name when adding VMFS datastore 2011-04-27 18:39:28 -07:00
anthony a1aefef1f2 bug 9618: fixed a upgrade, resouce name is changed to XenServer56FP1Resource
status 9618: resolved fixed
2011-04-27 15:59:34 -07:00
anthony f890c49272 bug 9617: fixed snapshot upgrade from 223 to 224
status 9617: resolved fixed
2011-04-27 15:52:05 -07:00
Alex Huang e8e9bbccfb fixes a bug where management server has conflicts causes problems 2011-04-27 14:07:18 -07:00
Alex Huang e66baae84e bug 9610: Added VERSION table and related index change 2011-04-27 13:53:19 -07:00
Alex Huang 2c64193646 storage stats can be such that it doesn't work if one storage pool cannot be reached. 2011-04-27 13:53:19 -07:00
prachi fc784f1530 Bug 9585 - Existing Data Disk is being destroyed and recreated on Stop and Start of a User VM.
Changes:
- When the ROOT volume of a VM is found to be READY, changed planner to reuse the pool for every volume(root or data) that is READY and that has a pool not in maintenance and not in avoid state
- If ROOT volume is not ready, we dont care about the DATA disk. Both would get re-allocated.
- When a pool is reused for a ready volume, Planner does not call storagepool allocators. And such volumes are not assigned a pool in the deployment destination returned by the planner. Accordingly StorageManager :: prepare method wont recreate these volumes since they are not mentioned in the destination.
2011-04-27 11:56:14 -07:00
prachi 57086d0323 Bug 9586 - NPE during host allocation
- This NPE happened when starting the DomR and its Volume's podId was null.
- This case should never happen that podId of a Volume is null.
- It looks like this is a side-effect of some other bug- most likely another DomR and basic networking issue (9578)

- While reviewing this bug, found out that we need not use the RecreateHostAllocator anymore. Using it actually is not good, since this allocator ignores what is passed to it in the plan by the DeploymentPlanner and lists pods once again.
- Changed components.xml to use FirstFitRoutingAllocator instead.
2011-04-27 11:56:05 -07:00
Murali Reddy c909057b90 bug 9595 : Negative resource counts exception when destroying VM account
Avoiding double decrement for same VM instance
2011-04-27 23:40:04 +05:30
Kelven Yang b8d9513309 bug 9605: exclude virtual interfaces when searching for cidrs 2011-04-26 17:52:31 -07:00
alena 1bd0496bd0 Apply nic profile to nic: don't set reservationStrategy for DB object when it's value is NULL 2011-04-26 17:49:05 -07:00
Edison Su 39544e63d3 bug 8955: add umask 022 to make sure we can get read permission for user data
status 8955: resolved fixed
2011-04-26 17:32:57 -04:00
Alex Huang d5c7258b71 bug 9597: Fixed the recreatable problem. Also added the 2.2.1 upgrade step 2011-04-26 15:43:43 -07:00
Alex Huang f6258dae08 bug 9445: Signal alert for the host if a primary storage pool was unavailable on that host 2011-04-26 15:14:55 -07:00
alena bb0c0234bc bug 9578: when deploy dhcp in Basic zone, put pod information to deploymentPlan
status 9578: resolved fixed
2011-04-26 14:41:21 -07:00
Kelven Yang 2b3c3cf949 Recalculate and update host used capacity (mem & cpu) in upgrade (2.1.x to 2.2.y) 2011-04-26 12:09:59 -07:00
prachi ee598d44c5 Bug 9548 [Cloud Stack Upgrade - 2.1.8 to 2.2.4] System VM's Volumes Recreation is not happening on an event of New Volume creation Failures
Changes:
- Reason was that the old volume's templateId was being updated before volume creation was attempted. So on the retry, we dint find a difference in volume's templateId and VM's templateId and did not enter the recreation logic.

- Fix is to update the new volume's templateId with the VM's templateId while creating the new volume. The old volume's templateId stays the same and the volume is marked as 'Destroy' when a new volume is created.
2011-04-26 11:55:05 -07:00
alena 25017382b6 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
2011-04-23 23:03:45 -07:00
alena 6f76104a0e DB upgrade: use is_static_nat field to distinguish between 2.2.1 and 2.2.2 versions 2011-04-23 21:23:07 -07:00
alena eb7a158e72 bug 9555: db upgrade for Basic zone - set default nic for the domR
status 9555: resolved fixed
2011-04-23 20:03:33 -07:00
alena 8b0b503861 bug 9556: set ip_type=ip4 for guestVm nics in Basic zone setup
status 9556: resolved fixed
2011-04-23 19:56:08 -07:00
alena c8f4dacb0a bug 9550: get storagePool to Host mappings before doing processDisconnect because these references are being deleted as a part of processDisconnect call.
status 9550: resolved fixed
2011-04-23 18:34:39 -07:00
prachi 074e143986 Manually Merged from master the remaining changes for Bug 9539 - cpu.overprovisioning.factor does not work 2011-04-22 18:58:00 -07:00
prachi 5706041ef7 Manual merge of Bug 9539 - cpu.overprovisioning.factor does not work
Partial Changes:
- Changed host allocators/planner  to use cpu.overprovisioning.factor
- Removed following: while adding a new host, we were setting the total_cpu in op_host_capacity to be actual_cpu * cpu.overprovisioning.factor. Now we set it to actual_cpu.
- ListCapacities response now calculates the total CPU as actual * cpu.overprovisioning.factor (This change does not add anything new - listCapacities was pulling total CPU from op_host_capacity DB earlier which had the cpu.overprovisioning.factor applied already. Now we need to apply it over the DB entry.)
- HostResponse has a new field: 'cpuWithOverprovisioning' that returns the cpu after applying the cpu.overprovisioning.factor

- Db Upgrade 222 to 224 now updates the total_cpu in op_host_capacity to be the actual_cpu for each Routing host.

Conflicts:

	server/src/com/cloud/agent/manager/AgentManagerImpl.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/deploy/BareMetalPlanner.java
	server/src/com/cloud/server/ManagementServerImpl.java
2011-04-22 18:54:16 -07:00
will 67689860a0 bug 9515: Adding the first basic zone will now automatically display the security group left nav
merge from master
2011-04-22 16:23:03 -07:00
will c897fac983 bug 9513: You can now add a POD through the Add Pod button (not wizard).
Merge from master
2011-04-22 15:58:06 -07:00
Frank 71eebc4e81 Bug 9542 - install on CentOS 5.6 does not work
get rid of augtool from setup script
2011-04-22 15:02:23 -07:00
anthony eccec4ff11 bug 9541: fix one snapshot DB migrate, one java check and one script typo
status 9541: resolved fixed
2011-04-22 12:50:40 -07:00
Abhinandan Prateek e97e09c7d6 bug 9470: line breaks removed for task failed message
status 9470: resolved fixed
2011-04-22 09:09:33 +05:30
anthony b219d3e83e cluster guid is set up when old host reconnect happens after upgrade, prohibit adding host to the cluster before guid is etup 2011-04-21 16:01:04 -07:00
anthony 71f968a3e1 bug 9282: set cluster guid if it is null
status 9282: resolved fixed
2011-04-21 15:41:54 -07:00
Murali Reddy d1650c6e60 Bug 9273: resource count going -ve
adding addtional check that ensure we decrease the count in advanceStart only on new vm creation
2011-04-22 01:37:45 +05:30
Chiradeep Vittal b8fdbb53b2 bug 9527: name / unique_name confusion 2011-04-20 21:44:22 -07:00
root c8d5ef8c29 Merge branch '2.2.4' of ssh://git.cloud.com/var/lib/git/cloudstack-oss into 2.2.4 2011-04-21 09:59:48 +05:30