Add PowerVS provider#592
Conversation
|
I have some slight confusion related to this:
But at coreos/fedora-coreos-tracker#817 it says:
How does networking on this platform actually work? |
So for a little context on this - Power VS as of today has only static networking support. As part of developing support for Openshift [1] , the IBM team is working on a DHCP solution. The idea is that when productizing the platform (especially for IPI deployments), DHCP is a hard requirement and is needed. But in the meantime, the team could also use static networking to test other bits. This might not be used in the final product but PowerVS does support configuring networks through the config drive data. |
@lucab does this provide sufficient clarity ? |
I think it's okay to hook up the network metadata inside Afterburn, but it won't actually help on RHCOS. Afterburn only knows how to configure the network via systemd-networkd, not via NetworkManager, so RHCOS doesn't use this piece of Afterburn functionality. |
Ok. On further discussions with the IBM team - the plan is to read the data from |
|
Is the idea still to use static networking during development, but to ship with DHCP support? I'm not sure it makes sense to add kargs support to Afterburn solely for a temporary use case not intended for production deployments. One hacky option is to write out a networkd config, and then have a shell script in the initrd convert it to kargs. |
As part of supporting Power Virtual server as a platform (coreos/fedora-coreos-tracker#817), Afterburn will be used to set the hostname attributes and possibly the ssh-keys. This provider is very similar to the IBMCloud classic provider with the exception of the filesystem for the config drive which is `iso9660` similar to Openstack. The contents of the config drive are usually the meta_data.json and the network_data.json. This provider includes support for: - hostname - ssh keys
Ok. so i've dropped the static networking support as the plan is to go with DHCP. if things change later , we can always look to adding static support at a later time. |
|
@bgilbert ok to merge? |
thanks! can this be merged please? |
Enable Power VS(Virtual Servers) as a platform. PowerVS is an extension of IBMCloud which supports deploying ppc64le VMs. Details here: openshift/enhancements#736 The hostname for the VMs are set through afterburn which reads the metadata provided through the config drive which is the primary mechanism through which ignition and hostname are provided. (coreos/afterburn#592) Cross referencing some other PRs for completeness: openshift/installer#5270 openshift/installer#5224 (closed, WIP to split into multiple PRs) ova images for PowerVS are already generated today: coreos/coreos-assembler#2200 coreos/coreos-assembler#2361
As part of supporting Power Virtual server as a platform (coreos/fedora-coreos-tracker#817), Afterburn will be used to set the hostname attributes and possibly the ssh-keys.
This provider is very similar to the IBMCloud classic provider with the exception of the filesystem for the config drive which is
iso9660similar to Openstack. The contents of the config drive are usually the meta_data.json and the network_data.json. This provider includes support for: