"No storage pools are defined" when attempting to edit libvirt compute profile
|Assigned To:||Marek Hulán|
|Category:||Compute resources - libvirt|
|Found in release:||Pull request:||https://github.com/theforeman/foreman/pull/4633|
|Velocity based estimate||-|
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
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
The page does not load correctly. See attached.
The page loads correctly, and you are able to edit the compute resource.
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.