alena
9c8ff68ca7
Added more logging to DB upgrade code
2011-04-18 11:39:44 -07:00
alena
a43a7993cb
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:07:39 -07:00
Kelven Yang
a32e9027eb
Add java keystore helper class, prepare for dynamically generating keystore for SSL use
2011-04-15 16:58:39 -07:00
Chiradeep Vittal
e7dd2abfe1
bug 9441: cannot change unique_name in vm_template as this will cause template sync to fail
2011-04-15 15:01:45 -07:00
abhishek
a3568ced76
bug 9175: fixing the cpu util being over 100% on the dashboard
...
status 9175: resolved fixed
2011-04-15 14:55:38 -07:00
will
b897508c03
bug 9468: DiskOfferings are now sorted by created date to keep consistent with other objects returned in CloudStack.
...
Merge from master
2011-04-15 14:27:46 -07:00
alena
abe460c276
bug 9473: mark all volumes with Destroyed>=1 with state=Destroy
...
status 9473: resolved fixed
2011-04-15 14:05:22 -07:00
anthony
a2dc7ec59e
bug 9472: when get vnc port for a vm, check if the port is really used by this vm for security
...
status 9472: resolved fixed
2011-04-15 12:45:32 -07:00
alena
fcdf791645
bug 9475: don't update vlan in "networks" tab for non-implemented guest networks
...
status 9475: resolved fixed
2011-04-15 12:00:41 -07:00
alena
c6fee4b718
2.1.x-2.2.x upgrade: in "volumes" table use state=Destroy instead of "Destroyed"
2011-04-15 11:43:47 -07:00
alena
5778204e54
Fixed Db upgrade from 2.1.9 to 2.2.2 which wasn't supported before.
2011-04-15 10:17:08 -07:00
alena
c2455017e0
Fixed logging for remote access vpn code
2011-04-15 09:58:48 -07:00
alena
234917780e
218-222 upgrade - no need to update user statistics with deviceId if account doesn't own any domRs
2011-04-15 09:45:19 -07:00
alena
ce984ce89c
bug 9453: Fixed PF rules upgrade.
...
status 9453: resolved fixed
1) Problem #1 was that in 2.1.x there was a bug when we didn't delete pf rules for expunged vms. These kind of rules will be ignored during the db upgrade
2) Problem #2 . We didn't trim the spaces for PF/LB ports in 2.1.x, and DB upgrade code was failing because of that.
2011-04-14 20:35:34 -07:00
anthony
2d376b3f34
on reconnect, heartbeatfile is cleared , MS needs to fill heartbeatfile in ModifyStoragePoolCommand
2011-04-14 20:28:56 -07:00
anthony
8d052d105a
don't need to remove heartbeat tag when reconnect, it breaks HA , because when host reconnects, it tries to create heartbeat, but at this time, master may be able to access storage pool
2011-04-14 19:07:58 -07:00
alena
fba10b1cb8
bug 9461: don't update user_statistics with the network id if the domR is already expunged
...
status 9461: resolved fixed
2011-04-14 17:53:38 -07:00
will
714914d21d
bug 9426: Deleting an ISO will no longer cause the UI to continue to poll for download process
...
merge from master
2011-04-14 17:38:25 -07:00
alena
c3c80006ca
bug 9453: domain path is not unique value, removed the constraint added during 2.1.8-2.2.2 upgrade
2011-04-14 16:55:55 -07:00
Edison Su
8b9fc424d5
bug 8532,8755: don't create multiple HA work if there already has one of HAwork of this VM is created, but not finished
...
status 8532: resolved fixed
status 8755: resolved fixed
2011-04-14 16:55:06 -04:00
will
dd808e45ab
bug 9424: fixed issue where a small window space on Safari would cause HTML elements to overlap on the LB rules tab.
...
merge from master
2011-04-14 15:54:14 -07:00
will
97fbc360e7
bug 9435: decoded text for disk offering. In fact, I added it globally so all text calling the fromdb() would be correctedly decoded.
...
Merge from master
2011-04-14 15:54:12 -07:00
alena
a76803f5e5
bug 9458: do searchIncludingRemoved when decrement resource count as corresponding domain might be removed already
...
status 9458: resolved fixed
2011-04-14 15:25:37 -07:00
anthony
c6018bdc60
bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
...
status 9455: resolved fixed
2011-04-14 14:34:32 -07:00
alena
78aad72ffb
bug 9407: lock network when do deployDomR/deployDhcp to avoid 2 network elements start for the same network
...
status 9407: resolved fixed
2011-04-14 13:19:04 -07:00
anthony
21c936ab15
bug 9411:
...
1. adding storage pool fails, remove the entry in DB
2. in introduce SR, create pbd for master host
status 9411: resolved fixed
2011-04-14 11:16:45 -07:00
root
2ab9238ae7
Bug 9440: we specify the wrong disk size when attaching storage device with custom size offering
...
wrong usage of volume size which is in bytes for setting the size of disk offering which in MB
2011-04-14 21:25:23 +05:30
Alex Huang
7b0f95a466
bug 9422: added rows in op_networks table to correspond to the rows in networks table
2011-04-14 03:53:51 -07:00
Alex Huang
256517f1c3
bug 9422: added rows in op_networks table to correspond to the rows in networks table
2011-04-14 03:17:55 -07:00
Edison Su
29558e8217
if storage network disconnected, reboot the host
2011-04-13 21:51:40 -04:00
anthony
3f4c5225dd
fixed transaction usage
2011-04-13 19:35:13 -07:00
prachi
fede78bea8
More changes for Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it.
...
Added log statement to indicate that a pool is not chosen because the vm template has no entry in template_host_ref table.
2011-04-13 18:09:28 -07:00
prachi
9fa3f92efd
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 18:09:22 -07:00
alena
9afee0bb46
bug 9433: update network_id (if 0 or NULL) in user_statistics table
...
status 9433: resolved fixed
2011-04-13 17:48:49 -07:00
alena
7acba22063
bug 9436: include page/pageSize/keyword to api xml doc for each list* command
...
status 9436: resolved fixed
2011-04-13 16:19:44 -07:00
anthony
8d36af0033
fixed NPE
2011-04-13 16:03:41 -07:00
alena
98be7ea0f7
bug 9425: fixed detached volume removal.
...
status 9425: resolved fixed
2011-04-13 15:52:55 -07:00
alena
6468b66317
bug 9420: update existing user_statistics records with device_id and device_type
...
status 9420: resolved fixed
2011-04-13 14:31:33 -07:00
prachi
5a73309e75
Bug 9387: Recreate system vms if template id changed....
...
Changes:
While starting a System VM:
- We check, incase the ROOT volume is READY, if the templateID of the volume matches the SystemVM's template.
- If it does not match, we update the volumes' templateId and ask deployment planner to reassign a pool to this volume even if it is READY.
In general:
- If a root volume is READY, we remove its entry from the deploydestination before calling storagemanager :: prepare()
- StorageManager creates a volume if a pool is assigned to it in deploydestination passed to it.
- If a volume has no pool assigned to it in deploydestination, it means the volume is ready and has a pool already allocated to it.
2011-04-13 13:54:08 -07:00
alena
2f73274811
Changed description for Destroyed volume state.
2011-04-13 13:00:41 -07:00
anthony
e001436d94
fixed NPE when delete storagepool
2011-04-13 11:02:12 -07:00
Murali Reddy
3a1fe780cf
Bug 9273 : resource counts going -ve
...
Fixing resource count getting -ve assert. resource count should not be decremented for system VM's.
2011-04-13 17:35:09 +05:30
prachi
edda8e8032
More changes for Bug 9387:
...
- Update system vm_instance's template_id if it does not match the system vm template.
- Use _templateDao.findSystemVMTemplate to find the latest system vm template.
2011-04-12 18:31:46 -07:00
prachi
e2451f6b15
More changes for 9387:
...
Checks in StorageManagerImpl :: prepare() method to avoid NPE's if DeployDestination passed in is null.
2011-04-12 18:31:37 -07:00
prachi
fc35aed2c9
Bug 9387 - Recreate system vms if template id changed...
...
Changes:
- Planner must reassign the storage pool if the template id for system vms has changed. StorageManager must then recreate the volume if the volume has been
reassigned. This is needed to do automatic update of the system template.
2011-04-12 18:31:27 -07:00
Edison Su
711a19e7d3
move kvm/xenserver fence builder into oss
2011-04-12 17:12:40 -04:00
Chiradeep Vittal
fe4d5845c2
bug 9330: ensure that console proxies are always created from the same hypervisor type
2011-04-12 15:15:01 -07:00
Chiradeep Vittal
a9f88c5b0c
bug 9330: discover system vm template for a given hypervisor type
2011-04-12 14:49:41 -07:00
Kelven Yang
c54ec3a4de
Fix a problem in userdata.sh to set permissions in .htaccess file, extra quot cause apache internal server error
2011-04-12 14:40:31 -07:00
alena
d86487f74a
SecurityGroupDao: do join with "nics" table instead of "user_vm" as we keep ip address information in nics.
2011-04-12 11:15:22 -07:00