Hi Jeff,

xCAT integration with RHVM is a less frequently utilized feature. The most
recent version of RHVM that has been formally tested with xCAT is RHVM 4.2
running on RHEL 7.5.

As the commands below are returning no output, it seems likely that
something may have changed between RHVM 4.2 and 4.4.9.5-0.1.

If you would like to try to debug further to see if you can get it working,
the relevant module is located here on your xCAT management node:
/opt/xcat/lib/perl/xCAT_plugin/rhevm.pm

You can insert debug statements using this technique:
[root@f6u13k04 ~]# cp
-p /opt/xcat/lib/perl/xCAT_plugin/rhevm.pm 
/opt/xcat/lib/perl/xCAT_plugin/rhevm.pm.orig
[root@f6u13k04 ~]# vi /opt/xcat/lib/perl/xCAT_plugin/rhevm.pm
[root@f6u13k04 ~]#
diff /opt/xcat/lib/perl/xCAT_plugin/rhevm.pm 
/opt/xcat/lib/perl/xCAT_plugin/rhevm.pm.orig
106,109d105
<     my $rsp;
<     push @{ $rsp->{data} }, "My test message.";
<     xCAT::MsgUtils->message("E", $rsp, $callback);
<
[root@f6u13k04 ~]# lsve -t dc -m 10.6.13.4 -o Default
Error: [f6u13k04]: My test message.
Error: [f6u13k04]: Could not get the CA certificate from
http://10.6.13.4:8080/ca.crt.

As an alternative, direct management of Virtual Machines running on KVM
hypervisors is a much more frequently utilized feature that you may want to
consider:
https://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/manage_clusters/ppc64le/virtual_machines/index.html

https://sourceforge.net/p/xcat/wiki/XCAT_Virtualization_with_KVM/

If you take this approach, you obviously lose any features that RHVM
provides that you might be interested in.



From:   "Jeffrey R. Lang" <jrl...@uwyo.edu>
To:     "xcat-user@lists.sourceforge.net"
            <xcat-user@lists.sourceforge.net>
Cc:     "Levi Wilbert" <lwilb...@uwyo.edu>
Date:   12/15/2021 03:21 PM
Subject:        [EXTERNAL] [xcat-user] xCAT support for Redhat Virtualization



My team is interested in using RHVM and xCAT to manage a new VM environment
were getting ready to install.   We setup a test environment to make sure
it would work.    We’ve done the preliminary setup and  when testing we
don’t get any results from different xCAT commands. As an example:

[root@rxcat1 ~]# lsve -t dc -m ratatat.arcc.uwyo.edu -o Default
[root@rxcat1 ~]#
[root@rxcat1 ~]#
[root@rxcat1 ~]# lsve -t cl -m ratatat.arcc.uwyo.edu -o Default
[root@rxcat1 ~]#

So our question would be, Does xCAT support RHV in its current Version
4.4.9.5-0.1 and it’s implementation of the REST API?

If it should work then any ideas of what we are missing to make it work?

Jeff

 _______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to