Hugo Trippaers
01acd3d8ec
VR interfaces need the proper network type in ips
2015-03-16 11:38:05 +01:00
Hugo Trippaers
4632936733
We actually don't need all the process stuff
2015-03-16 11:38:05 +01:00
Hugo Trippaers
a9c5f91223
Fix indents
2015-03-16 11:35:37 +01:00
Ian Southam
ba4684d53d
Updated incorrect file.
...
This led to the file loading twice
2015-03-16 11:35:37 +01:00
Ian Southam
e30da35879
Interfaces were not coming up on non redundant router
2015-03-16 11:35:37 +01:00
Hugo Trippaers
4cfe2a32c0
Fix a few things introduced by the rebase
2015-03-16 11:35:35 +01:00
Ian Southam
55c008f569
Cockup during the adding of the Apache licence
2015-03-16 11:35:31 +01:00
Ian Southam
f0b783bb11
Removed stuff that is moved to CsRedundant
2015-03-16 11:35:30 +01:00
Ian Southam
7b95b78223
backup fault and master implemented
...
Some more refactoring to decluter the bin directory
New config class to carry around the log, command line and firewall data
2015-03-16 11:35:29 +01:00
Ian Southam
8a2391336c
Getting redundancy to work via teh configuration files
...
Some refactoring to make class loading a little more logical
Removed fw global (does not persist accross modules)
Added first tests
Added command line call to set and disable redundancy
Added command line call to set master
2015-03-16 11:35:29 +01:00
Ian Southam
093749eaae
A start on the redundancy code
...
This will not break anything but also will not work
2015-03-16 11:35:29 +01:00
Ian Southam
a01e9082cd
New code for ACLs (VPN configuration) failed functional tests
...
Some corrections
2015-03-16 11:35:28 +01:00
Ian Southam
f7d0a11a34
Process VPN requests\
...
No tests (yet)
2015-03-16 11:35:28 +01:00
Ian Southam
b95d8257a4
Merge operation for site2site vpn
2015-03-16 11:35:28 +01:00
Ian Southam
725c040d5c
Added code to configure netusage for vpc and domR devices
...
Removed code from existing scripts that does the same
Fixed some more issues with CsNetfilter
Added rsync for/etc/iptables in rsync
2015-03-16 11:35:27 +01:00
Ian Southam
3cdaa55462
icmp-type parameter was being skipped
2015-03-16 11:35:27 +01:00
Ian Southam
2765a506dc
Moved databag into a separate file
2015-03-16 11:35:26 +01:00
Ian Southam
733bc19eac
Include base rule sets in Acls
...
Also made some adjustments to the base rule sets to ensure my parsing routine works
2015-03-16 11:35:26 +01:00
Hugo Trippaers
a7338387c1
Sourcenat is handled differently for routers and vpc routers
2015-03-16 11:35:26 +01:00
Hugo Trippaers
576564e744
If a file doesn't exist, create it
2015-03-16 11:35:26 +01:00
Ian Southam
762e05ddee
Bug fixed:
...
Default drop rul for inbound chain gets dropped by CsNetFilter
This would have been bad (tm)
2015-03-16 11:35:25 +01:00
Ian Southam
8b38bff962
A lot of corner cases dealt with
...
Need now to expand the test data to ensure I have got them all
Also failure to match because bizarrely some strings were unicode and some not
2015-03-16 11:35:25 +01:00
Ian Southam
5137d7e136
Removed dhcpopts.conf for now as, it is the routing options and they seem to be dealt with dofferently in the new arrangement
...
Changed the dhcp tests to avoid handing out the broadcast and gateway addresses :)
2015-03-16 11:35:25 +01:00
Hugo Trippaers
f21b90a73e
Add missing sourcenat rule
2015-03-16 11:35:25 +01:00
Hugo Trippaers
6d12d94e0c
Add the public source nat rule
2015-03-16 11:35:24 +01:00
Hugo Trippaers
80a149abb7
Add port forwarding and static nat to the convergence infrastructure
2015-03-16 11:35:24 +01:00
Hugo Trippaers
8c5dba31d0
Fix the forwardingrule databag
2015-03-16 11:35:24 +01:00
Ian Southam
7fc3365459
Implemented delete (add : false) for cs_dhcp
...
Added some tests to the test_update_config tests for dhcp entries
2015-03-16 11:35:24 +01:00
Ian Southam
e6e47de6ff
Stupid stupd bug
...
a or b is of course not the same as a | b
2015-03-16 11:35:23 +01:00
Ian Southam
c318bd6337
Corrected bug (I love tests)
...
The dhcp server will only start listening after a host has been added
In this condition, HUP is not enough
Changed so that if it is adding a first host it will restart the server
2015-03-16 11:35:23 +01:00
Ian Southam
0e8c79c7f1
That is the acls.
...
Need to check the order stays good
2015-03-16 11:35:23 +01:00
Hugo Trippaers
f273fd4659
Add the static nat rules to the merge procedure
2015-03-16 11:35:23 +01:00
Hugo Trippaers
a789e8bf57
Fix a bug that would add updated control ip address instead of replace
2015-03-16 11:35:22 +01:00
Ian Southam
8f4461567d
That should be all the dhcp settings correct
...
CsGuestNetwork moved out of configure
dnsmasq config all switched to CsDhcp
2015-03-16 11:35:22 +01:00
Ian Southam
b45c71ee31
Acl code linked in
...
Dhcp code
Test file for dhcp entry
2015-03-16 11:35:22 +01:00
Hugo Trippaers
683e660d60
Small (but important) fixes
2015-03-16 11:35:22 +01:00
Ian Southam
574fa2c0a0
Call update_config.py if it is there
2015-03-16 11:35:21 +01:00
Ian Southam
8abf1a22ab
Auto create missing chains
...
Auto delete superfluous rules
TO DO: Priorities
2015-03-16 11:35:21 +01:00
Ian Southam
19fd0b4b57
Added logic to create all necessary firewall rules
...
TODO: Auto add chains
TODO: Delete rules that should not be there
TODO: Deal with precidence
2015-03-16 11:35:21 +01:00
Ian Southam
cd0ad69281
Tidied up main to be in line with the newer classes
...
Added a base classs CsDataBag which will autoload a given databag
2015-03-16 11:35:21 +01:00
Ian Southam
c6d99a45a2
First part of some serious refactoring
...
The problem is that teh convergence model does not works as it currently is
Firewall rules will get added but not deleted
This builds a table of firewall rules that need to be present
The new CsNetfilter class will then do:
1. Add rules that are not present
2. Delete any that were not explicitly in the add list
WIP
2015-03-16 11:35:21 +01:00
Hugo Trippaers
e323d63867
Merge vmmetadata, reuse the code from the existing script to parse it.
2015-03-16 11:35:20 +01:00
Ian Southam
4527519081
Refactored CsHelper into a module
...
Introduced CsNetfilter module/class
2015-03-16 11:35:20 +01:00
Ian Southam
4e63119873
Moved processing the cmd_line databag into update
2015-03-16 11:35:20 +01:00
Ian Southam
3ea63ced68
Added merge for network_acl type message
2015-03-16 11:35:19 +01:00
Ian Southam
fff3964332
Add catchall for unknown types
2015-03-16 11:35:19 +01:00
Hugo Trippaers
9ede758e4d
Small update to try do deal with the stuck issue
2015-03-16 11:35:19 +01:00
Ian Southam
98a43d184b
Fixed bug in which every run of loadQueueFile would append to the json file (merge)
...
cloud-early-config now saves its input file to /var/cache/cloud
Execute load cmd_line.json in update_config
Old way of working still in there to stop and possible clash until the base image is made
2015-03-16 11:35:19 +01:00
Ian Southam
680454dfdf
Some bug fixes
...
Some more tests
store vmpassword functionally working
Tests for store password
2015-03-16 11:35:18 +01:00
Ian Southam
9d73879061
Fixed test (assert in guest check was wrong way around)
...
Also found condition inw hich apache would be miscobfigured and failed to run (I love tests!!)
Fixed configure.py to cover this case
Added a test to provoke this case!
2015-03-16 11:35:18 +01:00
Ian Southam
4c5f4a1f9f
Added vmpassword type (does nothing yet)
...
Fixed tests to use /var/cache/cloud
Added some test files but will remove them when tests are properly completed
Fixed a bug in configure that did not deal well with databags with empty dev sections
2015-03-16 11:35:17 +01:00
Hugo Trippaers
6a016d5b54
Small fixes
2015-03-16 11:35:17 +01:00
Hugo Trippaers
85434f49b9
Hotfix for lost control interface
2015-03-16 11:35:17 +01:00
Hugo Trippaers
58919dcf50
Change the location for the temporary json files to /var/cache/cloud
2015-03-16 11:35:16 +01:00
Ian Southam
ca2ff2946e
Added some tests that test stuff
...
Specifically checking whether certain ip addresses get added and deleted
Also a rudementary test for the guest network ip
Much more to do!!
2015-03-16 11:35:16 +01:00
Ian Southam
c428d60e6b
Stop ignoring eth0
2015-03-16 11:35:15 +01:00
Ian Southam
dd6b643ceb
Do not use eth0 or eth1 for random tests
...
One or other will be the control interface of the box
2015-03-16 11:35:15 +01:00
Ian Southam
cc5d72133e
Removed chef as we will definitely not go this way
2015-03-16 11:35:14 +01:00
Ian Southam
6a7a832ef5
iDo not do the post configure steps on a control interface
2015-03-16 11:35:14 +01:00
Ian Southam
2aed586bfc
Removed merge_cline - no longer required
...
Added the last pieces of vpc guest network
password server and associated FW rules
Added apache2 config and start of server
Corrected a bug in CsFile
Fixed some of the many pyLint bleats
2015-03-16 11:35:13 +01:00
Leo Simons
295e2caff0
Fix configure::waitForDevice when a device is missing.
...
Was using non-existing 'ip' variable.
2015-03-16 11:35:12 +01:00
Leo Simons
cf4cdde291
Fix update_config.py use of subprocess.
2015-03-16 11:35:12 +01:00
Leo Simons
6244265de0
Fancy line editor for Ian
2015-03-16 11:35:11 +01:00
Ian Southam
05702ecd1a
Added guest network configuration
...
Added iptables config (adds but no deletes yet)
Apache config (VPC GN)
DNSMasq config (VPX GN)
2015-03-16 11:35:10 +01:00
Ian Southam
666dc16e58
Moved bag location to /et/cloudstack
...
Updated test script to also process command line
Added connmark stuff to merge
2015-03-16 11:35:09 +01:00
Ian Southam
2a94ca69ce
Added some lost lines back using Hugo witchcraft
2015-03-16 11:35:09 +01:00
Ian Southam
ca4887d9cc
Test data for ipassociation
...
These files emulate commands coming from cloudstack itself
2015-03-16 11:35:08 +01:00
Ian Southam
c7c1f3202e
Plan B
...
Replace chef with a python script
configure.py will read the bags and (hopefully) create the desired state
At this stage this is ipassociation
This code should work for both VR and VPCrs
TODO:
iptables
ip route throw (present in VR but not in VPCr
Determine default route
Unit tests
2015-03-16 11:35:08 +01:00
Ian Southam
3811b8dc90
Split Databag in to separate class as I would now need this
2015-03-16 11:35:06 +01:00
Ian Southam
3077eb925b
Include the guestnetwork code
...
This takes the guestnetwork object and also creates an ip object
2015-03-16 11:35:06 +01:00
Ian Southam
9355dd7133
Corrected a hole in my logic
2015-03-16 11:35:05 +01:00
Ian Southam
0bf7d54722
1. Completed provider for ip rules (fwmark)
...
2. Added merge routine for guestnetwork config messages
3. Updated test script
2015-03-16 11:35:05 +01:00
Hugo Trippaers
583f177619
Disable cmdline check until it's fixed
2015-03-16 11:35:04 +01:00
Hugo Trippaers
0027db6cd1
Switch ip associations to new model and update the recipes
2015-03-16 11:35:04 +01:00
Ian Southam
0db157e58f
Remove debug code
2015-03-16 11:35:04 +01:00
Ian Southam
d868b0521b
Correct small typo in error message
2015-03-16 11:35:03 +01:00
Ian Southam
bcb760e1e2
Can now read the ips out of the cmdline databag (if present)
2015-03-16 11:35:03 +01:00
Ian Southam
0c8f8d945e
Only ip_association files for now
2015-03-16 11:35:03 +01:00
Ian Southam
bcbefb2833
Changed from camelCase to json_case
2015-03-16 11:35:03 +01:00
Ian Southam
54b21220db
Use json naming standards instead of camelCase
2015-03-16 11:35:02 +01:00
Ian Southam
018b56385c
Added cs_ip module
...
Corrected syntax error in merge.py
2015-03-16 11:35:02 +01:00
Ian Southam
a357e12943
Add the Python bits
2015-03-16 11:35:02 +01:00
Ian Southam
72111c3399
Merged cookbooks from vpc branch
2015-03-16 11:35:01 +01:00
Hugo Trippaers
b596be1a82
Add a placeholder for the trigger file
2015-03-16 11:35:00 +01:00
Hugo Trippaers
7afd50d65a
This file isn't used, so remove it
2015-03-16 11:34:59 +01:00
Ian Southam
5b82e2059d
Cherry-pick of 11c00977f77f45aa7b0c387dc88360eba0819e8a:
...
----
Author: Ian Southam <isoutham@schubergphilis.com>
First commit towards moving systemvm to chef based configuration
In this commit
1. cmdline json databag is created
2. ip association data bag is created
3. Basic chef cookbook to manage ips and routes
Conflicts:
systemvm/patches/debian/config/etc/init.d/cloud-early-config
systemvm/patches/debian/config/var/chef/cookbooks/README
tools/appliance/definitions/systemvm64template/postinstall.sh
----
Because we've refactored the systemvm template the change to
postinstall.sh now gets its own chef.sh file.
2015-03-16 11:34:59 +01:00
Rohit Yadav
375e998eaf
CLOUDSTACK-8272: Python based file-lock free password server implementation
...
- VRs are single CPU, so Threading based implementation favoured than Forking based
- Implements a Python based password server that does not use file based locks
- Saving password mechanism is provided by using secure token only to VR (localhost)
- Old serve_password implementation is removed
- Runs with Python 2.6+ with no external dependencies
- Locks used within threads for extra safety
This closes #106
(cherry picked from commit 4b45d25152 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-12 13:57:49 +05:30
René Moser
47de4a12f4
systemvm: correct sftp subsystem path of debian wheezy
...
This closes #104
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-10 10:15:05 +05:30
René Moser
37b4d9c308
systemvm: use Debian http redirector for apt repositories
...
* No offline mirrors
* No out of date mirrors
* New mirrors are used
* Load-balancing
* Faster downloads (when APT is used, via parallel downloads)
* Great on mobility
Also see http://http.debian.net/ for more information.
This closes #103
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-10 10:11:08 +05:30
Rohit Yadav
ebcad34d33
systemvm: avoid tcp responses with timestamp
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit f3f47f25ba )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-09 17:12:22 +05:30
Rohit Yadav
5256b0205a
systemvm: have apache2 use secure SSL cipher suite
...
Created using Mozilla's ssl config generator:
https://mozilla.github.io/server-side-tls/ssl-config-generator/
Intermediate setting was used, with apache version 2.2.22 and openssl 1.0.1e
Oldest compatible clients:
Firefox 1, Chrome 1, IE 7, Opera 5, Safari 1, Windows XP IE8, Android 2.3, Java 7
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit ab8f367850 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-03-09 12:45:06 +05:30
Jayapal
8414223a96
CLOUDSTACK-5494: Fixed dns is open to public in VR
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 81994cf443 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-06 15:31:13 +05:30
Rohit Yadav
664186f483
CLOUDSTACK-8160: use preferable protocols
...
(cherry picked from commit debfcdef78 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-01-21 18:04:45 +05:30
Rohit Yadav
aae393dcd5
CLOUDSTACK-7974: remove old hostname entry for a VM when adding a VM
...
When adding a VM, it adds an entry to /etc/hosts file on the VR but does not
clear up any older entries for the VM with a same name. The fix uncomments the
command that removes any old entries in the VM.
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 63298d9b74 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-10 18:25:22 +05:30
Remi Bergsma
ef3b4bb4e3
made iptables for the VPN connection more secure
...
Added destination and source definition. Flag -S can be used
to ignore this. It's the new default as it is more secure
and does not impact the way things work (backwords compatible).
2014-12-08 19:06:55 +01:00
Remi Bergsma
7f33f7c396
prevent CloudStack from removing the VPN connection
...
If connecting the VPN takes some time, for example because
the other end is not (yet) up, CloudStack will delete
the VPN because the ipsectunnel.sh does not return in time.
The VPN connection then enters the Error state.
This change makes sure ipsectunnel.sh returns in time,
and lets ipsec connect in the background. If it all fails,
the connection enters Disconnected.
2014-12-08 19:00:59 +01:00
Remi Bergsma
f8d718e3e3
add a flag -c whether or not to check the VPN on create
...
Changed default to no, as the other side may not be up yet.
If this check fails, the VPN enters Error state and will not
work. It's safe to just let it connect on its own so it will
connect when it can.
2014-12-08 18:59:16 +01:00
Remi Bergsma
b95addd3ef
starting the tunnel will make it keep trying until it connects
...
Changed 'auto=add' to 'auto=start' to make sure the tunnel starts.
When both sides are there they will connect. This resolves the
issue that there is only a small time frame in which the VPN
would connect.
2014-12-08 18:55:35 +01:00
Remi Bergsma
8b2563a216
renamed $leftgw to $leftnexthop to make clear what it does
2014-12-08 18:54:27 +01:00
Remi Bergsma
8b412ce194
remove biglock usage from ipsectunnel.sh
...
Biglock breaks creating VPN's when other scripts run at the
same time that also use the same biglock. These other scripts
do nothing that could harm our deployment and even multiple
vpn's can safely be created simultaniously.
2014-12-08 18:53:18 +01:00
Wei Zhou
4eedfe53fc
CLOUDSTACK-2823: pass cmdline info to system vms for 30 times
2014-12-08 15:45:29 +01:00
Axel Delahaye
f73ad2e8b3
console-proxy add support of AltGr key and FR azerty keyboard
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-12-08 18:05:43 +05:30
Rajani Karuturi
4722fa3de9
Merge branch '4.5'
...
Conflicts:
client/WEB-INF/classes/resources/messages_ja_JP.properties
client/WEB-INF/classes/resources/messages_zh_CN.properties
engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
engine/schema/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
engine/schema/src/com/cloud/upgrade/dao/Upgrade442to450.java
engine/storage/volume/src/org/apache/cloudstack/storage/volume/VolumeServiceImpl.java
plugins/event-bus/rabbitmq/pom.xml
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/storage/VolumeApiServiceImpl.java
server/src/com/cloud/vm/UserVmManagerImpl.java
setup/db/db/schema-442to450.sql
test/integration/component/test_persistent_networks.py
This closes #53
2014-12-08 15:27:53 +05:30
Jayapal
8f8e311110
CLOUDSTACK-8030: Updated router to come up egress default ALLOW
...
On default iptables rules are updated to add ACCEPT egress traffic.
If the network egress default policy is false, CS remove ACCEPT and adds the DROP rule which
is egress default rule when there are no other egress rules.
If the CS network egress default policy is true, CS won't configure any default rule for egress because
router already came up to accept egress traffic. If there are already egress rules for network then the
egress rules get applied on VR.
For isolated network with out firewall service, VR default allows egress traffic (guestnetwork --> public network)
2014-12-08 11:32:01 +05:30
Wei Zhou
18b230db74
Revert "Occasionally the while loop can exit with no data (Probably recieving an EOF) before receiveing CMDline data from the certial port. Continue looping until cmdline is populated"
...
This reverts commit 83656a6ea8 .
The systemvm/routers will reboot automatically if the systemvm.iso changes.
They will stuck during the startup due to this commit because the virtio-port are empty.
2014-12-05 15:17:55 +01:00
Sheng Yang
3c9e14e85a
CLOUDSTACK-5241: Remove Rot13 usage
2014-12-03 19:38:47 -08:00
Sheng Yang
feeafa76a4
CLOUDSTACK-5241: Remove Rot13 cipher
2014-12-03 19:30:31 -08:00
Hugo Trippaers
a72f14ea9c
Ensure the response is a proper http response.
...
Tested that cloud-set-guest-password.sh still works after this change.
Reviewed-by: Daan Hoogland <daan@onecht.net>
2014-12-02 16:36:49 +01:00
vetrivelc
66e805cba9
Fixes: Hardcoded strings externalized from various JS files.
...
Signed-off-by: vetrivelc <vetrivel.chinnasamy@citrix.com>
2014-11-21 08:02:49 -08:00
David Bierce
83656a6ea8
Occasionally the while loop can exit with no data (Probably recieving an EOF) before receiveing CMDline data from the certial port. Continue looping until cmdline is populated
...
Signed-off-by: Edison Su <sudison@gmail.com>
2014-11-20 11:00:09 -08:00
David Bierce
50d756e87d
Occasionally the while loop can exit with no data (Probably recieving an EOF) before receiveing CMDline data from the certial port. Continue looping until cmdline is populated
...
Signed-off-by: Edison Su <sudison@gmail.com>
2014-11-20 10:58:35 -08:00
Sheng Yang
50b262e02a
CLOUDSTACK-7944: Ensure ipv6 is enabled in sysctl.conf
...
The booting sequence result in change of IPv6 related sysctl options was
overrided by sysctl.conf which is loaded later.
So this patch would patch sysctl.conf in VR as well, ensure IPv6 would be
enabled during booting period otherwise the network setup may not work, result
in IPv6 VM deployment failure.
2014-11-19 14:50:03 -08:00
Sheng Yang
bb352da302
CLOUDSTACK-7944: Ensure ipv6 is enabled in sysctl.conf
...
The booting sequence result in change of IPv6 related sysctl options was
overrided by sysctl.conf which is loaded later.
So this patch would patch sysctl.conf in VR as well, ensure IPv6 would be
enabled during booting period otherwise the network setup may not work, result
in IPv6 VM deployment failure.
2014-11-19 14:49:18 -08:00
Sheng Yang
fd03091c81
Revert "CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim ENCAPSULATION_MODE_UDP_TRANSPORT_RFC"
...
This reverts commit e1c788ca3c .
This breaks Windows 7 client.
2014-11-14 11:44:53 -08:00
Sheng Yang
2d3b3376e3
Revert "CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim ENCAPSULATION_MODE_UDP_TRANSPORT_RFC"
...
This reverts commit e1c788ca3c .
It breaks Windows 7 client.
2014-11-14 11:43:03 -08:00
Sanjay Tripathi
7f2219bcbb
CLOUDSTACK-7904: EN-UK: CentOS 6.5 GUI: Key translation fails for some EN- UK keyboard keys.
2014-11-13 19:16:02 +05:30
Joris van Lieshout
1cc733bfd5
Logrotate is called from crontab. Debian crontab does not include everything in it's path. Therefore reference to these bins need to be absoluut.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-11-09 13:18:08 +01:00
Joris van Lieshout
1e1cc11d9a
Logrotate is called from crontab. Debian crontab does not include everything in it's path. Therefore reference to these bins need to be absoluut.
...
Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-11-09 13:13:56 +01:00
Rohit Yadav
a014617085
CLOUDSTACK-7855: NIC3 should set MTU and not NIC1 for storage network nic
...
The fix also persists the configuration in /etc/network/interfaces
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-06 18:21:32 +05:30
Rohit Yadav
c8ad4d15fd
CLOUDSTACK-7855: NIC3 should set MTU and not NIC1 for storage network nic
...
The fix also persists the configuration in /etc/network/interfaces
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-06 18:19:11 +05:30
Sanjay Tripathi
e6533b3684
CLOUDSTACK-7852: EN-US, SC: CentOS CLI & Windows OS: Key translation
...
fails on the Numeric Del. key for US 101 keyboard.
2014-11-06 13:33:57 +05:30
Sanjay Tripathi
04a6063ba8
CLOUDSTACK-7852: EN-US, SC: CentOS CLI & Windows OS: Key translation
...
fails on the Numeric Del. key for US 101 keyboard.
2014-11-06 13:32:09 +05:30
Sheng Yang
c15ed74f63
CLOUDSTACK-7841: Gracefully reload haproxy config
...
The old way would disconnect all the existing connections through haproxy when
reload the config.
This new way would ensure that all the existing connections would still alive
after reload the config.
2014-11-04 16:41:46 -08:00
Sheng Yang
4b3217fe57
CLOUDSTACK-7841: Gracefully reload haproxy config
...
The old way would disconnect all the existing connections through haproxy when
reload the config.
This new way would ensure that all the existing connections would still alive
after reload the config.
2014-11-04 16:40:47 -08:00
Rohit Yadav
84e44a4dba
systemvm: Prefer TLS over SSL in apache, POODLE workaround (CVE20143566)
...
Just prefer TLS over SSL in apache configuration in systemvm
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit 88acc9bd53 )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 01:50:06 +05:30
Rohit Yadav
88acc9bd53
systemvm: Prefer TLS over SSL in apache, POODLE workaround (CVE20143566)
...
Just prefer TLS over SSL in apache configuration in systemvm
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-11-04 01:43:55 +05:30
Sheng Yang
e1c788ca3c
CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim ENCAPSULATION_MODE_UDP_TRANSPORT_RFC
...
OSX always declaims it's behind NAT no matter it's true or not, thus result in
confusion of openswan.
Add parameter "forceencaps=yes" to openswan to make sure non NAT VPN connection
from OSX can pass through.
2014-10-30 17:24:57 -07:00
Sheng Yang
03a43159d8
CLOUDSTACK-7821: Fix OSX cannot connect to VPN due to wrongly declaim ENCAPSULATION_MODE_UDP_TRANSPORT_RFC
...
OSX always declaims it's behind NAT no matter it's true or not, thus result in
confusion of openswan.
Add parameter "forceencaps=yes" to openswan to make sure non NAT VPN connection
from OSX can pass through.
2014-10-30 17:23:34 -07:00
Edison Su
9d5b7b73a2
MTU should be put on storage network: eth3, instead of eth1 Reviewed-by: Frank
2014-10-30 02:45:46 -07:00
Hugo Trippaers
4ebaf0a583
Bump master version to 4.6.0-SNAPSHOT after branching 4.5.0-SNAPSHOT
2014-10-29 14:54:23 +01:00
Daan Hoogland
1de0cb7094
restore barematel work after merge
2014-10-17 10:24:01 +02:00
Daan Hoogland
148efbb73f
Merge remote-tracking branch 'origin/4.5' into merge-master
...
Conflicts:
engine/schema/src/com/cloud/upgrade/dao/Upgrade441to450.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalManagerImpl.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalVlanManager.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/manager/BaremetalVlanManagerImpl.java
plugins/hypervisors/baremetal/src/com/cloud/baremetal/networkservice/BaremetalKickStartServiceImpl.java
plugins/hypervisors/vmware/src/com/cloud/storage/resource/VmwareStorageProcessor.java
server/src/com/cloud/network/router/VirtualNetworkApplianceManagerImpl.java
server/src/com/cloud/network/router/VpcVirtualNetworkApplianceManagerImpl.java
setup/db/db/schema-441to450.sql
test/integration/component/test_deploy_vgpu_vm.py
tools/marvin/marvin/config/test_data.py
2014-10-16 12:29:37 +02:00
Saksham Srivastava
b29d075108
CLOUDSTACK-7657: cloud.log is being rotated by multiple rotation policies on SSVM and CPVM
...
(cherry picked from commit 3e02bfa74f )
2014-10-13 00:13:25 -04:00
Sanjay Tripathi
d97ad972b4
CLOUDSTACK-7373: Incorrect Japanese keyboard mapping with CentOS CLI and windows guestOS on VMware.
...
(cherry picked from commit bdf7d65305 )
2014-10-13 00:06:13 -04:00
Saksham Srivastava
cd3df842f2
CLOUDSTACK-7631: Log rotate on VR may fail as /etc/init.d/rsyslog does not anymore support reload option on debian wheezy
...
(cherry picked from commit 3a8c450890 )
2014-10-12 23:55:42 -04:00
David Nalley
ac48aa8e0c
cleaning up some from a revert
2014-10-12 23:30:04 -04:00
Frank Zhang
6dd3a91864
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
fix baremetal-vr.py license header
2014-10-06 16:07:51 -07:00
Frank Zhang
01dada100a
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
2014-10-06 16:03:19 -07:00
Saksham Srivastava
3e02bfa74f
CLOUDSTACK-7657: cloud.log is being rotated by multiple rotation policies on SSVM and CPVM
2014-10-01 13:39:09 +05:30
Sanjay Tripathi
bdf7d65305
CLOUDSTACK-7373: Incorrect Japanese keyboard mapping with CentOS CLI and windows guestOS on VMware.
2014-09-29 11:54:57 +05:30
Saksham Srivastava
3a8c450890
CLOUDSTACK-7631: Log rotate on VR may fail as /etc/init.d/rsyslog does not anymore support reload option on debian wheezy
2014-09-25 15:59:08 +05:30
Frank Zhang
3e6817c878
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
add missing license header to systemvm/patches/debian/config/etc/rc.local
2014-09-22 14:44:14 -07:00
Frank Zhang
6155d3ecaa
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
2014-09-22 13:57:32 -07:00
Frank Zhang
8b89494a35
CLOUDSTACK-6278
...
Baremetal Advanced Networking support
2014-09-18 16:54:37 -07:00
Daan Hoogland
dec9133dcd
CLOUDSTACK-7184: xenheartbeat gets passed timeout and interval
...
(cherry picked from commit 4d065b9a3a )
Conflicts:
plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/discoverer/XcpServerDiscoverer.java
plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/CitrixResourceBase.java
server/src/com/cloud/configuration/Config.java
server/src/com/cloud/configuration/ConfigurationManagerImpl.java
server/src/com/cloud/resource/DiscovererBase.java
2014-09-18 12:51:10 +02:00
Bharat Kumar
29911dd2e1
CLOUDSTACK-7376 passwd_server attempts to start but terminates with the exit code 137
...
Signed-off-by: Sheng Yang <sheng.yang@citrix.com>
2014-09-17 09:28:44 -07:00
Sanjay Tripathi
4796cceb34
CLOUDSTACK-7373: Incorrect Japanese keyboard mapping with CentOS CLI guestOS on VMware.
...
Fixed the jp keyboard issues for VMs deployed with keyboard=jp param.
2014-09-15 16:16:45 +05:30
Jayapal
3cb6d4a4df
CLOUDSTACK-7544: Fixed ip addr del issues in ipassoc
2014-09-15 14:54:13 +05:30
Jayapal
b4f03a1339
CLOUDSTACK-7517: loading ftp modules in VR
2014-09-10 14:10:14 +05:30
Fred Clift
355eb72c7d
make virtual router /latest/.htaccess file be static - no longer dynamically generate it, remove code that managed the file previously
...
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
2014-09-04 04:22:27 -04:00