cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 2fd6fac
Date Wed, 04 Nov 2015 10:38:35 GMT
Merge pull request #898 from bvbharatk/CLOUDSTACK-8902

CLOUDSTACK-8902 Restart Network fails in EIP/ELB zoneThe restart network was failing when
using external loadbalencer. The failure was because of a number format exception. When BroadcastDomainType.getValue(guestConfig.getBroadcastUri()
is executed this returns a string untagged. We were trying to parse this as long so there
was a number pointer exception.

This happens only when the vlan uri is vlan://untagged. in other cases were there is a number
instead of untagged (vlan tag) this used to succeed. Although we were trying to convert the
number to long we were not really using it. we were converting the number to long and then
back to string when creating the IpAddressTo. so I removed this unnecessary conversion in
this case for fixing the issue at hand.

I did a manual restart of the network and checked for this number format exception in a EIP/ELB
setup.

* pr/898:
  CLOUDSTACK-89027 Restart Network fails in EIP/ELB zone

Signed-off-by: Remi Bergsma <github@remi.nl>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2fd6fac2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2fd6fac2
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2fd6fac2

Branch: refs/heads/master
Commit: 2fd6fac214956693b43dd3e75b6d8a4bc4e9fdc6
Parents: 6f2e6a7 3c61746
Author: Remi Bergsma <github@remi.nl>
Authored: Wed Nov 4 11:37:51 2015 +0100
Committer: Remi Bergsma <github@remi.nl>
Committed: Wed Nov 4 11:37:51 2015 +0100

----------------------------------------------------------------------
 .../com/cloud/network/ExternalLoadBalancerDeviceManagerImpl.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------



Mime
View raw message