Bug 1315772
| Summary: | Add information about DHCP for image-based provisioning | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Lukas Zapletal <lzap> |
| Component: | Docs Provisioning Guide | Assignee: | Stephen Wadeley <swadeley> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Russell Dickenson <rdickens> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2.0 | CC: | adahms, dmacpher, lzap, nshaik |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-03 02:14:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Lukas Zapletal
2016-03-08 15:03:06 UTC
Moving to NEW and the default assignee to be triaged as the schedule allows. Assigning to Stephen for review. (In reply to Lukas Zapletal from comment #0) > Depending on Satellite version, compute resources offer either cloud-init or > ssh-finish image-based provisioning. > Hello lzap Re "Depending on Satellite version" We are working on 6.2 guide which mentions both ssh-finish and cloud-init. If both methods are supported in 6.2, then that is OK. Thank you Excellent, in the original description I mentioned ssh keys but this is too complex to setup. Maybe if you want to mention this - it is possible to avoid passwords if user deploys a SSH key to "foreman" effective user. The key must not be protected with passphrase and instructions how to set it up are in the libvirt chapter in our docs. Upstream its https://theforeman.org/manuals/1.14/index.html#5.2.5LibvirtNotes Then the key will be used when running finish scripts, so password can be left blank. Second more important info is which providers supports what: Finish script support: - bare metal - openstack - amazon ec2 - rackspace - gce Cloud-init script support: - ovirt/rhev - vmware (*) - openstack - amazon ec2 - rackspace Consider pulling this out into KBASE article and linking it instead of keeping this in main docs - this changes as we add features. VMWare has actually special cloud-init limited scope support, it does not pass the cloud-init into the image as-is, but rather converts it into individual actions referred as Custom Spec in VMWare docs. Only some fields are converted, the rest is unused. It does not accept "call home" wget/curl call therefore VMWare VMs initialized with cloud-init stays in build mode forever. This is known limitation. https://github.com/fog/fog-vsphere/blob/master/lib/fog/vsphere/requests/compute/cloudinit_to_customspec.rb https://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.wssdk.apiref.doc/vim.vm.customization.Specification.html (In reply to Lukas Zapletal from comment #10) > Excellent, in the original description I mentioned ssh keys but this is too > complex to setup. Maybe if you want to mention this - it is possible to > avoid passwords if user deploys a SSH key to "foreman" effective user. The > key must not be protected with passphrase and instructions how to set it up > are in the libvirt chapter in our docs. Upstream its > > https://theforeman.org/manuals/1.14/index.html#5.2.5LibvirtNotes > > Then the key will be used when running finish scripts, so password can be > left blank. > I remember testing that procedure, to use the Foreman user and SSH keys to connect to libvirt, rather than as root user. I was going to use it ion one for the guides. I dropped that when I saw your KBase using the root method, so I just used that. > > Consider pulling this out into KBASE article and linking it instead of > keeping this in main docs - this changes as we add features. > What would be a good name for this? e.g.: Comparison of finish script and cloud-init script support in Satellite 6 Does it have to mention Satellite 6 even, seems generic to other products. Comparison of finish script and cloud-init scripts {maybe drop the work "support" as that meaning is not clear until you read and see the context} Thank you Not sure about name, somethink like Supported compute resources for finish and cloud-init ? It's more two lists than comparison. This content is live on the Customer Portal. Closing. |