question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No configuration found nor local hypervisor

See original GitHub issue

Hi , I just installed kvm in my Rhel7 clone (Oracle L7) and when I install kcli and try the list command I receive the below error . Is anything wrong?

`

docker.io/karmab/kcli:latest
the input device is not a TTY
Installed kcli
Launch a new shell for aliases kcli, kclishell and kweb to work
[root@localhost ~]# /usr/libexec/qemu-kvm --version
QEMU emulator version 1.5.3 (qemu-kvm-1.5.3-173.el7_8.1), Copyright (c) 2003-2008 Fabrice Bellard
[root@localhost ~]# lsmod | grep kvm
kvm                   659456  0
irqbypass              16384  1 kvm
 [root@localhost ~]# kcli list product
No configuration found nor local hypervisor

`

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
karmabcommented, Apr 13, 2020

also, consider joining my slack channel on k8s for more live troubleshooting https://app.slack.com/client/T09NY5SBT/CU76B52JE

1reaction
karmabcommented, Apr 13, 2020

this alias should do the trick for you

alias kcli="docker run --net host -it --rm --security-opt label=disable -v $HOME/.kcli:/root/.kcli -v /var/lib/libvirt/images:/var/lib/libvirt/images -v /var/run/libvirt:/var/run/libvirt -v $PWD:/workdir -v /var/tmp:/ignitiondir karmab/kcli"

about your example, the command would be

kcli download image ubuntu1804 -p your_pool

where your_pool would be the storage pool associated to your /u01/guest_images directory, which should be listed with the command kcli list pool

Read more comments on GitHub >

github_iconTop Results From Across the Web

About — Kcli 99.0 documentation
The script uses sames conf as kcli (and as such defaults to local if no configuration file is found). vms will be grouped...
Read more >
NCC Health Check: host_connectivity - Nutanix Support
The NCC health check host_connectivity checks the password-less SSH connection between the CVM (Controller VM) and the local hypervisor.
Read more >
A.19. Common libvirt Errors and Troubleshooting
This can happen if DNS is not properly configured or /etc/hosts has the host name associated with local loopback address ( 127.0.0.1 )....
Read more >
How To FIx Hypervisor is not Running Error on Windows 10 ...
How To FIx Hypervisor is not Running Error on Windows 10 [Tutorial]Command: bcdedit /set HypervisorLaunchType autoThere have been users ...
Read more >
Adding a Microsoft Hyper-V Hypervisor
Verify that the Hyper-V access nodes can communicate with the CommServe computer. If the access nodes reside behind a firewall or if the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found