@@ -166,6 +166,39 @@ DIB-based or any other IPA image, you will need to take the following steps:
166166 directly replaced on disk. The default where the kernel and ramdisk are
167167 located is in ``/httboot/ ``.
168168
169+ ******************************************************
170+ Verifying Creation of Test Virtual Machines (VMs)
171+ ******************************************************
172+
173+ When using the Bifrost test environment, the ``./bifrost-cli testenv `` command
174+ is expected to automatically create two virtual machines (VMs) for testing
175+ purposes. These VMs simulate baremetal systems that Ironic can enroll and
176+ deploy during provisioning. If the virtual machines are not created, subsequent
177+ commands such as ``enroll `` or ``deploy `` will fail with errors indicating that
178+ no nodes are available for registration.
179+
180+ Check for the presence of the test VMs using the following commands
181+
182+ .. code-block :: bash
183+
184+ virsh list --all
185+
186+ If the setup is successful, two VMs (for example, ``testvm1 `` and ``testvm2 ``)
187+ should appear in the list. If no VMs are listed, the test environment creation
188+ was incomplete. This is often caused by insufficient host resources or issues
189+ with the virtualization service (libvirt/KVM).
190+
191+ Each test VM typically uses the following default resources:
192+
193+ * 1 vCPU
194+ * ~3 GB of RAM
195+ * ~11 GB of virtual storage
196+
197+ If the test VMs are not created, Ironic will not have real instances to
198+ interact with, and only placeholder nodes will exist in the database.
199+ As a result, any attempt to deploy will fail. Always verify that the test
200+ VMs exist before proceeding with node enrollment and deployment.
201+
169202***********************************************************
170203Node Enrollment and Provisioning in a Testing Environment
171204***********************************************************
0 commit comments