Bug 1527908 - [RFE] Ironic Ansible deploy in the Undercloud
Summary: [RFE] Ironic Ansible deploy in the Undercloud
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Dmitry Tantsur
QA Contact: bjacot
URL: https://blueprints.launchpad.net/trip...
Whiteboard:
Depends On: 1472360
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-20 12:53 UTC by Dmitry Tantsur
Modified: 2019-01-11 11:48 UTC (History)
10 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:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 529342 0 None None None 2018-06-11 13:39:31 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:48:50 UTC

Description Dmitry Tantsur 2017-12-20 12:53:13 UTC
We introduced the tech preview in OSP 13. This RFE tracks what is missing to provide full support of this feature.

Comment 1 Dmitry Tantsur 2017-12-20 12:58:43 UTC
Potential missing bits:
* automatic generation of Swift temporary URL key for service project
* automatic generation of an SSH key to access the ramdisk
* support for containerized undercloud (TestOnly?)
* improved hook points for adding ansible code
* out-of-box support for LVM?

And of course QE coverage.

Comment 2 Ramon Acedo 2018-04-10 14:57:25 UTC
This seems to depend on the temporary URLs. We need upstream patches.

Comment 5 Ramon Acedo 2018-04-25 07:42:35 UTC
Leaving it as tech preview for OSP 14.

Comment 6 Dmitry Tantsur 2018-06-11 13:39:32 UTC
Scope for 14: automatic temporary URL generation. Other problems remain unsolved.

Comment 10 bjacot 2018-12-13 19:16:48 UTC
I have verified this RFE via steps documented from upstream.  There are steps that need to be updated.

http://tripleo.org/install/advanced_deployment/ansible_deploy_interface.html

Installing Undercloud
Step 5:
sudo chmod 0600 /var/lib/ironic/ipa-ssh -- TO --> sudo chmod 0666 /var/lib/ironic/ipa-ssh

Enabling temporary URLs
A note added that this step is not needed for OSP14 but is needed for OSP13.

Editing Playbooks:
Step 1:
dest: "{{ tmp_rootfs_mount }}/etc/default/grub" -- TO --> path: "{{ tmp_rootfs_mount }}/etc/default/grub"

Comment 11 bjacot 2018-12-13 19:49:44 UTC
Verified with this RPM OSP14
(overcloud) [stack@undercloud-0 ~]$ sudo rpm -qa | grep openstack-tripleo-heat
openstack-tripleo-heat-templates-9.0.1-0.20181013060903.el7ost.noarch

Comment 12 Ramon Acedo 2018-12-14 09:51:31 UTC
Wouldn't it be a bug the fact that we have to chmod with 0666 /var/lib/ironic/ipa-ssh making it writable by any user?

Comment 13 Dmitry Tantsur 2018-12-14 12:19:05 UTC
Indeed, it's unpleasant. Even making it readable is not so nice. We need to talk to the containers team to figure out what to do about it, I don't know a way to map a file to a user that only exists inside a container. Maybe file a separate bug for it?

Comment 15 errata-xmlrpc 2019-01-11 11:48:37 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.