mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-04-25 23:45:56 +03:00
[GH-ISSUE #408] Help! Install webvirtcloud Error on Centos 8.2 #255
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/webvirtcloud#255
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ntlclxyc-198 on GitHub (Jan 21, 2021).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/408
Hi,I Install webvirtcloud on Centos 8.2 ,But at this step "wget -O - https://clck.ru/9V9fH | sudo sh", the Error show " bridge-utils python-libguestfs" no match,,so not continue install ! What can i do?
@ntlclxyc-198 commented on GitHub (Jan 21, 2021):
The error is :
No match for argument: bridge-utils
No match for argument: python-libguestfs
@catborise commented on GitHub (Jan 22, 2021):
Please add epel repo and try again
@ntlclxyc-198 commented on GitHub (Jan 22, 2021):
Is the cmd"yum -y install wget epel-release"?
I already input this cmd,but yet reault shows:
[root@lclsvr8 srv]# cd webvirtcloud
[root@lclsvr8 webvirtcloud]# yum -y install wget epel-release
上次元数据过期检查:0:33:37 前,执行于 2021年01月23日 星期六 02时58分57秒。
软件包 wget-1.19.5-10.el8.x86_64 已安装。
软件包 epel-release-8-8.el8.noarch 已安装。
依赖关系解决。
无需任何处理。
完毕!
[root@lclsvr8 webvirtcloud]# sudo sh ./dev/libvirt-bootstrap.sh
./dev/libvirt-bootstrap.sh: 第 48 行:[: : 需要整数表达式
上次元数据过期检查:0:34:20 前,执行于 2021年01月23日 星期六 02时58分57秒。
软件包 qemu-kvm-15:4.2.0-34.module_el8.3.0+613+9ec9f184.1.x86_64 已安装。
No match for argument: bridge-utils
No match for argument: python-libguestfs
软件包 supervisor-4.2.1-1.el8.noarch 已安装。
软件包 cyrus-sasl-md5-2.1.27-5.el8.x86_64 已安装。
软件包 epel-release-8-8.el8.noarch 已安装。
错误:没有任何匹配: bridge-utils python-libguestfs
[root@lclsvr8 webvirtcloud]#
@catborise commented on GitHub (Jan 22, 2021):
This script is a helper for kvm configuration. Not a must. You can configure manually.
We should fix that for centos 8 installations. It should be python3-libguestfs.
Bridge-utils.rpm not compiled yet for centos 8 . But it is not essential package, it could be skipped. You can edit script and remove it to continue.
@ntlclxyc-198 commented on GitHub (Jan 22, 2021):
I modify the script :
........
if [ "$DISTRO_MAJOR_VERSION" -lt 7 ]; then
if [ -f /etc/supervisord.conf ]; then
# curl https://raw.githubusercontent.com/retspen/webvirtcloud/master/conf/daemon/gstfsd > /usr/local/bin/gstfsd
cp /srv/webvirtcloud/conf/daemon/gstfsd /usr/local/bin/gstfsd
chmod +x /usr/local/bin/gstfsd
# curl https://raw.githubusercontent.com/retspen/webvirtcloud/master/conf/supervisor/gstfsd.conf >> /etc/supervisor.conf
cat /srv/webvirtcloud/conf/supervisor/gstfsd.conf >> /etc/supervisor.conf
else
echoerror "Supervisor not found. Exiting..."
exit 1
fi
else
if [ -f /etc/supervisord.conf ]; then
}
daemons_running_centos() {
if [ -f /etc/init.d/libvirtd ]; then
service libvirtd stop > /dev/null 2>&1
service libvirtd start
fi
.........
and execute "sudo sh ./dev/libvirt-bootstrap.sh",then show:
[root@lclsvr8 webvirtcloud]# sudo sh ./dev/libvirt-bootstrap.sh
./dev/libvirt-bootstrap.sh: 第 48 行:[: : 需要整数表达式
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
上次元数据过期检查:0:03:53 前,执行于 2021年01月23日 星期六 06时49分37秒。
软件包 qemu-kvm-15:4.2.0-34.module_el8.3.0+613+9ec9f184.1.x86_64 已安装。
软件包 libvirt-6.0.0-28.module_el8.3.0+555+a55c8938.x86_64 已安装。
软件包 python3-libguestfs-1:1.40.2-25.module_el8.3.0+555+a55c8938.x86_64 已安装。
软件包 libguestfs-tools-1:1.40.2-25.module_el8.3.0+555+a55c8938.noarch 已安装。
软件包 supervisor-4.2.1-1.el8.noarch 已安装。
软件包 cyrus-sasl-md5-2.1.27-5.el8.x86_64 已安装。
软件包 epel-release-8-10.el8.noarch 已安装。
依赖关系解决。
无需任何处理。
完毕!
./dev/libvirt-bootstrap.sh: 第 48 行:[: : 需要整数表达式
./dev/libvirt-bootstrap.sh: 第 48 行:[: : 需要整数表达式
^C
[root@lclsvr8 webvirtcloud]# sudo supervisorctl status
novncd RUNNING pid 3151, uptime 0:10:34
webvirtcloud RUNNING pid 3152, uptime 0:10:34
but,login the web,I can't create computer
@catborise commented on GitHub (Jan 22, 2021):
Did you install webvirtcloud on hypervisor host?
You can add host with TCP or ssh or socket.
if you install webvirtcloud on the host, Then you can add host with socket/localhost.
if you install to another place like on virtual machine/docker. You can add host with SSH or TCP.
you can look at to these topics: https://github.com/retspen/webvirtmgr/wiki
@ntlclxyc-198 commented on GitHub (Jan 23, 2021):
Yes,I install webvirtcloud on hypervisor host,I add host with ssh ,but can't connect the host.
I have make it successful on version with python,but this version with python3 I Can't make it successfull
Those Articles base on on version with python,I don't find the version with python3

@catborise commented on GitHub (Jan 23, 2021):
Check host logs and firewall settings. It is not related with python.
and check again libvirt service. “systemctl status libvirtd” to see some logs.
second option:
try to add host with localhost option(socket)
try to connect host with libvirt SSH interface.
virsh -c qemu+ssh://username@ip/system
@ntlclxyc-198 commented on GitHub (Jan 24, 2021):
I try to make it on Centos 8.0 or 8.1 or 8.2 or 8.3,but only it is successfull on r Centos8.3,and only connection the host with ssh.It is failure with tcp. It shows "not connection". if I set "LIBVIRTD_ARGS="--listen"" In file "/etc/sysconfig/libvirtd", the libvirt service will not start。if Iremove this,the libvirt service can start。what's the reaon?
@ntlclxyc-198 commented on GitHub (Jan 24, 2021):
it show error:ibvirt 错误- 内部错误:无法找到适合 x86_64 的模拟器 on Centos 8.0 or 8.1 or 8.2.Can you tell me theCentos version of your test?
@catborise commented on GitHub (Jan 24, 2021):
Libvirt service must work with —listen parameter for some operations like migration
My prod working on oel8.3/8.2 (rhel clone) . Webvirtcloud is installed on a vm, because of some advantages .
you should edit also sasl2 conf for tcp conn:
@catborise commented on GitHub (Jan 25, 2021):
with centos 8 libvirt deamons are changed.
you should look at the page: https://libvirt.org/manpages/libvirtd.html