anthony
b9a5183b34
add lvmohba support
2011-02-07 15:21:04 -08:00
Alex Huang
c6fe6f2f45
Removed all the stats command/answer from debug logging
2011-02-07 12:50:22 -08:00
anthony
aa65530960
cleanup halted VMs in readyCommand
2011-02-04 20:00:27 -08:00
anthony
ca60419bd6
refactor some code
2011-02-04 19:34:52 -08:00
anthony
e14b8311cc
bug 7563: create snapshot in async create method
...
status 7563: resolved fixed
2011-02-04 19:20:47 -08:00
Frank
95a6a09ca7
Ovs -- clean up temp dom0 vif after network created
2011-02-04 13:00:54 -08:00
Alex Huang
c162c617c2
Lost the in sequence flag
2011-02-04 11:56:21 -08:00
Alex Huang
86e51eb536
Made changes to the exceptions thrown by NetworkManagerImpl
2011-02-04 11:56:20 -08:00
Alex Huang
0105c03a27
initial HA work
2011-02-04 11:51:14 -08:00
alena
6f55c4dd7e
bug 8270: Synchronize on 1) ipAddress object when create/delete ipForwarding/portForwardingRule and vpn service 2) on networkId when assignTo/removeFrom/deleteLoadBalancer
...
status 8270: resolved fixed
2011-02-03 18:45:49 -08:00
Frank
54450460d2
implement network element for ovs stuff, so we don't make other code dirty
2011-02-03 17:39:03 -08:00
anthony
c26833fb8a
remove systemvm-premium.iso
2011-02-03 15:33:19 -08:00
anthony
b226861783
bug 8194: add new storage pool type PreSetup,
...
1. user setup SR for xenserver pool
2. in UI, add a new storage pool as PreSetup
server: "ip of storage "
path:"name of the SR"
2011-02-02 19:33:08 -08:00
anthony
b9e32cceb9
script may return stdout from command, need to add another # to seperate it
2011-02-02 16:29:11 -08: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
Chiradeep Vittal
8bcf07e6f0
bug 6844: don't chmod, respect permissions set by NFS server admin
2011-02-02 12:56:46 -08:00
Edison Su
cfd8cdbf20
bug 8195: add on-demand download for buildin templates, only download these buildin centos template after when you adding a host for the hypervisor
...
status 8195: resolved fixed
2011-02-02 12:03:40 -05:00
kishan
a4d306259e
added id to ip address usage
2011-02-02 18:20:14 +05:30
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
anthony
f5efc50191
do not use systemvm-premium iso
2011-01-31 18:46:10 -08:00
Alex Huang
c38238c614
some improvements in checkSR
2011-01-31 17:48:24 -08:00
Alex Huang
9b8d251afd
fixed problem with halted local storage vms
2011-01-31 17:48:24 -08:00
Alex Huang
b98961bcb1
fixed all the broken thirdparty stuff
2011-01-31 10:51:01 -08:00
Kelven Yang
5cb25036a3
Fix addHost for Xen after FOSS/premium merge
2011-01-31 10:13:01 -08:00
kishan
92bf106ab9
including host type in network stats
2011-01-31 19:36:32 +05:30
anthony
9e63416da3
merge setupxenserver
2011-01-28 18:58:50 -08:00
anthony
76ad02d2fa
cleanup XenServer code
2011-01-28 18:47:37 -08:00
anthony
079faacd09
bug 8032: XenServer doesn't have Ubuntu 10.04 template, it will consider it as other media, it is HVM VM after installing from CD, user needs to change the OS type to CentOS 5.3 (32 bit)/CentOS 5.3 (64 bit) if user want to run it as PV kernel
...
status 8032: resolved fixed
2011-01-28 16:56:07 -08:00
Frank
e9652e67ad
migrate premium to oss
2011-01-28 16:07:46 -08:00
Alex Huang
f9a9698d96
more unused fields removed
2011-01-28 15:37:00 -08:00
Alex Huang
4dd2e6df72
remove some methods from volume
2011-01-28 15:37:00 -08:00
abhishek
5d18c4c527
bug 8242: introducing the concept of work queue for storage; introducing storage states as opposed to using host states; using row locks as opposed to db table locks
...
status 8242: resolved fixed
2011-01-28 13:43:36 -08:00
anthony
b9b48d8fce
change async poll interval to 1 second
2011-01-28 12:42:29 -08:00
anthony
96d9776c20
remove preallocatedLun
2011-01-28 12:36:31 -08:00
alena
52dd679d95
bug 8185: fixed java part of password reset feature. There are still changes needed in backend scripts (bugs 8253 and 8254 are filed separately)
...
status 8185: resolved fixed
2011-01-27 17:24:09 -08:00
Edison Su
fc97034000
refactor vmstatelistener
2011-01-26 11:01:43 -05:00
alena
a96f8f9575
Refactored 1-1 NAT feature:
...
* added new fields to createIpForwardingRule api: startPort/protocol - required, endPort is optional
* updated "firewall_rules" table with a new field "is_one_to_one_nat" (being set when new rule is created)
2011-01-25 14:43:32 -08:00
Alex Huang
9d3eedaf01
removed gateway and guestzonemacaddress from domr
2011-01-24 17:50:32 -08:00
Alex Huang
463835e7d7
removed unused domain in system vms
2011-01-24 17:50:32 -08:00
Alex Huang
3dd7301fb2
removed unused gateway
2011-01-24 17:50:32 -08:00
Alex Huang
68464d6f66
removed unused dns
2011-01-24 17:50:32 -08:00
Alex Huang
c59e576a51
removed unused dns
2011-01-24 17:50:32 -08:00
Alex Huang
65034995a3
removed unused guest ip fields from system vm
2011-01-24 17:50:32 -08:00
Alex Huang
1a7617bb95
removed unused vlan fields from system vm
2011-01-24 17:50:32 -08:00
Alex Huang
4589446930
removed unused domain_router_id from uservm
2011-01-24 16:56:00 -08:00
Alex Huang
20891ae6f9
removed unused guest ip fields from uservm
2011-01-24 16:55:59 -08:00
Alex Huang
580f42b50d
removed unused external ip and mac address field
2011-01-24 16:55:59 -08:00
Alex Huang
a55d395b86
removed unused vnet field
2011-01-24 16:55:59 -08:00
Alex Huang
fc33ef2be2
Removed several unused fields after the refactoring
2011-01-24 16:18:40 -08:00
Frank
1e985147ec
Ovs tunnel manager -- unplug dom0 vif after network created
2011-01-24 15:10:38 -08:00
Frank
48ae2e5295
fix wrong set of classpath to xenserver source
2011-01-24 14:06:56 -08:00
Frank
38ab26bcb0
ovs tunnel network -- add lock entry in ovs_tunnel_account
2011-01-24 13:47:34 -08:00
kishan
956b678ed4
bug 7857: Added netwrork usage create command to router start command
...
status 7857: resolved fixed
2011-01-24 12:20:38 +05:30
Frank
276e37115b
open vswitch - Implement gre tunnel based network that doesn't use vlan
...
it allows cross zone communication and no 4096 limitation introduced by vlan
2011-01-21 17:32:02 -08:00
abhishek
0dc959c23f
removing guest ip address during ip assoc from java layer
2011-01-21 17:27:13 -08:00
anthony
d80a02c918
use async for start/stop/reboot
2011-01-21 12:12:15 -08:00
anthony
dce0ab6190
fixed ConcurrentModificationException
2011-01-21 11:24:39 -08: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
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
alena
671cce23ad
bug 7704: network_rate is a part of network offering now. It's optional parameter; if not specified - global config param is used.
...
status 7704: resolved fixed
2011-01-21 09:54:27 -08:00
Alex Huang
2ec5bef63f
eclipse workspace changes
2011-01-20 10:31:18 -08:00
Alex Huang
5d3bcdeb28
merge changes
2011-01-20 09:59:08 -08:00
Alex Huang
57def20cf6
moved all agent commands to api.
2011-01-20 09:54:05 -08:00
abhishek
afcb202923
bug 7900: removing obsolete network domain param
...
status 7900: resolved fixed
2011-01-19 17:18:02 -08:00
abhishek
f97a5e78cb
bug 7970: fixing sp maintenance for 2 pools
...
status 7970: resolved fixed
2011-01-19 14:32:56 -08:00
anthony
017146f753
1 use 443 to connect xapi
...
2. update Java binding to xenserver-5.6.100-1.jar
2011-01-18 20:15:39 -08:00
Edison Su
b55e7a5bf4
bug 8032: for xen pv guest, if an iso is attached, then only when the iso's guest os type is equal to vm's os type, we boot from iso.
...
status 8032: resolved fixed
2011-01-19 05:00:40 -05:00
anthony
cfe1d99701
remove unused code
2011-01-14 17:15:23 -08:00
Alex Huang
d43717eef8
merge changes
2011-01-14 15:12:13 -08:00
anthony
621f893f12
bug 7986: should be fixed by 6e6e8ff876, this patch only remove some unneccesary backtrace
...
status 7986: resolved fixed
2011-01-13 17:28:51 -08:00
Chiradeep Vittal
4536f4b65f
bug 6854: add croncommand to periodically cleanup network rules
2011-01-13 16:59:35 -08:00
Chiradeep Vittal
dd7f8625cc
bug 7380: SNAT rules when there are multiple public interfaces
...
bug 6854: port from 2.1.x
2011-01-13 16:59:35 -08:00
anthony
fa1da347c6
bug 7978: it happens when MS is restarted before DeleteTemplateCommand responds, if the template directory doesn't exist, return success
...
status 7978: resolved fixed
2011-01-13 16:24:43 -08:00
Chiradeep Vittal
8ba1b2d33a
bug 7380: SNAT rules when there are multiple public interfaces
2011-01-13 15:49:23 -08:00
kishan
a2752c6207
bug 7842: Move events to service layer from http api
2011-01-14 03:58:57 +05:30
kishan
f6ffdd2888
bug 7857: Add network usage rules after router start
...
status 7857: resolved fixed
2011-01-14 03:58:57 +05:30
anthony
9fccc637d7
bug 7941: mark data disk as unpluggable
...
status 7941: resolved fixed
2011-01-13 12:03:09 -08:00
alena
877741030c
bug 7957: set network domain for domain router based on Network networkDomain parameter. Default networkDomain is "cloud.internal"
...
status 7957: resolved fixed
2011-01-13 11:57:29 -08:00
Ragnar B. Johannsson
4bb42e43cc
Get UserVm details via UserVmDao.loadDetails().
...
Also, removed references to ssh public key in UserVmVO and the underlying
table and used user_vm_details instead.
2011-01-12 23:24:17 +00:00
Ragnar B. Johannsson
83b3580c32
Merge branch 'master' of git.cloud.com:/var/lib/git/cloudstack-oss
...
Conflicts:
client/tomcatconf/commands.properties.in
core/src/com/cloud/vm/UserVmVO.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/vm/UserVmManagerImpl.java
2011-01-12 17:06:08 +00:00
Ragnar B. Johannsson
3e59707dd2
Added user_vm_details table and corresponding access objects.
...
Moved saved encrypted passwds for getVMPassword API cmd to this new table.
Removed SSH keypair id from UserVm - only public key is needed.
2011-01-12 16:32:36 +00:00
nit
58a80d57cc
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-12 19:37:42 +05:30
kishan
6bb4af8381
bug 6947: removed network type from service offering APIs
...
status 6947: resolved fixed
2011-01-12 19:13:09 +05:30
nit
dce1e2031b
bug 7519 : Extract links would have Java genereated UUID instead.
2011-01-12 16:53:42 +05:30
Frank
870d0835a5
bug 7722: open vswitch - add entities to tunnel table/vlan mapping table when
...
host connect, this make these tables lock free(for table lock)
2011-01-11 19:04:37 -08:00
Alex Huang
ad4ed5b2fd
added hypervisor type to vm
2011-01-11 18:02:09 -08:00
anthony
1fd84fbcfa
xen hyperviosr used 128 M memory
2011-01-11 15:19:11 -08:00
nit
ffe387ab5b
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2011-01-11 20:08:24 +05:30
nit
6850a0ae9a
bug 7519 : Opening eth2 for public traffic on ssvm. Implementing the ip firewall for zone to zone copy in the Apache layer. Disabling directory listing for extract server root.
2011-01-11 20:05:35 +05:30
Frank
c6683c2eab
bug 7722: open vswitch -
...
refine ovs plugin, create a separate plugin instead of messing with vmops
refine gre tunnel, maintains tunnel in database instead of plugin
fix an arp issue cause by overlap vlan range
2011-01-11 02:55:36 -08:00
anthony
9e4c6351e3
bug 5756:
...
only fake PV driver for PV kernel
stop VM if VM doesn't have PV driver
status 5756: resolved fixed
2011-01-10 14:06:58 -08:00
Frank
a964494332
bug 7722: open vswitch - align some data type with master branch
2011-01-08 17:31:00 -08:00
Frank
e9959d32a9
bug 7722: open vswitch - handle router when schedule a work
2011-01-08 16:28:47 -08:00
Frank
ec643c7e59
bug 7722: open vswitch - refine code; add normal flow makes vswitch work as
...
normal L2/L3, otherwise the output packet cannot find right output port
2011-01-08 16:28:47 -08:00
Frank
6f9f8b145b
bug 7722: open vswitch - complete
2011-01-08 16:28:47 -08:00
Frank
9d2916ffcc
it works
2011-01-08 16:28:47 -08:00
Frank
c94b6acadf
bug 7722: open vswitch - works at VM start time, need fullsync() and flow clean in next
2011-01-08 16:22:59 -08:00
Frank
5c01c42ba7
fix bug 7722, code complete basic architecture
2011-01-08 16:20:39 -08:00
Alex Huang
03128cadf6
got rid of monitor
2011-01-07 13:41:15 -08:00
anthony
b07162f30a
merge from 2.1.x deb87aa5e7
...
correct definition
2011-01-06 19:41:00 -08:00
Ragnar B. Johannsson
32c68e1583
API cmds for SSH-keys manipulation and VM passwds retrieval.
...
These include five new API cmds as well as changes to deployVirtualMachine to
specify an optional name of an SSH key to pass to the VM when starting. When
an SSH key is specified with a password-enabled template the newly created
password is encrypted with the SSH public key and can be retrieved via the
getVMPassword cmd. It is then the user's responsibility to decrypt retrieved
passwords with the correct SSH private key.
2011-01-06 13:34:07 +00:00
alena
916b516d13
bug 7878: Fixed Basic zone functionality - uservm/systemvm/domR start
...
status 7878: resolved fixed
2011-01-06 15:44:13 -08:00
abhishek
6cade1aa1d
adding missing code for programming default network rules for user vm on each of its nics, for the direct networking case
2011-01-05 15:22:12 -08:00
anthony
67928262f0
add Utuntu 10.24 for xenServer
2011-01-04 17:56:39 -08:00
anthony
57ee66a22d
XenServer can tell if the VM is shutdowned from inside,
...
if VM is shutdowned from inside, a new state "Shutdowned" is reported to MS and this VM will not be restarted even HA is enabled for this VM
2011-01-04 17:40:13 -08:00
Alex Huang
4eba6d10d7
Moved State into VirtualMachine like other States of objects
2011-01-04 15:01:34 -08:00
alena
0b7a15ab99
bug 7348: reapply PortForwardingRules (including 1-1 Nat), LB rules, Vpn as a part of domr Stop/Start
...
status 7348: resolved fixed
More fixes:
* Update user_statistics on each domR stop/reboot
* Reset dhcpData/userData as a part of domR stop/reboot
* More logging for domR commands
2011-01-03 23:00:05 -08:00
anthony
fc811e8d49
bug 7794: sleep should be in out of try statement
...
status 7794: resolved fixed
2010-12-30 16:09:28 -08:00
Kelven Yang
e7749afdfe
Bug 7772: Add hypervisor type to snapshots table, fix issues with createVolumeFromSnapshot if snapshot was taken under data volume
2010-12-29 21:54:17 -08:00
alena
bd788b1827
Fixed RemoteAccessVpn apis
2010-12-29 21:36:44 -08:00
anthony
98146d3b15
bug 5559: support snapshots on local disk
...
status 5559: resolved fixed
2010-12-29 19:55:12 -08:00
keshav
3da09345c9
Changed schema to keep track of which public IP address and host a user statistics entry is for
2010-12-29 19:14:35 -08:00
Alex Huang
544fa7ff1b
remote access vpn, user ip address changes
2010-12-29 09:32:54 -08:00
Alex Huang
1afb34d38e
Added code to do migration
2010-12-29 09:32:54 -08:00
edison
2d722e685b
fix exception in PingRoutingWithNwGroupsCommand, due to no json serialize for pair<long, long>
2010-12-28 10:50:12 -08:00
edison
aa99173784
fix pf rules for kvm
2010-12-27 15:27:06 -08:00
edison
4b57e3c239
fix ipassoc command
2010-12-27 11:27:44 -08:00
anthony
a4e791a10c
now, you can remove the last host in a cluster
2010-12-23 20:42:31 -08:00
anthony
1646bf6312
when add an iscsi storage pool, always try to intrudec it first.
2010-12-23 15:17:23 -08:00
nit
a6fca4ee64
Merge branch 'master' of ssh://git.cloud.com/var/lib/git/cloudstack-oss
2010-12-23 15:09:56 +05:30
nit
1f4cb9b11e
bug 7519 : extract functionality - changing it to support http protocol. Making the URL's robust against the start and stop of agent on ssvm.
2010-12-23 15:08:46 +05:30
anthony
5a0fa3380d
SetupAnswer need to indicate whether reconnect is needed
2010-12-22 18:11:32 -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
kishan
2d7979ec88
bug 7504: UsageEvent dao and related objects
2010-12-22 18:11:40 +05:30
anthony
7c44823a2e
bug 7625: setVCPUsMAX first then setVCPUsAtStartup
...
status 7625: resolved fixed
2010-12-21 19:41:13 -08:00
anthony
c0de8fd1b7
bug 7609: check if the vm exists before get vnc port
...
status 7609: resolved fixed
2010-12-21 11:04:59 -08:00
Chiradeep Vittal
1216ffd21a
WIP
2010-12-21 11:04:27 -08:00
anthony
91d8e6ffcc
bug 7617: use correct patch path for oss
...
status 7617: resolved fixed
2010-12-21 10:30:22 -08:00
Alex Huang
0ecb0118ec
renamed the domainrouter services
2010-12-21 03:56:01 -08:00
anthony
4063ce65a8
bug 7546: it is caused by slow vdi-copy, there are several vdi-copy as the same time, it triggers 30 minutes timeout.
...
change vdi-copy to async and the timeout is 2 hours now, hope this mitigate the issue.
status 7546: resolved fixed
2010-12-20 18:37:50 -08:00
Chiradeep Vittal
d7c81b702e
WIP 3
2010-12-20 17:46:14 -08:00
Chiradeep Vittal
5c9a11523b
WIP 2
2010-12-20 17:28:59 -08:00
Chiradeep Vittal
6da6330c3f
WIP to fix domr network integration
2010-12-20 17:28:20 -08:00
alena
b228ae6acb
Set domR access details (name, privateIp) for various commands - PF/LB/IPAssoc
2010-12-20 17:22:52 -08:00
abhishek
d63e61c915
adding some code to ensure system vms come up for the direct untagged case (zynga setup). Also, checking in some changes on behalf of Alena
2010-12-20 16:33:57 -08:00
anthony
57de81983f
add XenServer 5.6 FP1 specific guest os type
2010-12-20 15:47:57 -08:00
anthony
af2ce80621
add XenServer56FP1Resource.java
2010-12-20 14:56:22 -08:00
edison
bf1f6a2998
Don't need this logic anymore, as xenserver can't handle this case:
...
can't boot from an iso that different from the vm's template
Revert "more changes to the attach/detach iso and bootloader flow"
This reverts commit d8f771e05b .
2010-12-20 14:17:35 -08:00
anthony
2be0b45297
support xenserver 5.6 fp1 in oss
2010-12-20 14:18:10 -08:00
alena
3cd989cbef
1) Changed format for IpAssoc command. Instead of sending the ip addresses to assign one by one, we send a list of ip addresses to the agent.
...
2) Fixed createVM with multiple networks
2010-12-20 09:37:46 -08:00
anthony
baa6666897
create xenserver 5.6 patch file
2010-12-17 20:21:28 -08:00
anthony
950ed41436
fixed build
2010-12-17 20:07:09 -08:00
anthony
3a6d0e79a6
refactor
2010-12-17 20:07:08 -08:00
anthony
d50d20d1b6
refactor
2010-12-17 18:12:00 -08:00
anthony
9adf417dc2
refactor
2010-12-17 18:12:00 -08:00
anthony
7faf41e04e
pass pooluuid to xen.configure
2010-12-16 18:55:40 -08:00
Alex Huang
adc9ffe034
more changes
2010-12-16 17:17:02 -08:00
Alex Huang
5b11649c55
Removed even more old code
2010-12-16 17:17:02 -08:00
anthony
6419e49977
add guid in cluster table
2010-12-16 16:28:56 -08:00