Bug 1426705 - [3.4] Installer is failing when `ansible_user` is set to Windows Login which requires dom\user format
Summary: [3.4] Installer is failing when `ansible_user` is set to Windows Login which ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.4.1
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Scott Dodson
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On: 1426703
Blocks: 1267746
TreeView+ depends on / blocked
 
Reported: 2017-02-24 16:05 UTC by Scott Dodson
Modified: 2017-03-06 16:39 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously if ansible_user was a Windows domain user in the format of "dom\user" the installation playbooks would fail. This user name is now escaped properly ensuring playbooks run successfully.
Clone Of: 1414276
Environment:
Last Closed: 2017-03-06 16:39:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0448 0 normal SHIPPED_LIVE Important: ansible and openshift-ansible security and bug fix update 2017-03-06 21:36:25 UTC

Comment 2 Wenkai Shi 2017-02-28 11:16:10 UTC
Verified with version openshift-ansible-3.4.67-1.git.0.14a0b4d.el7, installation succeed with ansible user 'dom\user'.

# cat hosts
[OSEv3:children]
masters
nodes
nfs

[OSEv3:vars]
ansible_ssh_user='dom\user'
ansible_become=yes
debug_level=5
deployment_type=openshift-enterprise
openshift_release=v3.4

oreg_url=...
openshift_docker_additional_registries=...
openshift_docker_insecure_registries=...
openshift_examples_modify_imagestreams=true
osm_use_cockpit=false
osm_cockpit_plugins="['cockpit-kubernetes']"

openshift_additional_repos=[{'id': 'ose-devel', 'name': 'ose-devel', 'baseurl': '...', 'enabled': 1, 'gpgcheck': 0}]

openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
openshift_master_htpasswd_users={'weshi': '$apr1$64.bNFRx$hasOByTx4S9hcMUy0qlsm1', 'wkshi': '$apr1$2PsVtrnA$DrtSyupkggQhqL1OWmYhs0'}

openshift_hosted_router_selector="role=node,router=enabled"
openshift_hosted_registry_selector="role=node,registry=enabled"

openshift_hosted_registry_storage_kind=nfs
openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
openshift_hosted_registry_storage_nfs_directory=/exports
openshift_hosted_registry_storage_nfs_options='*(rw,root_squash,sync)'
openshift_hosted_registry_storage_volume_name=registry
openshift_hosted_registry_storage_volume_size=10Gi

openshift_set_hostname=true
openshift_override_hostname_check=true

[masters]
openshift.example.com openshift_hostname="openshift.example.com" openshift_public_hostname="openshift.example.com"

[nodes]
openshift.example.com openshift_hostname="openshift.example.com" openshift_public_hostname="openshift.example.com" openshift_node_labels="{'role': 'node', 'registry': 'enabled', 'router': 'enabled'}" openshift_schedulable=True

[nfs]
openshift.example.com

Comment 4 errata-xmlrpc 2017-03-06 16:39:14 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/RHSA-2017:0448


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