Bug 1040245

Summary: [RFE] Support image based provisioning of Linux distros in OpenStack
Product: [Retired] Beaker Reporter: Nick Coghlan <ncoghlan>
Component: openstackAssignee: beaker-dev-list
Status: CLOSED EOL QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 0.14CC: dkutalek, jkoten, mastyk, qwan, tools-bugs
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-07 15:40:32 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:
Bug Depends On: 1040239    
Bug Blocks: 1038295    

Description Nick Coghlan 2013-12-11 02:52:28 UTC
Bug 1040239 covers adding support for OpenStack as a dynamic provisioning backend. The initial integration will just rely on bootstrapping Anaconda and running the normal kickstart based initialisation.

This issue covers allowing the use of image based provisioning for any virt compatible recipes which don't use any of the ks_* attributes and elements in their definition.

Offering the same level of flexibility for image based provisioning as the ks_* attributes and elements offer for kickstart based provisioning is *not* covered by this issue. However, a basic ability to configure cloud-init (akin to addiing additional %post sections in ks_appends) would be reasonable.

One possible mechanism for handling this would be to support "openstack_image" as a new install method, and allow image names to be registered against distro trees. However, that's just one suggestion, and other alternatives will be explored as part of the development of this feature.

Comment 1 Nick Coghlan 2013-12-11 02:53:51 UTC
Initially, only Linux distros will be officially supported. See bug 1038295 for supporting more than that.

Comment 2 Nick Coghlan 2013-12-19 08:07:13 UTC
One possible approach to managing this would be to use an approach like https://github.com/redhat-openstack/image-building-poc to automatically create an appropriate image in Glance when a distro is imported, rather than requiring the image to be created externally and then registered with Beaker.

Comment 3 David Kutálek 2018-11-08 21:22:55 UTC
For the record, initial proposal patch set exists:
https://gerrit.beaker-project.org/#/c/beaker/+/5785/

It was not finished due to time constraints,
but seems as a good start in case we revisit this idea.