alena
06d007337a
bug 10561: intermidiate checkin for FirewallRuleFeature
...
1) Added new apis: createFirewallRule, deleteFirewallRule, listFirewallRules
2) Modified existing apis - added boolean openFirewall parameter to createPortForwardingRule/createIpForwardingRule/createRemoteAccessVpn. If parameter is set to true, open firewall on the domR before creating an actual PF rule there
Modified backend calls appropriately.
3) Schema changes for firewall_rules table:
* startPort/endPort can be null now
* added icmp_type, icmp_code fields (can be not null only when protocol is icmp)
4) Added new manager - FirewallManagerImpl
2011-08-08 20:59:40 -07:00
Kelven Yang
a3fb501378
adjust to merged changes
2011-08-08 18:44:14 -07:00
Kelven Yang
39a3d82f11
Add prepareTemplate command(admin only) to allow pre-loading template into primary storage
2011-08-08 18:37:26 -07:00
anthony
1a070f4c1b
bug 11014:
...
1. if there is no storage pool, don't try to start system VM
2. not use "consoleproxy.restart" as other meaning
status 11014: resolved fixed
2011-08-08 18:28:34 -07:00
anthony
19189f1d0f
For some NFS Servers, mount option tcp is required
2011-08-08 15:27:00 -07:00
Sheng Yang
84fe6c3863
bug 11003: Fix HAproxy with new template
...
New debian package didn't create directory /var/lib/haproxy, which result in
haproxy fail to work.
status 11003: resolved fixed
2011-08-08 13:35:17 -07:00
Naredula Janardhana Reddy
9e9ae52dbf
Revert "bug 10561: Allowing ICMP traffic through static NAT"
...
This reverts commit 5e74e24bb359456967866cb2c6cc0f6f73570f97.
2011-08-09 00:08:07 +05:30
keshav
b8c9205000
Changed findOrCreateDhcpServers() to check if start IP is null before retrieving an IP address object
2011-08-05 17:03:20 -07:00
Sheng Yang
49709d716a
Try to workaround "ip route add" fail in redundant router
...
It's probably due to the network is not ready, so wait some time for it.
2011-08-05 16:40:35 -07:00
Kelven Yang
9f94a178d6
bug 10976: NPE fix to avoid blocking shutdown process
2011-08-05 14:06:48 -07:00
alena
797263265e
bug 10994: Fixed NPE in destroySystemVm api
...
status 10994: resolved fixed
2011-08-05 12:45:57 -07:00
Sheng Yang
7a3edd74d5
Fix missing lock releasing in VirtualNetworkApplianceManagerImpl.java
2011-08-05 12:14:42 -07:00
Sheng Yang
7638f8e7a7
bug 10991: Determine existing redundant router using both state and host id
...
Seems in some condition, when a router is stopped, it's host_id != null.
status 10991: resolved fixed
2011-08-05 11:36:35 -07:00
anthony
355be3a417
bug 10849: storage ip is not require NOT NULL
...
status 10849: resolved fixed
2011-08-05 11:26:10 -07:00
Abhinandan Prateek
51e43be06c
bug 10969: name of VM is instance name, instead of display name
...
status 10969: resolved fixed
2011-08-05 13:14:28 +05:30
Abhinandan Prateek
0f2a9b6a69
bug 10748: fixed it when the VM acts as a dhcp server only
...
status 10748: resolved fixed
2011-08-05 12:02:54 +05:30
Kelven Yang
5c3bc6bb7e
bug 10765: fix step 3 - tranlation map for japanese keyboard on japanese host VM to japanese keyboard on guest VM
2011-08-04 18:46:15 -07:00
Kelven Yang
19567df49b
bug 10765: fix step 2 - programming VNC server to let it chose the right keyboard mapping to load into
2011-08-04 18:27:45 -07:00
Kelven Yang
d9392a6aa7
guard GlobalLock lock with finally clause
2011-08-04 16:19:28 -07:00
anthony
41759c153d
bug 10964: if snapshot's volume's templateId is NULL, change snapshot version from 2.1 to 2.2 directly, not upgrade snapshot is needed.
...
status 10964: resolved fixed
2011-08-04 16:08:50 -07:00
alena
2b35974f9b
Fixed doc bug in createVolume api
2011-08-04 15:48:31 -07:00
anthony
3272241440
bug 9255: do NOT allow creating snapshot/snapshotpolicy against System VM volume
...
status 9255: resolved fixed
2011-08-04 15:28:38 -07:00
Edison Su
1d49275ca8
release capacity if current state is in starting and not transit to running
2011-08-04 14:26:21 -07:00
Edison Su
ccdfe240bd
don't put cpu/mem into reserved capacity if failed to start/stop vm
2011-08-04 14:26:21 -07:00
alena
0826066f7f
bug 10757: override default page size only in listCfg api command
...
status 10757: resolved fixed
2011-08-04 12:56:00 -07:00
Sheng Yang
63e67c21d3
Add some default values for 2.2.9-2.2.10 scheme
2011-08-04 12:10:08 -07:00
Sheng Yang
f1d3e73d08
Fix KVM agent connection issue, and build
...
non-static inner class can't be serialized, also it lacks no-args
constructor.
2011-08-04 11:56:37 -07:00
Sheng Yang
9ae546e67b
Revert "Fix KVM agent connection issue"
...
This reverts commit 4a3296bd5e489997c2c5ffb2368f688c3a1b9498.
2011-08-04 11:43:55 -07:00
Sheng Yang
75fc541754
Fix KVM agent connection issue
...
non-static inner class can't be serialized, also it lacks no-args constructor.
2011-08-04 11:35:36 -07:00
alena
4abb737c04
Fixed upgrade for volumes table
2011-08-04 11:22:04 -07:00
anthony
94855b688f
Bug 10197: DB upgrade
2011-08-04 10:52:28 -07:00
alena
527c3b024f
bug 10954: when start a vm, always check if it's being started in original pod; if not - release old ip address, and allocate the new one from the new pod
...
status 10954: resolved fixed
2011-08-03 20:46:33 -07:00
Kelven Yang
5f20879f56
bug 10765: there will be two steps for a full fix, this is step 1 -translate japanese Yen mark at javascript side
2011-08-03 18:11:10 -07:00
Sheng Yang
13e7c5f3d4
Update scheme-229to2210.sql to reflect redundant virtual router change
2011-08-03 17:06:06 -07:00
Sheng Yang
a46c2cb650
Send CheckRouter command only when router is running
2011-08-03 16:57:43 -07:00
Edison Su
f34bf1c5e7
delete the default iptable rule
2011-08-03 13:39:21 -07:00
Sheng Yang
cb5e4574f9
bug 10946: Add default buffer length for compressed request
...
Then it can support 2.2.8 system vm connection.
status 10946: resolved fixed
2011-08-03 11:54:11 -07:00
alena
a7bc955822
Added missing config value to 229 to 2210 upgrade
2011-08-03 10:35:06 -07:00
alena
da4b39279d
Added 229 to 2210 upgrade path
...
Conflicts:
server/src/com/cloud/upgrade/DatabaseUpgradeChecker.java
setup/db/db/schema-228to229.sql
2011-08-03 10:23:27 -07:00
alena
cf7e351cbf
bug 10921: remove obsolete keys during 2.1.x to 2.2.9 upgrade
...
status 10921: resolved fixed
Conflicts:
server/src/com/cloud/upgrade/dao/Upgrade228to229.java
2011-08-03 10:15:09 -07:00
Naredula Janardhana Reddy
46427fef91
bug 10561: Allowing ICMP traffic through static NAT
2011-08-03 21:15:02 +05:30
Abhinandan Prateek
cd78c5cb9b
bug 10812: putting key in ZoneConfig and other nomenclature changes
2011-08-03 14:32:28 +05:30
anthony
8a5a057231
bug 10483: if hypervisor doesn't support a guest OS type, boot from ISO of this guest OS type fails,
...
deployed VM is not impacted, if the guest OS type is not supported, run it as HVM
status 10483: resolved fixed
Conflicts:
core/src/com/cloud/hypervisor/xen/resource/CitrixHelper.java
core/src/com/cloud/hypervisor/xen/resource/XenServer60Resource.java
2011-08-02 18:34:41 -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
alena
e0033c5d9d
bug 10869: always allocate first ip address from the range for the dhcp server.
...
status 10869: resolved fixed
Here is the flow (design is approved by Will Chan):
1) If user specifies custom ip address, and this ip is not the first ip in the range, the dhcp server gets the ip.
2) If user specifies custom ip address, and this ip is the first ip in the range, the dhcp server will get the random ip address from the range.
2) If user doesn't specify custom ip address, we always try to allocate first ip address from the range for the dhcp server; if this ip is already allocated, the dhcp server will get the random ip from the range.
This will work for:
* domR's Guest network
* dhcp's Direct network
2011-08-02 17:42:12 -07:00
anthony
fc70e15059
fixed build
2011-08-02 17:24:22 -07:00
anthony
dc7ff2b5ad
Bug 10197:
...
implement pool-wise VM sync,
For XenServer, VM fullSync is pool-wise now, VM deltaSync is still per host
2011-08-02 16:52:24 -07:00
anthony
5f9884d97a
Bug 10197:
...
1. don't try HA vms if host hypervisor version changes
2. fixed a bug related to VM full sync with hosttrack enabled
2011-08-02 16:48:27 -07:00
alena
21afd1785a
bug 10938: do search includingRemoved when generate the log for the vm state transition. The fix is needed for the specific case when expunge interval is really small, and vm gets expunged right after it's state transitioned to Destroyed, but before the log for state transition is generated
...
status 10938: resolved fixed
2011-08-02 16:10:23 -07:00
Alex Huang
f043f63eaa
Merged changes from 2.2.8.zucchini
2011-08-02 15:33:48 -07:00