Bug 1477713 - [RFE] Support "direct" deploy method
Summary: [RFE] Support "direct" deploy method
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Dmitry Tantsur
QA Contact: mlammon
URL: https://blueprints.launchpad.net/trip...
Whiteboard:
: 1610115 (view as bug list)
Depends On: 1472360
Blocks: 1607779 1614492 1636974
TreeView+ depends on / blocked
 
Reported: 2017-08-02 16:54 UTC by Dmitry Tantsur
Modified: 2022-08-09 14:01 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.0-0.20180710202746.d2994ca.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:48:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 529342 0 None MERGED Add support to ironic "direct" deploy interface 2020-08-31 14:46:35 UTC
OpenStack gerrit 564457 0 None MERGED undercloud: switch to the "direct" deploy interface by default 2020-08-31 14:46:34 UTC
Red Hat Issue Tracker OSP-8598 0 None None None 2022-08-09 14:01:42 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:48:38 UTC

Description Dmitry Tantsur 2017-08-02 16:54:59 UTC
By default, Ironic deploys images to iSCSI shares exposed by IPA. We also support a different deploy method, when IPA fetches an image from a Swift temporary URL. Such approach should allow us scale better, especially in the undercloud, where 1. we have only one conductor, 2. we have Swift already, 3. we already use temporary URLs.

This may need configuring Swift temporary URLs and configuring Ironic to use them. Then we need to document both supported deploy method. Finally, we should consider switching to deploy_interface=direct by default, leaving "iscsi" as an option.

Comment 8 Dmitry Tantsur 2017-12-20 12:51:09 UTC
This work was mostly done as part of the ansible deploy work. Needs support for containerized undercloud still.

Comment 9 Dmitry Tantsur 2018-03-21 15:08:41 UTC
The attached patch implements the direct deploy for both containerized under- and overcloud.

Comment 11 Dmitry Tantsur 2018-05-08 08:14:17 UTC
All patches merged. Changing to THT, since this work only concerns containerized undercloud and overcloud. The direct deploy is now the default for the undercloud.

Comment 13 Dmitry Tantsur 2018-07-24 09:18:13 UTC
Note: we may have to revert the default, since people are complaining that they can no longer deploy on their testing installations with reduced RAM. The feature itself will still be available in this case, just become opt-in. Bug 1607779 may improve the situation for Stein.

Comment 14 Bob Fournier 2018-08-06 19:19:56 UTC
*** Bug 1610115 has been marked as a duplicate of this bug. ***

Comment 15 Dmitry Tantsur 2018-09-19 15:13:58 UTC
To clarify: the specific change in undercloud.yaml https://review.openstack.org/#/c/564457/3/environments/undercloud.yaml was reverted. Everything is still in place, particularly https://review.openstack.org/#/c/529342/, and can be tested.

The defaults can be changed by setting IronicDefaultDeployInterface to 'direct' during deployment or setting a node's deploy_interface to 'direct'.

Comment 16 mlammon 2018-10-16 19:39:12 UTC
This is my understanding on how to enable this by using a customized file.  We will have to update our test plan accordingly.  Please simply confirm so we have this documented in this RFE

1) Have a customized file like:
/home/stack/undercloud_custom_env.yaml
parameter_defaults:
  IronicDefaultDeployInterface: direct

2) Then do your undercloud install
openstack undercloud install

Comment 17 Dmitry Tantsur 2018-10-17 09:18:59 UTC
Yeah, but there is also a step to link to this new file in undercloud.conf.

Comment 18 mlammon 2018-10-17 13:18:33 UTC
Yes, I forgot to add and thanks for officially confirming.

1) Have a customized file like:
/home/stack/undercloud_custom_env.yaml
parameter_defaults:
  IronicDefaultDeployInterface: direct


2) Link this customized file into your undercloud.conf DEFAULT section

custom_env_files = /home/stack/undercloud_custom_env.yaml

3) Then do your undercloud install
openstack undercloud install

Comment 19 mlammon 2018-10-22 14:30:31 UTC
This has now been verified both using default config and manual


Env:
openstack-tripleo-heat-templates-9.0.1-0.20181013060859.ffbe879.el7ost.noarch

Comment 21 errata-xmlrpc 2019-01-11 11:48:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


Note You need to log in before you can comment on or make changes to this bug.