Bug 1478198 - Install CNS failed due to cannot transfer an none regular file
Summary: Install CNS failed due to cannot transfer an none regular file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-03 21:14 UTC by Wenkai Shi
Modified: 2017-08-16 19:51 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-10 05:32:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Wenkai Shi 2017-08-03 21:14:39 UTC
Description of problem:
Install CNS failed due to cannot transfer an none regular file in task "Copy heketi private key", this task should only happened when customer use the "openshift_storage_glusterfs_heketi_ssh_keyfile" parameter. Seems this because of fix BZ #1477718 .

Version-Release number of the following components:
openshift-ansible-3.6.173.0.5-1.git.0.74d5acc.el7

How reproducible:
100%

Steps to Reproduce:
1. Install OCP with CNS
# cat hosts
[OSEv3:children]
masters
nodes
glusterfs

[OSEv3:vars]
...

[masters]
master-1.example.com

[nodes]
master-1.example.com
node-1.example.com
glusterfs-1.example.com 
glusterfs-2.example.com 
glusterfs-3.example.com 

[glusterfs]
glusterfs-1.example.com glusterfs_devices="['/dev/vsda']"
glusterfs-2.example.com glusterfs_devices="['/dev/vsda']"
glusterfs-3.example.com glusterfs_devices="['/dev/vsda']"

2.
3.

Actual results:
# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml
...

TASK [openshift_storage_glusterfs : Copy heketi private key] *******************
Thursday 03 August 2017  19:16:42 +0000 (0:00:00.060)       0:13:35.782 ******* 
 [WARNING]: sftp transfer mechanism failed on
[master-1.example.com]. Use ANSIBLE_DEBUG=1 to see
detailed information

 [WARNING]: scp transfer mechanism failed on
[master-1.example.com]. Use ANSIBLE_DEBUG=1 to see
detailed information

fatal: [master-1.example.com]: FAILED! => {
    "failed": true
}

MSG:

failed to transfer file to /root/.ansible/tmp/ansible-tmp-1501787803.1-62624638446304/source:

/dev/null: not a regular file

Expected results:
This task should be skip when customer didn't use the "openshift_storage_glusterfs_heketi_ssh_keyfile" parameter.

Additional info:

Comment 5 Jose A. Rivera 2017-08-04 13:31:22 UTC
PR is upstream: https://github.com/openshift/openshift-ansible/pull/5000

Comment 8 Wenkai Shi 2017-08-05 04:35:35 UTC
Verified with version openshift-ansible-3.6.173.0.5-3.git.0.522a92a.el7, installation succeed.

Comment 10 errata-xmlrpc 2017-08-10 05:32:16 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-2017:1716


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