<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource]]></title><description><![CDATA[<p dir="auto">While installing Ansible on RockyLinux on an XCP-ng host I'm getting the error "<em>Unable to determine if virtual resource</em>". Same error described here:<br />
<a href="https://chr00t.com/installing-awx-on-almalinux-9/" target="_blank" rel="noopener noreferrer nofollow ugc">https://chr00t.com/installing-awx-on-almalinux-9/</a></p>
<p dir="auto">In the case of Proxmox the post describes:<br />
Changing the CPU type from “Default (kvm64)” to Host. This sets the VM to match the CPU of the host.</p>
<p dir="auto">Is their a similar setting in XCP-ng?</p>
]]></description><link>https://xcp-ng.org/forum/topic/9085/option-to-set-the-vm-to-match-the-cpu-of-the-host-issues-installing-ansbile-on-rocky-linux-9-unable-to-determine-if-virtual-resource</link><generator>RSS for Node</generator><lastBuildDate>Wed, 13 May 2026 12:25:50 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9085.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 24 May 2024 00:41:42 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource on Sun, 26 May 2024 17:08:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a></p>
<p dir="auto">It turns out this had nothing to do with the VM or Hypervisor, but was guest specific. Here is the scoop for anyone that may come across this Ansible AWX install error.</p>
<p dir="auto">Ansible AWX now prefers Kubernetes over Docker to run on and in this case I used K3s on Rocky Linux. After K3s is installed if you run "kubectl get apiservice" you will see:<br />
"kube-system/metrics-server false (missingendpoints)"</p>
<p dir="auto">This is what causes the Ansible AWX install to fail with "Unable to determine if virtual resource"</p>
<p dir="auto">The solution:<br />
Installing K3s on Rocky Linux requires the extra step of disabling SELinux and firewalld</p>
<pre><code>sudo setenforce 0
sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
sudo systemctl disable firewalld --now
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/77929</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77929</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Sun, 26 May 2024 17:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource on Sun, 26 May 2024 17:40:01 GMT]]></title><description><![CDATA[<p dir="auto">Thanks a lot for your feedback!</p>
]]></description><link>https://xcp-ng.org/forum/post/77931</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77931</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 26 May 2024 17:40:01 GMT</pubDate></item><item><title><![CDATA[Reply to Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource on Sun, 26 May 2024 17:08:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a></p>
<p dir="auto">It turns out this had nothing to do with the VM or Hypervisor, but was guest specific. Here is the scoop for anyone that may come across this Ansible AWX install error.</p>
<p dir="auto">Ansible AWX now prefers Kubernetes over Docker to run on and in this case I used K3s on Rocky Linux. After K3s is installed if you run "kubectl get apiservice" you will see:<br />
"kube-system/metrics-server false (missingendpoints)"</p>
<p dir="auto">This is what causes the Ansible AWX install to fail with "Unable to determine if virtual resource"</p>
<p dir="auto">The solution:<br />
Installing K3s on Rocky Linux requires the extra step of disabling SELinux and firewalld</p>
<pre><code>sudo setenforce 0
sudo sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
sudo systemctl disable firewalld --now
</code></pre>
]]></description><link>https://xcp-ng.org/forum/post/77929</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77929</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Sun, 26 May 2024 17:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource on Sat, 25 May 2024 16:00:20 GMT]]></title><description><![CDATA[<p dir="auto">Happy to help as soon we understand the reason of the issue (this will be helpful to see what would be the best option)</p>
]]></description><link>https://xcp-ng.org/forum/post/77895</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77895</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 25 May 2024 16:00:20 GMT</pubDate></item><item><title><![CDATA[Reply to Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource on Sat, 25 May 2024 15:55:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a></p>
<p dir="auto">Thanks for the insight. I will follow up and post back.</p>
]]></description><link>https://xcp-ng.org/forum/post/77894</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77894</guid><dc:creator><![CDATA[mtcoffee]]></dc:creator><pubDate>Sat, 25 May 2024 15:55:52 GMT</pubDate></item><item><title><![CDATA[Reply to Option to set the VM to match the CPU of the host? Issues installing Ansbile on Rocky Linux 9 - Unable to determine if virtual resource on Sat, 25 May 2024 15:37:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">The issue seems to be the way it detects or not virtualization, have you contacted AWX developers? Xen is very very different than KVM and doesn't use the same mechanism at all, so there's no similar workaround until the problem is very clear on what should be fixed or not on AWX side <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=ab1daa29750" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/77887</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/77887</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 25 May 2024 15:37:15 GMT</pubDate></item></channel></rss>