Rohit Yadav
356866c72b
Merge branch 'master' into javelin
...
- Fixed new join dao impls as spring components
- Fixed component context xml to load api rate limit checker
- Fixed root pom.xml for duplicate plugin
- Fixed list data centers method
- Fixed following conflicts:
api/src/org/apache/cloudstack/api/command/admin/network/CreateNetworkOfferingCmd.java
api/src/org/apache/cloudstack/api/command/user/offering/ListServiceOfferingsCmd.java
api/src/org/apache/cloudstack/api/command/user/template/DeleteTemplateCmd.java
api/src/org/apache/cloudstack/api/command/user/template/ExtractTemplateCmd.java
plugins/api/discovery/src/org/apache/cloudstack/discovery/ApiDiscoveryServiceImpl.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/api/query/QueryManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/swift/SwiftManagerImpl.java
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-24 19:18:53 -08:00
Edison Su
189c20b665
umount loop device. If patch disk created from loop, then need to umount it in loop device, otherwise, you can only create 7 routers on one kvm host
2013-01-18 14:27:40 -08:00
Alex Huang
10d9c019a9
All merge conflicts resolved
2013-01-18 12:14:57 -08:00
Marcus Sorensen
8c5b82dfb4
Summary: several scripts are not mode executable
...
Detail: several scripts in the scripts directory weren't marked executable.
Normally this is handled/fixed in the packaging, but harder to deal with in
development environments, so marking them executable.
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1358446902 -0700
2013-01-17 11:21:42 -07:00
Alex Huang
30f2565d98
Merge branch 'api_refactoring' into javelin
2013-01-08 12:36:04 -08:00
Marcus Sorensen
9c5c626546
Summary: bring up KVM network bridge immediately
...
Detail: Users can experience long delays during VM migration, because the
linux bridge by default will have a forwarding delay set. This means that the
network will likely miss any gratuitous ARP from qemu notifying the network that
the MAC has moved. This change is a common reccommendation for virtualization
running on Linux bridges.
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1357259186 -0700
2013-01-03 17:26:26 -07:00
Edison Su
4b2d9f4415
refactor test cases: use testNG instead of junit, as testNG can group test cases and pass parameter to test case
2012-12-22 22:10:39 -08:00
Edison Su
ac88c16be6
finaly, finish download template to primary storage
2012-12-20 19:06:02 -08:00
Edison Su
c216990e1c
trying to add code to download url into devcloud
2012-12-19 18:43:04 -08:00
Edison Su
b70c1a5a84
Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones.
2012-12-13 23:18:37 -08:00
Rohit Yadav
6f29317a84
CLOUDSTACK-591: Fix execute and string processing logic for reboot_vm in security_group
...
- Since we're always getting the first from the list, use head -1 to get the first
of the results instead of processing again
- Remove unecessay pop (why was it even there)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-13 15:28:30 -08:00
Bill Rich
1ae2d720a3
CLOUDSTACK-591: Changed bridge name parsing in security_group.py to support bridges named with dashes
2012-12-13 15:28:30 -08:00
Edison Su
a9c81b6f08
fix devcloud: copy router_proxy.sh into correct place
2012-10-21 00:01:47 -07:00
Edison Su
3cd9ba46fb
fix devcloud: add router_proxy.sh
2012-10-21 00:01:47 -07:00
Edison Su
c5ba6312e7
fix devcloud
2012-10-21 00:01:47 -07:00
Chip Childers
806d033fe3
CLOUDSTACK-330: Correct Citrix information to be Apache in several .py files
...
Signed-off-by: Chip Childers <chip.childers@gmail.com>
2012-10-12 12:18:56 -04:00
Wido den Hollander
82e57f8f40
Use /tmp as temporary location for injecting SSH keys into systemvm.iso
...
When starting the management server with 'sudo' the $HOME will be set to the user calling sudo.
This fixes CLOUDSTACK-218
2012-09-27 18:58:31 +02:00
Marcus Sorensen
915babd970
fix kvm traffic labels (guest traffic types on multiple networks don't
...
work)
Cloudstack seems to let you create guest traffic types on multiple
physical networks. However, when I try this with KVM I end up always
bridging to whatever device is used for guest.network.device. This pulls
the traffic label (NicTO.getName()) and uses that bridge to ensure that
we get on the correct physical network, rather than just always using
the guest.network.device.
This also changes the bridge naming scheme from cloudVirBr + vlanid to
br + physicalinterface + "-" + vlanid. This is because we should be able
to support the same vlan numbers per physical network, and the previous
bridge name would not support this and collide.
Signed-off-by: Edison Su <sudison@gmail.com>
2012-09-26 17:14:57 -07:00
Anthony Xu
acaa22003d
CLOUDSTACK-184: add createFileInDomr plugin
2012-09-24 16:11:04 -07:00
Edison Su
e662790985
CLOUDSTACK-30: remove vhd-util binary, we need to build another rpm/deb for it. As it's only used by xenserver, so mgt server should not depend on it. We can document it, as an extra procedure when install mgt server
2012-09-18 17:47:22 -07:00
anthony
541fec8b46
Bug 13734 : after upgrade, dhcp traffic is allowed for all VMs
...
reviewed-by: kelven
2012-09-07 17:31:11 -07:00
Anthony Xu
b58123e075
CS-15921 : in 2.1 timeframe, -untagged string is appended to the end of instance name,
...
in cleanup_rules function, we need to convert chain name to vm name correclty
2012-09-07 17:25:41 -07:00
Anthony Xu
33fdcf1047
CS-16261:
...
egress_vmchain doesn't exist in 2.2.*, create it automatically after upgrade
2012-09-07 17:07:10 -07:00
Edison Su
cefc5cbff3
bug CS-16172
...
Reviewed-by: chiradeep
2012-08-24 16:13:29 -07:00
anthony
2ea876dfd3
in basic zone, allow dhcp traffic by default
2012-08-15 13:11:58 -07:00
Alena Prokharchyk
7706a9c32f
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
2012-07-31 13:37:28 -07:00
Hugo Trippaers
10e4a5ae48
Disable IPv6 in XenServer if it is enabled. The cloud support pack apparently enables IPv6 support at the moment, but wihtout proper security.
2012-07-30 17:36:29 +02:00
Alena Prokharchyk
a39fd61249
Merge branch 'master' into vpc
...
Conflicts:
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineGuru.java
2012-07-27 13:47:46 -07:00
Edison Su
f497c7c031
Bug: HA takes a lot of time to migrate VMs (trigger HA) to another KVM
...
host if there are multiple storage pools in a cluster.
The issue is as follows:
1. When CloudStack detects that a host is not responding to ping
requests it'll send a fence command for this host to another host in the
cluster.
2. The agent takes a long time to respond to this check if the storage
is fenced. This is because the agent checks if the first host is writing
to its heartbeat file on all pools in the cluster. It is doing this in a
sequential manner on all storage pool.
Making a fix to get rid of sleep, wait during HA. The behavior is now
similar to Xenserver.
RB: https://reviews.apache.org/r/6133/
Send-by:devdeep.singh@citrix.com
2012-07-25 10:17:09 -07:00
Alena Prokharchyk
353423acec
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/commands/ListFirewallRulesCmd.java
api/src/com/cloud/api/response/FirewallResponse.java
api/src/com/cloud/api/response/IPAddressResponse.java
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/dao/NetworkDaoImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
2012-07-06 12:04:10 -07:00
Sheng Yang
7349842c42
CS-15116: Add missing scripts for XCP server
...
Thank for the help from Wilhem Putz(wp@typoheads.at ) to identify the issue.
2012-07-06 11:34:36 -07:00
Edison Su
27e9cdbece
add console proxy support for devcloud
2012-07-03 23:38:39 -07:00
Alena Prokharchyk
1f01d923ca
Merge branch 'master' into vpc
2012-06-28 17:44:08 -07:00
Alena Prokharchyk
634cd78baa
Merge branch 'master' into vpc
...
Conflicts:
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/ListNetworksCmd.java
api/src/com/cloud/api/response/NetworkResponse.java
api/src/com/cloud/event/EventTypes.java
api/src/com/cloud/network/NetworkService.java
client/tomcatconf/commands.properties.in
scripts/network/domr/getDomRVersion.sh
scripts/network/domr/ipassoc.sh
scripts/network/domr/l2tp_vpn.sh
scripts/network/domr/networkUsage.sh
scripts/network/domr/router_proxy.sh
server/src/com/cloud/api/ApiDBUtils.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/IPAddressDao.java
server/src/com/cloud/network/dao/IPAddressDaoImpl.java
setup/apidoc/gen_toc.py
setup/db/create-schema.sql
wscript
2012-06-28 17:41:40 -07:00
Edison Su
80e2a6faa0
add ASF license
2012-06-28 13:28:38 -07:00
Edison Su
5f6387e113
add clouddev
2012-06-27 23:28:34 -07:00
David Nalley
d630fa8697
license header changes for scripts folder from Chip Childers
2012-06-23 00:58:00 -04:00
Wido den Hollander
bdec29b3dc
Create iptable rules for all bridges assigned to a system VM
...
The default_network_rules_systemvm method in security_group.py only created the appropriate rules for
just one bridge.
This however leads to traffic not being forwarded to the virtual machine in the case of the system VMs
both (console & storage) having different bridges in basic networking.
This patch makes sure rules are generated for all target devices based on their source device/bridge
It however excludes the LinkLocalBridge since no filtering is needed on that bridge.
2012-06-19 12:20:22 +02:00
anthony
418cbe2e17
VPC : fixed get_domr_version
2012-06-15 14:33:43 -07:00
anthony
a4d0f91cfe
VPC : use routerProxy to call l2tpVpn
...
Conflicts:
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
2012-06-15 14:26:20 -07:00
anthony
c75fe80125
VPC : use routerProxy to call networkUsage.sh
...
Conflicts:
core/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
2012-06-15 14:25:21 -07:00
anthony
251a91f5b3
VCP : use routerProxy to call checkrouter script
2012-06-15 14:24:18 -07:00
anthony
337c36d8b9
VPC: typo fix
...
Conflicts:
scripts/vm/hypervisor/xenserver/xenserver56fp1/patch
2012-06-15 14:23:41 -07:00
anthony
8c1700a3a4
VPC : introduce router_proxy.sh, resource should use this as a proxy to call scripts inside domr
...
already did this for ipassoc and getDomRVersion
2012-06-15 14:22:49 -07:00
John Kinsella
efe318336a
CS-14955: security_group.py only creates ICMP iptables rules for ICMP type -1
...
Description:
Unindented 3 lines to update logic flow to execute iptables when
passed ICMP type is not -1.
2012-05-27 19:39:56 -04:00
anthony
8581d02ee8
CS-14946, check if it is linux bridge before call ovs
2012-05-23 19:06:35 -07:00
Salvatore Orlando
c1539e4e42
CS-14902: Removing files needed for SDN feature from XS 5.6FP1
2012-05-21 15:56:42 +01:00
Salvatore Orlando
e72b61eccc
CS-14900:
...
CS-14902: Fixing ovs-vif-flows.py for avoiding it kicks in with exp backoff timeouts if ovs is not running
Also removing unnecessary copies of the same script
2012-05-17 16:09:11 +01:00
anthony
e9f339cd14
remove another vnc hack
2012-05-08 11:01:52 -07:00
anthony
b7f5dd633d
delete vnc hack after upgrade
2012-05-08 10:45:27 -07:00
Edison Su
d913e3bdfb
security group: exactly match bridge name
2012-05-04 13:56:34 -07:00
Salvatore Orlando
b6c2c4c506
CS-14605: OVS cleanup
...
pep8 fixes to python scripts
removing superflous/unused code from python scripts
2012-04-25 11:32:01 +01:00
Salvatore Orlando
2340ebced3
Now using vnets instead of network id for creating networks
...
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements
Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:33:18 +01:00
Salvatore Orlando
b10ab6b2d0
Adding Missing file to source control
2012-04-23 22:32:52 +01:00
Salvatore Orlando
3eef46f8a9
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:52 +01:00
Salvatore Orlando
5568e95d4c
Overwriting ovstunnel
2012-04-23 22:32:52 +01:00
Salvatore Orlando
e2cc2c1f6e
Fixing remaining issues with per-VIF flow script and removing version-specific scripts.
...
Now generating XSnetwork names using gre keys
Plus other minor corrections
2012-04-23 22:32:52 +01:00
Salvatore Orlando
8987499cda
Now using vnets instead of network id for creating networks
...
Fixed issues with vif scripts on 5.6FP1
Fixed ipv6 issue on 5.6FP1
Plus other various fixes and improvements
Starting to remove debug code
NOTE: Network is configured correctly but instances do not start. Possibly indefinite wait occuring on some commands
2012-04-23 22:32:52 +01:00
Salvatore Orlando
8268635846
Adding Missing file to source control
2012-04-23 22:32:16 +01:00
Salvatore Orlando
9f321ffeac
Open vSwitch tunnel manager
...
Applying patch with new ovs-tunnel-manager on top of cloudstack oss-master
2012-04-23 22:32:16 +01:00
Salvatore Orlando
a1a615e018
Overwriting ovstunnel
2012-04-23 22:32:16 +01:00
Abhi
6f0890ea3a
bug CS-12812: XCP has get_mtime missing from the utils, added it here
2012-04-20 10:43:01 +05:30
Rajesh Battala
327049b5c5
CS-14546: Fixed bug Unable to view console in System and Guest VMs and Added Upgrade script
2012-04-19 21:15:45 +05:30
anthony
88d6562dac
typo in cloud-setup-bonding.sh
2012-04-13 15:19:49 -07:00
Rajesh Battala
537914ffae
Xenserver Secure Console Proxy. Removing vnc hacks when adding xen host
2012-04-11 17:52:24 +05:30
frank
2f634c0913
Switch to Apache license
2012-04-03 04:50:05 -07:00
Edison Su
a6d4a76647
bug 14498: in xenserver 6.0 and openvswitch enabled, reboot xenserver will lost link local bridge; the workaround is if the link local bridge is lost, create a new one; status 14498: resolved fixed; Reviewed-by: frank
2012-03-26 17:15:03 -07:00
Sheng Yang
edcf95a6f0
Change KVM's delimiter from "," to "%"
...
In order not to confuse with commandline parameters
2012-03-13 15:59:09 -07:00
abhi
a560ec3001
removing the minor version number for comparisions for Xenserver 6.0
2012-03-13 11:23:27 +05:30
anthony
3a4ee0d486
removed unused files
2012-02-27 13:59:09 -08:00
anthony
6d39e10b76
get fsimage from sp2 for XenServer 5.6 GA
2012-02-24 15:03:34 -08:00
anthony
9159de57fc
bug 13603: in XenServer 6.0, qemu-dm-wrapper listens on local host by fault
...
status 13603: resolved fixed
reviewed-by: edison
2012-02-22 18:41:46 -08:00
Chiradeep Vittal
7008e5a46b
bug 13734: allow dhcp requests and responses all the time
2012-02-15 15:34:48 -08:00
Chiradeep Vittal
3a3d096a5c
it appears xs 6.0 allows iptables rules across the bridge without csp
2012-02-13 15:53:45 -08:00
Chiradeep Vittal
08636d5802
bug 13060: check for resident vms as xapi will return vms running on other hosts in the cluster
2012-01-17 18:37:59 -08:00
frank
1a3a3f8e0d
use /usr/lib/cloud/management/systemvm_mnt instead of /mnt/cloud/systemvm.
...
We should use home dir of user 'cloud', don't do any assumption of umask of /mnt,
it varies from distribution
2012-01-13 13:28:31 -08:00
Chiradeep Vittal
af667d26b7
bug 13033: security rule prevents console access
2012-01-12 15:35:25 -08:00
anthony
5d54a3aef8
bug 13052: check if ebtables exists in can_bridge_firewall
...
status 13052: resolved fixed
2012-01-12 11:34:31 -08:00
frank
52610ffcb3
add copyright header to shell scripts
2012-01-11 18:41:53 -08:00
anthony
12b7fa60f0
fixed typo
2012-01-11 10:30:31 -08:00
anthony
f114ddf471
propagate local_link_network
2012-01-10 19:48:55 -08:00
anthony
9be635367e
bug 10363 : cleanup vhd in secondary storage if creating private template fails
...
status 10363 : resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-01-10 16:45:07 -08:00
anthony
fb8364ad0c
bug 10363 : cleanup vhd in secondary storage if backsnapshot fails
...
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
2012-01-10 15:51:13 -08:00
anthony
924953220b
bug 10363 : cleanup vhd in secondary storage if copy_vhd_to_secondarystorage fails
2012-01-10 15:07:49 -08:00
anthony
f964c4d227
bug 10363 : cleanup vhd in primary storage if download template to primary storage fails
...
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
scripts/vm/hypervisor/xenserver/vmops
2012-01-10 13:56:29 -08:00
anthony
c25cb29f10
remove nfs.py patch
2012-01-10 13:56:29 -08:00
Naredula Janardhana Reddy
6aa0560d37
bug 12917: security groups - icmp type/code validations.
2012-01-06 19:33:07 +05:30
Chiradeep Vittal
5aba3913bb
bug 12854: arp requests can also be used to poison arp caches
2012-01-05 18:01:19 -08:00
Chiradeep Vittal
f138d15efb
bug 12854: arp and ip antispoof independent of the order of vm start
2012-01-05 18:01:10 -08:00
Chiradeep Vittal
24894e2354
bug 11302: dont allow stuff like BPDUS, don't allow vms to connect to hypervisor
2011-12-29 17:35:24 -08:00
Chiradeep Vittal
4718f194ef
bug 12772: typo
2011-12-29 16:01:41 -08:00
Chiradeep Vittal
338aa3e2a8
accidental commit
2011-12-29 16:01:41 -08:00
Chiradeep Vittal
a51ee064ee
bug 11302: more efficient caching of keyword
2011-12-29 16:01:41 -08:00
Chiradeep Vittal
c05903b2d0
bug 11302: support new CSP for SP2.
...
conditional check : --match-set vs --set
forgot to merge this in from 2.2.y
2011-12-29 16:01:40 -08:00
frank
363aea4aee
Bug 12731 - Ebtable rules are blocking all traffic going out of VMs in basic zone
...
status 12731: resolved fixed
reviewed-by: edison
2011-12-22 15:04:15 -08:00
anthony
c00d663df2
use soft mount for secondary storage
2011-12-21 20:31:40 -08:00
anthony
61eab674d2
bug 12328: XenServer 6.0 changes vnc-port path in xenstore
...
status 12328: resolved fixed
2011-12-21 12:00:27 -08:00
Chiradeep Vittal
5dfa0ed169
remove obsolete file
2011-12-19 10:56:52 -08:00
Chiradeep Vittal
2278477737
add stronger security to defend against attacks originating in the vm
2011-12-19 10:56:52 -08:00
Chiradeep Vittal
5393a44c56
bug 12290: improve antispoofing lgic
...
handle reboot within vm correctly
iptables -S missing in csp
2011-12-19 10:56:52 -08:00
anthony
331bd6c103
SWIFT: add error handling code
...
add swift plugin for XenServer 6.0
2011-12-14 19:53:56 -08:00
Naredula Janardhana Reddy
c7766ea6c8
bug 10617: kvm related changes.
2011-12-02 17:07:36 +05:30
Naredula Janardhana Reddy
0c1e21ab80
bug 10617: vmops related changes.
2011-12-01 19:32:57 +05:30
Naredula Janardhana Reddy
09905b641b
bug 10617: merge code from branch bug10617.
2011-12-01 14:17:52 +05:30
Naredula Janardhana Reddy
f1b99f4f07
Revert "bug 10617: merging code from branch bug10617"
...
This reverts commit 8bc33448b9220534ba0ddc6c642ffb1e69d5844e.
Conflicts:
server/src/com/cloud/api/ApiResponseHelper.java
2011-11-11 20:23:26 +05:30
Naredula Janardhana Reddy
02adbd4bd3
bug 10617: merging code from branch bug10617
2011-11-10 15:23:48 +05:30
anthony
91aa145f5d
Upgrade: no error for this statement
2011-11-04 20:39:39 -07:00
anthony
de4d5f0397
Upgrade : script fix
2011-11-04 20:39:26 -07:00
anthony
548839e3bb
bug 11903: create local link when host is connected
...
status 11903: resolved fixed
2011-11-04 20:39:05 -07:00
anthony
245cd32281
upgrade : fix script
2011-11-04 20:38:42 -07:00
anthony
f30ee3fc91
Upgrade : eject CD
2011-11-04 20:38:15 -07:00
Edison Su
6841e265d3
bug 10330: finally merge Rommer's CLVM patch
...
status 10330: resolved fixed
2011-11-02 18:03:58 -07:00
anthony
1e86b5e1a6
script fix
2011-11-02 17:05:30 -07:00
anthony
f41a9e8b23
propagate local link network
2011-11-02 17:05:05 -07:00
anthony
f97b3e5c56
bug 11858: fake pv : use version in host parameter instead, fix XCP override
...
status 11858: resolved fixed
commit-by: Kevin Brooks
review-by: Anthony Xu
2011-11-01 19:51:06 -07:00
anthony
3067a9d2db
Swift : add two new files
2011-10-21 14:26:20 -07:00
anthony
c97010a160
BackupSnapshot to Swift
2011-10-18 18:11:09 -07:00
anthony
6710f09ab4
swift is written in python 2.6
...
make swift client work in python 2.4
changes:
1. md5 interface changed
2. urlparse interface changed
3. Queue interface changed
2011-10-13 12:07:09 -07:00
anthony
01d38fbb3e
add swift client from 1.4.3
2011-10-13 11:47:41 -07:00
anthony
7ba15ce49b
remove old swift client
2011-10-12 12:11:46 -07:00
Chiradeep Vittal
1c5adc7714
bug 11336: compression to allow number of cidrs to scale beyond 8k
2011-10-06 17:56:59 -07:00
Chiradeep Vittal
1b3372e1de
bug 11625: separate out error paths to enable fine grained error handling and cleanup
...
status 11625: resolved fixed
2011-10-06 17:55:29 -07:00
Chiradeep Vittal
61fa7d8675
bug 11420: reduce duration of disruption
2011-10-06 17:55:21 -07:00
Sheng Yang
89e45bd671
bug 11130: Add GetDomRVersionCmd
2011-09-29 14:50:11 -07:00
anthony
9730160e63
typo
2011-09-14 20:39:57 -07:00
Sheng Yang
3549067d55
bug 11307: Add BumpUpPriorityCommand
2011-09-14 16:22:19 -07:00
anthony
d6cbd2b6bc
bug 11275:
...
remove heartbeat entry for this Primary Storage, when put this Primary Storage into maintenance mode
create heartbeat entry for this Primary Storage, when cancal maintenance for this Primary Storage
status 11275: resolved fixed
2011-09-13 22:15:21 -07:00
Chiradeep Vittal
fae5e84699
if the xenserver host cannot do bridge firewalling do not attempt to retry the security rule updat
...
change some logs to debug level
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
65fb83035f
Enable monitoring over JMX
...
Add the ability to disable some vms from being scheduled
Add ability to trigger ruleset updates from JMX
added a few more dangerous JMX operations
2011-09-12 18:20:24 -07:00
Chiradeep Vittal
0aeb45fafc
if sequence number increases but signature does not change, do not reprogram, but rewrite the rule log
2011-09-12 18:20:23 -07:00
Chiradeep Vittal
d817f3c364
Revert "bug 10617: Added Egress rules to Security groups."
...
revert pending review
This reverts commit a19212703b9734ebd44ebf55cfdd81ebdc9d7fe4.
2011-09-12 14:45:58 -07:00
Chiradeep Vittal
53970c89dc
Revert "bug 10617: blocking between security groups for egress rules fixed."
...
revert pending review
This reverts commit 7d30dfd79e3c4b01492f606333c26e36bcdc5d13.
2011-09-12 14:45:58 -07:00
Chiradeep Vittal
e216686029
Revert "bug 10617: Intermediate checking"
...
revert pending review
This reverts commit 561b27565512d438db3d8896df6f97b644b0b498.
2011-09-12 14:45:58 -07:00
Naredula Janardhana Reddy
f9b0962ad9
bug 10617: Intermediate checking
...
Changes :
- Fixing API doc +response name + errorMessage
- Adding seperate events to Egress rules
- Egress rules Using the same database table as that of ingress with new column type.
Pending Tasks:
- db upgrade
- database table rename from security_ingress_rule to generic name, renaming some of the jave class from ingress to generic name.
- Retesting on kvm
2011-09-09 18:14:19 +05:30
Naredula Janardhana Reddy
10d2ca8d0a
bug 10617: blocking between security groups for egress rules fixed.
2011-09-02 16:17:08 +05:30
Edison Su
7621dea575
Fix the regression on security group cleanup:
...
In pre-2.2.10, the cleanup doens't work at all.
In 2.2.10, it works but make a mistake to delete all the rules for vmname ending with "-untagged"
2011-08-31 10:45:52 -07:00
Naredula Janardhana Reddy
854f81962f
bug 10617: Added Egress rules to Security groups.
...
Description :
API's:
- Two new api's authorizeSecurityGroupEgress,revokeSecurityGroupEgressCmd are added. These two API's are similer to ingress rule API's.
- authorizeSecurityGroupEgress :Authorizes a particular egress rule for this security group . Usageof API is very similer to that of authorizeSecurityGroupIngress except that instead of source cidr there will be destination cidr. By default like ingress, all the outgoing flows are blocked.
- revokeSecurityGroupEgress : It is similer to revokeSecurityGroupIngress api, It removes the egress rule.
- listSecurityGroup API's response changed. It include's egress list apart from the existing ingress rules in the output of the API.
Hypervisors :
- It is implemented in Xen and KVM.
Pending Tasks : Blocking using destination security groups.
Previous commits: c9fda641673df7701f44963ef27e1d488f121219 , 24e4e44b8f0712a37147a3777833de3f9e24829e
2011-08-30 16:28:35 +05:30
alena
8a7feb8ec1
Merge branch '2.2.y'
...
Conflicts:
agent/src/com/cloud/agent/resource/computing/LibvirtComputingResource.java
api/src/com/cloud/agent/api/routing/LoadBalancerConfigCommand.java
api/src/com/cloud/agent/api/to/FirewallRuleTO.java
api/src/com/cloud/agent/api/to/IpAddressTO.java
api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
api/src/com/cloud/api/ApiConstants.java
api/src/com/cloud/api/BaseCmd.java
api/src/com/cloud/api/ResponseGenerator.java
api/src/com/cloud/api/commands/CreateFirewallRuleCmd.java
api/src/com/cloud/api/commands/CreateIpForwardingRuleCmd.java
api/src/com/cloud/api/commands/CreateLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/CreatePortForwardingRuleCmd.java
api/src/com/cloud/api/commands/DeleteLoadBalancerRuleCmd.java
api/src/com/cloud/api/commands/ListCapabilitiesCmd.java
api/src/com/cloud/api/commands/UpdateNetworkCmd.java
api/src/com/cloud/api/response/CapabilitiesResponse.java
api/src/com/cloud/network/Network.java
api/src/com/cloud/network/NetworkService.java
api/src/com/cloud/network/firewall/FirewallService.java
api/src/com/cloud/network/lb/LoadBalancingRule.java
api/src/com/cloud/network/lb/LoadBalancingRulesService.java
api/src/com/cloud/network/rules/FirewallRule.java
api/src/com/cloud/network/rules/RulesService.java
api/src/com/cloud/offering/NetworkOffering.java
client/tomcatconf/commands.properties.in
cloud.spec
core/src/com/cloud/agent/resource/virtualnetwork/VirtualRoutingResource.java
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
core/src/com/cloud/storage/template/DownloadManagerImpl.java
core/src/com/cloud/vm/DomainRouterVO.java
debian/cloud-deps.install
patches/systemvm/debian/config/etc/init.d/cloud-early-config
patches/systemvm/debian/config/root/ipassoc.sh
patches/systemvm/debian/config/root/loadbalancer.sh
scripts/vm/hypervisor/kvm/rundomrpre.sh
scripts/vm/hypervisor/xenserver/vmops
server/src/com/cloud/agent/manager/AgentAttache.java
server/src/com/cloud/agent/manager/AgentManagerImpl.java
server/src/com/cloud/agent/manager/AgentMonitor.java
server/src/com/cloud/agent/manager/ClusteredAgentManagerImpl.java
server/src/com/cloud/alert/ClusterAlertAdapter.java
server/src/com/cloud/api/ApiResponseHelper.java
server/src/com/cloud/api/ApiServer.java
server/src/com/cloud/cluster/ClusterManagerImpl.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManager.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/configuration/DefaultComponentLibrary.java
server/src/com/cloud/deploy/FirstFitPlanner.java
server/src/com/cloud/ha/HighAvailabilityManagerImpl.java
server/src/com/cloud/host/dao/HostDaoImpl.java
server/src/com/cloud/hypervisor/xen/discoverer/XcpServerDiscoverer.java
server/src/com/cloud/network/LoadBalancerVO.java
server/src/com/cloud/network/NetworkManager.java
server/src/com/cloud/network/NetworkManagerImpl.java
server/src/com/cloud/network/dao/FirewallRulesDao.java
server/src/com/cloud/network/dao/FirewallRulesDaoImpl.java
server/src/com/cloud/network/element/DhcpElement.java
server/src/com/cloud/network/element/VirtualRouterElement.java
server/src/com/cloud/network/firewall/FirewallManagerImpl.java
server/src/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManager.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/rules/FirewallManager.java
server/src/com/cloud/network/rules/FirewallRuleVO.java
server/src/com/cloud/network/rules/PortForwardingRuleVO.java
server/src/com/cloud/network/rules/RulesManagerImpl.java
server/src/com/cloud/network/rules/StaticNatRuleImpl.java
server/src/com/cloud/network/security/SecurityGroupListener.java
server/src/com/cloud/network/security/SecurityGroupManagerImpl.java
server/src/com/cloud/offerings/NetworkOfferingVO.java
server/src/com/cloud/server/ConfigurationServerImpl.java
server/src/com/cloud/server/ManagementServerImpl.java
server/src/com/cloud/storage/StorageManager.java
server/src/com/cloud/storage/StorageManagerImpl.java
server/src/com/cloud/storage/dao/VMTemplateHostDaoImpl.java
server/src/com/cloud/storage/download/DownloadMonitorImpl.java
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
server/src/com/cloud/upgrade/dao/Upgrade229to2210.java
server/src/com/cloud/user/AccountManagerImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
server/src/com/cloud/vm/VirtualMachineManagerImpl.java
server/src/com/cloud/vm/dao/DomainRouterDao.java
server/src/com/cloud/vm/dao/DomainRouterDaoImpl.java
setup/db/create-index-fk.sql
setup/db/create-schema.sql
setup/db/db/schema-222to224.sql
setup/db/db/schema-227to228.sql
setup/db/db/schema-228to229.sql
setup/db/db/schema-229to2210.sql
tools/testClient/README
ui/scripts/cloud.core.instance.js
utils/src/com/cloud/utils/SerialVersionUID.java
utils/src/com/cloud/utils/db/ConnectionConcierge.java
utils/src/com/cloud/utils/db/Merovingian2.java
utils/src/com/cloud/utils/db/Transaction.java
utils/src/com/cloud/utils/nio/Link.java
utils/src/com/cloud/utils/nio/NioConnection.java
utils/src/com/cloud/utils/time/InaccurateClock.java
2011-08-22 20:28:30 -07:00
Naredula Janardhana Reddy
4369b0ba96
bug 1067:
...
- covered basic impelementation for xen, need to test corner cases.
- Not implemneted: kvm, vmware , listing of egress rules.
2011-08-19 11:10:16 +05:30
anthony
e4162e5be6
fixed the script
2011-08-16 15:24:34 -07:00
anthony
cd57e03e1d
fixed the script
2011-08-16 15:23:53 -07:00
anthony
2cea330540
fixed script
2011-08-16 15:19:32 -07:00
anthony
3802426ae3
Revert " fixed script"
...
This reverts commit 90ac340d39ead1f31c11449671a1aec4fd6f27e2.
2011-08-16 15:18:20 -07:00
anthony
1806ca6364
fixed the script
2011-08-16 15:15:34 -07:00
anthony
20fd2723e9
fixed script
2011-08-16 15:14:54 -07:00
Sheng Yang
9d46de1543
Copy missed getRouterStatus.sh to XenServer FP1 host
2011-08-16 14:21:32 -07:00
Sheng Yang
b73861061a
Copy missed getRouterStatus.sh to XenServer FP1 host
2011-08-16 14:21:20 -07:00
anthony
6d29cba58c
fixed script
2011-08-16 12:26:04 -07:00
anthony
c2dd960405
VLAN patch for XenServer 5.6
2011-08-15 13:55:06 -07:00
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
anthony
4b20796467
remove patch domr logical
2010-12-01 16:32:33 -08:00
Anthony Xu
7518488672
bug 7293: return complete installpath for createprivatetemplatefromvolume
...
status 7293: resolved fixed
2010-11-23 16:22:51 -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
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
4bc63e5c32
Enable KVM HA on nfs storage
2010-11-09 22:03:22 -08:00
anthony
224da7e775
several snapshot fixes
2010-11-05 20:55:19 -07:00
anthony
ff5ea1eabd
merge from 2.1.x 74b798240c
...
1. remove plugin check Sr, heartbeat does that
2. if pbd.plug fails, moves on, and report warnning
2010-11-03 19:36:25 -07:00
anthony
003b0e4a23
merge from 2.1.x 86d02eaa15
...
delete all snapshut which has been backed up to secondary storage
change dd block size from 512 to 1M, make taking snapstho faster for iscsi primary storage
2010-11-03 19:05:23 -07:00
anthony
25c0d0f197
patch.tgz and prepsystemvm.sh are not needed, we use iso instead
2010-11-03 17:19:04 -07:00
Chiradeep Vittal
8dda98a1bb
fix problems after merging in bug fixes from 2.1.x
2010-11-01 12:31:10 -07:00
Chiradeep Vittal
d6a2766c04
dont wipe dhcp and antispoof rules every time
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
3c897c5b27
bug 5532: allow more instances. could still fail with a very long instance name
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
c1b7f5a6fa
bug 6485: fix reboot logic
2010-11-01 12:21:56 -07:00
Chiradeep Vittal
2c14634e3b
bug 6268: cloud-private is actually the management interface
2010-11-01 12:21:55 -07:00
Chiradeep Vittal
1e0eb04442
Add VPN apis, some systemvm changes for vpn
2010-11-01 10:27:49 -07:00
anthony
cc6b43d58d
bug 6546: support ubuntu 10.04 PV kernel,
...
for ext3 requirement, we can file a seperate bug for it, the solution should be install ext4 module in xenserver
status 6546: resolved fixed
2010-10-21 18:28:31 -07:00
Kris McQueen
f964470ba4
remove whitespace at the start of the file which confuses the interpreter and prevents plugins from working
2010-10-20 16:48:20 -07:00
anthony
4cca3f9b87
when get scsi_id, replace all whitespaces by underscores
2010-10-20 13:55:14 -07:00
anthony
121d29211e
update new keypair
2010-10-15 15:50:53 -07:00
anthony
b66203ebca
empty it instead of rm it
2010-10-15 15:05:22 -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
anthony
93f3205a84
change the script
2010-10-07 23:24:25 -07:00
edison
139ff273ff
fix systemvm template for kvm, using chiradeep's latest debian template
2010-10-05 20:41:39 -07:00
anthony
319d4f1aa0
snapshot redesign
...
1. use full snapshot and delta snapshot, there are maxsnashot/2 of delta snapshot between two full snapshot
2. only support one policy for one volume
3. remove all coleases in secondary storage.
2010-09-28 18:37:46 -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
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
anthony
0d55059583
remove some SMlog
2010-09-09 13:59:31 -07:00
Alex Huang
7249f168d5
more file changes
2010-09-09 13:27:20 -07:00
anthony
5d8cadb7b0
correctly use session in plugin
2010-08-29 23:59:33 -07:00
anthony
afd8052203
remove unused scripts
2010-08-29 18:39:15 -07:00
anthony
a517338ac7
fix a bug about backupsnapshot to nfs primary storage
2010-08-28 19:17:40 -07:00
Anthony Xu
d72e0538da
Revert "Revert "use iso to patch systemvm""
...
This reverts commit 145e2e0aaa .
2010-08-26 16:06:28 -07:00
Anthony Xu
145e2e0aaa
Revert "use iso to patch systemvm"
...
This reverts commit 3565f8d21b .
2010-08-26 16:03:34 -07:00
root
3565f8d21b
use iso to patch systemvm
...
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java
scripts/vm/hypervisor/xenserver/xenserver56/patch
2010-08-26 15:56:02 -07:00
edison
867b49edb6
Don't install console proxy agent on agent
2010-08-25 15:26:33 -07:00
Anthony Xu
0366dd093c
use slaveconnection instead of masterconnection for all host plugin calls.
...
tested by creating domr and user vm and migrating them
1. if you add host for kvm , you need specify kvm://ip_address, otherwiset there is no to differ kvm and xenserver hosts, edison cloud you please test this, may need some minor fixes.
2. if you want to session inside your plugin call, you can not use the one which is passed in, due to it is a slavesession, you need to call get_xapi_session() to get a new local session and use it. I have modified some of these, I may ignore some. Please let me know if you see XENAPI_PLUGIN_EXCEPTION.
2010-08-23 18:01:39 -07:00
Anthony Xu
09680d80a7
bug 5939: add the new script to patch
...
status 5939: assigned
2010-08-18 16:59:04 -07:00
Anthony Xu
334b2f7d27
bug 5939: script to clean xenstore disk
2010-08-16 17:06:20 -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
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