Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Unable to install iSCSI Target Framework 6 years 11 months ago #1309

  • Udyant Kapoor
  • Udyant Kapoor's Avatar Topic Author
  • Offline
  • Posts: 7
Hi,

We are trying to setup a two node cluster using DRDB and HA-Lizard similar to what we have done quite a few times in the past but this time are unable to install the iSCSI Target Framework.

When we run the halizard_nosan_installer_1.4.7 script it fails when it tries to execute the following command

yum --enablerepo=base install scsi-target-utils -y

The error that pops us seems to indicate that the requested package does not exist.

Installing iSCSI Target Framework
Cannot find a valid baseurl for repo: base


The same thing happens if we try and run the command manually. We have also had a look at the older version scripts to see if the command uses a different repo but it appears that it uses the base repo in all the versions of the scripts we checked.

We are doing this on two DELL R610's running XenServer 6.5 SP1.

Has anyone encountered this issue before or know why this is happening?

Any help would be greatly appreciated.

Thanks and Regards,

Please Log in or Create an account to join the conversation.

Unable to install iSCSI Target Framework 6 years 11 months ago #1311

  • Udyant Kapoor
  • Udyant Kapoor's Avatar Topic Author
  • Offline
  • Posts: 7
So We think we have the problem sorted ...

It appears that when you are running the HA-Lizard, halizard_nosan_installer_1.4.7, script it enables the base CentOS repository to download the scsi-target-utils package, but this repository no longer has this package available.

After doing some more research it looks like the version of Xen Server we are using (6.5 SP1) uses CentOS 5.10 as a base. So we had a a look at the CentOS repo vault at vault.centos.org and found that the package was available there. Then we modified the CentOS-Vault.repo file in the /etc/yum.repos.d directory adding the following lines
#---- Packages previously released as 5.10
[C5.10-base]
name=CentOS-5.10 - Base
baseurl=http://vault.centos.org/5.10/os/$basearch/
gpgcheck=0
enabled=1

We also modified the HA-Lizard script so it would not enable the base repository and would use this repository by default. Doing this seems to have resolved our problem and we are now able to install the cluster.

The question that we have now is that we have installed the scsi-target-utils package from the 5.10 CentOS vault repo which gives us version 1.0.14-2 but the latest version is 1.0.24-10 which is in the 6.5 CentOS vault repo.

From an OS perspective I would use the older version but from an HA-Lizard perspective should we use the latest version; i.e. change the file to point to the 6.5 repo?

Please Log in or Create an account to join the conversation.

Unable to install iSCSI Target Framework 6 years 11 months ago #1312

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Thanks for posting your changes to the installation script.

I would stay with the centos 5 version of TGT
The following user(s) said Thank You: Udyant Kapoor

Please Log in or Create an account to join the conversation.

  • Page:
  • 1