Commit Graph

295 Commits

Author SHA1 Message Date
anthony 4b3f57fd28 VLAN patch for XenServer 5.6 2011-08-15 13:54:43 -07:00
anthony e5e85d05e9 bug 10695: add XCP 1.0 support
status 10695: resolved fixed

Conflicts:

	core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
2011-08-09 19:51:32 -07:00
anthony 33b3e02c17 bug 10695: add XCP 1.0 support
status 10695: resolved fixed
2011-08-09 19:49:12 -07:00
anthony 94861ecf4a For some NFS Servers, mount option tcp is required 2011-08-08 17:58:47 -07:00
anthony ef2802aaed For some NFS Servers, mount option tcp is required 2011-08-08 15:31:18 -07:00
Chiradeep Vittal 8277584b8a merge ELB / nectarine branch 2011-08-08 15:20:56 -07:00
Chiradeep Vittal 736b6cf98e properly clean up rules for nonexistent vms 2011-08-04 22:58:42 -07:00
Chiradeep Vittal 0c408d8da5 handle elb vm restart 2011-08-04 22:05:48 -07:00
alena 8d47c53735 Revert "bug 10435: removed vpn feature"
This reverts commit ea9e1b5d138950e8de49fce7ffdbb12a1c72c560.

Conflicts:

	api/src/com/cloud/api/ResponseGenerator.java
	scripts/vm/hypervisor/xenserver/vmops
	server/src/com/cloud/configuration/Config.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
	server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
2011-08-02 18:12:57 -07:00
Edison Su 0bc6026d6b fix description of addcluster api, and a typo in one script 2011-08-01 14:28:39 -07:00
anthony 7c420a071c use rmdir 2011-08-01 11:55:05 -07:00
anthony 767d4b104a use rmdir 2011-08-01 11:48:56 -07:00
Edison Su 31549b337e bug 10622: use /root/.ssh/id_rsa.cloud instead of ~/.ssh/id_rsa.cloud
status 10622: resolved fixed
2011-07-29 17:06:44 -07:00
Edison Su c3174664de after vm reboot, change the security group if needed 2011-07-29 15:28:16 -07:00
Chiradeep Vittal 29c88787e1 from eip feature:
1. fix ordering of ingress and egress rules so that vms are protected from other vms on the same host in all cases
2. remove dependency on cloud-guest
2011-07-28 16:08:51 -07:00
anthony 6620d39b7e fixed cloud-prepare-upgrade.sh 2011-07-28 15:07:26 -07:00
anthony b63bee2d9a bug 10197: add some scripts which is used in upgrade 2011-07-28 15:07:08 -07:00
anthony fc94196920 fixed cloud-prepare-upgrade.sh 2011-07-28 15:03:39 -07:00
Edison Su 5724a016c6 fix security group clean up on centos 5 2011-07-26 16:57:49 -07:00
anthony 5b168f30e0 bug 10197: add some scripts which is used in upgrade 2011-07-26 16:22:54 -07:00
anthony bad0f77659 use the safe way to delete secondary storage directory 2011-07-25 18:16:05 -07:00
anthony a7af9cdae2 use the safe way to delete secondary storage directory 2011-07-22 19:35:46 -07:00
anthony afbadbf223 use the safe way to delete secondary storage directory 2011-07-22 19:29:58 -07:00
anthony e666cf5e77 bug 10743: default local storage is ext in XenServer 6.0, add ext local storage support 2011-07-21 17:31:43 -07:00
anthony c152d1c33f support XenServer 6.0 beta 2011-07-20 16:47:48 -07:00
anthony 9f2eaca6cb Support XenServer 6.0 beta 2011-07-20 16:47:48 -07:00
anthony 7a47a5afcf introduce nfs.py and NFSSR.py from XenServer 6.0 beta 2011-07-20 16:47:48 -07:00
Sheng Yang 44d4113ae6 bug 10429: backport redundant router
Part 2

commit 797839360c65cd348d2eb20630521177ab0919de
    bug 9154: redundant virtual router

commit 8ff7f230204d4d3a7a4adee75523a9a84f4276fe
    bug 9154: Replace domain_router.is_master with domain_router.redundant_state in DB

commit 230b99e9e0b152648f1dd2a5eab6f22315b8e7b4
    bug 9154: Add redundant state to DomainRouterResponse

commit ccefb5ff5e83d713798a347c99bce1a0d04b4317
    bug 9154: Add router fault state report

commit 7a3090378f9785caecf741b70554f6ea17c41764
    bug 9154: Send alert if found two virtual routers in master state

commit 66831056e4bf27665871bccd24e6159071564847
    bug 9154: Code clean up

commit bf3f58a85741fa7118bd848a42d8b21baa4478d4
    bug 9154: Add isRedundantRouter to DomainRouterResponse
2011-07-18 18:30:02 -07:00
Edison Su a3da10e9b8 bug 10622: use /root/.ssh/id_rsa.cloud instead of ~/.ssh/id_rsa.cloud
status 10622: resolved fixed
2011-07-13 17:49:43 -07:00
Chiradeep Vittal 7d95efb7c6 fix ipset problem introduced by 58e92bbe84 2011-07-10 12:44:15 -07:00
Edison Su 81475c256b fix user/meta data: if data is empty, return a blank file, not 404 2011-07-08 13:50:27 -07:00
Edison Su 45ea2b2ad6 cleanup ebtables rules if vm is manually deleted 2011-07-08 13:32:41 -07:00
Edison Su 8306bf7ee5 fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped 2011-07-08 13:31:34 -07:00
Edison Su 04b15b9941 fix ebtable, which should only add a new DNAT rule for dhcp server 2011-07-08 13:02:38 -07:00
Edison Su 56bc4f27a9 fix user/meta data: if data is empty, return a blank file, not 404 2011-07-01 12:58:14 -07:00
alena 74f34a0e0c bug 10435: removed vpn feature
status 10435: resolved fixed
2011-06-24 09:18:46 -07:00
David Nalley 6bb0b490ca fixing some typos in error messages 2011-06-20 15:22:33 -04:00
David Nalley fb0dae2ce5 fixing some typos in error messages 2011-06-20 15:18:30 -04:00
Edison Su 1e944a2d86 cleanup ebtables rules if vm is manually deleted 2011-06-20 10:32:05 -04:00
Edison Su ad5162ef86 fix ebtable cleanup issue: on ubuntu, it's not got deleted if vm is stopped 2011-06-16 19:26:24 -04:00
Sheng Yang a492c07e4c bug 9154: redundant virtual router
Add CheckRouterCommand for XenServer

Now VMware/Xen/KVM all support redundant virtual router.
2011-06-14 15:45:29 -07:00
Edison Su 49550aff44 fix ebtable, which should only add a new DNAT rule for dhcp server 2011-06-10 11:39:43 -04:00
anthony 5e1bdce052 bug 10081: don't save iptable 2011-06-06 18:19:01 -07:00
anthony 072fd1b1c5 bug 10111: set hidden flag to 0 after copy template from secondary storage to primary storage
status 10111: resolved fixed
2011-06-01 17:44:09 -07:00
Alex Huang 2dbb8eb502 bug 9651: Make same VLAN work on two different nics 2011-06-01 17:07:44 -07:00
Edison Su 8312f1314b remove augtools 2011-05-26 23:19:53 -04:00
alena c2afcdec52 bug 9873: always add default security group to the SG list when deploy vm in 1) Basic zone 2) Advance zone using SG enabled network
status 9873: resolved fixed

Following fixes were made as a part of the checkin:

* When deploy user vm and SG doesn't exist in the DB, create it automatically.
* SecurityGroup enabled use vm start: if map to default group is not present in security_group_vm_map table, create one.
* Added "name" (securityGroupName) parameter back to deleteSecurityGroup/authorizeSecurityGroupIngress/deployVm. Mutually exclusive with security group id parameter.

Conflicts:

	api/src/com/cloud/api/commands/AuthorizeSecurityGroupIngressCmd.java
	api/src/com/cloud/api/commands/DeleteSecurityGroupCmd.java
	api/src/com/cloud/api/commands/DeployVMCmd.java
	server/src/com/cloud/api/ApiDBUtils.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
2011-05-17 15:08:13 -07:00
Frank aad64a5170 Fix in XenServer, when do primarystorage downlaod command, mount secondary storage
as readonly. And umount with options -fl to avoid hang if at that time NFS server down
2011-05-16 13:50:45 -07:00
Edison Su 29c510de28 need to insert iptable rules into FORWARD chain instead of append, as on rhel6, there is a reject rule added at the end of FORWARD 2011-05-13 16:05:20 -04:00
Chiradeep Vittal 46e40cab3f ebtables not programmed in some cases 2011-05-13 14:41:37 -07:00
anthony bf54422b11 bug 9866:
It happens only when the template is not created by XenServer and the virtual disk size is not integer time of 2M.
    fixed in 2.2.4
    status 9866: resolved fixed
2011-05-12 18:28:56 -07:00
Edison Su 47380dc20e fix add host 2011-05-12 15:03:15 -04:00
anthony 10c4c14ad5 swift integration checkin 2011-05-05 13:55:29 -07:00
Chiradeep Vittal 4ab68bd44a bug 9689: handle old style vm names 2011-05-04 14:21:49 -07:00
Chiradeep Vittal aecd64e51c bug 9092: consistent naming 2011-05-04 14:21:49 -07:00
Edison Su 58e034fa41 add License header back 2011-05-03 11:47:10 -04:00
David Nalley 74fcb0d06e bug:9702 - fixing ssh key path 2011-05-03 14:21:44 -04:00
Chiradeep Vittal 303e2a7481 Start of zonesfeature / mycloud/cloudkit 2011-05-03 10:40:17 -07:00
anthony d2e68c2dab bug 9525: empty known_hosts at reconnect
status 9525: resolved fixed
2011-04-29 14:13:25 -07:00
anthony 8271f034ce bug 9541: fix one snapshot DB migrate, one java check and one script typo
status 9541: resolved fixed
2011-04-22 12:57:16 -07:00
anthony 054f6b0199 bug 9472: when get vnc port for a vm, check if the port is really used by this vm for security
status 9472: resolved fixed
2011-04-15 12:47:12 -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
Edison Su 159f52c2ff bug 9242: add vlan dependence for ubuntu, and set name type to DEV_PLUS_VID_NO_PAD, before creating vlan
status 9242: resolved fixed
2011-03-31 19:11:15 -04:00
anthony 44678b60bc add VERSION into to scripts 2011-03-23 14:54:31 -07:00
anthony bdcffa2b0d bug 8061: add forcely shutdown 2011-03-09 16:30:11 -08:00
anthony 5b1a421e62 bug 8712: prepare from snapshot db migration 2011-03-08 17:10:27 -08:00
anthony 0c2a639a2d bug 6772: use vhd-util to coalesce snapshots into primary storage
status 6772: resolved fixed
2011-03-07 19:47:29 -08:00
anthony b8e03aca4c script fix 2011-03-07 19:47:29 -08:00
anthony a9c36d7b79 use new vhd-util for xenserver 2011-03-07 19:47:29 -08:00
anthony e01ca05208 copy_vhd_from_secondarystorage implement coalesce 2011-03-07 19:47:29 -08:00
Edison Su 9ad5139fda fix delete security group rule 2011-03-03 13:44:48 -05:00
anthony 5cc7745d9f never set lvm volume unavailable, there may be a conflict with XenServer GC 2011-03-02 19:23:21 -08:00
Edison Su d7b7d6bc26 bug 8771: multitenancy on same host in security group
status 8711: resolved fixed
2011-03-01 16:38:06 -05:00
Chiradeep Vittal 697b4f60db bug 8380: use instance name status 8380: resolved fixed 2011-03-01 14:07:30 -08:00
Edison Su a7c6b9f28e fix security group rules 2011-02-28 12:16:40 -05:00
Edison Su 0e90ede56a don't break basic zone mode 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
Frank 77fadf5c7f Revert 61a414fb8f
don't dynamically inject premium stuff
2011-02-22 14:39:02 -08:00
Frank 61a414fb8f Inject permium stuff into systemvm.iso when managment server start 2011-02-20 16:13:30 -08:00
anthony 17f5d55459 fix typo 2011-02-18 13:07:57 -08:00
anthony 54802c6d49 typo fix 2011-02-07 15:01:30 -08:00
anthony 7a8fcdb611 support lvmohba on copy_from/to_secondary 2011-02-07 14:44:34 -08:00
Kevin Kluge ee3bb01a11 cloud stack to CloudStack 2011-02-05 22:30:06 -08:00
Chiradeep Vittal 4f1342a4dd bug 8380: default chains weren't getting deleted 2011-02-04 12:04:53 -08:00
anthony c26833fb8a remove systemvm-premium.iso 2011-02-03 15:33:19 -08:00
Chiradeep Vittal 58e92bbe84 bug 8347: skip ebtables if kernel doesn't support it 2011-02-03 11:57:31 -08:00
Chiradeep Vittal ca057a43dd bug 8347: skip ebtables if kernel doesn't support it 2011-02-03 11:53:25 -08:00
anthony 294e41392e Console proxy is back 2011-02-03 10:57:19 -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
anthony 36778f4e3c bug 8291: get physical vdi size before dd
status 8291: resolved fixed
2011-02-02 14:13:59 -08:00
Chiradeep Vittal 6b8024ffaa bug 8302: dont hardcode ebtables path
status 8302: resolved fixed
2011-02-02 12:56:46 -08:00
Chiradeep Vittal 0be687dc09 bug 8302: dont hardcode ebtables path
status 8302: resolved fixed
2011-02-02 12:56:46 -08:00
Frank 9ca46b5b56 umount /mnt/cloud/systemvm if injectkey.sh failed or normal exit 2011-02-01 17:21:24 -08:00
Frank b6fc6341fd Bug 8303 - Cant add xen hosts, due to ssh key permission setup failure
status 8303: resloved fixed
2011-02-01 12:49:15 -08:00
Frank 3486995ae7 use sudo when mount systemvm.iso in injectkeys.sh 2011-01-31 12:51:21 -08:00
Frank 4d2d820634 fix injectkeys.sh -- pass systemvm.iso path to scripts 2011-01-31 12:19:32 -08:00
anthony 7ec201bc69 bug 5405: version file is not needed
status 5405: resolved fixed
2011-01-28 20:06:54 -08:00
anthony d838411957 remove unused xen scripts 2011-01-28 19:22:12 -08:00
anthony 19e7387702 build fix 2011-01-28 19:19:53 -08:00
will 153ec6b561 Initial Japanese language support - This one really requires another lookover. 2011-01-28 19:12:33 -08:00
anthony 9e63416da3 merge setupxenserver 2011-01-28 18:58:50 -08:00
Frank ec98a539b4 merge premium xenserver scripts to oss 2011-01-28 17:42:27 -08:00
Chiradeep Vittal 5199167840 bug 8199: always update the keypairs on disk to account for multiple management servers 2011-01-28 13:09:11 -08:00
Chiradeep Vittal cc0ed77fee bug 8199: always update the keypairs on disk to account for multiple management servers 2011-01-28 12:24:22 -08:00
Chiradeep Vittal fd081dc5e7 Bug 8199: only inject if needed 2011-01-28 12:24:21 -08:00
Chiradeep Vittal 8a1ca01f44 Bug 8199: insert generated private key where it is expected 2011-01-28 12:24:20 -08:00
Chiradeep Vittal daa8439c00 Bug 8199: move private key into a more logical place 2011-01-28 12:24:19 -08:00
Chiradeep Vittal 09145efc41 Bug 8199: inject ssh public key into systemvm iso file 2011-01-28 12:24:18 -08:00
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
Edison Su 4b355ca301 bug 8118: add security group back
status 8118: resolved fixed
2011-01-22 04:04:52 -05:00
Frank e6b0346270 bug 7722: open vswitch -
1. extend gre tunnel creating timeout to 30 secs
2. don't del drop flow since we don't delete gre tunnel
2011-01-14 17:11:37 -08:00
Frank 39f75887b1 bug 7722: open vswitch -
1. add more readable log when tunnel create failed
2. correct drop flow when port number more than 10

other fixs:
return false when vm is null in checkSessionPermision
this avoid null pointer Exception
2011-01-14 13:47:50 -08:00
Frank 9e1c4ba779 bug 7722: open vswitch - set noflood flag to gre port 2011-01-13 19:52:03 -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
Frank 488dd424aa bug 7722: open vswitch -
fix a race condition, create tunnel sync
correct drop flow, this fix a flooding case which may cause openvswitch hang in kernel
2011-01-13 13:53:35 -08:00
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
Frank c07d1be1aa bug 7722: open vswitch - fix issue that flows un-delete when VM stop 2011-01-10 14:34:31 -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
Chiradeep Vittal c6b027310d Merge in various security groups fixes from 2.1.x 2011-01-07 15:55:17 -08:00
anthony ad305ff6ac reuse session passed to plugin 2011-01-05 19:30:25 -08:00
anthony 791e14bb5f add more output for cloud-setup-bonding.sh 2011-01-05 19:12:39 -08:00
anthony b4dad6e9cc make the output more readable 2011-01-05 19:02:49 -08:00
anthony b732208c23 change file name 2011-01-04 10:39:05 -08:00
anthony 9249ee199f add setupBonding script 2011-01-03 19:22:07 -08:00
edison 3a143577b9 bug 7659: fix the race condition that agent inside systemvm connecting to mgt server at the head of startcommand returning to mgt server, then got a NPE. and fix bugs in security group of KVM
status 7659: resolved fixed
2010-12-28 15:51:28 -08:00
anthony bcc327cad1 correct path in patch file 2010-12-21 13:38:40 -08:00
edison eebb1021c1 fix security bug for kvm 2010-12-20 16:58:02 -08:00
edison ae4bd0fb70 fix a security group bug: restart mgt server or reconnect xenserver will destroy existing security group, then you can't ping user vm any more 2010-12-20 16:58:02 -08:00
anthony 2be0b45297 support xenserver 5.6 fp1 in oss 2010-12-20 14:18:10 -08:00
anthony baa6666897 create xenserver 5.6 patch file 2010-12-17 20:21:28 -08:00
anthony 44a8fdf918 fixed mount issue 2010-12-17 20:07:09 -08:00
anthony a8a6419bf4 remove scsiutil.py 2010-12-17 16:18:34 -08:00
anthony d35fbad6f5 get 5.6 NFSSR.py 2010-12-17 16:07:37 -08:00
anthony f1bdebb628 remove LUNperVDI.py 2010-12-17 16:02:11 -08:00
anthony 6ff038a9c3 delete ISCSISR.py 2010-12-17 15:53:43 -08:00
anthony c6633f9095 delete cleanup.py 2010-12-17 15:41:47 -08:00
edison 19431d31d3 add security group support for kvm 2010-12-16 18:02:41 -08:00
anthony fbbf78efbb intialize only get xenserver info 2010-12-14 15:24:21 -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
anthony ef9c9b8c5f split scripts to premium-script 2010-12-03 20:53:53 -08:00