[PATCH] Issue #308: Use correct iSCSI package for openSUSE

Kimchi depends on an iSCSI system package to validate the iSCSI devices when creating a storage pool. Currently, the package "iscsi-initiator-utils" is listed as a dependency, but it is not available on openSUSE. Therefore, the Kimchi RPM file cannot be installed on that distro. Update the iSCSI dependency package name for openSUSE to "open-iscsi". Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com> --- contrib/kimchi.spec.suse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in index d1aec7b..bacf8df 100644 --- a/contrib/kimchi.spec.suse.in +++ b/contrib/kimchi.spec.suse.in @@ -21,7 +21,7 @@ Requires: python-ethtool Requires: python-ipaddr Requires: python-lxml Requires: nfs-client -Requires: iscsi-initiator-utils +Requires: open-iscsi %if 0%{?sles_version} == 11 Requires: python-ordereddict -- 1.8.4.2

On 01/17/2014 02:51 AM, Crístian Viana wrote:
Kimchi depends on an iSCSI system package to validate the iSCSI devices when creating a storage pool. Currently, the package "iscsi-initiator-utils" is listed as a dependency, but it is not available on openSUSE. Therefore, the Kimchi RPM file cannot be installed on that distro.
Update the iSCSI dependency package name for openSUSE to "open-iscsi".
Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com> --- contrib/kimchi.spec.suse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in index d1aec7b..bacf8df 100644 --- a/contrib/kimchi.spec.suse.in +++ b/contrib/kimchi.spec.suse.in @@ -21,7 +21,7 @@ Requires: python-ethtool Requires: python-ipaddr Requires: python-lxml Requires: nfs-client -Requires: iscsi-initiator-utils +Requires: open-iscsi
%if 0%{?sles_version} == 11 Requires: python-ordereddict Reviewed-by: Mark Wu<wudxw@linux.vnet.ibm.com>
@Zhengsheng, could you please review it? Thanks!

Though I do not have a SUSE installation, I check the sles-11 install CD content. There is no iscsi-initiator-utils, but there is open-iscsi. They are the same thing with different names in different distro. Reviewed-by: Zhou Zheng Sheng <zhshzhou@linux.vnet.ibm.com> on 2014/01/17 02:51, Crístian Viana wrote:
Kimchi depends on an iSCSI system package to validate the iSCSI devices when creating a storage pool. Currently, the package "iscsi-initiator-utils" is listed as a dependency, but it is not available on openSUSE. Therefore, the Kimchi RPM file cannot be installed on that distro.
Update the iSCSI dependency package name for openSUSE to "open-iscsi".
Signed-off-by: Crístian Viana <vianac@linux.vnet.ibm.com> --- contrib/kimchi.spec.suse.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/kimchi.spec.suse.in b/contrib/kimchi.spec.suse.in index d1aec7b..bacf8df 100644 --- a/contrib/kimchi.spec.suse.in +++ b/contrib/kimchi.spec.suse.in @@ -21,7 +21,7 @@ Requires: python-ethtool Requires: python-ipaddr Requires: python-lxml Requires: nfs-client -Requires: iscsi-initiator-utils +Requires: open-iscsi
%if 0%{?sles_version} == 11 Requires: python-ordereddict
-- Thanks and best regards! Zhou Zheng Sheng / 周征晟 E-mail: zhshzhou@linux.vnet.ibm.com Telephone: 86-10-82454397
participants (4)
-
Aline Manera
-
Crístian Viana
-
Mark Wu
-
Zhou Zheng Sheng