oVirt-FQDN问题 [英] oVirt - FQDN issue

查看:121
本文介绍了oVirt-FQDN问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在测试oVirt,以查看它是否符合我的需求.仅在安装和初始化步骤中,当我填写"engine VM FQDN"(引擎VM FQDN)时,Web GUI会阻止DNS解析.由ovirt-engine.example.com和"FQDN主机"通过engine-host.example .com.尽管有这些声明的域,但我仍然遇到错误为此主机建议的地址无法在本地解析".我指定我的"/etc/hosts"就像这样:

I am currently testing oVirt to see if it match with my needs. Only at the installation and initialization step, I'm blocked by DNS resolution from the Web GUI when I fill in "engine VM FQDN" by ovirt-engine.example.com and "FQDN host" by engine-host.example .com. Despite these declared domains I still have the error "The address proposed for this host does not resolves locally" I specify that my "/etc/hosts" is like this:

  • :: 1 localhost localhost.localdomain localhost6
    本地主机6.localdomain6
  • 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
  • 127.0.0.1 ovirt-engine.example.com
  • 127.0.0.1 engine-host.example.com

我正在使用Centos 8.ping时使用DNS解析,效果很好.为什么它不起作用?

And I'm on Centos 8. And DNS resolution when pinging, works fine. Why is it not working ?

推荐答案

主机名无法解析为localhost.确保您的主机管理程序解析为其可转发IP地址,并将 ovirt-engine.example.com 分配给同一网络上的另一个IP.

Hosts names can not resolves to localhost. Ensure your host hypervisor resolves to its forwardable ip address and assign the ovirt-engine.example.com to another ip on the same network.

您的oVirt Engine将被部署为虚拟机,并且不会与开始安装的物理主机绑定.您可以添加任何其他物理主机并在其上迁移Engine VM.因此,名称 engine-host.example.com 误导了恕我直言.

Your oVirt Engine will be deployed as a virtual machine and it won't be bounded anyway with the physical hosts on which the installation is started. You can add any additional physical hosts and migrate the Engine VM on it. Therefore, the name engine-host.example.com is misleading imho.

由于您不使用外部DNS服务器(强烈建议使用),因此请使用琥珀色展开高级部分,然后选中编辑主机文件复选框以添加虚拟机的/etc/hosts 文件中的Engine VM和物理主机的条目.

Since you're not using an external DNS server (which is strongly encouraged), rember to expand the Advanced section and select the Edit Hosts File check box to add entries for the Engine VM and the physical host to the virtual machine’s /etc/hosts file.

这篇关于oVirt-FQDN问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆