Commit Graph

4955 Commits

Author SHA1 Message Date
Kelven Yang 5dc08bce44 Bug 14551: add top-level catch clause to protect task/thread from stalling
Reviewed-By: Kelven
2012-03-29 18:24:51 -07:00
prachi 399cc04163 Bug 14536 - DB exception while trying to delete physical network
Reviewed-By: Sheng Yang

Changes:
Added proper cleanup for virtual router elements.
2012-03-29 12:38:13 -07:00
prachi 2b6712b7a8 Bug 14536 - DB exception while trying to delete physical network
Reviewed-By: Sheng Yang

Changes:
Added 'removed' column to physical_network_service_providers to avoid the Foreign Key constraint error.

Conflicts:

	setup/db/db/schema-30to301.sql
2012-03-29 10:08:47 -07:00
frank 14f2ee35b0 change a comment in ApiResponseGsonHelper.java
reviewed-by: edison
2012-03-28 16:16:51 -07:00
Kelven Yang 32ce95979b bug 14301: suppress expected exceptions from showing annoying stack dump, the message will be logged at TRACE level.
Reviewed-By: Kelven
2012-03-28 15:44:46 -07:00
Alena Prokharchyk dcf299c26f bug 14292: don't try to reboot vm as part of resetVmPassword if the vm is in Stopped state
status 14292: resolved fixed
2012-03-28 13:51:00 -07:00
Alena Prokharchyk 94986f74f9 bug 14444: specifyVlan should always be false for the network offering of type Isolated supporting sourceNat service
status 14444: resolved fixed
2012-03-28 13:51:00 -07:00
Alena Prokharchyk 77a60597f2 bug 14465: throw exception when try to send email invitation while smtp session wasn't configured
status 14465: resolved fixed
2012-03-28 10:07:10 -07:00
kishan 8a794c1276 Added since version to API response docs
Reviewed-By: Nitin
2012-03-28 14:35:13 +05:30
kishan 23f87663e4 bug 14512: Create user_stats entry for router while persisting routerVO
status 14512: resolved fixed
reviewed-by: Nitin
2012-03-27 19:09:55 +05:30
Kelven Yang 906c979de6 bug 14301:
1) Support HTTP keep-alive in clustering communication channel
2) Increase concurrency level for clustering message delivery

Reviewed-By: Kelven (with unit test)
2012-03-26 23:13:08 -07:00
Kelven Yang 6ebf1cdfbb bug 14301:
1) Drop synchronized call semantic for ClusterManagerImpl.broadcast()
2) Have no choice now but to use an unbound thread pool to notify upper layer. This is to prevent thread starvation when we have cross-management server waitings.

Reviewed-By: Kelven(with unit test)
2012-03-26 17:54:02 -07:00
Kelven Yang b14b35d5f9 bug 14301: fix regressions caused by new clustering transport. Correct usage of HttpClient to avoid socket staying in CLOSE_WAIT state for too long. Reviewed-By: Kelven 2012-03-26 17:54:01 -07:00
Kelven Yang d9a439a513 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven
Conflicts:

	server/src/com/cloud/cluster/ClusterServiceServletImpl.java
2012-03-26 17:54:00 -07:00
Kelven Yang 5bdc9da699 bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven
Conflicts:

	server/src/com/cloud/cluster/ClusterServiceServletImpl.java
	server/src/com/cloud/cluster/DummyClusterManagerImpl.java
2012-03-26 17:53:59 -07:00
Kelven Yang a0c4095601 bug 14301: Decouple synchronized crosss management server call with clustering transport, remove obsolete code. Reviewed-by: Kelven 2012-03-26 17:53:58 -07:00
Kelven Yang 040de04397 bug 14301: Decouple synchronized crosss management server call with clustering transport. Reviewed-by: Kelven 2012-03-26 17:53:57 -07:00
prachi e4de342e0d Bug 14482 - When user tries to delete an acquired Ip address ,right after this is successful, UI calls listRemoteAccessVpns() which results in java.lang.NullPointerException.User is presented with "Internal error executing command" error
Reviewed-By: Sheng

Changes:
- Added the null check for account object.
2012-03-26 14:39:08 -07:00
Sheng Yang d80b58fe1d bug 14484: Apply existed firewall rules when associating IP
It's not a elegant fix. The status for firewall rules should remain unchanged
before/after ip association/disassociation. But the related change is tricky
than this fix, may not get enough test for 3.0.1. So we would apply existed
firewall rules again, which would work, just result in some unnecessary
commands.

status 14484: resolved fixed

Reviewed-by: Edison Su
2012-03-26 13:55:32 -07:00
frank 5fe0faf0cd Bug 14492 - Stop and start of SSVM in Zone1 fails if Zone2 is configured with Storage network
status 14492: resolved fixed
reviewed-by: edison
2012-03-26 11:57:52 -07:00
Alena Prokharchyk 3f58fc707d bug 14500: set default value for is_system field as a part of 3.0 to 3.0.1 upgrade
status 14500: resolved fixed
reviwed-by: Frank Zhang
2012-03-26 10:25:28 -07:00
Nitin Mehta 277c0c8bca Bug 14490: Fix NPE in ListCapacity 2012-03-24 16:32:48 +05:30
Edison Su 8604894a28 bug 1443: even adding host failed, return success in api. status 14443: resolved fixed; Reviewed-by: sheng 2012-03-23 18:22:59 -07:00
Alena Prokharchyk 53f1c487ea 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:17:44 -07:00
Alena Prokharchyk e9bb106527 bug 14439: added search by name/description to listGuestOS and listGuestOSCategories apis
status 14439: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 11:33:11 -07:00
Alena Prokharchyk 0652165adb bug 14446: removed elasticLBVm from components.xml
status 14446: resolved fixed
reviewed-by: Frank Zhang
2012-03-22 10:26:37 -07:00
Abhi 8b235acad0 bug 12947: support for 1.5 beta; reviewed-by: nitin 2012-03-22 17:29:38 +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
Alena Prokharchyk caefc3087b bug 14156: return instancename parameter in userVm response to ROOT admin only 2012-03-06 13:39:03 -08:00
prachi 7a73fcd83c Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.
2012-03-05 17:46:22 -08:00
prachi 4cd55d4dfc Bug 13999 - Non-admin user should not be able to take snapshots
Changes:

If Zone is disabled, deny permission to regular user while creating snapshots
2012-03-05 16:50:03 -08:00
prachi 989e88e03f Bug 14000 - Neither Admin or regular user can create a VM when the Pod is disabled
Bug 14006 - Admin could not create a VM when the cluster is Disabled

Changes:
- For Root admin, planner will not filter out the disabled pods or clusters from the resource list
2012-03-05 16:49:51 -08:00
Alena Prokharchyk 1a318e81ed bug 14103: mark account for cleanup only in cleanupAccount and disableAccount method, not in the callers methods
status 14103: resolved fixed
2012-03-05 16:19:07 -08:00
frank 32104636ca allow more commands when resource state in maintenance mode 2012-03-05 14:38:47 -08:00
frank 95b68d6ea6 allow SetupCommand when resource is in maintenance mode.
Since maintenance is resource state not agent status right now
2012-03-05 14:25:59 -08:00
frank 6f68edfe83 Bug 14068 - Db upgrade: resource_state is incorrect for the host in UP state after the db upgrade from 2.2.x to 3.0
Bug 14099 - Db upgrade for storage network

status 14068: resovled fixed
status 14099: resovled fixed
2012-03-05 13:35:06 -08:00
Sheng Yang bd7d4a407a bug 14110: Fix error message
status 14110: resolved fixed
2012-03-05 11:10:17 -08:00
kishan 63704eb758 Bug 13952: Changed category of Usage configs
Status 13952: resolved fixed
Reviewed-By: Abhi
2012-03-05 18:57:10 +05:30
kishan bcd35cc01b Bug 14081: Added 3.0.0 templtae upgrade support. Added unit test case and DB dump
Status 14081: resolved fixed
Reviewed-By: Abhi
2012-03-05 17:27:31 +05:30
kishan 06ab0ee3cc Added systemVm template upgrade queries for XenServer 2012-03-05 17:27:31 +05:30
Alena Prokharchyk 7f67ed9730 Db upgrade for security group provider 2012-03-02 16:07:03 -08:00
Sheng Yang ad954ff5f3 Fix element_id upgrade with network_id=0 2012-03-02 11:14:29 -08:00
Alena Prokharchyk 70ea01d0c6 More fixes to 2.2.x - 3.0 db upgrade 2012-03-01 18:31:35 -08:00
Alena Prokharchyk 576dce4ed5 bug 14080: do EQ instead of LIKE search when search for duplicated users during the user update
status 14080: resolved fixed
2012-03-01 15:11:31 -08:00
Sheng Yang 178bd35143 bug 14076: Fix the exception scope
status 14076: resolved fixed
2012-03-01 14:59:08 -08:00
kishan cdc41749c0 Bug 14039: Changed SSO key category Secure
Status 14039: resolved fixed
Reviewed-By: Abhi
2012-03-01 20:59:52 +05:30
Alena Prokharchyk d9054490dc More fixes to the db upgrade 2012-02-29 16:27:22 -08:00
Alena Prokharchyk 2797c45ce5 bug 14033: root/domain admin limits are always Unlimited. Return it as Unlimited in listResourceLimit response
status 14033: resolved fixed
2012-02-29 15:09:41 -08:00
Alena Prokharchyk ceec11f84c bug 14017: 1) Don't allow NULL value for Boolean type of config 2) Added a null check when compare config values
status 14017: resolved fixed
2012-02-29 13:09:24 -08:00
Sheng Yang 46d2b49edf Add element_id for 3.0 upgrade 2012-02-29 11:09:27 -08:00
Alena Prokharchyk bbb3314dd1 Fixed unittest and some issues with 2.2.14-3.0 upgrade
Conflicts:

	setup/db/db/schema-2214to30.sql
2012-02-29 11:06:17 -08:00
Alena Prokharchyk 8972e0826e Wrap deletePhysicalNetwork in transaction 2012-02-29 11:02:35 -08:00
Kelven Yang 90177c18e3 bug 13860: add sanity check to ApiResponseSerializer when serializing XML response. Reviewed-By: Anthony 2012-02-27 16:06:13 -08:00
Kelven Yang d6271aab9b bug 13989: get domr control IP from NIC table, the old private ip in domain_router table is no longer valid under basic zone configuration. Reviewed-By: Anthony 2012-02-27 15:59:14 -08:00
Alena Prokharchyk 11b92465b8 Fixed XML api writer
Reviewed-by: Alena
2012-02-27 12:40:30 -08:00
Alena Prokharchyk 1b16ad0f93 Clone services map when do provider/service verification during network offering addition.
Reviewed-by: Prachi Damle
2012-02-24 15:33:28 -08:00
Kelven Yang f41b0f4d0b bug 13989: GetDomRVersion command context is not correctly set for VMware under Basic zone configuration. Reviewed-By: Anthony 2012-02-24 10:00:21 -08:00
Alena Prokharchyk 8934c06ade bug 13971: return only offerings with matching tags when zoneId is passed in and corresponding zone has more than 1 physical network
status 13971: resolved fixed
Reviewed-by: Prachi Damle
2012-02-23 16:51:39 -08:00
Alena Prokharchyk 8175e429af bug 13966: cleanup the vm (stop it on the backend) when work step is Release. Also never retry when finalizeStart failed
status 13966: resolved fixed
reviewed-by: Alex Huang
2012-02-23 15:13:01 -08:00
frank d575609133 Bug 13962 - CloudRuntimeException: Failed to update keypairs on disk: cannot create key file null/.ssh/id_rsa
Changes for Script.java:
1. Even the script is non-timeout one, set default timeout to one hour. This avoid a wrongn script forever hang
2. When InterruptedException happens, check if timeout is really reached, if not, continue

status 13962: resolved fixed
reviewed-by: Alex, Edison
2012-02-23 13:42:06 -08:00
Alena Prokharchyk 27705a129c bug 13961: always return NetworkUsageAnswer from the networkUsageCommand
status 13961: resolved fixed
Reviewed-by: Alex Huang
2012-02-23 11:15:24 -08:00
Sheng Yang 2619df56a5 Fix debug messages in RulesManagerImpl
Reviewed-by: Edison
2012-02-23 10:57:57 -08:00
Alena Prokharchyk 8e9ccd1048 bug 13924: default Firewall provider to Juniper when Juniper is a provider for Pf/StaticNat or source nat service
status 13924: resolved fixed
Reviewed-by: Will Chan
2012-02-22 18:47:03 -08:00
Alena Prokharchyk 8048a55802 bug 13944: when delete the account, expunge detached volumes on the backend
status 13944: resolved fixed
Reviewed-by: Frank Zhang
2012-02-22 17:58:52 -08:00
Edison Su dba58fece9 bug 13771: don't send pre snapshot if it's migrated
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-22 17:20:40 -08:00
prachi b93c77b7a7 Bug 13850 - VM stuck in starting state if it is started during the HA-Work of the corresponding router
Reviewed-By: Kelven

Changes:
- Update the pending work Item to be DONE if we are changing the VM state during fullSync.
2012-02-22 17:04:15 -08:00
prachi 37e4edd186 Bug 13766 - VMs are still running after disabling the zone
Reviewed-by: Sheng Yang

Changes:
- Do not check if allocation_state is 'Enabled' in planner if the caller is Root Admin.
- This should let Root Admin create a VM in a disabled Zone.
2012-02-22 16:31:01 -08:00
Alena Prokharchyk 07ad0be09c Added isTagged parameter to listNetworkOfferings api. When set to true, it will return offerings with not null tag values
Reviewed-by: Jessica Wang
2012-02-22 16:09:45 -08:00
Alena Prokharchyk 6ffaa6cf24 bug 13763: fixed api doc for logout command
status 13763: resolved fixed
Reviewed-by: Jessica Tomechak
2012-02-22 15:16:34 -08:00
Alena Prokharchyk e896abca58 bug 13925: don't allow to delete the network when there are vms in Error state (these vms has to be cleaned up by expunge process first)
status 13925: resolved fixed
Reviewed-by: Sheng Yang
2012-02-22 11:54:58 -08:00
abhi 7fc9a287c0 bug 13884: fixing spell vm.destroy.forcestop
reviewed-by: kishan
2012-02-22 08:41:34 +05:30
Murali reddy 6b03e9ca58 bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
Reviewed-by:Sam
status 13855: resolved fixed

  - configuring unique persistence profile for each LB rule with sticky method applied
  - removing source based sticky method for source based LB method which is not supported by F5
2012-02-22 08:18:57 +05:30
Alena Prokharchyk 9bdf7fe645 bug 13919: do includingRemoved Nic search when remove firewall rules during the vm expunge
status 13919: resolved fixed
Reviewed-by: Sheng Yang
2012-02-21 18:02:54 -08:00
prachi 420cf350fe Bug 13224 - Network Usage - Netscaler - External device is being queried multiple times (up to 8 times) whenever the Network Usage task is run.
Reviewed-by: Kishan

Changes:
- Separated out the External Network Usage task from the ExternalLBDeviceMgr because ExternalLbDeviceMgrImpl :: start() was getting multiple times during management server satrtup. The reason for this is that this is the baseclass for F5 and NetScalarElement.
- This caused us to schedule the ExternalNetworkUsageTask multiple times
- Also we have LBRulesMgr calling this ExternalLbDeviceMgrImpl  by creating an instance of this class which is declared abstract
- Hence having a separate implementation to manage the network usage stats should solve this.
2012-02-21 16:49:32 -08:00
Edison Su aa284d03f2 bug 13910: release cpu/memory after expunged
status 13910: resolved fixed
Reviewed-by: prachi
2012-02-21 16:20:55 -08:00
Alena Prokharchyk 12aade4dc7 Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
Reviewed-by: Chiradeep
2012-02-21 15:38:31 -08:00
Alena Prokharchyk d841839b05 bug 13903: return vm's hostName as a displayName when displayName is null in bunch of api responses
status 13903: resolved fixed
Reviewed-by: Kelven Yang
2012-02-21 15:36:40 -08:00
Sheng Yang aa4f9b58dd bug 13915: Fix VirtualRouter get gateway IP when others used as SourceNatServiceProvider
status 13915: resolved fixed

Reviewed-by: Edison
2012-02-21 15:24:34 -08:00
kishan 1d1caa8af5 Bug 13823: Throw network conflict expection when LB rules conflict
Status 13823: resolved fixed
Reviewed-By: Nitin
2012-02-22 01:14:15 +05:30
kishan 04341c0839 Bug 13619: Throw exception when not traffic sentinel host is not available. Update last_collection timestamp when atleast 1 IP has nonzero bytes
Status 13619: resolved fixed
Reviewed-By: Nitin
2012-02-21 23:39:51 +05:30
Alena Prokharchyk 53bf8742f8 bug 13871: use perzone and peraccount (no spaces in values) when compare source nat capabilities
status 13871: resolved fixed
Reviewed-by: Chiradeep Vittal
2012-02-21 10:06:42 -08:00
frank e7a445d268 Bug 13568 - secondary storage VM's static route for nfs server breaks things!
status 13568: resolved fixed
reviewed-by: Sheng Yang
2012-02-17 16:19:38 -08:00
Alena Prokharchyk 6a769b81c4 bug 13864: for elastic IP address return the purpose (staticNat or Lb) in listPublicIpAddresses api response
Reviewed-by: Frank
2012-02-17 15:43:12 -08:00
Sheng Yang eaeac8809e bug 13867: Pass hostId instead of external firewall device Id
status 13867: resolved fixed

Reviewed-by: Anthony
2012-02-17 15:33:15 -08:00
Alena Prokharchyk f67af1d1a2 bug 13866: return publicIp info in listVms api response when vm is linked to public ip via static nat
Reviewed-by: Frank
2012-02-17 15:30:57 -08:00
Sheng Yang 1eb71689df bug 13829: Add default capacity for SRX
And per Alex's request, add default value directly into the database, rather
than using it at last minute of implemention.

status 13829: resolved fixed

Reviewed-by: Alex
2012-02-17 15:25:09 -08:00
Sheng Yang 59bdf2dd83 bug 13829: Fix NPE in ExternalFirewallDeviceManagerImpl
Reviewed-by: Edison
2012-02-17 15:25:09 -08:00
Alena Prokharchyk 2b312931a8 Return hostName as displayName in the listvms api resonse, just the way it was before 41df47cc6873b4d8acd0503b16535051a3cbde14)
Reviewed-by: Kelven Yang
2012-02-17 14:51:12 -08:00
Edison Su f8048163f1 bug 13845: as you can't add physical devices name from UI when you create zone, use kvm.{guest|public|private}.devices in the global configuration.
status 13845: resolved fixed
Reviewed-by: frank
2012-02-17 13:20:00 -08:00
Edison Su ac9bb81a93 bug 13789: don't shutdown host if it's a forward agent
status 13789: resolved fixed
Reviewed-by: frank
2012-02-17 13:03:32 -08:00
Alena Prokharchyk 6ed5fc08fc bug 13854: don't allow to remove network offerings if its in use by existing networks
status 13854: resolved fixed
Reviewed-by: Alex Huang
2012-02-17 12:58:35 -08:00
kishan aec1204eb2 Bug 13741: Added new Config category Secure. Any config in secure category will encrypted along with the Hidden category configs
Status 13741: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan eee03d4426 Bug 13794: When snapshot backup fails, snapshot.delete event is not required. Snapshot.create is logged only afetr successfull backup.
Status 13794: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan dcf96fe0c8 Bug 13802: Log VPN user remove usage event when user fails to get applied
Status 13802: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
kishan e8bee34179 Bug 12954: Added usage for security groups. Usage will be generated for each security group that is assigned to a Vm.
Status 12954: resolved fixed
Reviewed-By: Nitin
2012-02-17 17:35:59 +05:30
Nitin Mehta 26e4de22fe Bug 13836: NPE fix. If snapshot is already removed say so-do not try and delete it again.
Reviewed-By: Kishan
2012-02-17 16:34:17 +05:30
Nitin Mehta fc8f6c4c18 Bug 13059: cast the long to float else the fraction would be 0 - java basics :).
Reviewed-By: Kishan
2012-02-17 15:06:56 +05:30
Edison Su 31fdd976d7 bug 13771: Long.equals is not ==
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-16 17:02:17 -08:00
prachi f5fec78980 Bug 13824 - VM deployment fails due to volume not being recreatable
Reviewed-By: Alex

Changes:
- Reuse the same storagepool where the Volume is ready on each retry of VM deployment until the cluster where the volume is has capacity
- After the cluster is out of capacity, we look in other clusters and find a new storagepool.
- At this point if the volume is recreatable on the new storagepool, depoyment will succeed provided everytyhing else goes through
- But if the volume is not recreatable and its cluster is out of capacity, we will still fail to deploy the VM
2012-02-16 16:53:40 -08:00
Alena Prokharchyk 037432506e bug 13041: in Basic zone just restart all exising domRs in the zone during the networkRestart, don't try to create a new one
status 13041: resolved fixed
reviewed-by: Sheng Yang
2012-02-16 14:58:51 -08:00
Alena Prokharchyk 995586495f bug 13813: fixed network offering search to use traffic type when locate physical network in the zone
status 13813: resolved fixed
Reviewed-by: Frank
2012-02-16 10:39:43 -08:00
Alena Prokharchyk de2ae87859 bug 13801: fixed broken check for extending vnet ranges during physical network update
status 13801: resolved fixed
Reviewed-by: Kelven Yang
2012-02-16 10:01:52 -08:00
Murali reddy 060da55233 bug 13625: F5 - NullPointerException seen when trying to delete/restart a network that was failed to implement properly during implement network
Reviewed-By: Abhi
status 13625: resolved fixed

adding logic to gracefully exit shutdown operation, if earlier network failed to implement
2012-02-16 18:52:22 +05:30
Nitin Mehta 2e92688b00 Bug 13692: Query was giving cluster id weven when it was pod level information.
Reviewed-By: Kishan
2012-02-16 14:48:28 +05:30
Edison Su b7c84009bf bug 13781: reload host detail after host reconnect
status 13781: resolved fixed
Reviewed-by: frank
2012-02-15 18:54:12 -08:00
Alena Prokharchyk 5aaf15f0a7 bug 13700: delete projects as a part of domain cleanup
status 13700: resolved fixed
Reviewed-by: Frank
2012-02-15 16:37:38 -08:00
Alena Prokharchyk 3d9790c319 bug 13742: check only for Pending invitations while inviting the same account to the project again
status 13742: resolved fixed
Reviewed-by: Frank
2012-02-15 11:03:05 -08:00