Qubinode / qubinode-installer

An easy to set up OpenShift development kit powered by Red Hat Ansible.
https://qubinode-installer.readthedocs.io/en/latest/
GNU General Public License v3.0
86 stars 26 forks source link

[BUG]Error deploying the idm vm( qbn-dns01) #223

Closed dingyeah33 closed 4 years ago

dingyeah33 commented 4 years ago

Qubinode Version
Qubinode releasev2.4 ansible engine v2.97

Describe the bug Using the command "qubinode-installer -p idm", it abort with this error:

TASK [backup original /etc/resolv.conf file] *********************************** Tuesday 16 June 2020 10:57:50 +0800 (0:00:00.278) 0:17:40.979 ********** fatal: [qbn-dns01 -> 127.0.0.1]: FAILED! => changed=false checksum: d04076872c74ab71e00653381ca7272c16d3de0a msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!

To Reproduce Steps to reproduce the behavior:

  1. qubinode-installer -m setup
  2. qubinode-installer -m rhsm
  3. qubinode-installer -m ansible
  4. qubinode-installer -m host
  5. qubinode-installer -p idm

I have cleaned up and retry it again with the below clean up steps:

  1. qubinode-installer -p idm -d
  2. qubinode-installer -m clean
  3. rm -rf $HOME/.ansible

Expected behavior qbn-dns01 VM has been created, but, the installer abort with the above error

Screenshots

`

Running IdM VM deploy functionm

running playbook /home/louie/qubinode-installer/playbooks/idm_vm_deployment.yml Deploy without custom IP

PLAY [Deploy IDM VM] ***

TASK [Gathering Facts] ***** Tuesday 16 June 2020 10:38:20 +0800 (0:00:00.063) 0:00:00.063 ** ok: [localhost]

TASK [Create KVM VM for DNS Server] **** Tuesday 16 June 2020 10:38:22 +0800 (0:00:01.370) 0:00:01.433 **

TASK [deploy-kvm-vm : check for presense of libguestfs appliance] ** Tuesday 16 June 2020 10:38:22 +0800 (0:00:00.590) 0:00:02.023 ** skipping: [localhost]

TASK [deploy-kvm-vm : ensure the direct /export/libguestfs exist] ** Tuesday 16 June 2020 10:38:22 +0800 (0:00:00.056) 0:00:02.080 ** skipping: [localhost]

TASK [deploy-kvm-vm : ensure libguestfs appliance is present] ** Tuesday 16 June 2020 10:38:22 +0800 (0:00:00.052) 0:00:02.132 ** skipping: [localhost]

TASK [deploy-kvm-vm : deploy virt-customzie wrapper] *** Tuesday 16 June 2020 10:38:22 +0800 (0:00:00.054) 0:00:02.187 ** ok: [localhost]

TASK [deploy-kvm-vm : Get a list of all instances] ***** Tuesday 16 June 2020 10:38:23 +0800 (0:00:00.910) 0:00:03.097 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : check if OS disk exist] ** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.472) 0:00:03.570 ** skipping: [localhost]

TASK [deploy-kvm-vm : shutting down qbn-dns01 to run virt-customize] *** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.097) 0:00:03.667 ** skipping: [localhost]

TASK [deploy-kvm-vm : ensure qbn-dns01 is unregistered from RHSM] ** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.095) 0:00:03.763 ** skipping: [localhost]

TASK [deploy-kvm-vm : Destroy vm] ** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.085) 0:00:03.849 ** skipping: [localhost]

TASK [deploy-kvm-vm : Undefine vm] ***** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.089) 0:00:03.939 ** skipping: [localhost]

TASK [deploy-kvm-vm : remove vm data directory] **** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.089) 0:00:04.028 ** skipping: [localhost]

TASK [deploy-kvm-vm : find all disk for the vm] **** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.085) 0:00:04.114 ** skipping: [localhost]

TASK [deploy-kvm-vm : delete all vm disks] ***** Tuesday 16 June 2020 10:38:24 +0800 (0:00:00.090) 0:00:04.204 ** skipping: [localhost] => (item=None)

TASK [deploy-kvm-vm : copy scripts to KVM host] **** Tuesday 16 June 2020 10:38:25 +0800 (0:00:00.091) 0:00:04.296 ** ok: [localhost -> localhost] => (item=getvmip) ok: [localhost -> localhost] => (item=attach-libvirt-disk)

TASK [deploy-kvm-vm : Create VM data dir to store vm information] ** Tuesday 16 June 2020 10:38:25 +0800 (0:00:00.805) 0:00:05.101 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : setting vm_ip if user provided ip address] *** Tuesday 16 June 2020 10:38:26 +0800 (0:00:00.302) 0:00:05.404 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : generate random mac address when vm_ip defined] ** Tuesday 16 June 2020 10:38:26 +0800 (0:00:00.113) 0:00:05.518 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : Check if qcow OS image template exist] *** Tuesday 16 June 2020 10:38:26 +0800 (0:00:00.109) 0:00:05.627 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : fail if /var/lib/libvirt/images/rhel-server-7.8-x86_64-kvm.qcow2 does not exist] * Tuesday 16 June 2020 10:38:28 +0800 (0:00:01.749) 0:00:07.377 **** skipping: [localhost]

TASK [deploy-kvm-vm : Copy cloud-init user data] *** Tuesday 16 June 2020 10:38:28 +0800 (0:00:00.098) 0:00:07.475 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : Generate cloud-init meta data] *** Tuesday 16 June 2020 10:38:28 +0800 (0:00:00.669) 0:00:08.144 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : Create operating system disk for vm] ***** Tuesday 16 June 2020 10:38:29 +0800 (0:00:00.475) 0:00:08.620 ** skipping: [localhost]

TASK [deploy-kvm-vm : Copy rhel-server-7.8-x86_64-kvm.qcow2 to /var/lib/libvirt/images/qbn-dns01_vda.qcow2] * Tuesday 16 June 2020 10:38:29 +0800 (0:00:00.117) 0:00:08.737 **** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : Verify operating system disk for vm exists] ** Tuesday 16 June 2020 10:38:30 +0800 (0:00:01.058) 0:00:09.796 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : get operating system disk virtual size] ** Tuesday 16 June 2020 10:38:32 +0800 (0:00:01.696) 0:00:11.492 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : set os disk size to human readable format] *** Tuesday 16 June 2020 10:38:32 +0800 (0:00:00.318) 0:00:11.811 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : set variable grow_fs] **** Tuesday 16 June 2020 10:38:32 +0800 (0:00:00.109) 0:00:11.921 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : Push base image onto vm operating system disk] *** Tuesday 16 June 2020 10:38:32 +0800 (0:00:00.114) 0:00:12.035 ** skipping: [localhost]

TASK [deploy-kvm-vm : Grow root file system to size to the requested disk size] * Tuesday 16 June 2020 10:38:32 +0800 (0:00:00.102) 0:00:12.137 **** skipping: [localhost]

TASK [deploy-kvm-vm : Set the root password for the RHEL7 vm] ** Tuesday 16 June 2020 10:38:32 +0800 (0:00:00.106) 0:00:12.244 ** skipping: [localhost]

TASK [deploy-kvm-vm : Set the root password for the vm RHEL8 vm] *** Tuesday 16 June 2020 10:38:33 +0800 (0:00:00.093) 0:00:12.337 ** skipping: [localhost]

TASK [deploy-kvm-vm : check for existing cloud init iso] *** Tuesday 16 June 2020 10:38:33 +0800 (0:00:00.097) 0:00:12.435 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : Create iso image for cloud init] ***** Tuesday 16 June 2020 10:38:33 +0800 (0:00:00.286) 0:00:12.721 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : generate virt-install command arguments] ***** Tuesday 16 June 2020 10:38:33 +0800 (0:00:00.308) 0:00:13.030 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : deploy VM instance] ** Tuesday 16 June 2020 10:38:34 +0800 (0:00:00.502) 0:00:13.532 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : debug] *** Tuesday 16 June 2020 10:38:35 +0800 (0:00:01.635) 0:00:15.168 ** skipping: [localhost]

TASK [deploy-kvm-vm : create extra qcow disk] ** Tuesday 16 June 2020 10:38:35 +0800 (0:00:00.079) 0:00:15.247 **

TASK [deploy-kvm-vm : debug] *** Tuesday 16 June 2020 10:38:36 +0800 (0:00:00.144) 0:00:15.391 ** skipping: [localhost]

TASK [deploy-kvm-vm : Attach External Disk] **** Tuesday 16 June 2020 10:38:36 +0800 (0:00:00.070) 0:00:15.462 **

TASK [deploy-kvm-vm : Check if cd-rom is attached] ***** Tuesday 16 June 2020 10:38:36 +0800 (0:00:00.098) 0:00:15.561 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : wait for cloud-init to initialize] *** Tuesday 16 June 2020 10:38:36 +0800 (0:00:00.322) 0:00:15.883 ** Pausing for 30 seconds (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort) ok: [localhost -> localhost]

TASK [deploy-kvm-vm : Eject CD-Rom] **** Tuesday 16 June 2020 10:39:06 +0800 (0:00:30.116) 0:00:46.000 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : try to discover qbn-dns01 ip address] **** Tuesday 16 June 2020 10:39:08 +0800 (0:00:01.739) 0:00:47.739 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : setting vm_ip variable to 192.168.1.35 dhcp provided ip] * Tuesday 16 June 2020 10:39:08 +0800 (0:00:00.327) 0:00:48.067 **** skipping: [localhost]

TASK [deploy-kvm-vm : set_fact] **** Tuesday 16 June 2020 10:39:08 +0800 (0:00:00.106) 0:00:48.174 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : check if VM current ip matches the user provided ip] * Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.098) 0:00:48.272 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : fail] **** Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.113) 0:00:48.386 ** skipping: [localhost]

TASK [deploy-kvm-vm : discover qbn-dns01 netmask prefix when using DHCP] *** Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.108) 0:00:48.494 ** skipping: [localhost]

TASK [deploy-kvm-vm : setting vm_mask_prefix variable to qbn-dns01 dhcp provided netmask] * Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.114) 0:00:48.608 **** skipping: [localhost]

TASK [deploy-kvm-vm : discover qbn-dns01 gateway when using DHCP] ** Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.082) 0:00:48.691 ** skipping: [localhost]

TASK [deploy-kvm-vm : setting vm_gateway variable to qbn-dns01 dhcp provided gateway] * Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.114) 0:00:48.805 **** skipping: [localhost]

TASK [deploy-kvm-vm : Get MAC address] ***** Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.095) 0:00:48.901 ** skipping: [localhost]

TASK [deploy-kvm-vm : setting {{ vm_name }} vm_mac variable to {{ vm_mac_result.stdout }}] * Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.113) 0:00:49.014 **** skipping: [localhost]

TASK [deploy-kvm-vm : generate qbn-dns01 ifcfg interface template] ***** Tuesday 16 June 2020 10:39:09 +0800 (0:00:00.110) 0:00:49.124 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : add qbn-dns01 to ansible inventory inventory] **** Tuesday 16 June 2020 10:39:10 +0800 (0:00:00.459) 0:00:49.584 ** changed: [localhost]

TASK [deploy-kvm-vm : check if VM is reachable on known ip address] **** Tuesday 16 June 2020 10:39:10 +0800 (0:00:00.491) 0:00:50.075 ** fatal: [localhost]: FAILED! => changed=true cmd: - ping - -c1 - 192.168.1.139 delta: '0:00:03.012339' end: '2020-06-16 10:39:14.002566' msg: non-zero return code rc: 1 start: '2020-06-16 10:39:10.990227' stderr: '' stderr_lines: <omitted> stdout: |- PING 192.168.1.139 (192.168.1.139) 56(84) bytes of data. From 192.168.1.140 icmp_seq=1 Destination Host Unreachable --- 192.168.1.139 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms stdout_lines: <omitted> ...ignoring

TASK [deploy-kvm-vm : check if VM is reachable on known ip address] **** Tuesday 16 June 2020 10:39:14 +0800 (0:00:03.292) 0:00:53.367 ** fatal: [localhost -> localhost]: FAILED! => changed=true cmd: - ping - -c1 - 192.168.1.139 delta: '0:00:03.008819' end: '2020-06-16 10:39:17.308608' msg: non-zero return code rc: 1 start: '2020-06-16 10:39:14.299789' stderr: '' stderr_lines: <omitted> stdout: |- PING 192.168.1.139 (192.168.1.139) 56(84) bytes of data. From 192.168.1.140 icmp_seq=1 Destination Host Unreachable --- 192.168.1.139 ping statistics --- 1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms stdout_lines: <omitted> ...ignoring

TASK [deploy-kvm-vm : debug] *** Tuesday 16 June 2020 10:39:17 +0800 (0:00:03.304) 0:00:56.672 ** skipping: [localhost]

TASK [deploy-kvm-vm : shutting down qbn-dns01 to run virt-customize] *** Tuesday 16 June 2020 10:39:17 +0800 (0:00:00.169) 0:00:56.841 ** FAILED - RETRYING: shutting down qbn-dns01 to run virt-customize (18 retries left). changed: [localhost -> localhost]

TASK [deploy-kvm-vm : remove cloud-init from qbn-dns01] **** Tuesday 16 June 2020 10:39:21 +0800 (0:00:03.645) 0:01:00.486 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : deploy custom /etc/sysconfig/network-scripts/ifcfg-eth0] * Tuesday 16 June 2020 10:39:28 +0800 (0:00:07.467) 0:01:07.954 **** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : configure ssh public key] **** Tuesday 16 June 2020 10:39:33 +0800 (0:00:05.097) 0:01:13.051 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : starting up qbn-dns01] *** Tuesday 16 June 2020 10:39:40 +0800 (0:00:06.322) 0:01:19.373 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : try to discover qbn-dns01 ip address] **** Tuesday 16 June 2020 10:39:40 +0800 (0:00:00.589) 0:01:19.963 ** FAILED - RETRYING: try to discover qbn-dns01 ip address (30 retries left). FAILED - RETRYING: try to discover qbn-dns01 ip address (29 retries left). FAILED - RETRYING: try to discover qbn-dns01 ip address (28 retries left). FAILED - RETRYING: try to discover qbn-dns01 ip address (27 retries left). FAILED - RETRYING: try to discover qbn-dns01 ip address (26 retries left). FAILED - RETRYING: try to discover qbn-dns01 ip address (25 retries left). ok: [localhost -> localhost]

TASK [deploy-kvm-vm : setting vm_ip variable to 192.168.1.139 dhcp provided ip] * Tuesday 16 June 2020 10:39:48 +0800 (0:00:07.576) 0:01:27.539 **** skipping: [localhost]

TASK [deploy-kvm-vm : set_fact] **** Tuesday 16 June 2020 10:39:48 +0800 (0:00:00.117) 0:01:27.656 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : check if VM current ip matches the user provided ip] * Tuesday 16 June 2020 10:39:48 +0800 (0:00:00.109) 0:01:27.766 ** skipping: [localhost]

TASK [deploy-kvm-vm : fail] **** Tuesday 16 June 2020 10:39:48 +0800 (0:00:00.119) 0:01:27.886 ** skipping: [localhost]

TASK [deploy-kvm-vm : discover qbn-dns01 netmask prefix when using DHCP] *** Tuesday 16 June 2020 10:39:48 +0800 (0:00:00.118) 0:01:28.005 ** skipping: [localhost]

TASK [deploy-kvm-vm : setting vm_mask_prefix variable to qbn-dns01 dhcp provided netmask] * Tuesday 16 June 2020 10:39:48 +0800 (0:00:00.125) 0:01:28.131 **** skipping: [localhost]

TASK [deploy-kvm-vm : discover qbn-dns01 gateway when using DHCP] ** Tuesday 16 June 2020 10:39:48 +0800 (0:00:00.093) 0:01:28.224 ** skipping: [localhost]

TASK [deploy-kvm-vm : setting vm_gateway variable to qbn-dns01 dhcp provided gateway] * Tuesday 16 June 2020 10:39:49 +0800 (0:00:00.132) 0:01:28.357 **** skipping: [localhost]

TASK [deploy-kvm-vm : Get MAC address] ***** Tuesday 16 June 2020 10:39:49 +0800 (0:00:00.109) 0:01:28.466 ** skipping: [localhost]

TASK [deploy-kvm-vm : setting {{ vm_name }} vm_mac variable to {{ vm_mac_result.stdout }}] * Tuesday 16 June 2020 10:39:49 +0800 (0:00:00.128) 0:01:28.595 **** skipping: [localhost]

TASK [deploy-kvm-vm : generate qbn-dns01 ifcfg interface template] ***** Tuesday 16 June 2020 10:39:49 +0800 (0:00:00.124) 0:01:28.719 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : Wait for network connectivty to qbn-dns01] *** Tuesday 16 June 2020 10:39:49 +0800 (0:00:00.533) 0:01:29.253 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : check if VM is reachable on known ip address] **** Tuesday 16 June 2020 10:40:00 +0800 (0:00:10.576) 0:01:39.829 ** changed: [localhost -> localhost]

TASK [deploy-kvm-vm : fail] **** Tuesday 16 June 2020 10:40:00 +0800 (0:00:00.304) 0:01:40.133 ** skipping: [localhost]

TASK [deploy-kvm-vm : check for qbn-dns01 in inventory /home/louie/qubinode-installer/inventory/hosts] * Tuesday 16 June 2020 10:40:00 +0800 (0:00:00.124) 0:01:40.258 **** ok: [localhost]

TASK [deploy-kvm-vm : scan remote for keys] **** Tuesday 16 June 2020 10:40:01 +0800 (0:00:00.306) 0:01:40.565 ** ok: [localhost -> localhost]

TASK [deploy-kvm-vm : Update "~/.ssh/known_hosts" with discovered keys] **** Tuesday 16 June 2020 10:40:02 +0800 (0:00:00.743) 0:01:41.308 ** ok: [localhost -> localhost] => (item=qbn-dns01) ok: [localhost -> localhost] => (item=192.168.1.139) ok: [localhost -> localhost] => (item=NXDOMAIN)

TASK [deploy-kvm-vm : make sure resolv.conf is updated] **** Tuesday 16 June 2020 10:40:02 +0800 (0:00:00.810) 0:01:42.119 ** ok: [localhost -> 192.168.1.139]

TASK [deploy-kvm-vm : check for dns lookup] **** Tuesday 16 June 2020 10:40:03 +0800 (0:00:01.077) 0:01:43.196 ** ok: [localhost -> 192.168.1.139]

TASK [deploy-kvm-vm : update qbn-dns01 /etc/resolv.conf] *** Tuesday 16 June 2020 10:40:04 +0800 (0:00:00.454) 0:01:43.650 ** changed: [localhost -> 192.168.1.139]

TASK [deploy-kvm-vm : ensure cloud-init is uninstalled when not using static ip configuration] * Tuesday 16 June 2020 10:40:05 +0800 (0:00:00.806) 0:01:44.457 **** skipping: [localhost]

TASK [update idm_public_ip with current IDM server IP] ***** Tuesday 16 June 2020 10:40:05 +0800 (0:00:00.064) 0:01:44.521 ** ok: [localhost]

TASK [set_fact] **** Tuesday 16 June 2020 10:40:05 +0800 (0:00:00.262) 0:01:44.784 ** ok: [localhost]

TASK [Add/Remove DNS server from inventory into /etc/hosts] **** Tuesday 16 June 2020 10:40:05 +0800 (0:00:00.054) 0:01:44.838 ** changed: [localhost] => (item=qbn-dns01)

PLAY RECAP ***** localhost : ok=48 changed=20 unreachable=0 failed=0 skipped=41 rescued=0 ignored=2

Tuesday 16 June 2020 10:40:05 +0800 (0:00:00.235) 0:01:45.074 ** =============================================================================== deploy-kvm-vm : wait for cloud-init to initialize ---------------------- 30.12s deploy-kvm-vm : Wait for network connectivty to qbn-dns01 -------------- 10.58s deploy-kvm-vm : try to discover qbn-dns01 ip address -------------------- 7.58s deploy-kvm-vm : remove cloud-init from qbn-dns01 ------------------------ 7.47s deploy-kvm-vm : configure ssh public key -------------------------------- 6.32s deploy-kvm-vm : deploy custom /etc/sysconfig/network-scripts/ifcfg-eth0 --- 5.10s deploy-kvm-vm : shutting down qbn-dns01 to run virt-customize ----------- 3.65s deploy-kvm-vm : check if VM is reachable on known ip address ------------ 3.30s deploy-kvm-vm : check if VM is reachable on known ip address ------------ 3.29s deploy-kvm-vm : Check if qcow OS image template exist ------------------- 1.75s deploy-kvm-vm : Eject CD-Rom -------------------------------------------- 1.74s deploy-kvm-vm : Verify operating system disk for vm exists -------------- 1.70s deploy-kvm-vm : deploy VM instance -------------------------------------- 1.64s Gathering Facts --------------------------------------------------------- 1.37s deploy-kvm-vm : make sure resolv.conf is updated ------------------------ 1.08s deploy-kvm-vm : Copy rhel-server-7.8-x86_64-kvm.qcow2 to /var/lib/libvirt/images/qbn-dns01_vda.qcow2 --- 1.06s deploy-kvm-vm : deploy virt-customzie wrapper --------------------------- 0.91s deploy-kvm-vm : Update "~/.ssh/known_hosts" with discovered keys -------- 0.81s deploy-kvm-vm : update qbn-dns01 /etc/resolv.conf ----------------------- 0.81s deploy-kvm-vm : copy scripts to KVM host -------------------------------- 0.81s Playbook run took 0 days, 0 hours, 1 minutes, 45 seconds

If you've made an mistake hit Ctrl-c to exit the install. Then run the below command to reset the installation.

./qubinode-installer -m clean

Running ./qubinode-installer -m clean removes all configuration data. This effectively resets the installation progress.

Install and configure the IdM server Current IP of IDM Server 192.168.1.139

PLAY [deploy IdM server] ***

TASK [Gathering Facts] ***** Tuesday 16 June 2020 10:40:09 +0800 (0:00:00.064) 0:00:00.064 ** ok: [qbn-dns01]

TASK [Check if IdM is answering] *** Tuesday 16 June 2020 10:40:10 +0800 (0:00:01.223) 0:00:01.287 ** fatal: [qbn-dns01]: FAILED! => changed=false content: '' elapsed: 0 msg: 'Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111] Connection refused>' redirected: false status: -1 url: https://qbn-dns01.lab.home/ipa/ui ...ignoring

TASK [set_fact] **** Tuesday 16 June 2020 10:40:11 +0800 (0:00:00.870) 0:00:02.158 ** ok: [qbn-dns01]

TASK [ensure system is registered to Red Hat] ** Tuesday 16 June 2020 10:40:11 +0800 (0:00:00.057) 0:00:02.215 **

TASK [swygue-redhat-subscription : ensure subscription-manager is installed] * Tuesday 16 June 2020 10:40:11 +0800 (0:00:00.111) 0:00:02.327 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : check if system is already registered] ** Tuesday 16 June 2020 10:40:12 +0800 (0:00:01.165) 0:00:03.493 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : check system registration status] *** Tuesday 16 June 2020 10:40:24 +0800 (0:00:11.148) 0:00:14.642 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : declare fact system_registered true if status is registered] * Tuesday 16 June 2020 10:40:32 +0800 (0:00:08.623) 0:00:23.266 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : report system registration status] ** Tuesday 16 June 2020 10:40:32 +0800 (0:00:00.066) 0:00:23.332 ** ok: [qbn-dns01] => msg: The system is registered.

TASK [swygue-redhat-subscription : declare fact remove_system_registration if rhsm_unregister is set] * Tuesday 16 June 2020 10:40:32 +0800 (0:00:00.059) 0:00:23.391 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : set fact use_system_identity when rhsm_identity is defined] * Tuesday 16 June 2020 10:40:32 +0800 (0:00:00.059) 0:00:23.451 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : set fact use_activation_key when rhsm_activationkey is defined] * Tuesday 16 June 2020 10:40:32 +0800 (0:00:00.059) 0:00:23.510 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : check system if system is in the right ORG] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.061) 0:00:23.572 **** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : check system if system consuming the right content view] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.058) 0:00:23.630 **** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : check system if system is registered to the correct RHSM host] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.056) 0:00:23.687 **** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/check_rhsm_hostname.yml for qbn-dns01

TASK [swygue-redhat-subscription : return the RHSM HOSTNAME the system is registered to] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.084) 0:00:23.772 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : report which RHSM the system is registered to] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.373) 0:00:24.145 **** ok: [qbn-dns01] => msg: The qbn-dns01 is registered to subscription.rhsm.redhat.com.

TASK [swygue-redhat-subscription : set fact rhsm_host_match to true if it matches the system current RHSM HOST otherwise false] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.059) 0:00:24.205 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : setting rhsm_fix_registration status] *** Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.060) 0:00:24.266 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : set system_registered to false if subscription-manager status is not current] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.059) 0:00:24.325 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : UNREGISTER|remove system rhsm registration if subscription is not current or rhsm ORG id does not match the systems current registered ORG id] * Tuesday 16 June 2020 10:40:33 +0800 (0:00:00.059) 0:00:24.385 **** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/unregister.yml for qbn-dns01

TASK [swygue-redhat-subscription : removing system rhsm registration] ** Tuesday 16 June 2020 10:40:34 +0800 (0:00:00.187) 0:00:24.573 ** changed: [qbn-dns01]

TASK [swygue-redhat-subscription : declare the system registration status after UNREGISTER] * Tuesday 16 June 2020 10:40:50 +0800 (0:00:16.248) 0:00:40.821 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : show unregister_status details for qbn-dns01] * Tuesday 16 June 2020 10:40:50 +0800 (0:00:00.092) 0:00:40.914 **** ok: [qbn-dns01] => unregister_status: changed: true failed: false msg: System successfully unregistered from None.

TASK [swygue-redhat-subscription : REGISTER|register system to RHSM or Satellite] * Tuesday 16 June 2020 10:40:50 +0800 (0:00:00.038) 0:00:40.953 **** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/register.yml for qbn-dns01

TASK [swygue-redhat-subscription : clean out existing subscription certificate] * Tuesday 16 June 2020 10:40:50 +0800 (0:00:00.076) 0:00:41.030 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : include check_katello_ca.yml] *** Tuesday 16 June 2020 10:40:51 +0800 (0:00:00.997) 0:00:42.028 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : declar rhsm server_url and rhsm base_url] * Tuesday 16 June 2020 10:40:51 +0800 (0:00:00.026) 0:00:42.054 **** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : install the katello consumer rpm] *** Tuesday 16 June 2020 10:40:51 +0800 (0:00:00.026) 0:00:42.081 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : Register qbn-dns01 to RHSM using activation key] * Tuesday 16 June 2020 10:40:51 +0800 (0:00:00.035) 0:00:42.116 **** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : Register qbn-dns01 system using rhsm_identity] * Tuesday 16 June 2020 10:40:51 +0800 (0:00:00.035) 0:00:42.152 **** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : Register qbn-dns01 system using rhsm_user and rhsm_password] * Tuesday 16 June 2020 10:40:51 +0800 (0:00:00.035) 0:00:42.187 **** changed: [qbn-dns01]

TASK [swygue-redhat-subscription : refresh subscriptions] ** Tuesday 16 June 2020 10:41:32 +0800 (0:00:40.931) 0:01:23.119 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : REPOS| enable system repositories] ** Tuesday 16 June 2020 10:41:51 +0800 (0:00:18.597) 0:01:41.717 ** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/repos.yml for qbn-dns01

TASK [swygue-redhat-subscription : refresh subscriptions] ** Tuesday 16 June 2020 10:41:51 +0800 (0:00:00.080) 0:01:41.797 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : create empty list to store enable repo ids] * Tuesday 16 June 2020 10:42:10 +0800 (0:00:18.946) 0:02:00.744 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : save enabled redhat repositories] *** Tuesday 16 June 2020 10:42:10 +0800 (0:00:00.032) 0:02:00.776 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : save the repo ids for the enaled repositories] * Tuesday 16 June 2020 10:42:40 +0800 (0:00:30.687) 0:02:31.463 **** ok: [qbn-dns01] => (item=None) ok: [qbn-dns01]

TASK [swygue-redhat-subscription : create list of enabled repos that should not be enabled] * Tuesday 16 June 2020 10:42:40 +0800 (0:00:00.047) 0:02:31.511 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : debug] ** Tuesday 16 June 2020 10:42:40 +0800 (0:00:00.042) 0:02:31.554 ** ok: [qbn-dns01] => msg: Repos to Enable [u'rhel-7-server-rpms', u'rhel-7-server-extras-rpms', u'rhel-7-server-optional-rpms']

TASK [swygue-redhat-subscription : create list of repos that should be enabled] * Tuesday 16 June 2020 10:42:41 +0800 (0:00:00.037) 0:02:31.592 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : these repos will be disabled] *** Tuesday 16 June 2020 10:42:41 +0800 (0:00:00.039) 0:02:31.631 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : disable repos] ** Tuesday 16 June 2020 10:42:41 +0800 (0:00:00.032) 0:02:31.663 **

TASK [swygue-redhat-subscription : these repos will be enabled] **** Tuesday 16 June 2020 10:42:41 +0800 (0:00:00.029) 0:02:31.693 ** ok: [qbn-dns01] => repos_to_enable: - rhel-7-server-extras-rpms - rhel-7-server-optional-rpms

TASK [swygue-redhat-subscription : include pools.yml] ** Tuesday 16 June 2020 10:42:41 +0800 (0:00:00.040) 0:02:31.733 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : Enable repositories] **** Tuesday 16 June 2020 10:42:41 +0800 (0:00:00.033) 0:02:31.767 ** changed: [qbn-dns01] => (item=rhel-7-server-extras-rpms) changed: [qbn-dns01] => (item=rhel-7-server-optional-rpms)

TASK [swygue-redhat-subscription : install satellite client tools] ***** Tuesday 16 June 2020 10:44:46 +0800 (0:02:05.582) 0:04:37.349 ** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/smart_mgt_tools.yml for qbn-dns01

TASK [swygue-redhat-subscription : install satellite client tools] ***** Tuesday 16 June 2020 10:44:46 +0800 (0:00:00.066) 0:04:37.416 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : setup katello-agent] **** Tuesday 16 June 2020 10:44:46 +0800 (0:00:00.028) 0:04:37.445 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : install red hat insights] *** Tuesday 16 June 2020 10:44:46 +0800 (0:00:00.027) 0:04:37.473 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : check insights registration status] ***** Tuesday 16 June 2020 10:44:46 +0800 (0:00:00.028) 0:04:37.501 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : register insights] ** Tuesday 16 June 2020 10:44:46 +0800 (0:00:00.027) 0:04:37.529 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : REPOS| enable system repositories] ** Tuesday 16 June 2020 10:44:46 +0800 (0:00:00.033) 0:04:37.562 ** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/repos.yml for qbn-dns01

TASK [swygue-redhat-subscription : refresh subscriptions] ** Tuesday 16 June 2020 10:44:47 +0800 (0:00:00.085) 0:04:37.648 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : create empty list to store enable repo ids] * Tuesday 16 June 2020 10:45:05 +0800 (0:00:18.695) 0:04:56.343 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : save enabled redhat repositories] *** Tuesday 16 June 2020 10:45:05 +0800 (0:00:00.032) 0:04:56.376 ** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : save the repo ids for the enaled repositories] * Tuesday 16 June 2020 10:45:36 +0800 (0:00:30.712) 0:05:27.088 **** ok: [qbn-dns01] => (item=None) ok: [qbn-dns01] => (item=None) ok: [qbn-dns01] => (item=None) ok: [qbn-dns01]

TASK [swygue-redhat-subscription : create list of enabled repos that should not be enabled] * Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.064) 0:05:27.152 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : debug] ** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.041) 0:05:27.194 ** ok: [qbn-dns01] => msg: Repos to Enable [u'rhel-7-server-rpms', u'rhel-7-server-extras-rpms', u'rhel-7-server-optional-rpms']

TASK [swygue-redhat-subscription : create list of repos that should be enabled] * Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.038) 0:05:27.233 **** ok: [qbn-dns01]

TASK [swygue-redhat-subscription : these repos will be disabled] *** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.039) 0:05:27.273 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : disable repos] ** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.031) 0:05:27.305 **

TASK [swygue-redhat-subscription : these repos will be enabled] **** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.030) 0:05:27.335 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : include pools.yml] ** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.032) 0:05:27.368 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : Enable repositories] **** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.034) 0:05:27.403 **

TASK [swygue-redhat-subscription : install satellite client tools] ***** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.029) 0:05:27.432 ** included: /home/louie/qubinode-installer/playbooks/roles/swygue-redhat-subscription/tasks/smart_mgt_tools.yml for qbn-dns01

TASK [swygue-redhat-subscription : install satellite client tools] ***** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.059) 0:05:27.492 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : setup katello-agent] **** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.027) 0:05:27.519 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : install red hat insights] *** Tuesday 16 June 2020 10:45:36 +0800 (0:00:00.026) 0:05:27.546 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : check insights registration status] ***** Tuesday 16 June 2020 10:45:37 +0800 (0:00:00.026) 0:05:27.572 ** skipping: [qbn-dns01]

TASK [swygue-redhat-subscription : register insights] ** Tuesday 16 June 2020 10:45:37 +0800 (0:00:00.027) 0:05:27.599 ** skipping: [qbn-dns01]

TASK [update system] *** Tuesday 16 June 2020 10:45:37 +0800 (0:00:00.031) 0:05:27.631 ** ok: [qbn-dns01]

TASK [Install IDM server] ** Tuesday 16 June 2020 10:49:19 +0800 (0:03:42.191) 0:09:09.822 **

TASK [ansible-idm : check if IDM is answering] ***** Tuesday 16 June 2020 10:49:19 +0800 (0:00:00.174) 0:09:09.996 ** fatal: [qbn-dns01]: FAILED! => changed=false content: '' elapsed: 0 msg: 'Status code was -1 and not [200]: Request failed: <urlopen error [Errno 111] Connection refused>' redirected: false status: -1 url: https://qbn-dns01.lab.home/ipa/ui ...ignoring

TASK [ansible-idm : set_fact] ** Tuesday 16 June 2020 10:49:20 +0800 (0:00:00.616) 0:09:10.613 ** ok: [qbn-dns01]

TASK [ansible-idm : Make sure firewalld is installed] ** Tuesday 16 June 2020 10:49:20 +0800 (0:00:00.039) 0:09:10.652 ** changed: [qbn-dns01]

TASK [ansible-idm : Enable and start firewalld] **** Tuesday 16 June 2020 10:49:38 +0800 (0:00:18.675) 0:09:29.327 ** changed: [qbn-dns01]

TASK [ansible-idm : Enable IDAM ldap, ldaps and replication ports] ***** Tuesday 16 June 2020 10:49:40 +0800 (0:00:01.298) 0:09:30.625 ** changed: [qbn-dns01] => (item=freeipa-ldaps) changed: [qbn-dns01] => (item=freeipa-ldap) changed: [qbn-dns01] => (item=freeipa-replication)

TASK [ansible-idm : Enable DNS port 53/tcp] **** Tuesday 16 June 2020 10:49:42 +0800 (0:00:02.519) 0:09:33.145 ** changed: [qbn-dns01]

TASK [ansible-idm : Enable DNS port 53/udp] **** Tuesday 16 June 2020 10:49:43 +0800 (0:00:00.757) 0:09:33.902 ** changed: [qbn-dns01]

TASK [ansible-idm : set hostname] ** Tuesday 16 June 2020 10:49:44 +0800 (0:00:00.763) 0:09:34.666 ** ok: [qbn-dns01]

TASK [ansible-idm : install IPA packages] ** Tuesday 16 June 2020 10:49:45 +0800 (0:00:01.019) 0:09:35.685 ** changed: [qbn-dns01]

TASK [ansible-idm : set_fact] ** Tuesday 16 June 2020 10:51:59 +0800 (0:02:13.974) 0:11:49.659 ** ok: [qbn-dns01]

TASK [ansible-idm : check if dirsrv exists] **** Tuesday 16 June 2020 10:51:59 +0800 (0:00:00.041) 0:11:49.701 ** ok: [qbn-dns01]

TASK [ansible-idm : fail] ** Tuesday 16 June 2020 10:51:59 +0800 (0:00:00.662) 0:11:50.363 ** skipping: [qbn-dns01]

TASK [ansible-idm : add line to hosts file for self] *** Tuesday 16 June 2020 10:51:59 +0800 (0:00:00.036) 0:11:50.400 ** changed: [qbn-dns01]

TASK [ansible-idm : create template script for ipa-install] **** Tuesday 16 June 2020 10:52:00 +0800 (0:00:00.639) 0:11:51.039 ** changed: [qbn-dns01]

TASK [ansible-idm : Run the installer] ***** Tuesday 16 June 2020 10:52:01 +0800 (0:00:01.142) 0:11:52.181 ** changed: [qbn-dns01]

TASK [ansible-idm : waiting for IDM services to come up] *** Tuesday 16 June 2020 10:57:37 +0800 (0:05:35.697) 0:17:27.879 ** ok: [qbn-dns01]

TASK [ansible-idm : check if IDM is answering] ***** Tuesday 16 June 2020 10:57:47 +0800 (0:00:10.683) 0:17:38.563 ** ok: [qbn-dns01]

TASK [ansible-idm : set_fact] ** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.573) 0:17:39.137 ** skipping: [qbn-dns01]

TASK [ansible-idm : disable dns forwarding on IDM server for disconnected install] * Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.034) 0:17:39.171 **** skipping: [qbn-dns01]

TASK [ansible-idm : enable dynamic updates on dns zones] *** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.032) 0:17:39.204 ** skipping: [qbn-dns01]

TASK [ansible-idm : enable allow ptr sync on dns zones] **** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.036) 0:17:39.240 ** skipping: [qbn-dns01]

TASK [ansible-idm : remove temporary nameserver from /etc/resolv.conf file] Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.035) 0:17:39.276 ** skipping: [qbn-dns01]

TASK [ansible-idm : Add users to IDM] ** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.033) 0:17:39.309 ** [DEPRECATION WARNING]: evaluating u'idm_is_installed' as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. skipping: [qbn-dns01] => (item=)

TASK [ansible-idm : set IDM user password] ***** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.042) 0:17:39.352 ** [DEPRECATION WARNING]: evaluating u'idm_is_installed' as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. skipping: [qbn-dns01] => (item=)

TASK [ansible-idm : Add forward DNS entries to IDM] **** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.041) 0:17:39.394 ** [DEPRECATION WARNING]: evaluating u'idm_is_installed' as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. skipping: [qbn-dns01] => (item={u'reverse_record': u'', u'record_type': u'', u'state': u'', u'hostname': u'', u'ip_address': u''})

TASK [ansible-idm : Add reverse DNS entries to IDM] **** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.041) 0:17:39.435 ** [DEPRECATION WARNING]: evaluating u'idm_is_installed' as a bare variable, this behaviour will go away and you might need to add |bool to the expression in the future. Also see CONDITIONAL_BARE_VARS configuration toggle. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. skipping: [qbn-dns01] => (item={u'reverse_record': u'', u'record_type': u'', u'state': u'', u'hostname': u'', u'ip_address': u''})

TASK [ensure firewalld rules are loaded] *** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.046) 0:17:39.481 ** skipping: [qbn-dns01]

TASK [post IDM server install check if IDM is answering] *** Tuesday 16 June 2020 10:57:48 +0800 (0:00:00.035) 0:17:39.516 ** ok: [qbn-dns01]

TASK [set_fact] **** Tuesday 16 June 2020 10:57:49 +0800 (0:00:00.563) 0:17:40.079 ** ok: [qbn-dns01]

TASK [fail] **** Tuesday 16 June 2020 10:57:49 +0800 (0:00:00.038) 0:17:40.118 ** skipping: [qbn-dns01]

TASK [ensure backup folder is created] ***** Tuesday 16 June 2020 10:57:49 +0800 (0:00:00.036) 0:17:40.154 ** ok: [qbn-dns01 -> 127.0.0.1]

TASK [check if resolv.conf backup file exists] ***** Tuesday 16 June 2020 10:57:50 +0800 (0:00:00.545) 0:17:40.700 ** ok: [qbn-dns01 -> 127.0.0.1]

TASK [backup original /etc/resolv.conf file] *** Tuesday 16 June 2020 10:57:50 +0800 (0:00:00.278) 0:17:40.979 ** fatal: [qbn-dns01 -> 127.0.0.1]: FAILED! => changed=false checksum: d04076872c74ab71e00653381ca7272c16d3de0a msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!

RUNNING HANDLER [ansible-idm : reload firewalld] *** Tuesday 16 June 2020 10:57:50 +0800 (0:00:00.474) 0:17:41.453 **

PLAY RECAP ***** qbn-dns01 : ok=66 changed=12 unreachable=0 failed=1 skipped=37 rescued=0 ignored=2

Tuesday 16 June 2020 10:57:50 +0800 (0:00:00.001) 0:17:41.455 ** =============================================================================== ansible-idm : Run the installer --------------------------------------- 335.70s update system --------------------------------------------------------- 222.19s ansible-idm : install IPA packages ------------------------------------ 133.97s swygue-redhat-subscription : Enable repositories ---------------------- 125.58s swygue-redhat-subscription : Register qbn-dns01 system using rhsm_user and rhsm_password -- 40.93s swygue-redhat-subscription : save enabled redhat repositories ---------- 30.71s swygue-redhat-subscription : save enabled redhat repositories ---------- 30.69s swygue-redhat-subscription : refresh subscriptions --------------------- 18.95s swygue-redhat-subscription : refresh subscriptions --------------------- 18.70s ansible-idm : Make sure firewalld is installed ------------------------- 18.68s swygue-redhat-subscription : refresh subscriptions --------------------- 18.60s swygue-redhat-subscription : removing system rhsm registration --------- 16.25s swygue-redhat-subscription : check if system is already registered ----- 11.15s ansible-idm : waiting for IDM services to come up ---------------------- 10.68s swygue-redhat-subscription : check system registration status ----------- 8.62s ansible-idm : Enable IDAM ldap, ldaps and replication ports ------------- 2.52s ansible-idm : Enable and start firewalld -------------------------------- 1.30s Gathering Facts --------------------------------------------------------- 1.22s swygue-redhat-subscription : ensure subscription-manager is installed --- 1.17s ansible-idm : create template script for ipa-install -------------------- 1.14s Playbook run took 0 days, 0 hours, 17 minutes, 41 seconds

**Hardware Profile infomation**
SYSTEM REPORT
Manufacturer: Supermicro
Product Name: X9DR3-F

System Memory


Avaliable Memory: 528166172 Avaliable Human Memory: 503G

Storage Information


Avaliable Storage: 0 0 1863.68 970967 0 Avaliable Human Storage: Capacity Allocation

1.82 TiB 948.21 GiB

CPU INFO


CPU(s): 48 On-line CPU(s) list: 0-47 Thread(s) per core: 2 Socket(s): 2 NUMA node(s): 2 Model name: Intel(R) Xeon(R) CPU E5-2696 v2 @ 2.50GHz NUMA node0 CPU(s): 0-11,24-35 NUMA node1 CPU(s): 12-23,36-47

`

tosin2013 commented 4 years ago

The fix for now is to replace vi playbooks/idm_server.yml with the code below. https://github.com/tosin2013/qubinode-installer/blob/master/playbooks/idm_server.yml

dingyeah33 commented 4 years ago

It work!!

flyemsafe commented 4 years ago

The fix for now is to replace vi playbooks/idm_server.yml with the code below. https://github.com/tosin2013/qubinode-installer/blob/master/playbooks/idm_server.yml

@tosin2013 Was this included in the last release?