
dumb q. I have a distro I'd like to add to the supported list. (private labeled version of a rhel 7.5) I tried grabbing an unclaimed ID, putting that plus the output of osinfo-query —fields=name os short-id='my_shortid' and derivedFrom.value= well_known_distro into osinfo-defaults.properties and restarting ovirt-engine, but I still come up with install failed because '$MYNAME' is not supported. Am I missing something obvious? Entry looks like this: os.my_7x86.id.value = 34 os.my_7x86.name.value = My Linux 7.5 os.my_7x86.derivedFrom.value = rhel_6x64 ideas? Thanks!

On 5 Jul 2018, at 22:02, bob.bownes@oracle.com wrote:
dumb q.
I have a distro I'd like to add to the supported list. (private labeled version of a rhel 7.5)
I tried grabbing an unclaimed ID, putting that plus the output of osinfo-query —fields=name os short-id='my_shortid' and derivedFrom.value= well_known_distro into osinfo-defaults.properties and restarting ovirt-engine, but I still come up with install failed because '$MYNAME' is not supported. Am I missing something obvious?
what’s the exact diff? what “install" failed? thanks, michal
Entry looks like this: os.my_7x86.id.value = 34 os.my_7x86.name.value = My Linux 7.5 os.my_7x86.derivedFrom.value = rhel_6x64
ideas? Thanks! _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/XPOK6ZKPUL33JG...

Sorry for lack of detail. This is an install of a node on vanilla Oracle Linux 7.5 (which is RH 7.5 for these purposes) enterprise server. The exact message is: An error has occurred during installation of Host myhost: Failed to execute stage 'Setup validation': Distribution oracle version 7.5 is not supported. [root@sn02 conf]# pwd /usr/share/ovirt-engine/conf And the diff. [root@sn02 conf]# diff osinfo-defaults.properties osinfo-defaults.properties.orig 169,173d168 < os.ol7_5.id.value = 34 < os.ol7_5.name.value = Oracle Linux 7.5 < os.ol7_5.derivedFrom.value = rhel_6x64 < os.ol7_5.devices.display.vramMultiplier.value = 2 <

You are trying to add a new host right and not adding a new type of guest os? I think that's the confusion here. You install would have to match the file we maintain in ovirt-host-deploy/src/plugins/ovirt-host-deploy/vdsm/software.py @util.export class Plugin(plugin.PluginBase): """Software prerequisites plugin.""" _SUPPORTED = [ { 'distro': ('redhat', 'centos'), 'version': '7.0', }, { 'distro': ('fedora', ), 'version': '22', }, { 'distro': ('ibm_powerkvm', ), 'version': '2.1.0', }, ] You can hack it in https://gerrit.ovirt.org/ovirt-host-deploy On Tue, 10 Jul 2018 at 23:02 <bob.bownes@oracle.com> wrote:
Anyone got an idea?
Thanks, Bob _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/M46EP7HZ4M6R5T...

New host OS, yes. And the fields in the file are from where? Want to pick the one that matches. Thanks

On Wed, Jul 11, 2018 at 6:48 PM, <bob.bownes@oracle.com> wrote:
New host OS, yes.
And the fields in the file are from where? Want to pick the one that matches.
Please look at https://gerrit.ovirt.org/gitweb?p=ovirt-host-deploy.git;a=blob;f=src/plugins... what does platform.linux_distribution(full_distribution_name=0) return on your platform? you'd want to add this to the _SUPPORTED list. I suspect you'd have more things to modify later, but this should be a good start.
Thanks _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/TDBYU7DJGUFYUP...
participants (4)
-
bob.bownes@oracle.com
-
Dan Kenigsberg
-
Michal Skrivanek
-
Roy Golan