Commit Graph

289 Commits

Author SHA1 Message Date
Wido den Hollander 5e9a193f2c agent: Replace tabs by 4 spaces
A lot of old code still has tabs inspead of 4 spaces for indentation.

The Coding Convention requires spaces, so we correct it.
2012-06-23 11:16:16 +02:00
Edison Su e7995d09dc CS-15281: Removal of third party dependencies in Citrix code base.
[Problem]
CloudStack uses a significant amount of third party software.  As part of the move to ASF there is a certain set of licenses that are compatible with ASF policy.  We need to make sure that every dependency we have is in that set. If it's not we have to remove it.

[Solution]
First set: Removing JnetPcap.

[Reviewers]
Edison Su, David Nalley

[Testing]
    [Test Cases]
     Executed ANT build-all sucessfully after removing JnetPcap and its respective dependencies.

    [Platform]
     Fedora release

Signed-off-by: Pradeep <pradeep.soundararajan@citrix.com>
2012-06-21 10:03:37 -07:00
Wido den Hollander 42c078422c ubuntu: Fix the wait_for_network method in the agent init script.
The init script was waiting for cloudbr0 to come up, but it's not mandatory that this bridge is available.

We now wait for at least one bridge to be up before starting the cloud agent.
2012-06-21 12:20:04 +02:00
Wido den Hollander bc94948e06 agent: Set the listen addr of a VM specificly to the private IP of a host
Now users have to modify their /etc/libvirt/qemu.conf vnc_listen, this is not needed anymore
2012-06-20 15:29:26 +02:00
Wido den Hollander a2de5fb7df Fix small typo for VNC settings 2012-06-20 10:54:52 +02: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
David Nalley c15948a3ef committing Chip Childers patches fixing licensing headers
Applying to the following directories:
* api
* deamonize
* agnet
* agent-simulator
* cloud-cli
2012-06-12 12:32:58 -04:00
Robert Schweikert 980f7931f7 - support SLES and openSUSE as configuration and build targets 2012-05-27 19:31:27 -04:00
Kelven Yang e8a5d51da7 Support console access through rebooting with XAPI session re-negotiation 2012-05-16 17:02:22 -07:00
Edison Su 26e78bd0b7 send ssh key to kvm host, even if it's developer env 2012-05-16 14:51:04 -07:00
Edison Su e323a4f725 CS-14871 return hostip in getvncportcommand 2012-05-16 10:24:46 -07:00
Edison Su bafc3f2a5a CS-14521
Remove CLVM, due to license issue
2012-05-15 15:13:15 -07:00
Kelven Yang c5083787c2 Hardening console proxy AJAX protocol to address security concerns 2012-04-19 12:10:33 -07:00
Sheng Yang b31f383398 CS-14369: Fix Quick Installation on the single host
Notice, even after this fix, there would be 2 entries in the mshost table, after
mgmt server restarted. But it should be harmless, since only one of them is
"Up".

Some message in the log would indicate something wrong with the original mshost
entry, but still, it seems harmless.
2012-04-18 20:19:17 -07:00
David Nalley 54d9686a1c more line ending issues - agent 2012-04-06 17:58:12 -04:00
frank 2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Edison Su 0d99538c4b bug 14535: fix multiple data disk; status 14535: resolved fixed; Reviewed-by: sheng 2012-03-28 17:44:20 -07:00
Edison Su 04312dabc4 bug 14024: apply sweller's patch. status 14024: resovled fixed; Reviewed-by: sweller 2012-03-23 17:58:30 -07:00
Edison Su 35911856db bug 14168: add re-try to mgt server, in case mgt server is down. status 14168: resolved fixed 2012-03-14 10:50:48 -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
Edison Su cf0a4e0274 bug 14034: add newline around configuration file. status 14034: resolved fixed. Reviewed-by: frank 2012-02-27 15:40:27 -08:00
Edison Su a148ae3fbf bug 13958: enable virtio for all the centos/fedora/ubuntu guests. status 13958: resolved fixed. Reviewed-by: frank 2012-02-23 11:41:21 -08:00
Edison Su 86ce1b0675 bug 13857: set vm migration speed as the network speed
status 13857: resolved fixed
Reviewed-by: Frank
2012-02-17 15:43:52 -08:00
David Nalley b6ba3c0e3d more formatting changes 2012-02-10 20:47:52 -05:00
David Nalley c11d702cac fixing some more formatting issues 2012-02-10 20:34:44 -05:00
David Nalley 783b9e7f6e format changes 2012-02-10 20:04:10 -05:00
David Nalley 66b33b4f57 fixing some whitespace issues - checkstyle 2012-02-10 19:22:03 -05:00
Edison Su 83a329af4e fix build 2012-02-09 14:58:01 -08:00
Edison Su 46492ebbf6 fix storage mount point is not available issue 2012-02-09 14:56:41 -08:00
Edison Su 5b11e67a18 Agent disconnected due to so many Fencecommand send to agent, cause agent can't get pingaswer from mgt server, then agent thinks it's ping timeout, reconnect to mgt server. 2012-02-09 14:56:41 -08:00
David Nalley 1048a42a24 fixing more whitespace issues 2012-01-25 16:55:32 -05:00
David Nalley 9872f074de just a few more whitespace issues 2012-01-25 03:00:36 -05:00
David Nalley 79b1584e74 cleaning up a few more whitespace issues 2012-01-25 02:56:55 -05:00
David Nalley 49ebeb901e fixing more whitespace issues 2012-01-25 00:18:37 -05:00
David Nalley 3fb42e3092 cleaning up more whitespace issues, complying with style guide 2012-01-24 22:53:59 -05:00
David Nalley 9a323b9f09 fixing some whitespace issues and line length issues to conform to the style guide 2012-01-24 22:44:43 -05:00
Edison Su ecab972060 execute fencecommand in seq for kvm, as there are only 5 default nio reading work threads on kvm agent. pinganswer may not be got serviced immediately, then agent will reconnect to mgt server again and again 2012-01-20 17:04:27 -08:00
Edison Su bced9a6e48 advanced startup command 2012-01-20 11:54:32 -08:00
Edison Su 5fcaa5a659 for windows vm, use localtime 2012-01-19 15:07:03 -08:00
Edison Su 46257f71d5 add debian 6 as pv as guest 2012-01-17 17:00:58 -08:00
Edison Su 15b57e6974 fix multiple data disks booting issue on windows vm 2012-01-13 18:36:53 -08:00
Edison Su 1d352f1e2c bug 12148: add checkpoint for storage migration
status 12148: resolved fixed
2012-01-13 15:19:14 -08:00
Edison Su a7daf4b9b4 set kvm HA heartbeat log level to warn 2012-01-12 14:45:53 -08:00
frank 52610ffcb3 add copyright header to shell scripts 2012-01-11 18:41:53 -08:00
Edison Su fe667e949e fix Maintenance releated issues with kvm:
1. put host into Maintenance, will send a Maintenance command to host, tell host that do not reconnect to mgt server
2. cancel Maintenance, will ssh into kvm host, and restart cloud-agent, which will reconnect to host
2012-01-11 17:36:58 -08:00
Edison Su 470ec2cabc bug 10586: apply Nils's patch
status 10586: resolved fixed
2012-01-10 16:20:34 -08:00
frank 30680542bf Bug 12777 - Add storage network configuration into CloudStack
add storage network support for KVM
2012-01-06 11:07:14 -08:00
Edison Su b39d29ef76 bug 12898:fix storage related bugs
status 12898: resolved fixed
2012-01-05 18:07:12 -08:00
Edison Su 653290a85c set creating template timeout from cmds.timeout 2011-12-20 18:12:41 -08:00
Edison Su 031671edd3 bug 12192: umount iso if it's dettached, or vm is stopped
status 12192: resolved fixed
2011-12-20 16:46:48 -08:00