4753 Commits

Author SHA1 Message Date
Alena Prokharchyk
836a063a9e 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:46:04 -08:00
Alena Prokharchyk
6b9abf832b bug 13944: when delete the account, expunge detached volumes on the backend
status 13944: resolved fixed
Reviewed-by: Frank Zhang
2012-02-22 17:59:22 -08:00
prachi
f619e26c48 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:36:00 -08:00
prachi
e37732c4de 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 17:34:00 -08:00
Edison Su
90020679a4 bug 13771: don't send pre snapshot if it's migrated
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-22 17:21:24 -08:00
Alena Prokharchyk
798accae10 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:35 -08:00
Alena Prokharchyk
d4a8db75d7 bug 13763: fixed api doc for logout command
status 13763: resolved fixed
Reviewed-by: Jessica Tomechak
2012-02-22 15:17:22 -08:00
Alena Prokharchyk
99b0fbbdcb 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:55:08 -08:00
Alena Prokharchyk
2992c608c4 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:44 -08:00
prachi
760c62eb15 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 17:16:07 -08:00
Edison Su
bc73ac7e59 bug 13910: release cpu/memory after expunged
status 13910: resolved fixed
Reviewed-by: prachi
2012-02-21 16:22:49 -08:00
Alena Prokharchyk
2e9511e2ae Changed isElastic to isSystem for the publicIpAddress assigned during the vm deployment in EIP enabled network
Reviewed-by: Chiradeep
2012-02-21 15:39:49 -08:00
Sheng Yang
a9a1475302 bug 13915: Fix VirtualRouter get gateway IP when others used as SourceNatServiceProvider
status 13915: resolved fixed

Reviewed-by: Edison
2012-02-21 15:24:14 -08:00
kishan
d0612151d8 Bug 13823: Throw network conflict expection when LB rules conflict
Status 13823: resolved fixed
Reviewed-By: Nitin
2012-02-22 01:15:29 +05:30
Alena Prokharchyk
12b79da6c2 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 10:46:00 -08:00
kishan
11e4ded985 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:41:37 +05:30
Alena Prokharchyk
4dea695e09 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:29 -08:00
Murali reddy
4e9b312bf2 bug 13855: F5 - Hold time paramS for sticky policies are not getting programmed in F5
- 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-21 22:04:37 +05:30
abhi
8213a2e225 bug 13884: fixing spell vm.destroy.forcestop 2012-02-21 10:06:44 +05:30
frank
a1fa313902 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:24:32 -08:00
Alena Prokharchyk
31a3b878a3 bug 13864: for elastic IP address return the purpose (staticNat or Lb) in listPublicIpAddresses api response
Reviewed-by: Frank
2012-02-17 15:42:21 -08:00
Alena Prokharchyk
4d27f3c44b 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:42:17 -08:00
Sheng Yang
4f08afb784 bug 13867: Pass hostId instead of external firewall device Id
status 13867: resolved fixed

Reviewed-by: Anthony
2012-02-17 15:28:06 -08:00
Sheng Yang
d94189a3d9 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:41 -08:00
Alena Prokharchyk
313659d730 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:25 -08:00
Sheng Yang
79454ce4d8 bug 13829: Fix NPE in ExternalFirewallDeviceManagerImpl
Reviewed-by: Edison
2012-02-17 13:30:08 -08:00
Edison Su
fe18cd5d7e 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:30 -08:00
Edison Su
289a641d4f bug 13789: don't shutdown host if it's a forward agent
status 13789: resolved fixed
Reviewed-by: frank
2012-02-17 13:04:03 -08:00
Alena Prokharchyk
50fc52ee9b 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:54 -08:00
kishan
9c5fb5f199 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 16:42:32 +05:30
Nitin Mehta
87be3ca686 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:29:49 +05:30
kishan
4ec26ae3cb 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 16:17:39 +05:30
Nitin Mehta
560d54a49c Bug 13059: cast the long to float else the fraction would be 0 - java basics :).
Reviewed-By: Kishan
2012-02-17 15:08:35 +05:30
kishan
74ce678baf Bug 13802: Log VPN user remove usage event when user fails to get applied
Status 13802: resolved fixed
Reviewed-By: Nitin
2012-02-17 14:17:28 +05:30
kishan
ced6fd46b8 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 13:50:18 +05:30
prachi
eb43f780f7 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 17:04:25 -08:00
Edison Su
cdf10ccc2e bug 13771: Long.equals is not ==
status 13771: resolved fixed
Reviewed-by: anthony
2012-02-16 17:02:55 -08:00
Alena Prokharchyk
ebe664cff2 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:16 -08:00
Alena Prokharchyk
13f4d92d2a 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:40:00 -08:00
Alena Prokharchyk
ee77167fae bug 13801: fixed broken check for extending vnet ranges during physical network update
status 13801: resolved fixed
Reviwed-by: Kelven Yang
2012-02-16 10:01:07 -08:00
Murali reddy
c544d85988 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:47:37 +05:30
Nitin Mehta
d5a7419b1f Bug 13692: Query was giving cluster id weven when it was pod level information.
Reviewed-By: Kishan
2012-02-16 14:47:15 +05:30
abhi
fac8091c9f bug 13673: stopping alien VMs during sync for Xenserver 2012-02-16 12:35:36 +05:30
Edison Su
20b9562432 bug 13781: reload host detail after host reconnect
status 13781: resolved fixed
Reviewed-by: frank
2012-02-15 18:54:50 -08:00
Alena Prokharchyk
2fb10fe9d7 bug 13700: delete projects as a part of domain cleanup
status 13700: resolved fixed
reviwed-by: Frank
2012-02-15 16:34:50 -08:00
Alena Prokharchyk
4d28fb16b9 bug 13742: check only for Pending invitations while inviting the same account to the project again
status 13742: resolved fixed
2012-02-15 11:02:33 -08:00
Murali reddy
4b728abedb bug 13722: When we try to create a network when there is no capacity in F5, we should not attempt to create the network
Reviewed-By:Jana
status 13722: resolved fixed

thorwing resource unavaiable exception when there is not enough capacity to implement network
2012-02-15 19:05:44 +05:30
Murali reddy
a338fe5003 bug 13664: F5 device can be added in "Dedicated" mode but Network offering allows for only "shared" LB isolation to be set.
Reviewed-By: nitin.mehta@citrix.com
status 13664: resolved fixed

added dedicated mode as capability to F5 load balancer element
2012-02-15 17:16:59 +05:30
abhi
eb105fb06b Bug 13471: disabling agent lb 2012-02-15 12:12:23 +05:30
Sheng Yang
3a37ab6772 bug 13715: Modify changeCidr parameter of updateNetwork API
We expect user to use following sequence when update virtual router provided
network offering to external firewall devices offering:
1. Shutdown all the user VMs.
2. Modify network to new offering.
3. Click "Allow CIDR change" in the pop-up dialog, which would pass
changeCidr=true to the updateNetwork API.

We would shutdown guest network before we update the network for new
offering(with changeCidr = true), in order to re-implement the network.

status 13715: resolved fixed

Reviewed-by: Alex
2012-02-14 19:34:23 -08:00