Foreman - 'Storage' and 'Network' Sections are not shown in Compute Profiles using a Libvirt Resource
After upgrading to Foreman 3.11 and Katello 4.13 I've noticed I wasn't able to configure Storage and
Network Settings for compute profiles using Libvirt Compute Resources and VMs were created with the default values:
- Disk Size: '10G'
- Storage Pool: 'default'
- Network: 'default'
Using 'foreman-tail', I found these log lines:
2024-09-02T17:34:02 [I|app|3b6bf363] Deface: [WARNING] No :original defined for 'remove_networks_and_volumes_partial', you should change its definition to include:
3b6bf363 | :original => 'eb4c199bc19e113181e82700bff46538b01f8c44'
2024-09-02T17:34:02 [I|app|3b6bf363] Deface: [WARNING] No :original defined for 'remove_networks_and_volumes_partial', you should change its definition to include:
3b6bf363 | :original => '6dc2ea3d0067fe626ab69b442c12610b066eabf1'
2024-09-02T17:34:02 [E|app|3b6bf363] Deface: [ERROR] The original source for 'foreman_fog_proxmox/engine_add_from_profile_to_compute_form' has changed, this override should be reviewed to ensure it's still valid.
According to these logs, there appears to be a problem with the proxmox fog provider. Since I don't use proxmox currently as a compute resource, I've decided to uninstall this provider.
[root@katello01 ~]# dnf -4y --noautoremove remove rubygem-fog-proxmox rubygem-foreman_fog_proxmox
To make sure, stop the foreman services and re-run the installer:
[root@katello01 ~]# foreman-maintain service stop
[root@katello01 ~]# foreman-installer --scenario katello
Once Foreman has started up again, the settings for Storage and Network should be present again in the Web UI.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment