Bug #20174
closed"No storage pools are defined" when attempting to edit libvirt compute profile
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1465154
Description of problem:
When attempting to edit a libvirt compute profile, the page presents an error:
"Oops, we're sorry but something went wrong No storage pools are defined".
There are also two 500 ISEs in the web console. (see attached)
Version-Release number of selected component (if applicable):
Satellite 6.3 Snap 4 / Foreman nightly
How reproducible:
Always
Steps to Reproduce:
1. Setup a libvirt compute resource
2. Navigate to the compute profiles page
3. Click one of the three pre-made options, then the libvirt CR
Actual results:
The page does not load correctly. See attached.
Expected results:
The page loads correctly, and you are able to edit the compute resource.
Additional info:
The problem can be observed when there's no libvirt storage pool active. We should be able to detect this and display proper message both at compute profile page as well as in host form during provisioning.