Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1782206 Details for
Bug 1957581
service registration using tripleo-ipa failing in OSP 16.1.2. Error setting up ccache for "host" service on client using default keytab: Preauthentication failed.
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
/usr/share/ansible/roles/tripleo_ipa_registration/tasks/main.yml file from the deployment
tripleo_ipa_registration_main.yml (text/plain), 2.66 KB, created by
Dev
on 2021-05-12 01:27:48 UTC
(
hide
)
Description:
/usr/share/ansible/roles/tripleo_ipa_registration/tasks/main.yml file from the deployment
Filename:
MIME Type:
Creator:
Dev
Created:
2021-05-12 01:27:48 UTC
Size:
2.66 KB
patch
obsolete
>--- ># Copyright 2020 Red Hat, Inc. ># All Rights Reserved. ># ># Licensed under the Apache License, Version 2.0 (the "License"); you may ># not use this file except in compliance with the License. You may obtain ># a copy of the License at ># ># http://www.apache.org/licenses/LICENSE-2.0 ># ># Unless required by applicable law or agreed to in writing, software ># distributed under the License is distributed on an "AS IS" BASIS, WITHOUT ># WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the ># License for the specific language governing permissions and limitations ># under the License. ># ># This role adds a host and its required sub-hosts and services to ># FreeIPA as defined in the ServerMetadata. ># ># The following variables are required: ># - tripleo_ipa_enroll_base_server (True if base server must be enrolled) ># - tripleo_ipa_base_server_fqdn (FQDN of base host eg. controller-0.example.com) ># - tripleo_ipa_base_server_otp (OTP for enrollment, only required if enroll_server is True) ># - tripleo_ipa_delegate_server (Server for OTP delegation, only required if enroll_server is True) ># - tripleo_ipa_server_metadata (server metadata, which includes required services) > >- name: set main facts > set_fact: > base_server_fqdn: "{{ tripleo_ipa_base_server_fqdn }}" > base_server_short_name: "{{ tripleo_ipa_base_server_fqdn.split('.')[0] }}" > base_server_domain: "{{ tripleo_ipa_base_server_fqdn.split('.', 1)[1] }}" > enroll_base_server: "{{ tripleo_ipa_enroll_base_server }}" > >- name: add main host to IPA with OTP > when: enroll_base_server|bool > become: true > block: > - name: get host raw data and keytab info > command: "ipa host-show --raw --all {{ base_server_fqdn }}" > register: host_raw_data > changed_when: false > failed_when: false > > - name: confirm that host is not already registered with current keytab > when: '"has_keytab: TRUE" not in host_raw_data.stdout' > block: > - name: remove stale host if present > when: host_raw_data.rc == 0 > ipa_host: > fqdn: "{{ base_server_fqdn }}" > state: absent > > - name: add new host with random one-time password > ipa_host: > fqdn: "{{ base_server_fqdn }}" > random_password: true > force: true > register: ipa_host > > - name: set otp as a host fact > set_fact: > ipa_host_otp: "{{ ipa_host.host.randompassword }}" > no_log: true > delegate_facts: true > delegate_to: "{{ tripleo_ipa_delegate_server }}" > >- name: add required services > include: services.yml > loop: "{{ tripleo_ipa_server_metadata | from_json | parse_service_metadata(base_server_fqdn) }}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1957581
: 1782206