Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1599402 - Installer landing bootstrap Ansible play with space above shebang
Installer landing bootstrap Ansible play with space above shebang
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.10.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: 3.11.0
Assigned To: Chris Callegari
sheng.lao
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-09 12:59 EDT by Chris Callegari
Modified: 2018-10-11 03:21 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When deploying to AWS the build_ami play will land a newline prior to shebang in the bootstrap script.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-10-11 03:21:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:2652 None None None 2018-10-11 03:21 EDT

  None (edit)
Description Chris Callegari 2018-07-09 12:59:01 EDT
Description of problem:
Installer landing bootstrap Ansible play with space above shebang


Version-Release number of the following components:
git branch release/3.10


How reproducible:
Always


Steps to Reproduce:
1. ansible-playbook -i inventory.yml build_ami.yml -e @provisioning_vars.yml

2.
3.


Actual results:
# cat /root/openshift_bootstrap/bootstrap.yml

#!/usr/bin/ansible-playbook


Expected results:
# cat /root/openshift_bootstrap/bootstrap.yml
#!/usr/bin/ansible-playbook


Additional info:
This is cosmetic but bad form.
Comment 1 Scott Dodson 2018-07-11 13:38:28 EDT
https://github.com/openshift/openshift-ansible/pull/9130 proposed fix
Comment 2 Scott Dodson 2018-08-14 17:24:56 EDT
Should be in openshift-ansible-3.11.0-0.15.0
Comment 3 sheng.lao 2018-08-16 03:22:30 EDT
Fixed at: openshift-ansible-3.11.0-0.15.0
After playing the build_ami.yml, I login the ec2 instance created by this ami.

# cat /root/openshift_bootstrap/bootstrap.yml
#!/usr/bin/ansible-playbook
Comment 5 errata-xmlrpc 2018-10-11 03:21:36 EDT
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/RHBA-2018:2652

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