Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Platform Request: Nutanix AOS with AHV #1007

Closed
11 tasks done
sohankunkerkar opened this issue Oct 29, 2021 · 7 comments
Closed
11 tasks done

Platform Request: Nutanix AOS with AHV #1007

sohankunkerkar opened this issue Oct 29, 2021 · 7 comments

Comments

@sohankunkerkar
Copy link
Member

sohankunkerkar commented Oct 29, 2021

In order to implement support for a new cloud platform in Fedora CoreOS, we need to know several things about the platform. Please try to answer as many questions as you can.

  • Why is the platform important? Who uses it?

    To deliver and support open hybrid multi-cloud solution driven by Red Hat’s Openshift and Nutanix Cloud platform.

  • What is the official name of the platform? Is there a short name that's commonly used in client API implementations?

    Nutanix AHV (nutanix)

  • How can the OS retrieve instance userdata? What happens if no userdata is provided?

    userdata is provided through config drive v2 similar to Openstack.

  • Does the platform provide a way to configure SSH keys for the instance? How can the OS retrieve them? What happens if none are provided?

    No

  • How can the OS retrieve network configuration? Is DHCP sufficient, or is there some other network-accessible metadata service?

    DHCP (via Nutanix IPAM)

  • In particular, how can the OS retrieve the system hostname?

    DHCP (via Nutanix IPAM)

  • Does the platform require the OS to have a specific console configuration?

    No

  • Is there a mechanism for the OS to report to the platform that it has successfully booted? Is the mechanism required?

    No

  • Does the platform have an agent that runs inside the instance? Is it required? What does it do? What language is it implemented in, and where is the source code repository?

    No

  • How are VM images uploaded to the platform and published to other users? Is there an API? What disk image format is expected?

    API (qcow2 image format)

  • Are there any other platform quirks we should know about?

    cloud-init config drive v2 (similar to Openstack), but in this case, meta_data.json functionality is not implemented

@lucab
Copy link
Contributor

lucab commented Nov 10, 2021

I'm having some troubles putting the following points together:

  • userdata is provided through config drive v2 similar to Openstack.
  • meta_data.json functionality is not implemented
  • hostname will be fetched from the metadata in cloud-init user_data

If there is not metadata JSON, and the userdata is storing the Ignition config, then how is the cloud-hostname provided to the VM?

Similar question for SSH keys: if the userdata holds an Ignition config (and not a cloud-init config), how are cloud-keys provided to the VM?

@sohankunkerkar
Copy link
Member Author

Thanks for your questions. PFB my inline response:

I'm having some troubles putting the following points together:

  • userdata is provided through config drive v2 similar to Openstack.
  • meta_data.json functionality is not implemented
  • hostname will be fetched from the metadata in cloud-init user_data

If there is no metadata JSON, and the userdata is storing the Ignition config, then how is the cloud-hostname provided to the VM?

When a VM is created on a Nutanix managed subnet, their internal IPAM mechanism offers the hostname and IP address using DHCP

Similar question for SSH keys: if the userdata holds an Ignition config (and not a cloud-init config), how are cloud-keys provided to the VM?

I have updated the details about ssh-keys in the above questionnaire to address your concern.

@dustymabe
Copy link
Member

One other thing to flesh out that doesn't block adding this platform:

  • Does Nutanix offer this platform as a cloud service?
    • And... Could we get an unbilled account to execute tests for our images

@cverna
Copy link
Member

cverna commented Nov 15, 2021

One other thing to flesh out that doesn't block adding this platform:

* Does Nutanix offer this platform as a cloud service?       
  * And... Could we get an unbilled account to execute tests for our images

I pitched the idea to @vnephologist a couple months ago. Andy is sponsoring a environment for Fedora CoreOS to run our CI tests, something that would be interesting ?

sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 16, 2021
Add nutanix platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 16, 2021
Add nutanix platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 16, 2021
Add Nutanix AHV platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
@jlebon
Copy link
Member

jlebon commented Nov 17, 2021

This was discussed in last week's community meeting:

16:54:24 <jlebon> #agreed we will add FCOS support for Nutanix AHV after fleshing out the few remaining
                  questions

@jlebon jlebon removed the meeting topics for meetings label Nov 17, 2021
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 18, 2021
Add Nutanix AHV platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
sohankunkerkar added a commit to sohankunkerkar/coreos-assembler that referenced this issue Nov 19, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
sohankunkerkar added a commit to sohankunkerkar/coreos-assembler that referenced this issue Nov 19, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
sohankunkerkar added a commit to sohankunkerkar/coreos-assembler that referenced this issue Nov 19, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
sohankunkerkar added a commit to sohankunkerkar/coreos-assembler that referenced this issue Nov 19, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
sohankunkerkar added a commit to sohankunkerkar/coreos-assembler that referenced this issue Nov 22, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
sohankunkerkar added a commit to sohankunkerkar/coreos-assembler that referenced this issue Nov 22, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 22, 2021
Add Nutanix AHV platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
sohankunkerkar added a commit to sohankunkerkar/stream-metadata-go that referenced this issue Nov 23, 2021
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 23, 2021
Add Nutanix AHV platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 23, 2021
Add Nutanix AHV platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
sohankunkerkar added a commit to sohankunkerkar/ignition that referenced this issue Nov 23, 2021
Add Nutanix AHV platform support(coreos/fedora-coreos-tracker#1007)
which is similar to Openstack.
jlebon pushed a commit to coreos/coreos-assembler that referenced this issue Nov 24, 2021
Related to coreos/fedora-coreos-tracker#1007
Build a raw image with the Ignition provider set to nutanix
to correspond with coreos/ignition#1284
@sohankunkerkar sohankunkerkar self-assigned this Dec 1, 2021
@dustymabe dustymabe added the status/pending-testing-release Fixed upstream. Waiting on a testing release. label Dec 2, 2021
@dustymabe
Copy link
Member

The Nutanix artifacts are now on the download page for all streams!

@dustymabe dustymabe removed the status/pending-testing-release Fixed upstream. Waiting on a testing release. label Dec 8, 2021
@dustymabe
Copy link
Member

The fix for this went into stable stream release 35.20211119.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants