HewlettPackard / oneview-ansible-collection

Ansible Collection and Sample Playbooks for HPE OneView
Apache License 2.0
25 stars 22 forks source link

Baremetal OS provisioning example #260

Open wally007 opened 1 year ago

wally007 commented 1 year ago

Hello,

we bought new servers with HP Oneview Advanced and onboarded all the servers into the Oneview. Each server already has a server profile applied (bios settings, ilo settings etc) from the server template using Oneview web interface.

Now we would like to provision the OS using our custom RHEL8 iso (our kickstart is already in the iso) but I cant find a Oneview module/role that would do that.

When we bought Oneview, we were told Oneview is used for the "end to end server provisioning" but so far I am coming up empty finding a way to actually automate OS boot and installation.

Would be great if there were some examples provided.

Thank you

alisha-k-kalladassery commented 1 year ago

Hi @wally007

Thanks for reaching out to us. From SDK perspective, we don't have any such role/module available.

Thanks

wally007 commented 1 year ago

So basically, this collection (and neither SDK or Web UI) of Oneview can handle automated OS installation ?

If that is the case, I really do not understand the marketing of Oneview "manage full lifecycle of a server" - if there is no way to automate boot and kickstart installtion.

dannybeuker commented 1 year ago

I really do not understand the marketing of Oneview "manage full lifecycle of a server" - if there is no way to automate boot and kickstart installtion.

OneView is for managing hardware, not the hypervisor/os. You manage the bios/uefi, firmware, provision storage etc. Provisioning the OS is not part of this. You can do all the "prep" work, for example configure the server to boot from PXE.

Even connecting an ISO to the iLO is not done with the OneView collection. You can use community.general.hpilo_boot for that.

wally007 commented 1 year ago

Except Oneview can and does install hypervisor

(does not really inspire confidence that you dont know that Oneview in vCenter handles hypervisor installation)

dannybeuker commented 1 year ago

I stand corrected. My understanding was that baremetal OS deployment was a Synergy only thing, which we are not using and the Hypervisor Management integration was done manually (years ago) through vCenter.