Commit Graph

4834 Commits

Author SHA1 Message Date
Nitin Mehta 3473bc7d9b Bug 14490: Fix NPE in ListCapacity reviewed-by: Kishan 2012-03-26 12:28:15 +05:30
Edison Su 5797baa3ff bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:22:31 -07:00
Alena Prokharchyk 5a8af4a3e9 bug 14445: automatically enable firewall service for VR when VR is a provider for PF/StaticNat services
status 14445: resolved fixed
reviewed-by: Sheng Yang
2012-03-22 14:18:02 -07:00
Alena Prokharchyk 37190fb513 bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:32:24 -07:00
Alena Prokharchyk 39f06fa7f9 bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:25:44 -07:00
Abhi 2996482a0d bug 12947: support for 1.5 beta; reviewed-by: nitin 2012-03-22 17:27:43 +05:30
prachi 64311cc3ab Bug 14299 - Fix adding public ip range per account
Changes:
Fixed as described in the bug.

* CreateVlanIpRangeCmd still accept account/domainId info
* if account owns:
- one Isolated network with source nat service enabled, use this network
- more than one Isolated network with source nat service enabled - error out
- none Isolated networks with source nat service enabled, create it only in
case when there is an Isolated network offering with Availability=Required and
source nat service enabled.
2012-03-21 16:46:13 -07:00
Kelven Yang 93151a701c bug 14313: add map type adapter to ApiGsonBuilder as some API response classes are using Map<String, String> 2012-03-21 15:11:58 -07:00
Kelven Yang 4233cd7aba bug 14188: always make sure to inject SSH keys before copying systemvm ISO to secondary storage 2012-03-21 14:20:53 -07:00
Sheng Yang ce2e1166e0 bug 14042: Don't set dhcp:router option on DHCP server for non-default network on CentOS/RHEL
The routing table with two nics may be messed up, due to we sent same
router(gateway) information from different DHCP server, in order to specify
default gateway. E.g.

Network A: 192.168.1.0/24, gw 192.168.1.1
Network B: 192.168.2.0/24, gw 192.168.2.1

User VM: Nic 1 connect to network A, get ip 192.168.1.10; nic 2 connect to
network B, get ip 192.168.2.10.

Set network A as the default network of user VM.

Currently we would send this information to user VM through DHCP offer:
In network A: dhcp-option:router 192.168.1.1
In network B: dhcp-option:router 192.168.1.1

So both NIC in the guest VM would receive 192.168.1.1 as router(gateway).

But, in CentOS 5.6, dhclient-scripts try to tell if the gateway is reachable
for current subnet.

So when we try to enable nic 2(eth1) of user VM, dhclient would receive:
IP: 192.168.2.10
Mask: 255.255.255.0
Router: 192.168.1.1

Then it would found that the specified gateway(router) is not within its own
subnet(192.168.2.0/24). But since we send out this ip(192.168.1.1) as the
gateway for it, dhclient thought that it should got someway to access the
network through this IP. So it would execute:

ip route add 192.168.1.1 dev eth1
ip route replace default via 192.168.1.1 dev eth1

But it can never reach 192.168.1.1(which is in the eth0's subnet and the
gateway of eth0) by go through eth1 interface. So it is messed up.

We've tested Windows 2008 R2, CentOS 5.3, CentOS 5.6 and Ubuntu 10.04. Windows
and Ubuntu are fine with above policy.

To solve this, we send different dhcp:router option according to the guest OS
type now.

We may need expand this list later, but for now we only know that CentOS and
RHEL would behavior in this way.

status 14042: resolved fixed
2012-03-21 10:37:30 -07:00
Sheng Yang e14cf6a4e1 Fix not sending DNS in DHCP command 2012-03-21 10:37:24 -07:00
Nitin Mehta 220c904be3 Bug 14345: DB discrepecy for capacity.check.period, cluster.memory.allocated.capacity.disablethreshold, pool.storage.allocated.capacity.disablethreshold, pool.storage.capacity.disablethreshold.
Reviewed-By: Kishan
2012-03-21 17:53:22 +05:30
Murali reddy b4e64e653b bug 13899: CloudStack (Advanced Mode) should not allow "NetScaler" as provider for StaticNAT service
status 13899: resolved fixed
2012-03-21 16:52:51 +05:30
Abhi f3c499be3b bug 14216: rightly initializing to avoid NPE 2012-03-21 14:57:09 +05:30
Abhi 3ced403a88 bug 12947: enabling XCP 1.5 2012-03-21 10:21:48 +05:30
Edison Su 6bbe006138 bug 14282: force reconnect: login into kvm host, restart cloud-agent, if host is not connected to mgt server
status 14282: resolved fixed
2012-03-20 17:17:12 -07:00
prachi 3e361a2385 Bug 14336 - Login API does not return UUID's
Changes done:
- Provide UUID for userid and domainid only while constructing the login response. Session will hold the DB id's as before, to ensure other parts keep working.
- This reverts commit de28aa3ddde5b601f2f234f2eccef871fbaf1a06.

Conflicts:

	server/src/com/cloud/api/ApiServer.java
2012-03-20 17:05:46 -07:00
prachi aef7dc9aa0 Bug 14047 - login API fails when UUID is used for domain_id
Changes:
- API should accept UUID for domain and convert to id when needed

Conflicts:

	server/src/com/cloud/api/ApiServer.java
2012-03-20 17:03:19 -07:00
Edison Su 708472e1ef bug 14322: support multiple physical nic in kvm
status 14322: resolved fixed
2012-03-20 16:51:15 -07:00
Alena Prokharchyk c472952bb8 bug 14369: remove host entry when destroy CPVM/SSVM instances
status 14369: resolved fixed
2012-03-20 14:10:27 -07:00
Alena Prokharchyk 5cbcdcf703 bug 14401: return juniper srx as a firewall provider along with the Virtual router
status 14401: resolved fixed
2012-03-20 11:51:02 -07:00
Alena Prokharchyk 88dd43e6e0 bug 14420: listNetworkOfferings by networkId - respect specifyVlan flag of the original offering
status 14420: resolved fixed
2012-03-20 11:30:23 -07:00
Alena Prokharchyk da2be577a2 bug 14407: update network count for account/domain as a part of 3.0 to 3.0.1 upgrade
status 14407: resolved fixed
2012-03-20 10:39:47 -07:00
Alena Prokharchyk 82135f77a8 bug 14379: don't enable 8096 port by default (set global config variable to null by default, and don't create a listener on this port unless its set to valid integer) 2012-03-19 16:20:15 -07:00
frank 9d654a810e add missing cleanup.sql 2012-03-19 15:26:32 -07:00
Alena Prokharchyk 7964665cb4 bug 14388: don't return console proxy / ssvm service offerings
status 14388: resolved fixed
2012-03-19 14:52:11 -07:00
Alena Prokharchyk ca7b65a99c Format changes 2012-03-19 14:52:10 -07:00
frank a6bfd20200 add cleanup.sql to DB upgrade test 2012-03-19 14:36:29 -07:00
Alena Prokharchyk 46f09b3c34 Added upgrade path from 3.0.x to 3.0.1 2012-03-19 13:34:05 -07:00
frank 41ef2a436f move fake.sql to proper folder 2012-03-19 13:09:51 -07:00
frank c79a75a060 use fake.sql for db upgrade test 2012-03-19 13:05:41 -07:00
frank d35a9dde95 Bug 14189 - multiple physical nw - SSVM fail to download guest templates from storage server which is in isolated network only accessible by host's bridge
if storage network is present, don't set route through private ip when adding internal download site

status 14189: resovled fixed
2012-03-16 14:48:56 -07:00
frank 125a156485 fix copying template
Conflicts:

	console-proxy/scripts/ipfirewall.sh
2012-03-15 14:42:25 -07:00
Alena Prokharchyk 31eef1d183 bug 14271: return only domainId in error message when caller is not authorized to operate within the domain
status 14271: resolved fixed
2012-03-14 13:30:03 -07:00
Alena Prokharchyk d5e95fa407 bug 14295: allow regular user to create network with the custom cidr
status 14295: resolved fixed
2012-03-14 10:47:08 -07:00
Likitha Shetty 4f2a924ecf Bug 13842 Check for snapshots in BackedUp state during the deletion of secondary storage
behalf of: pranav
reviewed by: kishan
2012-03-14 17:51:51 +05:30
abhi 48a2a5cfd2 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-13 11:28:47 +05:30
Sheng Yang d3142c2977 Refactor VirtualRouterNetworkManagerImpl
Refactor applyDhcpEntry and applyUserData to use applyRules framework.
2012-03-12 16:10:16 -07:00
Alena Prokharchyk 9e9ff4f363 bug 14239: limit number of Isolated account specific networks per account
status 14239: resolved fixed
2012-03-12 15:50:49 -07:00
Sheng Yang 9022ab5bc9 bug 14074: Specify networkId for list public ip
status 14074: resolved fixed
2012-03-12 12:07:57 -07:00
Alena Prokharchyk 4ee7094f80 bug 14247: implemented search by storage id in listSystemVms
status 14247: resolved fixed
2012-03-12 10:23:29 -07:00
Sheng Yang 21fedec0ef Refactor VirtualNetworkApplianceManagerImpl
Add separate create command for dhcp, userdata and password.
2012-03-09 19:00:35 -08:00
Sheng Yang 4956177dd1 Refactor rules appling in the VirtualNetworkApplianceManagerImpl 2012-03-09 18:00:26 -08:00
Alena Prokharchyk 69ed7b7ace Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
Temporarely reverting checkin that broke the build
This reverts commit c9552df956d4f25aa71d5a1aad27d0919f7631e8.
2012-03-09 11:07:23 -08:00
abhi b8d3f9dfc4 bug 14224: adding 6.0.2 2012-03-09 18:38:40 +05:30
abhi c46a4d943a bug 14224: allowing Xenserver 6.0.2, with the assumption that the same patches and guest os type will work as with 6.0 2012-03-09 17:34:27 +05:30
abhi 44d0211cda bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-09 16:58:51 +05:30
Sheng Yang 666a7aa974 Fix several wrong ResourceUnavailableException scopes 2012-03-08 11:54:43 -08:00
Alena Prokharchyk 3df2bd98fc bug 14170: issues #1-#3 are fixed 2012-03-07 13:35:26 -08:00
Alena Prokharchyk 82841438d1 bug 14173: add eip/elb network offering (if missing) during the management server start
status 14173: resolved fixed
2012-03-07 10:01:40 -08:00