[libvirt] [PATCH] esx: Fix connection to ESX 5.1
After separating 5.x and 5.1 versions of ESX, we forgot to add 5.1 into the list of allowed connections, so connections to 5.1 fail since v1.0.0-rc1-5-g1e7cd39 --- src/esx/esx_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index 8d13829..2aa6978 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -718,6 +718,7 @@ esxConnectToHost(virConnectPtr conn, priv-host-productVersion != esxVI_ProductVersion_ESX41 priv-host-productVersion != esxVI_ProductVersion_ESX4x priv-host-productVersion != esxVI_ProductVersion_ESX50 +priv-host-productVersion != esxVI_ProductVersion_ESX51 priv-host-productVersion != esxVI_ProductVersion_ESX5x) { virReportError(VIR_ERR_INTERNAL_ERROR, _(%s is neither an ESX 3.5, 4.x nor 5.x host), @@ -847,6 +848,7 @@ esxConnectToVCenter(virConnectPtr conn, priv-vCenter-productVersion != esxVI_ProductVersion_VPX41 priv-vCenter-productVersion != esxVI_ProductVersion_VPX4x priv-vCenter-productVersion != esxVI_ProductVersion_VPX50 +priv-vCenter-productVersion != esxVI_ProductVersion_VPX51 priv-vCenter-productVersion != esxVI_ProductVersion_VPX5x) { virReportError(VIR_ERR_INTERNAL_ERROR, _(%s is neither a vCenter 2.5, 4.x nor 5.x server), -- 1.7.12.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] esx: Fix connection to ESX 5.1
On 30.10.2012 08:35, Martin Kletzander wrote: After separating 5.x and 5.1 versions of ESX, we forgot to add 5.1 into the list of allowed connections, so connections to 5.1 fail since v1.0.0-rc1-5-g1e7cd39 --- src/esx/esx_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index 8d13829..2aa6978 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -718,6 +718,7 @@ esxConnectToHost(virConnectPtr conn, priv-host-productVersion != esxVI_ProductVersion_ESX41 priv-host-productVersion != esxVI_ProductVersion_ESX4x priv-host-productVersion != esxVI_ProductVersion_ESX50 +priv-host-productVersion != esxVI_ProductVersion_ESX51 priv-host-productVersion != esxVI_ProductVersion_ESX5x) { virReportError(VIR_ERR_INTERNAL_ERROR, _(%s is neither an ESX 3.5, 4.x nor 5.x host), @@ -847,6 +848,7 @@ esxConnectToVCenter(virConnectPtr conn, priv-vCenter-productVersion != esxVI_ProductVersion_VPX41 priv-vCenter-productVersion != esxVI_ProductVersion_VPX4x priv-vCenter-productVersion != esxVI_ProductVersion_VPX50 +priv-vCenter-productVersion != esxVI_ProductVersion_VPX51 priv-vCenter-productVersion != esxVI_ProductVersion_VPX5x) { virReportError(VIR_ERR_INTERNAL_ERROR, _(%s is neither a vCenter 2.5, 4.x nor 5.x server), ACK Michal -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] esx: Fix connection to ESX 5.1
On 10/30/2012 08:49 AM, Michal Privoznik wrote: On 30.10.2012 08:35, Martin Kletzander wrote: After separating 5.x and 5.1 versions of ESX, we forgot to add 5.1 into the list of allowed connections, so connections to 5.1 fail since v1.0.0-rc1-5-g1e7cd39 --- src/esx/esx_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c index 8d13829..2aa6978 100644 --- a/src/esx/esx_driver.c +++ b/src/esx/esx_driver.c @@ -718,6 +718,7 @@ esxConnectToHost(virConnectPtr conn, priv-host-productVersion != esxVI_ProductVersion_ESX41 priv-host-productVersion != esxVI_ProductVersion_ESX4x priv-host-productVersion != esxVI_ProductVersion_ESX50 +priv-host-productVersion != esxVI_ProductVersion_ESX51 priv-host-productVersion != esxVI_ProductVersion_ESX5x) { virReportError(VIR_ERR_INTERNAL_ERROR, _(%s is neither an ESX 3.5, 4.x nor 5.x host), @@ -847,6 +848,7 @@ esxConnectToVCenter(virConnectPtr conn, priv-vCenter-productVersion != esxVI_ProductVersion_VPX41 priv-vCenter-productVersion != esxVI_ProductVersion_VPX4x priv-vCenter-productVersion != esxVI_ProductVersion_VPX50 +priv-vCenter-productVersion != esxVI_ProductVersion_VPX51 priv-vCenter-productVersion != esxVI_ProductVersion_VPX5x) { virReportError(VIR_ERR_INTERNAL_ERROR, _(%s is neither a vCenter 2.5, 4.x nor 5.x server), ACK Michal Thanks, pushed. Martin -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list