Commit Graph

197 Commits

Author SHA1 Message Date
Edison Su 47380dc20e fix add host 2011-05-12 15:03:15 -04:00
Sheng Yang 0c1ad8ac88 Fix another "Too many open file open"
Resources need to be released before creating new NioClient instance during the
reconnecting.
2011-05-11 16:48:27 -07:00
Edison Su 736ed1ba69 rename cloud to cloudutils 2011-05-09 10:09:09 -04:00
Edison Su cbf2b03e31 refactore cloud related tools 2011-05-06 19:54:52 -04:00
Kelven Yang 7c2bcefe71 bug 9371: serve client request only with running proxy VMs, serialize proxy VM launch 2011-05-05 14:59:20 -07:00
Edison Su f5d1154743 Revert "augeas <=0.7.4"
This reverts commit 61fb86de5db1378515cfd479240b3a9bde2ee7c0.
2011-05-04 13:52:25 -04:00
Edison Su 8b884a8400 augeas <=0.7.4 2011-05-04 13:47:50 -04:00
Edison Su bbbb71915c fix reboot issue on ubuntu 10.04 2011-05-03 11:19:04 -04:00
Chiradeep Vittal b42ebf4872 Build fixes after first pass at merge 2011-05-03 10:41:31 -07:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
Sheng Yang cf114fc7af Enable SSL for mgmt servers and agents
The port remains 8250.

The keystore saved at /etc/cloud/management/cloud.keystore. We also include one
fail-safe keystore/certificate for fallback if we are unable to generate
certificate and keystore. If we use fail-safe keystore, a warning and calltrace would be show.

Notice you need to upgrade agent, as well as systemVM's images.
2011-04-28 17:41:29 -07:00
Kelven Yang e69774e13a Add console proxy management state, support certificate upload, all done except UI 2011-04-21 18:46:37 -07:00
Edison Su d8ee7d9fc3 if storage network disconnected, reboot the host 2011-04-14 17:46:54 -04:00
Frank 92155522f2 Add license header to files 2011-04-14 11:23:14 -07:00
alena 52bf157387 bug 9398: removed resource_type from volumes table as we no longer use it. Corresponding db upgrade scripts are updated
status 9398: resolved fixed

Conflicts:

	server/src/com/cloud/storage/StorageManagerImpl.java
2011-04-11 18:14:35 -07:00
Edison Su c42b928b7d bug 8459: add nic hotplug support 2011-03-31 19:11:02 -04:00
anthony 436dccb6d7 bug 9189: fixed it in master, modifystoragepool doesn't try to create/import any more, will port it to 2.1.x 2011-03-28 19:11:20 -07:00
Alex Huang 9d158dc060 Removed the async create status for volume now that our customers don't use it 2011-03-24 20:04:23 -07:00
Edison Su 954dacdbda fix NPE on centos when dumpxml 2011-03-24 11:33:30 -04:00
Edison Su b1a316dd91 add guest network for KVM 2011-03-09 19:03:31 -05:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
Edison Su 53eb46dc2a Add local storage support for kvm 2011-03-01 19:51:43 -05:00
Edison Su c80335c9df bug 8783: user vm fs is crashed, use O_DIRECT instead of O_DSYNC/O_SYNC in qemu, aka cache=none. Hope we can reduce the possibility of guest vm crashed.
status 8783: resolved fixed
2011-03-01 16:38:23 -05:00
Edison Su 9b51886850 fix migration issue 2011-02-28 12:16:40 -05:00
Edison Su 2705adb3b1 security group is per bridge 2011-02-28 12:16:40 -05:00
Edison Su adbd20ca5a bug 8655: add security group for direct tagged network 2011-02-23 15:53:14 -05:00
Edison Su 0c8b86fc56 add multiple nics support for security group 2011-02-23 15:52:04 -05:00
Edison Su 37cb0ae2c9 add security group for direct tagged vlan 2011-02-23 15:52:04 -05:00
Kelven Yang 4a66441b93 Fix Eclipse project settings for separation of JUnit 2011-02-17 09:55:05 -08:00
Edison Su b2bb4e6b0a rebuild qemu-kvm on FC14 2011-02-08 20:11:31 -05:00
Edison Su 3cc5ce8642 add new configuration parameter: cmd.wait, for heavy timing-consuming commands, such as backupsnapshotcommand 2011-02-03 18:57:38 -05:00
Edison Su fd0752e995 bug 5811, 8261: When delete host, send a shutdownCommand to kvm agent, then kvm agent will not automatically reconnect to mgt server
status 5811: resolved fixed
status 8261: resolved fixed
2011-02-03 13:40:07 -05:00
Edison Su 4ea260cafd bug 8204: mgt server needs to pass down iso info before migration, if the vm has ISO attached
status 8204: resolved fixed
2011-02-02 19:13:12 -05:00
Edison Su a46155e895 bug 8094: send networkrulesforssvm command to agent, no matter security group is enabled or not
status 8094: resolved fixed
2011-02-02 16:26:54 -05:00
Kelven Yang 8c860ff0d1 Sync KVM resource with premium/open source merge 2011-02-01 17:05:38 -08:00
Kelven Yang a8fb44a148 Use exports for jar dependecy 2011-02-01 11:10:37 -08:00
will 49858cf189 - Exported all thirdpart jars in the deps project to make it available to other projects. 2011-02-01 10:59:11 -08:00
Edison Su d893b24949 bug 8193: enable attaching disk on centos 5 host
status 8193: resolved fixed
2011-02-01 09:16:11 -05:00
Edison Su 14d09f53a4 fix delete storage pool 2011-01-31 16:37:07 -05:00
Edison Su fd944d646d sychronized migrate command, happened see that migrating failed, due to conflict in vnc port allocation 2011-01-31 16:04:56 -05:00
Edison Su 200da6d39d fix creating ssvm data disk 2011-01-31 16:04:56 -05:00
Alex Huang b98961bcb1 fixed all the broken thirdparty stuff 2011-01-31 10:51:01 -08:00
Edison Su 4f3d492366 bug 8264: "cp" is faster than "qemu-img convert" when copying template from secondary to primary
status 8264: resolved fixed
2011-01-29 06:02:33 -05:00
Alex Huang ea59085ae7 added type to startup commands to be used later 2011-01-28 15:37:00 -08:00
Edison Su f8778ea4c6 add sharedmountpoint storage pool to support all kinds of clustered file system 2011-01-28 04:37:31 -05:00
Kelven Yang e932f23af2 Catch and ignore exceptions caused by external program, let console proxy at least continue and give possibility for administrator to manually correct the route issue inside console proxy VM 2011-01-26 13:58:23 -08:00
Edison Su 4b355ca301 bug 8118: add security group back
status 8118: resolved fixed
2011-01-22 04:04:52 -05:00
Edison Su 314a491b9c bug 8094: forword port NetworkRulesSystemVmComman from 2.1.x to 2.2, to fix security group is lost after migration
status 8094: resovled fixed

Conflicts:

	agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
2011-01-22 04:04:52 -05:00
Edison Su bc62817890 bug 8085: fix live migration
status 8085: resolved fixed
2011-01-22 04:04:51 -05:00
anthony cd0f5e7c20 bug 7976: if the snapshot is empty, still create a snapshot entry which has the same backupSnapshotId even though nothing is backed up to secondary storage
status 7976: resolved fixed
2011-01-21 10:45:09 -08:00
Alex Huang 2ec5bef63f eclipse workspace changes 2011-01-20 10:31:18 -08:00
Alex Huang 57def20cf6 moved all agent commands to api. 2011-01-20 09:54:05 -08:00
Edison Su e526875669 fix starting agent error 2011-01-19 05:01:33 -05:00
Edison Su 0c9500e815 bug 8022: fix attaching multiple disks, after restart/rebooting
status 8022: resolved fixed
2011-01-19 05:00:50 -05:00
Edison Su f45a8238fe add bonding support, as long as people create a bonding device and a bridge on it by themself, then cloud-agent can use it 2011-01-15 09:52:44 -05:00
Edison Su 72e82c8c8c fix adding customized public/private nics for kvm 2011-01-15 09:52:38 -05:00
Edison Su e7108948ac bug 7548: re-try the connection between cloud-agent and libvirtd, if the connection is broken.
status 7548: resolved fixed
2011-01-14 13:33:33 -05:00
Edison Su 3aa8c870f7 libvirt on RHEL6 doesn't handle VM_RESUME event emitted from qemu, then libvirt thinks the vm is always in PAUSE state, while actually the vm is running after taking snapshot. So, need to manually resume the vm, in taking snapshot command... 2011-01-13 12:21:39 -05:00
Edison Su d590f28efd bug 7080: add networkusage for kvm 2011-01-11 09:41:35 -05:00
Frank 9d2916ffcc it works 2011-01-08 16:28:47 -08:00
Edison Su d2dab22437 enable snapshot for rhel 2011-01-08 11:08:21 -05:00
Edison Su 340f600a38 add new hypervisor path 2011-01-08 09:04:26 -05:00
Edison Su c12e96dcc3 add missing files 2011-01-06 12:25:50 -05:00
Edison Su 4a409200dc fix build for rhel6 and fix router default gw 2011-01-07 08:02:15 -05:00
Alex Huang 4eba6d10d7 Moved State into VirtualMachine like other States of objects 2011-01-04 15:01:34 -08:00
Edison Su 355286e8f5 bug 7795: enale adding multiple disks to a vm
status 7795: resolved fixed
2010-12-31 08:51:22 -05:00
Alex Huang 544fa7ff1b remote access vpn, user ip address changes 2010-12-29 09:32:54 -08:00
Kelven Yang 271b1ee58a add consoleproxy.disable.rpfilter configuration variable to get rid of the annoying access issue in development environment.
set it to true for development environment, it will allows traffic that comes in from public interface to be able to be routed back from private interface
2010-12-28 17:15:00 -08:00
Kelven Yang 1805c73363 1) Add HostStats support to vmwre
2) Normarlize HostStats to make it generic to all hypervisors
2010-12-22 16:27:02 -08:00
edison 339cf3dc48 fix rebase 2010-12-16 18:13:31 -08:00
edison 19431d31d3 add security group support for kvm 2010-12-16 18:02:41 -08:00
Alex Huang 5b11649c55 Removed even more old code 2010-12-16 17:17:02 -08:00
abhishek 5154ba1539 bug 6361: this is a good point to commit; 1st round of refactor is done, code is clean compiling and ms is deploying 2010-12-16 15:37:19 -08:00
Alex Huang a7a4d92739 Renamed Start2 to Start 2010-12-16 14:18:53 -08:00
Alex Huang 65d0b32182 removed a bunch of old code 2010-12-16 14:04:32 -08:00
edison b24cf4715b bug 6278: fix the race condition that take snapshot/and delete snapshot at the same time
status 6278: resolved fixed
2010-12-10 00:27:44 -08:00
edison f48af6ec43 bug 7317,7013: return error message if creating snapshot from KVM host os that not supported snapshot
status 7317: resolved fixed
status 7013: resolved fixed
2010-12-09 21:19:35 -08:00
edison 20b677be10 add public/private/guest network in each type of vm 2010-12-06 18:36:46 -08:00
Kelven Yang 51b55d8ae9 Carray storage pool uuid in VolumeTO to let hypervisor resource to identify storage easier 2010-12-06 15:57:40 -08:00
Frank Zhang 0c1dbdc015 remove wscript_build from agent 2010-12-04 23:03:24 -08:00
edison 5c73e46113 bug 7296: add kvm.public.network.device and kvm.private.network.device from UI
status 7296: resolved fixed
2010-12-04 20:01:10 -08:00
Kelven Yang cc7dc5e6be Persist disk chain info when we detach a volume, check disk chain info when we attach a volume, this is required when snapshot operations are involved in vwmare 2010-12-03 18:59:23 -08:00
anthony fb0675bbf4 bug 7365: return both physical and virutal size when creating private template
status 7365: resolved fixed
2010-11-29 18:58:48 -08:00
anthony fff1dd874a fix classpath for xenserver-5.6.0-1 2010-11-29 15:26:07 -08:00
anthony 30fa6530f9 bug 6088: track template physical size in template_host_ref table
add migration from 21 to 22
after migration , SSVM needs to stop/start

status 6088: resolved fixed
2010-11-24 20:05:52 -08:00
edison 583d5e9965 bug 7280: make sure secondary storage is mounted on agent host
status 7280: resolved fixed
2010-11-23 16:28:05 -08:00
edison 32e84feecc bug 7308: fix NPE when downloading primarystorage
status 7308: resolved fixed
2010-11-23 16:28:04 -08:00
edison b9fadd923b bug 6931: vncport is un-used when stopvm
status 6931: resolved fixed
2010-11-22 17:49:58 -08:00
edison e6330c6293 bug 7008: fix race condition that muliple storage access, libvirt can't handle it.
status 7008: resolved fixed
2010-11-22 16:03:42 -08:00
Alex Huang 1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
edison 2586214b21 store guest os name in vm xml configuration file, not the mapped one 2010-11-19 17:42:13 -08:00
Alex Huang 5b4a6f27db Changed networkconfigurations to network as per Sheng's suggestion 2010-11-19 15:44:42 -08:00
Anthony Xu 4d053964b6 remove zfs related staff, which is not used 2010-11-18 14:43:20 -08:00
Anthony Xu f62d9ae9c9 remove unused files 2010-11-18 14:43:20 -08:00
edison 8ca6f1669e start2command fro secondarys storage vm and make it work for KVM 2010-11-11 17:04:10 -08:00
edison 6944979f94 bug 7142: fix the race condition that multiple create vlan requests coming from mgt svr
status 7142: resolved fixed
2010-11-10 13:36:50 -08:00
edison 007783f6cf add more logs when taking heartbeat, and make ha enabled even in oss 2010-11-10 09:49:03 -08:00
edison 598aae5295 add copyright 2010-11-09 22:05:54 -08:00
edison 4bc63e5c32 Enable KVM HA on nfs storage 2010-11-09 22:03:22 -08:00
edison 5a173ad363 bug 6932: add create private template from volume command support for KVM
status 6932: resolved fixed
2010-11-04 11:00:29 -07:00