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
edison
2a9ec26e66
kvm premium have to use systemvm-premium, to make console proxy happy:
...
if mgt srv is premium, then it will use ssl to connect to console proxy agent, but the ssl related code is in console-proxy-premium
2010-11-03 12:13:25 -07:00
edison
8563114364
kvm premium does have vnc port for console proxy
2010-11-02 15:36:11 -07:00
Alex Huang
3279c26796
Removed a bunch of InternalErrorException
2010-11-02 12:25:08 -07:00
abhishek
f3b4dd8a1c
further code modularization, extracting redundant code to common methods
2010-11-01 09:06:32 -07:00
abhishek
7b87aad660
fixed a bug in the listener flow; now handling the application of certs to existing cpvms and new cpvms based on a fork in the logic in the console proxy resource
2010-11-01 09:04:51 -07:00
abhishek
abd64eddd1
adding more exception handling and debugging support
2010-11-01 09:04:51 -07:00
abhishek
4d2e126ea1
more cpvm refactoring
2010-11-01 09:00:58 -07:00
edison
d0c68cd4a7
add a timeout (5 minutes) to wait for KVM agent host connecting to mgt svr, during adding host->discover
2010-10-29 19:18:07 -07:00
abhishek
a6e897b539
changing the log level to debug for some messages
2010-10-26 15:21:41 -07:00
abhishek
f64abad8f5
completed the listener logic. Based on the startup command, we will try and update a cust cert to a new running cpvm, and fail if such a cert doesn't exist in the cert table in our db.
2010-10-26 14:27:26 -07:00
abhishek
cb4a80b8ac
starting off with the listener logic.This will ensure that every new console proxy vm that starts, will potentially look for any custom certs uploaded to our db. If they exist, we will send a command to the agent, so that the cert is uploaded, and the ssl context is re-initialized.
2010-10-26 14:27:26 -07:00
abhishek
822ee2d899
more changes for the console proxy custom certificate part; some code cleanup as well as event generation with console proxy reboot logic
2010-10-26 14:27:26 -07:00
abhishek
5b2aa1d4a1
since we cannot use the mgmt server framework for reading cust certs from db, we will write the cust cert to the individual proxies as a file, and then read this file in to update the keystore on each restart
2010-10-25 13:33:14 -07:00
root
c98b2a7fa2
incremental checkin around the console proxy config enh
2010-10-25 11:52:08 -07:00
Kelven Yang
f6e0d2dd41
Make system VM work on vmware
2010-10-14 17:23:13 -07:00
Kris McQueen
8e086d7a21
resolving merge conflicts between 2.1.refactor and master
2010-10-12 16:28:16 -07:00
Kris McQueen
2740ba6c40
final merge of master->2.1.refactor preparing for merge back into master
2010-10-12 14:46:24 -07:00
Alex Huang
ce091de3d2
more changes for refactor
2010-10-12 07:17:47 -07:00
edison
139ff273ff
fix systemvm template for kvm, using chiradeep's latest debian template
2010-10-05 20:41:39 -07:00
Kelven Yang
5f3bb36650
1) Merge following change from 2.1.X
...
Add time stamped ticket to console access URL to make it more secure
2) Fix a problem caused by the inconsistency of using different path seperator between windows platform and linux platform
2010-10-04 15:31:05 -07:00
edison
b441deec94
Need to set all the system vms as read state
2010-09-30 20:39:34 -07:00
edison
ad1ef80459
Now we have multiple routing template and buitin templates now, refactor template download code, that can handle it.
...
Basically, change the meaning of type field in template table: SYSTEM means sytem vm template, BUILIIN means buildin templates.
2010-09-29 18:41:55 -07:00
edison
9e0f57bc0e
change code for new UI
2010-09-29 18:40:52 -07:00
edison
cb1bbd49e4
add a public.ip option in console-proxy agent.properties
2010-09-29 18:40:49 -07:00
Kris McQueen
848ce60097
Merging master into 2.1.refactor, resolve the merge conflicts as best I can. New commands related to extracting template/iso/volume and related to instance groups were refactored to the new API framework.
2010-09-28 15:47:14 -07:00
Alex Huang
c443867f28
more changes
2010-09-27 15:14:38 -07:00
Alex Huang
327924a9ad
More changes for refactoring
2010-09-15 18:00:54 -07:00
edison
d933f19d35
bug 5800: add cluster for KVM
...
TODO: need to make sure the host cpu is from the same vender in a cluster
2010-09-10 16:00:36 -07:00
Alex Huang
7249f168d5
more file changes
2010-09-09 13:27:20 -07:00
Manuel Amador (Rudd-O)
b0acdbcf8b
Split out build responsibility into per-project wscript_build files. Installation of generic directories like bindir, and creation of systemvms, remain in toplevel wscript_build. Make some waf code useful and reusable in the form of tools.
2010-08-31 20:40:17 -07:00
edison
fb592dd34b
fix build
2010-08-26 16:30:19 -07:00
edison
ba50928c3f
bug 5936: fix creating template
...
status 5936: closed fixed
2010-08-26 16:25:47 -07:00
edison
16e981928a
Issue #: 5935, 5937
...
Status 5935: resolved fixed
Status 5937: resolved fixed
2010-08-26 16:25:37 -07:00
edison
3ab4651cf0
Issue #: 5978 5977 5971 5972
...
Status 5978: resolved fixed
Status 5977: resolved fixed
Status 5971: resolved fixed
Status 5972: resolved fixed
2010-08-25 15:27:34 -07:00
edison
ea3bbcb464
fix attaching disk
2010-08-25 15:27:17 -07:00
edison
dc14cb4b3d
fix vlan dev naming issue: don't naming it by ourself
2010-08-25 15:26:59 -07:00
edison
398d38b38c
rename qemu-kvm to cloud-qemu-system*
2010-08-25 15:26:04 -07:00
edison
0a35a8120d
Oh, why there is so many un-compatible libvirt...
2010-08-25 15:22:19 -07:00
Alex Huang
b250b985ec
changes
2010-08-18 12:19:22 -07:00
Alex Huang
c5f822ca7a
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-08-16 11:30:22 -07:00
Alex Huang
867b43dcf9
more changes for the rewrite.
2010-08-16 11:28:11 -07:00
edison
53df26daaa
"Add host" for kvm:
...
The sequence:
1. add host in UI
2. scp setup_agent.sh to agent host, and execute it. This script receives hostip,zoneid, podid and guid, then runs "cloud-setup-agent" and "cloud-setup-console-proxy". Here, we assume that network/hostname and cloud-agent are already configed and installed.
3. Write a dummy kvm resource into the database, then wait for agent connects to server, by polling the database for every 1 minutes. If it finds the agent is in UP state in database, then return, or wait for at least 10 minutes.
2010-08-13 23:19:36 -07:00
edison
dc005b9b9c
add setup_agent.sh, the first script running during add host
...
Make cloud-setup-agent/console-proxy in unattended mode
2010-08-11 19:31:07 -07:00
Manuel Amador (Rudd-O)
14ae76781e
Committing Kris' big merge
2010-08-11 16:02:57 -07:00
edison
49a8f1d9ce
test
2010-08-11 11:42:52 -07:00
Manuel Amador (Rudd-O)
ac730ec496
Branch 2.1.refactor committed
2010-08-11 09:13:42 -07:00
Manuel Amador (Rudd-O)
05c020e1f6
Source code committed
2010-08-11 09:13:29 -07:00