Posted 02 May 2017 - 11:04 AM
I have installed the agents on two different XenServer 7.1 hosts lately.
I do not work on the XenServer team, nor have I discussed this with them, but to me, it seems like we no longer create a "/etc/xensource/installed-repos" folder, where we put files showing what is installed. (This may be due to now using a different CentOS dom0, I don't really know.) HP is basing their check to verify that this is XenServer on the existence of repository-files found in this folder. So, just like Theodor above suggests, the file that he refers to (/etc/xensource/installed-repos/xs:main/XS-REPOSITORY) is checked, and needs to be valid XML data.
For the first, if I remember correctly, I copied the ISO contents to a folder off of /tmp on XenServer, and modified the XS-REPOSITORY file provided by HP, and removed the requirement to have XenServer installed (line that starts with "<requires...") just like Alan suggests above.
For the second, I basically copied the folder /etc/xensource/installed-repos from a pre-7.1 installation to the 7.1 installation, and then ran install.sh straight off the ISO. (Needless to say, you should remove the manually added files after installing, to keep the system as clean as possible.)
Both these methods work perfectly, and the HP agents are now running fine in my lab environment.