5562 Commits

Author SHA1 Message Date
Edison Su
d8ee7d9fc3 if storage network disconnected, reboot the host 2011-04-14 17:46:54 -04:00
will
24737154b7 bug 9426: Deleting an ISO will no longer cause the UI to continue to poll for download process 2011-04-14 17:36:38 -07:00
will
7ec80d8b61 bug 9426: Deleting a template will no longer cause UI to continue to track download progress resulting in errors appearing. 2011-04-14 17:30:32 -07:00
will
db40e32095 bug 9435: decoded text for disk offering. In fact, I added it globally so all text calling the fromdb() would be correctedly decoded. 2011-04-14 17:30:30 -07:00
Jessica Wang
07f3d2b31b ISO page - (1) stop timer when ISO is in error state. (2) Stop timer when ISO is deleted. 2011-04-14 17:13:25 -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
Jessica Wang
24e1553399 Template page - (1) stop timer when template is in error state. (2) Stop timer when template is deleted. 2011-04-14 16:58:05 -07:00
alena
f830b8cd70 Removed trailing spaces from Api doc for createPortForwardingRule command 2011-04-14 16:14:39 -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
anthony
86f32e4735 bug 9455: when host is disconnected, also remove entry in storage_pool_host_ref
status 9455: resolved fixed
2011-04-14 14:31:16 -07:00
Nikita
8d7131d9fb bug 9424: has been resolved 2011-04-14 14:02:56 -07:00
alena
7615ded08f bug 9407: lock network when do deployDomR/deployDhcp to avoid 2 network elements start for the same network
status 9407: resolved fixed

Conflicts:

	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-04-14 13:35:02 -07:00
prachi
0fa06646ba Bug 9310 - HostCapacityChecker thread does not cleanup reserved capacity for hosts that are not in 'Up' state
List all 'Routing' hosts irrespective of the State.
2011-04-14 13:24:14 -07:00
Frank
92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
anthony
60768d0014 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:17:24 -07:00
Murali Reddy
9dddeaa5a5 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
pushing 2.2.4 fix to master
2011-04-14 21:16:08 +05:30
Alex Huang
b84905530a bug 9422: added rows in op_networks table to correspond to the rows in networks table 2011-04-14 03:57:18 -07:00
Alex Huang
38dd1d6ea9 bug 9422: added rows in op_networks table to correspond to the rows in networks table 2011-04-14 03:57:18 -07:00
Alex Huang
6936a666fd removed some references to name 2011-04-14 03:54:34 -07:00
prachi
88c0126878 Bug 9187: modify userdata with update vm
Changes:
- UpdateVMCmd is changed to take in userData as a parameter
-The userData is updated in the DB if it is non-null.
2011-04-13 19:22:18 -07:00
prachi
1a3483ac4f 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:06:42 -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
a8a0a70629 bug 9433: update network_id (if 0 or NULL) in user_statistics table
status 9433: resolved fixed
2011-04-13 17:51:11 -07:00
Frank
3968a3014b Bug 8208 - bare metal provisioning
mv prepare_ping.sh to prepare_dhcpd.sh
2011-04-13 16:42:55 -07:00
alena
694944e996 bug 9436: include page/pageSize/keyword to api xml doc for each list* command
status 9436: resolved fixed

Conflicts:

	server/src/com/cloud/api/doc/ApiXmlDocWriter.java
2011-04-13 16:23:14 -07:00
alena
dad9dacc92 bug 9425: fixed detached volume removal.
status 9425: resolved fixed
2011-04-13 15:54:10 -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
prachi
b1700af146 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:47:07 -07:00
alena
8abda2fdd0 Changed description for Destroyed volume state. 2011-04-13 13:01:31 -07:00
Jessica Tomechak
d7028ffb4f bug 9144: Page limit behavior. Also 8848 & more fixes to docs. 2011-04-13 12:45:33 -07:00
Jessica Tomechak
a525cda670 Bug 9142 - also 9088, 8814, 9143. Doc fixes for storage export IP restriction, FC SR setup, maintenance mode, and multipath. 2011-04-13 12:45:32 -07:00
Murali Reddy
9bf2d32884 Bug 9273 : resource counts going -ve
pushing 2.2.4 fix in to master
2011-04-13 17:43:12 +05:30
anthony
e0ba2a2fa6 clean up transation code 2011-04-12 18:56:49 -07:00
prachi
80fe0b584d 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:20:01 -07:00
prachi
47f43df01b More changes for 9387:
Checks in StorageManagerImpl :: prepare() method to avoid NPE's if DeployDestination passed in is null.
2011-04-12 18:19:59 -07:00
prachi
47c31a077a 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:19:58 -07:00
Edison Su
72bf54469c move kvm/xenserver fence builder into oss 2011-04-12 18:03:02 -04:00
Frank
50b6aca738 Bug 8208 - bare metal provisioning
Add color to print text of python script
2011-04-12 17:37:46 -07:00
Frank
916117a319 Bug 8208 - bare metal provisioning
open udp port 69 for tftp when setting up baremetal agent
2011-04-12 17:21:22 -07:00
Frank
148a46f629 Bug 8208 - bare metal provisioning
remove PING binary from source
2011-04-12 16:38:34 -07:00
Frank
1d5d254758 Bug 8208 - bare metal provisioning
put interpreter declration before license text
2011-04-12 16:35:16 -07:00
Frank
20452b7ada Fix missing Group for cloud-agent in spec file 2011-04-12 16:18:03 -07:00
Frank
8d81d1c457 Bug 8208 - bare metal provisioning
new package baremetal agent
2011-04-12 15:52:33 -07:00
Chiradeep Vittal
b56c82e3b6 bug 9330: ensure that console proxies are always created from the same hypervisor type 2011-04-12 15:24:59 -07:00
Kelven Yang
2a45327a89 Miss out one place to use queue instead, this is for decoupling notification from heartbeat to avoid being potentially blocked in callbacks 2011-04-12 15:06:08 -07:00
Chiradeep Vittal
f37f7f36aa bug 9330: discover system vm template for a given hypervisor type 2011-04-12 14:50:24 -07:00
alena
4d8df029d3 bug 8245: mark storage pool status as Removed before performing actual cleanup
status 8245: resolved fixed
2011-04-12 14:44:55 -07:00
Kelven Yang
253b8837b4 Fix a problem in userdata.sh to set permissions in .htaccess file, extra quot cause apache internal server error 2011-04-12 14:37:09 -07:00
alena
1966b4f449 SecurityGroupDao: do join with "nics" table instead of "user_vm" as we keep ip address information in nics. 2011-04-12 11:18:50 -07:00