Commit Graph

185 Commits

Author SHA1 Message Date
anthony 2b632a5c9a bug 7215:
it may be caused by following result
1. there is no hosts up in this cluster, then there is no host we can send remove from pool command.
2. pool-eject failed

in above cases, the host is still removed from cloudstack, and alert is sent out to require run pool-eject manually

status 7215: resolved fixed
2010-12-30 11:41:13 -08:00
kishan 5ad07e899b bug 7768,7770: Corrected VM destroy events, removed duplicate completed event, added startId and started event
status 7768,7770: resolved fixed
2010-12-30 16:15:21 +05:30
Chiradeep Vittal fa84270b3e bug 6854: add croncommand to periodically cleanup network rules 2010-12-29 18:15:22 -08:00
kishan ae87c21491 bug 7653: Remove created snapshot event after backing up already removed snapshot. Instead add Event when this snapshot is duplicated
status 7653: resolved fixed
2010-12-29 12:14:57 +05:30
alena 4a91643e1d bug 7647: don't hardcode userId for createVolume event when volume is created as a part of vm deployment
status 7647: resolved fixed
2010-12-28 19:07:52 -08:00
kishan c2405ebadd bug 7560: Removed stack trace from Snapshot delete event
status 7504: resolved fixed
2010-12-24 20:51:47 +05:30
prachi 79bf27ba6d Moved utility methods that convert comma-separated strings into a List and vice-versa, from ConfigurationManager to StringUtils.java 2010-12-23 16:41:23 -08:00
prachi a94e8db110 Bug 7473: host tags
Code changes and schema changes for adding/updating hostTags for hosts and serviceOffering. New local storage allocator 'HostTagBasedLocalStoragePoolAllocator' is added to search for storage pools that have associated hosts having the specified host tag.
2010-12-23 14:50:38 -08:00
prachi dcf335de6c Intial code changes and schema changes for adding/updating hostTags. Also some code for serviceOffering. 2010-12-23 14:22:05 -08:00
nit 0fff4badea bug 5942 : Fixing the 2.1.x build. Putting the entire common logic to UserVmManager. 2010-12-22 12:30:01 +05:30
nit 0de8921d57 bug 5942,7164 : For pool allocation calculation while creating vm’s we consider templates but not on the dashboard - correcting that.
While creating a vm if a pool is not adequate to create the vm's volume then improving the misleading verbiage of the log message.
2010-12-20 15:07:12 +05:30
nit 2c891d5b77 bug 5942 : On Dashboard we account for only running vm's CPU and memory but while actual vm creation we also account for stopped / destroyed vm's within the skip counting hours. Made code change so that both of them call the same functionality to check for CPU and memory capacity. 2010-12-17 17:46:39 +05:30
nit af0d6aa568 bug 7391 : Preventing Secondary Storage stats to be deleted on each restart of management server. Not sure why we delete all the stats on each restart of management server. 2010-12-16 12:25:16 +05:30
nit d96c7953b1 bug 7391 : Minor improvements to StatsCollector. 2010-12-15 21:12:53 +05:30
will aaa641066f Fixed the garbage collector for primary storage to now ignore any volumes that have been removed but doesn't have a storage pool ID. The case when this could happen is when the volume was attempted to be created on a storage pool but failed. 2010-12-09 19:45:00 -08:00
will b5ecb69c6a Fixed yet another problem where if the first volume creation failed on the storage pool, and was successfully created on a second storage pool, the VM would be attempted to be started on a host from the first storage pool. Obviously, this wouldn't work. 2010-12-09 18:07:11 -08:00
Alex Huang a275ad058e More fixes after Praveen testing 2010-12-09 11:37:19 -08:00
Alex Huang e9ba29d807 fixes the one pod per account bug 2010-12-08 10:59:20 -08:00
Kevin Kluge a6c278b700 add hack to set template physical size to 10 GB if we otherwise do not know the size and it claims to be larger than 10 GB. for local storage only. 2010-12-06 17:28:15 -08:00
abhishek 49251b0c41 backporting 7414 into 2.1.x 2010-12-03 10:12:35 -08:00
Anthony Xu d5b04dd25a bug 7295: seems like one agent attache is removed twice
status 7295: resolved fixed
2010-11-22 20:45:59 -08:00
Anthony Xu 7746257f79 remove some unnessary changes for 2.1.6 2010-11-22 17:35:51 -08:00
Anthony Xu 21e6fd378f bug 7214: there was a race condition between delete and creaet agentattache
status 7214: resolved fixed
2010-11-22 15:13:22 -08:00
will 79faeb0846 bug 7251: block IE6 from accessing /client/console
status 7251: resolved fixed
2010-11-19 19:24:13 -08:00
nit 06a1e47fb3 bug 7161 : Fixed CreatePrivateTemplate NPE. This was getting thrown when template creation was ordered from a volume for hypervisor other than KVM. For now we support template creation from volume only for KVM. The bug was more due to conversion of Long to long where the Long object was null.
status 7161: resolved fixed
2010-11-15 15:14:56 +05:30
abhishek fe1f2824a4 bug 7172: this npe occurs when we try and delete rules on a router which does not exist. fixing the same.
status 7172: resolved fixed
2010-11-13 09:27:53 -08:00
anthony bfed53ab3a bug 7158:
this is not a bug, the policy is not delete but in inactive status.
anyway, now the policy is delete,

status 7158: resolved fixed
2010-11-12 18:00:49 -08:00
anthony fae1c0c054 fix build 2010-11-12 16:43:48 -08:00
Kelven Yang 9abbd60e7b Improve console access security based on Godaddy's feedback 2010-11-12 15:45:51 -08:00
anthony 5958a4469a bug 7149: merge from master 2010-11-12 15:00:27 -08:00
anthony 8d2bee85f2 bug 7149: find the correct host to start VM
the root cause is there is another volume entry for this VM, any the volume creation is failed, MS think the VM is created on storage pool 213

+----------------------------+-------------+-----------+---------------------+---------+---------+---------+
| 734 |          8 |         4 |     213 |         652 |         0 | i-8-652-VM-ROOT |          0 | NULL   | NULL                                 |      1 |              1 | NULL       | NULL    | ROOT        | STORAGE_POOL  | NULL      | NOT_MIRRORED |       NULL |               23 |           2 | NULL                       |           0 |         0 | 2010-11-10 16:08:09 | NULL    | NULL    | Failed  |
| 735 |          8 |         4 |     203 |         652 |         0 | i-8-652-VM-ROOT | 8589934592 | lvm    | 29308205-5472-46aa-b75e-cf992ca7718a |      2 |              1 | NULL       | NULL    | ROOT        | STORAGE_POOL  | LVM       | NOT_MIRRORED |       NULL |               23 |           2 | NULL                       |           0 |         0 | 2010-11-10 16:08:11 | NULL    | NULL    | Created |

status 7149:  resolved fixed
2010-11-12 12:46:26 -08:00
anthony c22afd71c2 bug 6987:
do not delete template from secondary storage in 2.1.x , it is needed by snapshot

status 6987: resolved fixed
2010-11-11 13:45:17 -08:00
anthony 1708e0a531 bug 7055: delete all snapshotschedule after restart
I tested this in master, but didn't in 2.1.x. they are different

status 7055: resolved fixed
2010-11-10 14:33:26 -08:00
anthony d695e0f5ba bug 7055: reschedule all policies after management server restart
test:
1. create policies for serveral volume.
2. stop management server
3. detele serveral rows in snapshot_schedule
4. start management server
5. check if the deleted row come back

status 7055: resolved fixed
2010-11-08 18:22:44 -08:00
alena da30ddbef7 bug 6777: get correct userId when save event for volumeDestroy command
status 6777: resolved fixed
2010-11-08 13:13:24 -08:00
edison 10e9396996 bug 5839: add console proxy for domr
status 5839: resolved fixed
2010-11-08 11:56:47 -08:00
anthony 3df5ec7981 bug 6987: root disk snapshot depends on template, if template is deleted, then you can not use the snapshot. this issue doesn't exist in 2.2. in this fix, template is not deleted from sencondary storage
test:

1. create a template
2. create a vm from this template
3. create several snapshots againg vm root dist
4. delete template
5, create vm from one of the snapshots
see if the issue is fixed

status 6987: resolved fixed
2010-11-04 11:39:20 -07:00
anthony 86d02eaa15 bug 6882: relink the child to parent after delete snapshot
change dd block size from 512 to 1M, make taking snapstho faster for iscsi primary storage

status 6882: resolved fixed
2010-11-03 15:59:16 -07:00
Chiradeep Vittal fe9a8c5aeb bug 6909: get the logic of removing ips from the second vif right
status 6909: resolved fixed
2010-11-02 17:48:45 -07:00
Chiradeep Vittal a907c1d09f bug 6807: split associateIp into single ip and ip list cases since it is impossible to assure correct operation with previous approach
status 6807: resolved fixed
2010-11-01 23:47:22 -07:00
nit 01197d2730 bug 6748: Correcting secondary storage space utilization on the dashboard. The fix will update the existing db entry and will create a new entry for the first time only.
status 6748: resolved fixed
2010-11-01 13:40:08 +05:30
anthony f802808613 Merge branch '2.1.x' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss into 2.1.x 2010-10-29 20:00:52 -07:00
anthony 80a32ad031 remove heartbeat.log
don't create bond
2010-10-29 20:00:31 -07:00
kishan 8294ce7fec bug 6789: release router lock after commiting transaction
status 6789: resolved fixed
2010-10-29 16:18:08 +05:30
edison e876d74507 Add back creating template from volume for KVM 2010-10-25 16:03:45 -07:00
anthony 118066eeab bug 6665: don't need to send poolEject command for the last host, and mark it as success
status 6665: resolved fixed
2010-10-21 10:17:17 -07:00
anthony 9d6e553288 bug 6688: there is obsolete nfs handle, try to umount it
status 6688: resolved fixed
2010-10-20 19:26:03 -07:00
Kris McQueen 2307255aab bug 6680: constrain the snapshot list by domainId so that snapshots are listed only for the domain hierarchy that the admin has access to
status 6680: resolved fixed
2010-10-20 15:24:05 -07:00
anthony 21da2d6608 There are subdomain concept, so this patch doesn't fix the issue,
Kris is on this

Revert "for domain admin, only list snapshot inside this domain"

This reverts commit f314c59ba8.
2010-10-20 11:21:51 -07:00
anthony f314c59ba8 for domain admin, only list snapshot inside this domain 2010-10-20 11:11:13 -07:00