Commit Graph

404 Commits

Author SHA1 Message Date
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 7a42f9c96e reduce xapi request 2010-11-10 19:59:57 -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 782b81218b don't unplug PIF 2010-11-10 13:43:31 -08:00
anthony bc85b087a2 don't destroy stopped VMs when initiate host 2010-11-10 13:36:00 -08:00
anthony 59e283ac0c remove random vlan, use one to one vlan,
checked in by Alex
2010-11-10 13:33:11 -08:00
will 761a192042 bug 7027: domain admins can no longer modify resource limits of any accounts
status 7027: resolved fixed
2010-11-08 21:32:25 -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 964e013dc8 bug 7027: only Root admin can modify resoure limits
status 7027: resolved fixed
2010-11-08 13:52:11 -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 56b39d5730 Revert "add db migration for storage_pool: uuid can be null"
This reverts commit 18205acb3b.

It's added into schema-214to215.sql
2010-11-08 12:43:33 -08:00
will 15a86de243 bug 6709: Fixed creation of template from the volume snapshot detail screen to now pass in the password enabled variable.
status 6709: resolved fixed
2010-11-08 12:07:32 -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 da4c68e967 There is a timestamp inside vhd file, which is supposed to be seconds from UTC 2000.1.1. 00, but Citrix use local time.
which causes vhd check think updated vhd template was created in future time and refuse the vhd template.
The workaroud is to set system VM zone as the futurest zone, which is GMT-14
2010-11-03 16:57:56 -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
anthony 6d56d3a939 empty heartbeat 2010-11-02 22:23:20 -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
edison 5b4b25e5d2 fix rpm build 2010-11-01 17:35:13 -07:00
anthony 1a9d59ee55 Merge branch '2.1.x' of ssh://anthony@git.cloud.com/var/lib/git/cloudstack-oss into 2.1.x 2010-11-01 17:14:22 -07:00
anthony df0ac6bb02 add snapshot check script 2010-11-01 17:12:48 -07:00
Chiradeep Vittal 2b05811508 bug 6807: firstip determination is more complicated than at first sight
status 6807: resolved fixed
2010-11-01 13:10:05 -07:00
edison 4bfe0154b0 bug 6872: add db migration script for 2.1.4-2.1.5: remove not null constraint for storage.pool
status 6872: resolved fixed
2010-11-01 10:27:45 -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
edison 18205acb3b add db migration for storage_pool: uuid can be null 2010-10-29 19:31:20 -07:00
Chiradeep Vittal c16ebe9452 bug 6807: first ip is different from sourcenat
status 6807: resolved fixed
2010-10-29 16:35:21 -07:00
kishan 8294ce7fec bug 6789: release router lock after commiting transaction
status 6789: resolved fixed
2010-10-29 16:18:08 +05:30
Chiradeep Vittal 71f22acb95 bug 6807: add the source nat ip with net mask
status 6807: resolved fixed
2010-10-29 00:04:24 -07:00
anthony a01006f930 bug 6797: if you stop VM in the process of installation, next start will start from root disk
status 6797: resolved fixed
2010-10-28 12:14:54 -07:00
edison e876d74507 Add back creating template from volume for KVM 2010-10-25 16:03:45 -07:00
edison 3bc87d899f Fix NPE when creating VM in external DHCP mode 2010-10-25 14:03:45 -07:00
anthony 74b798240c 1. remove plugin check Sr, heartbeat does that
2. if pbd.plug fails, moves on, and report warnning
2010-10-22 12:03:53 -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 314213e302 when get scsi_id, replace all whitespaces by underscores 2010-10-20 13:48:40 -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
David Noland 46632f0e77 bug 6149: changed default AJP port to avoid random port assignment at startup. 2010-10-19 18:22:41 -07:00
Chiradeep Vittal 6fd5d61c38 dont wipe dhcp and antispoof rules every time 2010-10-19 14:00:35 -07:00
edison 762bf1eaa3 add CLI deb package 2010-10-17 15:51:12 -07:00
anthony 8a6bde7d83 bug 6605: add same mount option to snapshot related mount with nfs SR mount
option is
rw,soft,timeo=133,retrans=10,tcp,noac
2010-10-15 20:37:34 -07:00
anthony 551ce004c8 bug 6607: return true for nfs
status 6607: resolved fixed
2010-10-15 19:59:09 -07:00
Chiradeep Vittal 7b03b6a4fe bug 5532: allow more instances. could still fail with a very long instance name 2010-10-15 18:01:32 -07:00
anthony 0141be3d80 bug 6589: there is some problem in checkMount script, I don't understand, and since we have heartbeat, we don't need to checkSr every time, remove checkSR for nfs SR
status 6589: resolved fixed
2010-10-15 17:09:43 -07:00
abhishek 2a6aef6192 changing table names 2010-10-15 16:38:53 -07:00