Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]v2.4.1 Installation error on running "qubiunode-installer -m host" #230

Closed
dingyeah33 opened this issue Jun 23, 2020 · 6 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@dingyeah33
Copy link
Contributor

Qubinode Version
Qubinode releasev2.4.1

Describe the bug
qubinode-installer -m host with the below error:

TASK [qubinode_kvmhost_setup : fail] ********************************************************* Tuesday 23 June 2020 23:44:05 +0800 (0:00:00.057) 0:00:06.573 ********** fatal: [localhost]: FAILED! => changed=false msg: Bailing out. this play requires 'kvm_host_interface' KVM host interface

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

Expected behavior
No error for this command

Screenshots
`

  RHEL release is set to the supported release: Release: 7.8 Downloading required roles

*******************************
* Ansible Setup Complete *
*******************************

Setting up qubinode system

PLAY [setup KVM host] ************************************************************************

TASK [Gathering Facts] ***********************************************************************
Tuesday 23 June 2020 23:43:58 +0800 (0:00:00.067) 0:00:00.067 **********
ok: [localhost]

TASK [ensure backup folder is created] *******************************************************
Tuesday 23 June 2020 23:44:00 +0800 (0:00:01.576) 0:00:01.644 **********
ok: [localhost]

TASK [fail] **********************************************************************************
Tuesday 23 June 2020 23:44:00 +0800 (0:00:00.524) 0:00:02.168 **********
skipping: [localhost]

TASK [fail] **********************************************************************************
Tuesday 23 June 2020 23:44:00 +0800 (0:00:00.074) 0:00:02.243 **********
skipping: [localhost]

TASK [create libvirt logical volume] *********************************************************
Tuesday 23 June 2020 23:44:00 +0800 (0:00:00.071) 0:00:02.315 **********

TASK [swygue-lvm : check system file system] *************************************************
Tuesday 23 June 2020 23:44:00 +0800 (0:00:00.125) 0:00:02.440 **********
included: /home/louie/qubinode-installer/playbooks/roles/swygue-lvm/tasks/precheck.yml for localhost

TASK [swygue-lvm : ensure lvm2 is installed] *************************************************
Tuesday 23 June 2020 23:44:01 +0800 (0:00:00.101) 0:00:02.542 **********
ok: [localhost]

TASK [swygue-lvm : checking if /dev/nvme0n1 exist] *******************************************
Tuesday 23 June 2020 23:44:01 +0800 (0:00:00.490) 0:00:03.032 **********
ok: [localhost]

TASK [swygue-lvm : fail] *********************************************************************
Tuesday 23 June 2020 23:44:01 +0800 (0:00:00.442) 0:00:03.475 **********
skipping: [localhost]

TASK [swygue-lvm : set_fact] *****************************************************************
Tuesday 23 June 2020 23:44:01 +0800 (0:00:00.050) 0:00:03.526 **********
ok: [localhost]

TASK [swygue-lvm : check if the vg_qubi is on the device /dev/nvme0n1] ***********************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.058) 0:00:03.585 **********
ok: [localhost]

TASK [swygue-lvm : set_fact] *****************************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.300) 0:00:03.885 **********
ok: [localhost]

TASK [swygue-lvm : check if the vg_qubi exist] ***********************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.053) 0:00:03.939 **********
ok: [localhost]

TASK [swygue-lvm : set_fact] *****************************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.267) 0:00:04.206 **********
ok: [localhost]

TASK [swygue-lvm : set_fact] *****************************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.054) 0:00:04.261 **********
ok: [localhost]

TASK [swygue-lvm : fail] *********************************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.053) 0:00:04.314 **********
skipping: [localhost]

TASK [swygue-lvm : set_fact] *****************************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.049) 0:00:04.364 **********
ok: [localhost]

TASK [swygue-lvm : debug] ********************************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.052) 0:00:04.417 **********
skipping: [localhost]

TASK [swygue-lvm : deploy lvm filesystem] ****************************************************
Tuesday 23 June 2020 23:44:02 +0800 (0:00:00.051) 0:00:04.469 **********
included: /home/louie/qubinode-installer/playbooks/roles/swygue-lvm/tasks/deploy.yml for localhost

TASK [swygue-lvm : Create Volume Group] ******************************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.109) 0:00:04.578 **********
skipping: [localhost]

TASK [swygue-lvm : create custom logical volumes] ********************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.055) 0:00:04.633 **********
skipping: [localhost] => (item={u'size': u'+100%FREE', u'name': u'qubi_images', u'mount_dir': u'/var/lib/libvirt/images', u'fstype': u'xfs'})

TASK [swygue-lvm : Ensure filesystems are created] *******************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.059) 0:00:04.693 **********
skipping: [localhost] => (item={u'size': u'+100%FREE', u'name': u'qubi_images', u'mount_dir': u'/var/lib/libvirt/images', u'fstype': u'xfs'})

TASK [swygue-lvm : Ensure mount points are created] ******************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.060) 0:00:04.754 **********
skipping: [localhost] => (item={u'size': u'+100%FREE', u'name': u'qubi_images', u'mount_dir': u'/var/lib/libvirt/images', u'fstype': u'xfs'})

TASK [swygue-lvm : Config mount points in fstab] *********************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.059) 0:00:04.813 **********
ok: [localhost] => (item={u'size': u'+100%FREE', u'name': u'qubi_images', u'mount_dir': u'/var/lib/libvirt/images', u'fstype': u'xfs'})
[WARNING]: The value 0 (type int) in a string field was converted to u'0' (type string). If
this does not look like what you expect, quote the entire value to ensure it does not change.

TASK [swygue-lvm : show device info] *********************************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.479) 0:00:05.293 **********
skipping: [localhost] => (item={u'size': u'+100%FREE', u'name': u'qubi_images', u'mount_dir': u'/var/lib/libvirt/images', u'fstype': u'xfs'})
skipping: [localhost]

TASK [fail] **********************************************************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.062) 0:00:05.355 **********
skipping: [localhost]

TASK [Check whether ifcfg- contains "UUID"] **************************************************
Tuesday 23 June 2020 23:44:03 +0800 (0:00:00.052) 0:00:05.408 **********
fatal: [localhost]: FAILED! => changed=true
cmd:
- grep
- -Fxq
- UUID
- /etc/sysconfig/network-scripts/ifcfg-
delta: '0:00:00.003393'
end: '2020-06-23 23:44:04.053347'
msg: non-zero return code
rc: 2
start: '2020-06-23 23:44:04.049954'
stderr: 'grep: /etc/sysconfig/network-scripts/ifcfg-: No such file or directory'
stderr_lines: <omitted>
stdout: ''
stdout_lines: <omitted>
...ignoring

TASK [check if ifcfg- backup file exists] ****************************************************
Tuesday 23 June 2020 23:44:04 +0800 (0:00:00.273) 0:00:05.681 **********
ok: [localhost -> 127.0.0.1]

TASK [backup ifcfg-] ************************************************************************
Tuesday 23 June 2020 23:44:04 +0800 (0:00:00.484) 0:00:06.165 **********
skipping: [localhost]

TASK [running KVM host setup] ****************************************************************
Tuesday 23 June 2020 23:44:04 +0800 (0:00:00.052) 0:00:06.218 **********
[WARNING]: While constructing a mapping from /home/louie/qubinode-
installer/playbooks/roles/qubinode_kvmhost_setup/defaults/main.yml, line 3, column 1, found a
duplicate dict key (libvirt_host_networks). Using last defined value only.

TASK [qubinode_kvmhost_setup : Display all variables/facts known for a host] *****************
Tuesday 23 June 2020 23:44:04 +0800 (0:00:00.113) 0:00:06.331 **********
ok: [localhost] =>
libvirt_host_networks:
- compute_count: 2
create: true
external_domain: lab.home
gateway: 192.168.50.1
int_domain: compute.local
mac_start: '52:54:00:'
mask: 255.255.255.0
master_count: 3
mode: nat
name: qbn
subnet: 192.168.50.0
- bridge_device: qubibr0
bridge_slave_dev: ''
create: false
gateway: 192.168.1.160
ifcfg_bootproto: none
ifcfg_type: Bridge
ipaddress: 192.168.1.140
mac: 00:25:90:98:64:b0
mask: 255.255.255.0
mask_prefix: 24
mode: bridge
name: qubinet

TASK [qubinode_kvmhost_setup : validate variables are defined] *******************************
Tuesday 23 June 2020 23:44:04 +0800 (0:00:00.069) 0:00:06.401 **********
included: /home/louie/qubinode-installer/playbooks/roles/qubinode_kvmhost_setup/tasks/verify_variables.yml for localhost

TASK [qubinode_kvmhost_setup : fail] *********************************************************
Tuesday 23 June 2020 23:44:04 +0800 (0:00:00.114) 0:00:06.515 **********
skipping: [localhost]

TASK [qubinode_kvmhost_setup : fail] *********************************************************
Tuesday 23 June 2020 23:44:05 +0800 (0:00:00.057) 0:00:06.573 **********
fatal: [localhost]: FAILED! => changed=false
msg: Bailing out. this play requires 'kvm_host_interface' KVM host interface

PLAY RECAP ***********************************************************************************
localhost : ok=18 changed=1 unreachable=0 failed=1 skipped=13 rescued=0 ignored=1

Tuesday 23 June 2020 23:44:05 +0800 (0:00:00.085) 0:00:06.659 **********

Gathering Facts ----------------------------------------------------------------------- 1.58s
ensure backup folder is created ------------------------------------------------------- 0.52s
swygue-lvm : ensure lvm2 is installed ------------------------------------------------- 0.49s
check if ifcfg- backup file exists ---------------------------------------------------- 0.48s
swygue-lvm : Config mount points in fstab --------------------------------------------- 0.48s
swygue-lvm : checking if /dev/nvme0n1 exist ------------------------------------------- 0.44s
swygue-lvm : check if the vg_qubi is on the device /dev/nvme0n1 ----------------------- 0.30s
Check whether ifcfg- contains "UUID" -------------------------------------------------- 0.27s
swygue-lvm : check if the vg_qubi exist ----------------------------------------------- 0.27s
create libvirt logical volume --------------------------------------------------------- 0.13s
qubinode_kvmhost_setup : validate variables are defined ------------------------------- 0.11s
running KVM host setup ---------------------------------------------------------------- 0.11s
swygue-lvm : deploy lvm filesystem ---------------------------------------------------- 0.11s
swygue-lvm : check system file system ------------------------------------------------- 0.10s
qubinode_kvmhost_setup : fail --------------------------------------------------------- 0.09s
fail ---------------------------------------------------------------------------------- 0.07s
fail ---------------------------------------------------------------------------------- 0.07s
qubinode_kvmhost_setup : Display all variables/facts known for a host ----------------- 0.07s
swygue-lvm : show device info --------------------------------------------------------- 0.06s
swygue-lvm : Ensure filesystems are created ------------------------------------------- 0.06s
Playbook run took 0 days, 0 hours, 0 minutes, 6 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
Copy link
Collaborator

@dingyeah33 Do you have a hard requirement on RHEL 7

@flyemsafe flyemsafe self-assigned this Jun 23, 2020
@flyemsafe flyemsafe added bug Something isn't working and removed triage labels Jun 23, 2020
@dingyeah33
Copy link
Contributor Author

@dingyeah33 Do you have a hard requirement on RHEL 7

No preference on RHEL 7. But, you mean I need to upgrade the KVM host to RHEL 8? How about the idm? Use RHEL 8 qcow image as well?

@tosin2013
Copy link
Collaborator

Just the kvm host can be RHEL 8 the qcow can be 7.8. @dingyeah33 would you like to be included when we perform our next release.

@dingyeah33
Copy link
Contributor Author

Sure and thx for your info. I will try to upgrade my KVM host to RHEL 8 tonite. Any suggestion on the RHEL 8 release? Just upgrade to the latest one?

@tosin2013
Copy link
Collaborator

tosin2013 commented Jun 24, 2020 via email

flyemsafe added a commit to flyemsafe/qubinode-installer that referenced this issue Jun 25, 2020
Add link for main documentation to the qubinode install options
Fix search for exisitng qcow image
Fix issues with ping and dns lookup for the idm server
Fix issue Qubinode#230
@flyemsafe flyemsafe mentioned this issue Jun 25, 2020
@dingyeah33
Copy link
Contributor Author

Just have a update. Seem I need to delete all the bridge networks before re-installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants